1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for GStreamer Editing Services 1.16.2. 4# 5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>. 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://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer 279$0: about your system, including any error possibly output 280$0: before this message. Then install a modern shell, or 281$0: manually run the script under such a shell if you do 282$0: have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306# as_fn_set_status STATUS 307# ----------------------- 308# Set $? to STATUS, without forking. 309as_fn_set_status () 310{ 311 return $1 312} # as_fn_set_status 313 314# as_fn_exit STATUS 315# ----------------- 316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 317as_fn_exit () 318{ 319 set +e 320 as_fn_set_status $1 321 exit $1 322} # as_fn_exit 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346$as_echo X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 386 eval 'as_fn_append () 387 { 388 eval $1+=\$2 389 }' 390else 391 as_fn_append () 392 { 393 eval $1=\$$1\$2 394 } 395fi # as_fn_append 396 397# as_fn_arith ARG... 398# ------------------ 399# Perform arithmetic evaluation on the ARGs, and store the result in the 400# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# must be portable across $(()) and expr. 402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403 eval 'as_fn_arith () 404 { 405 as_val=$(( $* )) 406 }' 407else 408 as_fn_arith () 409 { 410 as_val=`expr "$@" || test $? -eq 1` 411 } 412fi # as_fn_arith 413 414 415# as_fn_error STATUS ERROR [LINENO LOG_FD] 416# ---------------------------------------- 417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 419# script with STATUS, using 1 if that was 0. 420as_fn_error () 421{ 422 as_status=$1; test $as_status -eq 0 && as_status=1 423 if test "$4"; then 424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 fi 427 $as_echo "$as_me: error: $2" >&2 428 as_fn_exit $as_status 429} # as_fn_error 430 431if expr a : '\(a\)' >/dev/null 2>&1 && 432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 433 as_expr=expr 434else 435 as_expr=false 436fi 437 438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 439 as_basename=basename 440else 441 as_basename=false 442fi 443 444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 445 as_dirname=dirname 446else 447 as_dirname=false 448fi 449 450as_me=`$as_basename -- "$0" || 451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 X"$0" : 'X\(//\)$' \| \ 453 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454$as_echo X/"$0" | 455 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\/\)$/{ 460 s//\1/ 461 q 462 } 463 /^X\/\(\/\).*/{ 464 s//\1/ 465 q 466 } 467 s/.*/./; q'` 468 469# Avoid depending upon Character Ranges. 470as_cr_letters='abcdefghijklmnopqrstuvwxyz' 471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 472as_cr_Letters=$as_cr_letters$as_cr_LETTERS 473as_cr_digits='0123456789' 474as_cr_alnum=$as_cr_Letters$as_cr_digits 475 476 477 as_lineno_1=$LINENO as_lineno_1a=$LINENO 478 as_lineno_2=$LINENO as_lineno_2a=$LINENO 479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 482 sed -n ' 483 p 484 /[$]LINENO/= 485 ' <$as_myself | 486 sed ' 487 s/[$]LINENO.*/&-/ 488 t lineno 489 b 490 :lineno 491 N 492 :loop 493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 494 t loop 495 s/-\n.*// 496 ' >$as_me.lineno && 497 chmod +x "$as_me.lineno" || 498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 # already done that, so ensure we don't try to do so again and fall 502 # in an infinite loop. This has already happened in practice. 503 _as_can_reexec=no; export _as_can_reexec 504 # Don't try to exec as it changes $[0], causing all sort of problems 505 # (the dirname of $[0] is not the place where we might find the 506 # original and so on. Autoconf is especially sensitive to this). 507 . "./$as_me.lineno" 508 # Exit status is that of the last command. 509 exit 510} 511 512ECHO_C= ECHO_N= ECHO_T= 513case `echo -n x` in #((((( 514-n*) 515 case `echo 'xy\c'` in 516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 xy) ECHO_C='\c';; 518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519 ECHO_T=' ';; 520 esac;; 521*) 522 ECHO_N='-n';; 523esac 524 525rm -f conf$$ conf$$.exe conf$$.file 526if test -d conf$$.dir; then 527 rm -f conf$$.dir/conf$$.file 528else 529 rm -f conf$$.dir 530 mkdir conf$$.dir 2>/dev/null 531fi 532if (echo >conf$$.file) 2>/dev/null; then 533 if ln -s conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s='ln -s' 535 # ... but there are two gotchas: 536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 538 # In both cases, we have to default to `cp -pR'. 539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 as_ln_s='cp -pR' 541 elif ln conf$$.file conf$$ 2>/dev/null; then 542 as_ln_s=ln 543 else 544 as_ln_s='cp -pR' 545 fi 546else 547 as_ln_s='cp -pR' 548fi 549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 550rmdir conf$$.dir 2>/dev/null 551 552if mkdir -p . 2>/dev/null; then 553 as_mkdir_p='mkdir -p "$as_dir"' 554else 555 test -d ./-p && rmdir ./-p 556 as_mkdir_p=false 557fi 558 559as_test_x='test -x' 560as_executable_p=as_fn_executable_p 561 562# Sed expression to map a string onto a valid CPP name. 563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 564 565# Sed expression to map a string onto a valid variable name. 566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570 571test -n "$DJDIR" || exec 7<&0 </dev/null 572exec 6>&1 573 574# Name of the host. 575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 576# so uname gets run too. 577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 578 579# 580# Initializations. 581# 582ac_default_prefix=/usr/local 583ac_clean_files= 584ac_config_libobj_dir=. 585LIBOBJS= 586cross_compiling=no 587subdirs= 588MFLAGS= 589MAKEFLAGS= 590 591# Identity of this package. 592PACKAGE_NAME='GStreamer Editing Services' 593PACKAGE_TARNAME='gstreamer-editing-services' 594PACKAGE_VERSION='1.16.2' 595PACKAGE_STRING='GStreamer Editing Services 1.16.2' 596PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer' 597PACKAGE_URL='' 598 599ac_unique_file="ges/ges-timeline.c" 600# Factoring default headers for most tests. 601ac_includes_default="\ 602#include <stdio.h> 603#ifdef HAVE_SYS_TYPES_H 604# include <sys/types.h> 605#endif 606#ifdef HAVE_SYS_STAT_H 607# include <sys/stat.h> 608#endif 609#ifdef STDC_HEADERS 610# include <stdlib.h> 611# include <stddef.h> 612#else 613# ifdef HAVE_STDLIB_H 614# include <stdlib.h> 615# endif 616#endif 617#ifdef HAVE_STRING_H 618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 619# include <memory.h> 620# endif 621# include <string.h> 622#endif 623#ifdef HAVE_STRINGS_H 624# include <strings.h> 625#endif 626#ifdef HAVE_INTTYPES_H 627# include <inttypes.h> 628#endif 629#ifdef HAVE_STDINT_H 630# include <stdint.h> 631#endif 632#ifdef HAVE_UNISTD_H 633# include <unistd.h> 634#endif" 635 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640GST_PLUGIN_LDFLAGS 641GST_LIB_LDFLAGS 642GST_ALL_LDFLAGS 643GST_OPTION_CFLAGS 644EXTRA_CFLAGS 645VISIBILITY_CFLAGS 646DEPRECATED_CFLAGS 647PROFILE_CFLAGS 648GST_LEVEL_DEFAULT 649ERROR_CFLAGS 650WARNING_CFLAGS 651LIBDIR 652GST_LICENSE 653BUILD_BENCHMARKS_FALSE 654BUILD_BENCHMARKS_TRUE 655HAVE_GTK_X11_FALSE 656HAVE_GTK_X11_TRUE 657HAVE_GTK_FALSE 658HAVE_GTK_TRUE 659GTK_X11_LIBS 660GTK_X11_CFLAGS 661GTK_LIBS 662GTK_CFLAGS 663XML_LIBS 664XML_CFLAGS 665GSTPB_PREFIX 666GLIB_PREFIX 667GST_VIDEO_LIBS 668GST_VIDEO_CFLAGS 669GST_PBUTILS_LIBS 670GST_PBUTILS_CFLAGS 671plugindir 672PLUGINDIR 673USE_PLUGIN_PLUGINS_FALSE 674USE_PLUGIN_PLUGINS_TRUE 675GST_PLUGINS_NONPORTED 676GST_PLUGINS_SELECTED 677GST_PLUGINS_ALL 678HAVE_GST_CHECK_FALSE 679HAVE_GST_CHECK_TRUE 680GST_PLUGINS_GOOD_DIR 681GST_PLUGINS_GOOD_LIBS 682GST_PLUGINS_GOOD_CFLAGS 683GST_PLUGINS_BAD_DIR 684GST_PLUGINS_BAD_LIBS 685GST_PLUGINS_BAD_CFLAGS 686GSTPB_PLUGINS_DIR 687GST_PLUGINS_BASE_DIR 688GST_PLUGINS_BASE_LIBS 689GST_PLUGINS_BASE_CFLAGS 690GST_CONTROLLER_LIBS 691GST_CONTROLLER_CFLAGS 692GST_CHECK_LIBS 693GST_CHECK_CFLAGS 694GST_BASE_LIBS 695GST_BASE_CFLAGS 696GST_PLUGINS_DIR 697GST_TOOLS_DIR 698GST_LIBS 699GST_CFLAGS 700GIO_LDFLAGS 701GIO_LIBS 702GIO_CFLAGS 703GLIB_EXTRA_CFLAGS 704GLIB_MKENUMS 705GLIB_GENMARSHAL 706GLIB_LIBS 707GLIB_CFLAGS 708GLIB_REQ 709HAVE_GST_VALIDATE_LAUNCHER_FALSE 710HAVE_GST_VALIDATE_LAUNCHER_TRUE 711GST_VALIDATE_LAUNCHER 712HAVE_UNISTD_H_FALSE 713HAVE_UNISTD_H_TRUE 714ENABLE_BASH_COMPLETION_FALSE 715ENABLE_BASH_COMPLETION_TRUE 716BASH_COMPLETION_DIR 717BASH_COMPLETION_LIBS 718BASH_COMPLETION_CFLAGS 719GST_PREFIX 720HAVE_GST_VALIDATE_FALSE 721HAVE_GST_VALIDATE_TRUE 722GST_VALIDATE_LIBS 723GST_VALIDATE_CFLAGS 724WITH_PYTHON_FALSE 725WITH_PYTHON_TRUE 726PYGOBJECT_LIBS 727PYGOBJECT_CFLAGS 728PYGOBJECT_REQ 729ENABLE_PLUGIN_DOCS_FALSE 730ENABLE_PLUGIN_DOCS_TRUE 731pkgpyexecdir 732pyexecdir 733pkgpythondir 734pythondir 735PYTHON_PLATFORM 736PYTHON_EXEC_PREFIX 737PYTHON_PREFIX 738PYTHON_VERSION 739PYTHON 740GTK_DOC_USE_LIBTOOL_FALSE 741GTK_DOC_USE_LIBTOOL_TRUE 742GTK_DOC_BUILD_PDF_FALSE 743GTK_DOC_BUILD_PDF_TRUE 744GTK_DOC_BUILD_HTML_FALSE 745GTK_DOC_BUILD_HTML_TRUE 746ENABLE_GTK_DOC_FALSE 747ENABLE_GTK_DOC_TRUE 748GTKDOC_DEPS_LIBS 749GTKDOC_DEPS_CFLAGS 750HTML_DIR 751GTKDOC_MKPDF 752GTKDOC_REBASE 753GTKDOC_CHECK 754DOC_PS_FALSE 755DOC_PS_TRUE 756DOC_PDF_FALSE 757DOC_PDF_TRUE 758DOC_HTML_FALSE 759DOC_HTML_TRUE 760ENABLE_DOCBOOK_FALSE 761ENABLE_DOCBOOK_TRUE 762HAVE_EPSTOPDF 763HAVE_PNMTOPS 764HAVE_PNGTOPNM 765HAVE_XMLLINT 766HAVE_DVIPS 767CAT_ENTRY_END 768CAT_ENTRY_START 769DOCBOOK_ROOT 770XSLTPROC_FLAGS 771XML_CATALOG 772XSLTPROC 773HAVE_PS2PDF 774HAVE_JADETEX 775HAVE_XSLTPROC 776HAVE_DOCBOOK2PS 777HAVE_INTROSPECTION_FALSE 778HAVE_INTROSPECTION_TRUE 779INTROSPECTION_INIT 780INTROSPECTION_MAKEFILE 781INTROSPECTION_LIBS 782INTROSPECTION_CFLAGS 783INTROSPECTION_TYPELIBDIR 784INTROSPECTION_GIRDIR 785INTROSPECTION_GENERATE 786INTROSPECTION_COMPILER 787INTROSPECTION_SCANNER 788HAVE_VALGRIND_FALSE 789HAVE_VALGRIND_TRUE 790VALGRIND_PATH 791HAVE_CPU_CRISV32_FALSE 792HAVE_CPU_CRISV32_TRUE 793HAVE_CPU_CRIS_FALSE 794HAVE_CPU_CRIS_TRUE 795HAVE_CPU_X86_64_FALSE 796HAVE_CPU_X86_64_TRUE 797HAVE_CPU_M68K_FALSE 798HAVE_CPU_M68K_TRUE 799HAVE_CPU_IA64_FALSE 800HAVE_CPU_IA64_TRUE 801HAVE_CPU_S390_FALSE 802HAVE_CPU_S390_TRUE 803HAVE_CPU_MIPS_FALSE 804HAVE_CPU_MIPS_TRUE 805HAVE_CPU_HPPA_FALSE 806HAVE_CPU_HPPA_TRUE 807HAVE_CPU_SPARC_FALSE 808HAVE_CPU_SPARC_TRUE 809HAVE_CPU_ARM_FALSE 810HAVE_CPU_ARM_TRUE 811HAVE_CPU_ARC_FALSE 812HAVE_CPU_ARC_TRUE 813HAVE_CPU_ALPHA_FALSE 814HAVE_CPU_ALPHA_TRUE 815HAVE_CPU_PPC64_FALSE 816HAVE_CPU_PPC64_TRUE 817HAVE_CPU_PPC_FALSE 818HAVE_CPU_PPC_TRUE 819HAVE_CPU_I386_FALSE 820HAVE_CPU_I386_TRUE 821FLEX_PATH 822GST_PKG_CONFIG_PATH 823GST_PACKAGE_ORIGIN 824GST_PACKAGE_NAME 825BUILD_EXAMPLES_FALSE 826BUILD_EXAMPLES_TRUE 827GST_GCOV_ENABLED_FALSE 828GST_GCOV_ENABLED_TRUE 829CCASFLAGS 830FFLAGS 831CXXFLAGS 832GCOV 833GCOV_LIBS 834GCOV_CFLAGS 835VALGRIND_LIBS 836VALGRIND_CFLAGS 837PKG_CONFIG 838ACLOCAL_AMFLAGS 839CPP 840LT_SYS_LIBRARY_PATH 841OTOOL64 842OTOOL 843LIPO 844NMEDIT 845DSYMUTIL 846MANIFEST_TOOL 847RANLIB 848ac_ct_AR 849AR 850LN_S 851NM 852ac_ct_DUMPBIN 853DUMPBIN 854LD 855FGREP 856EGREP 857GREP 858SED 859am__fastdepCC_FALSE 860am__fastdepCC_TRUE 861CCDEPMODE 862am__nodep 863AMDEPBACKSLASH 864AMDEP_FALSE 865AMDEP_TRUE 866am__include 867DEPDIR 868OBJEXT 869EXEEXT 870ac_ct_CC 871CPPFLAGS 872LDFLAGS 873CFLAGS 874CC 875LIBTOOL 876OBJDUMP 877DLLTOOL 878AS 879GST_LT_LDFLAGS 880GST_LIBVERSION 881GST_AGE 882GST_REVISION 883GST_CURRENT 884GST_API_VERSION 885GES_VERSION_NANO 886GES_VERSION_MICRO 887GES_VERSION_MINOR 888GES_VERSION_MAJOR 889MAINT 890MAINTAINER_MODE_FALSE 891MAINTAINER_MODE_TRUE 892PACKAGE_VERSION_RELEASE 893PACKAGE_VERSION_NANO 894PACKAGE_VERSION_MICRO 895PACKAGE_VERSION_MINOR 896PACKAGE_VERSION_MAJOR 897AM_BACKSLASH 898AM_DEFAULT_VERBOSITY 899AM_DEFAULT_V 900AM_V 901am__untar 902am__tar 903AMTAR 904am__leading_dot 905SET_MAKE 906AWK 907mkdir_p 908MKDIR_P 909INSTALL_STRIP_PROGRAM 910STRIP 911install_sh 912MAKEINFO 913AUTOHEADER 914AUTOMAKE 915AUTOCONF 916ACLOCAL 917VERSION 918PACKAGE 919CYGPATH_W 920am__isrc 921INSTALL_DATA 922INSTALL_SCRIPT 923INSTALL_PROGRAM 924target_os 925target_vendor 926target_cpu 927target 928host_os 929host_vendor 930host_cpu 931host 932build_os 933build_vendor 934build_cpu 935build 936target_alias 937host_alias 938build_alias 939LIBS 940ECHO_T 941ECHO_N 942ECHO_C 943DEFS 944mandir 945localedir 946libdir 947psdir 948pdfdir 949dvidir 950htmldir 951infodir 952docdir 953oldincludedir 954includedir 955runstatedir 956localstatedir 957sharedstatedir 958sysconfdir 959datadir 960datarootdir 961libexecdir 962sbindir 963bindir 964program_transform_name 965prefix 966exec_prefix 967PACKAGE_URL 968PACKAGE_BUGREPORT 969PACKAGE_STRING 970PACKAGE_VERSION 971PACKAGE_TARNAME 972PACKAGE_NAME 973PATH_SEPARATOR 974SHELL 975am__quote' 976ac_subst_files='' 977ac_user_opts=' 978enable_option_checking 979enable_silent_rules 980enable_maintainer_mode 981enable_static 982enable_shared 983with_pic 984enable_fast_install 985with_aix_soname 986enable_dependency_tracking 987with_gnu_ld 988with_sysroot 989enable_libtool_lock 990with_autoconf 991with_autoheader 992with_automake 993with_aclocal 994enable_fatal_warnings 995enable_extra_check 996enable_debug 997enable_profiling 998enable_valgrind 999enable_gcov 1000enable_examples 1001with_pkg_config_path 1002with_package_name 1003with_package_origin 1004enable_introspection 1005enable_docbook 1006with_html_dir 1007enable_gtk_doc 1008enable_gtk_doc_html 1009enable_gtk_doc_pdf 1010with_bash_completion_dir 1011enable_gobject_cast_checks 1012enable_glib_asserts 1013with_plugins 1014enable_plugins 1015enable_Bsymbolic 1016enable_benchmarks 1017' 1018 ac_precious_vars='build_alias 1019host_alias 1020target_alias 1021CC 1022CFLAGS 1023LDFLAGS 1024LIBS 1025CPPFLAGS 1026LT_SYS_LIBRARY_PATH 1027CPP 1028PKG_CONFIG 1029VALGRIND_CFLAGS 1030VALGRIND_LIBS 1031GTKDOC_DEPS_CFLAGS 1032GTKDOC_DEPS_LIBS 1033PYTHON 1034PYGOBJECT_CFLAGS 1035PYGOBJECT_LIBS 1036GST_VALIDATE_CFLAGS 1037GST_VALIDATE_LIBS 1038BASH_COMPLETION_CFLAGS 1039BASH_COMPLETION_LIBS 1040GLIB_CFLAGS 1041GLIB_LIBS 1042GIO_CFLAGS 1043GIO_LIBS 1044GST_CFLAGS 1045GST_LIBS 1046GST_BASE_CFLAGS 1047GST_BASE_LIBS 1048GST_CHECK_CFLAGS 1049GST_CHECK_LIBS 1050GST_CONTROLLER_CFLAGS 1051GST_CONTROLLER_LIBS 1052GST_PLUGINS_BASE_CFLAGS 1053GST_PLUGINS_BASE_LIBS 1054GST_PLUGINS_BAD_CFLAGS 1055GST_PLUGINS_BAD_LIBS 1056GST_PLUGINS_GOOD_CFLAGS 1057GST_PLUGINS_GOOD_LIBS 1058GST_PBUTILS_CFLAGS 1059GST_PBUTILS_LIBS 1060GST_VIDEO_CFLAGS 1061GST_VIDEO_LIBS 1062XML_CFLAGS 1063XML_LIBS 1064GTK_CFLAGS 1065GTK_LIBS 1066GTK_X11_CFLAGS 1067GTK_X11_LIBS' 1068 1069 1070# Initialize some variables set by options. 1071ac_init_help= 1072ac_init_version=false 1073ac_unrecognized_opts= 1074ac_unrecognized_sep= 1075# The variables have the same names as the options, with 1076# dashes changed to underlines. 1077cache_file=/dev/null 1078exec_prefix=NONE 1079no_create= 1080no_recursion= 1081prefix=NONE 1082program_prefix=NONE 1083program_suffix=NONE 1084program_transform_name=s,x,x, 1085silent= 1086site= 1087srcdir= 1088verbose= 1089x_includes=NONE 1090x_libraries=NONE 1091 1092# Installation directory options. 1093# These are left unexpanded so users can "make install exec_prefix=/foo" 1094# and all the variables that are supposed to be based on exec_prefix 1095# by default will actually change. 1096# Use braces instead of parens because sh, perl, etc. also accept them. 1097# (The list follows the same order as the GNU Coding Standards.) 1098bindir='${exec_prefix}/bin' 1099sbindir='${exec_prefix}/sbin' 1100libexecdir='${exec_prefix}/libexec' 1101datarootdir='${prefix}/share' 1102datadir='${datarootdir}' 1103sysconfdir='${prefix}/etc' 1104sharedstatedir='${prefix}/com' 1105localstatedir='${prefix}/var' 1106runstatedir='${localstatedir}/run' 1107includedir='${prefix}/include' 1108oldincludedir='/usr/include' 1109docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1110infodir='${datarootdir}/info' 1111htmldir='${docdir}' 1112dvidir='${docdir}' 1113pdfdir='${docdir}' 1114psdir='${docdir}' 1115libdir='${exec_prefix}/lib' 1116localedir='${datarootdir}/locale' 1117mandir='${datarootdir}/man' 1118 1119ac_prev= 1120ac_dashdash= 1121for ac_option 1122do 1123 # If the previous option needs an argument, assign it. 1124 if test -n "$ac_prev"; then 1125 eval $ac_prev=\$ac_option 1126 ac_prev= 1127 continue 1128 fi 1129 1130 case $ac_option in 1131 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1132 *=) ac_optarg= ;; 1133 *) ac_optarg=yes ;; 1134 esac 1135 1136 # Accept the important Cygnus configure options, so we can diagnose typos. 1137 1138 case $ac_dashdash$ac_option in 1139 --) 1140 ac_dashdash=yes ;; 1141 1142 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1143 ac_prev=bindir ;; 1144 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1145 bindir=$ac_optarg ;; 1146 1147 -build | --build | --buil | --bui | --bu) 1148 ac_prev=build_alias ;; 1149 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1150 build_alias=$ac_optarg ;; 1151 1152 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1153 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1154 ac_prev=cache_file ;; 1155 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1156 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1157 cache_file=$ac_optarg ;; 1158 1159 --config-cache | -C) 1160 cache_file=config.cache ;; 1161 1162 -datadir | --datadir | --datadi | --datad) 1163 ac_prev=datadir ;; 1164 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1165 datadir=$ac_optarg ;; 1166 1167 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1168 | --dataroo | --dataro | --datar) 1169 ac_prev=datarootdir ;; 1170 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1171 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1172 datarootdir=$ac_optarg ;; 1173 1174 -disable-* | --disable-*) 1175 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1176 # Reject names that are not valid shell variable names. 1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1178 as_fn_error $? "invalid feature name: $ac_useropt" 1179 ac_useropt_orig=$ac_useropt 1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1181 case $ac_user_opts in 1182 *" 1183"enable_$ac_useropt" 1184"*) ;; 1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1186 ac_unrecognized_sep=', ';; 1187 esac 1188 eval enable_$ac_useropt=no ;; 1189 1190 -docdir | --docdir | --docdi | --doc | --do) 1191 ac_prev=docdir ;; 1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1193 docdir=$ac_optarg ;; 1194 1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1196 ac_prev=dvidir ;; 1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1198 dvidir=$ac_optarg ;; 1199 1200 -enable-* | --enable-*) 1201 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1202 # Reject names that are not valid shell variable names. 1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1204 as_fn_error $? "invalid feature name: $ac_useropt" 1205 ac_useropt_orig=$ac_useropt 1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1207 case $ac_user_opts in 1208 *" 1209"enable_$ac_useropt" 1210"*) ;; 1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1212 ac_unrecognized_sep=', ';; 1213 esac 1214 eval enable_$ac_useropt=\$ac_optarg ;; 1215 1216 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1217 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1218 | --exec | --exe | --ex) 1219 ac_prev=exec_prefix ;; 1220 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1221 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1222 | --exec=* | --exe=* | --ex=*) 1223 exec_prefix=$ac_optarg ;; 1224 1225 -gas | --gas | --ga | --g) 1226 # Obsolete; use --with-gas. 1227 with_gas=yes ;; 1228 1229 -help | --help | --hel | --he | -h) 1230 ac_init_help=long ;; 1231 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1232 ac_init_help=recursive ;; 1233 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1234 ac_init_help=short ;; 1235 1236 -host | --host | --hos | --ho) 1237 ac_prev=host_alias ;; 1238 -host=* | --host=* | --hos=* | --ho=*) 1239 host_alias=$ac_optarg ;; 1240 1241 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1242 ac_prev=htmldir ;; 1243 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1244 | --ht=*) 1245 htmldir=$ac_optarg ;; 1246 1247 -includedir | --includedir | --includedi | --included | --include \ 1248 | --includ | --inclu | --incl | --inc) 1249 ac_prev=includedir ;; 1250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1251 | --includ=* | --inclu=* | --incl=* | --inc=*) 1252 includedir=$ac_optarg ;; 1253 1254 -infodir | --infodir | --infodi | --infod | --info | --inf) 1255 ac_prev=infodir ;; 1256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1257 infodir=$ac_optarg ;; 1258 1259 -libdir | --libdir | --libdi | --libd) 1260 ac_prev=libdir ;; 1261 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1262 libdir=$ac_optarg ;; 1263 1264 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1265 | --libexe | --libex | --libe) 1266 ac_prev=libexecdir ;; 1267 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1268 | --libexe=* | --libex=* | --libe=*) 1269 libexecdir=$ac_optarg ;; 1270 1271 -localedir | --localedir | --localedi | --localed | --locale) 1272 ac_prev=localedir ;; 1273 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1274 localedir=$ac_optarg ;; 1275 1276 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1277 | --localstate | --localstat | --localsta | --localst | --locals) 1278 ac_prev=localstatedir ;; 1279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1280 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1281 localstatedir=$ac_optarg ;; 1282 1283 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1284 ac_prev=mandir ;; 1285 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1286 mandir=$ac_optarg ;; 1287 1288 -nfp | --nfp | --nf) 1289 # Obsolete; use --without-fp. 1290 with_fp=no ;; 1291 1292 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1293 | --no-cr | --no-c | -n) 1294 no_create=yes ;; 1295 1296 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1297 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1298 no_recursion=yes ;; 1299 1300 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1301 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1302 | --oldin | --oldi | --old | --ol | --o) 1303 ac_prev=oldincludedir ;; 1304 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1305 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1306 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1307 oldincludedir=$ac_optarg ;; 1308 1309 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1310 ac_prev=prefix ;; 1311 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1312 prefix=$ac_optarg ;; 1313 1314 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1315 | --program-pre | --program-pr | --program-p) 1316 ac_prev=program_prefix ;; 1317 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1318 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1319 program_prefix=$ac_optarg ;; 1320 1321 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1322 | --program-suf | --program-su | --program-s) 1323 ac_prev=program_suffix ;; 1324 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1325 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1326 program_suffix=$ac_optarg ;; 1327 1328 -program-transform-name | --program-transform-name \ 1329 | --program-transform-nam | --program-transform-na \ 1330 | --program-transform-n | --program-transform- \ 1331 | --program-transform | --program-transfor \ 1332 | --program-transfo | --program-transf \ 1333 | --program-trans | --program-tran \ 1334 | --progr-tra | --program-tr | --program-t) 1335 ac_prev=program_transform_name ;; 1336 -program-transform-name=* | --program-transform-name=* \ 1337 | --program-transform-nam=* | --program-transform-na=* \ 1338 | --program-transform-n=* | --program-transform-=* \ 1339 | --program-transform=* | --program-transfor=* \ 1340 | --program-transfo=* | --program-transf=* \ 1341 | --program-trans=* | --program-tran=* \ 1342 | --progr-tra=* | --program-tr=* | --program-t=*) 1343 program_transform_name=$ac_optarg ;; 1344 1345 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1346 ac_prev=pdfdir ;; 1347 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1348 pdfdir=$ac_optarg ;; 1349 1350 -psdir | --psdir | --psdi | --psd | --ps) 1351 ac_prev=psdir ;; 1352 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1353 psdir=$ac_optarg ;; 1354 1355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1356 | -silent | --silent | --silen | --sile | --sil) 1357 silent=yes ;; 1358 1359 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1360 | --runstate | --runstat | --runsta | --runst | --runs \ 1361 | --run | --ru | --r) 1362 ac_prev=runstatedir ;; 1363 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1364 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1365 | --run=* | --ru=* | --r=*) 1366 runstatedir=$ac_optarg ;; 1367 1368 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1369 ac_prev=sbindir ;; 1370 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1371 | --sbi=* | --sb=*) 1372 sbindir=$ac_optarg ;; 1373 1374 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1375 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1376 | --sharedst | --shareds | --shared | --share | --shar \ 1377 | --sha | --sh) 1378 ac_prev=sharedstatedir ;; 1379 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1380 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1381 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1382 | --sha=* | --sh=*) 1383 sharedstatedir=$ac_optarg ;; 1384 1385 -site | --site | --sit) 1386 ac_prev=site ;; 1387 -site=* | --site=* | --sit=*) 1388 site=$ac_optarg ;; 1389 1390 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1391 ac_prev=srcdir ;; 1392 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1393 srcdir=$ac_optarg ;; 1394 1395 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1396 | --syscon | --sysco | --sysc | --sys | --sy) 1397 ac_prev=sysconfdir ;; 1398 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1399 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1400 sysconfdir=$ac_optarg ;; 1401 1402 -target | --target | --targe | --targ | --tar | --ta | --t) 1403 ac_prev=target_alias ;; 1404 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1405 target_alias=$ac_optarg ;; 1406 1407 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1408 verbose=yes ;; 1409 1410 -version | --version | --versio | --versi | --vers | -V) 1411 ac_init_version=: ;; 1412 1413 -with-* | --with-*) 1414 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1415 # Reject names that are not valid shell variable names. 1416 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1417 as_fn_error $? "invalid package name: $ac_useropt" 1418 ac_useropt_orig=$ac_useropt 1419 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1420 case $ac_user_opts in 1421 *" 1422"with_$ac_useropt" 1423"*) ;; 1424 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1425 ac_unrecognized_sep=', ';; 1426 esac 1427 eval with_$ac_useropt=\$ac_optarg ;; 1428 1429 -without-* | --without-*) 1430 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1431 # Reject names that are not valid shell variable names. 1432 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1433 as_fn_error $? "invalid package name: $ac_useropt" 1434 ac_useropt_orig=$ac_useropt 1435 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1436 case $ac_user_opts in 1437 *" 1438"with_$ac_useropt" 1439"*) ;; 1440 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1441 ac_unrecognized_sep=', ';; 1442 esac 1443 eval with_$ac_useropt=no ;; 1444 1445 --x) 1446 # Obsolete; use --with-x. 1447 with_x=yes ;; 1448 1449 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1450 | --x-incl | --x-inc | --x-in | --x-i) 1451 ac_prev=x_includes ;; 1452 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1453 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1454 x_includes=$ac_optarg ;; 1455 1456 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1457 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1458 ac_prev=x_libraries ;; 1459 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1460 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1461 x_libraries=$ac_optarg ;; 1462 1463 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1464Try \`$0 --help' for more information" 1465 ;; 1466 1467 *=*) 1468 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1469 # Reject names that are not valid shell variable names. 1470 case $ac_envvar in #( 1471 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1472 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1473 esac 1474 eval $ac_envvar=\$ac_optarg 1475 export $ac_envvar ;; 1476 1477 *) 1478 # FIXME: should be removed in autoconf 3.0. 1479 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1480 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1481 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1482 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1483 ;; 1484 1485 esac 1486done 1487 1488if test -n "$ac_prev"; then 1489 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1490 as_fn_error $? "missing argument to $ac_option" 1491fi 1492 1493if test -n "$ac_unrecognized_opts"; then 1494 case $enable_option_checking in 1495 no) ;; 1496 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1497 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1498 esac 1499fi 1500 1501# Check all directory arguments for consistency. 1502for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1503 datadir sysconfdir sharedstatedir localstatedir includedir \ 1504 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1505 libdir localedir mandir runstatedir 1506do 1507 eval ac_val=\$$ac_var 1508 # Remove trailing slashes. 1509 case $ac_val in 1510 */ ) 1511 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1512 eval $ac_var=\$ac_val;; 1513 esac 1514 # Be sure to have absolute directory names. 1515 case $ac_val in 1516 [\\/$]* | ?:[\\/]* ) continue;; 1517 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1518 esac 1519 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1520done 1521 1522# There might be people who depend on the old broken behavior: `$host' 1523# used to hold the argument of --host etc. 1524# FIXME: To remove some day. 1525build=$build_alias 1526host=$host_alias 1527target=$target_alias 1528 1529# FIXME: To remove some day. 1530if test "x$host_alias" != x; then 1531 if test "x$build_alias" = x; then 1532 cross_compiling=maybe 1533 elif test "x$build_alias" != "x$host_alias"; then 1534 cross_compiling=yes 1535 fi 1536fi 1537 1538ac_tool_prefix= 1539test -n "$host_alias" && ac_tool_prefix=$host_alias- 1540 1541test "$silent" = yes && exec 6>/dev/null 1542 1543 1544ac_pwd=`pwd` && test -n "$ac_pwd" && 1545ac_ls_di=`ls -di .` && 1546ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1547 as_fn_error $? "working directory cannot be determined" 1548test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1549 as_fn_error $? "pwd does not report name of working directory" 1550 1551 1552# Find the source files, if location was not specified. 1553if test -z "$srcdir"; then 1554 ac_srcdir_defaulted=yes 1555 # Try the directory containing this script, then the parent directory. 1556 ac_confdir=`$as_dirname -- "$as_myself" || 1557$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1558 X"$as_myself" : 'X\(//\)[^/]' \| \ 1559 X"$as_myself" : 'X\(//\)$' \| \ 1560 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1561$as_echo X"$as_myself" | 1562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1563 s//\1/ 1564 q 1565 } 1566 /^X\(\/\/\)[^/].*/{ 1567 s//\1/ 1568 q 1569 } 1570 /^X\(\/\/\)$/{ 1571 s//\1/ 1572 q 1573 } 1574 /^X\(\/\).*/{ 1575 s//\1/ 1576 q 1577 } 1578 s/.*/./; q'` 1579 srcdir=$ac_confdir 1580 if test ! -r "$srcdir/$ac_unique_file"; then 1581 srcdir=.. 1582 fi 1583else 1584 ac_srcdir_defaulted=no 1585fi 1586if test ! -r "$srcdir/$ac_unique_file"; then 1587 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1588 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1589fi 1590ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1591ac_abs_confdir=`( 1592 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1593 pwd)` 1594# When building in place, set srcdir=. 1595if test "$ac_abs_confdir" = "$ac_pwd"; then 1596 srcdir=. 1597fi 1598# Remove unnecessary trailing slashes from srcdir. 1599# Double slashes in file names in object file debugging info 1600# mess up M-x gdb in Emacs. 1601case $srcdir in 1602*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1603esac 1604for ac_var in $ac_precious_vars; do 1605 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1606 eval ac_env_${ac_var}_value=\$${ac_var} 1607 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1608 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1609done 1610 1611# 1612# Report the --help message. 1613# 1614if test "$ac_init_help" = "long"; then 1615 # Omit some internal or obsolete options to make the list less imposing. 1616 # This message is too long to be a string in the A/UX 3.1 sh. 1617 cat <<_ACEOF 1618\`configure' configures GStreamer Editing Services 1.16.2 to adapt to many kinds of systems. 1619 1620Usage: $0 [OPTION]... [VAR=VALUE]... 1621 1622To assign environment variables (e.g., CC, CFLAGS...), specify them as 1623VAR=VALUE. See below for descriptions of some of the useful variables. 1624 1625Defaults for the options are specified in brackets. 1626 1627Configuration: 1628 -h, --help display this help and exit 1629 --help=short display options specific to this package 1630 --help=recursive display the short help of all the included packages 1631 -V, --version display version information and exit 1632 -q, --quiet, --silent do not print \`checking ...' messages 1633 --cache-file=FILE cache test results in FILE [disabled] 1634 -C, --config-cache alias for \`--cache-file=config.cache' 1635 -n, --no-create do not create output files 1636 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1637 1638Installation directories: 1639 --prefix=PREFIX install architecture-independent files in PREFIX 1640 [$ac_default_prefix] 1641 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1642 [PREFIX] 1643 1644By default, \`make install' will install all the files in 1645\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1646an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1647for instance \`--prefix=\$HOME'. 1648 1649For better control, use the options below. 1650 1651Fine tuning of the installation directories: 1652 --bindir=DIR user executables [EPREFIX/bin] 1653 --sbindir=DIR system admin executables [EPREFIX/sbin] 1654 --libexecdir=DIR program executables [EPREFIX/libexec] 1655 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1656 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1657 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1658 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1659 --libdir=DIR object code libraries [EPREFIX/lib] 1660 --includedir=DIR C header files [PREFIX/include] 1661 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1662 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1663 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1664 --infodir=DIR info documentation [DATAROOTDIR/info] 1665 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1666 --mandir=DIR man documentation [DATAROOTDIR/man] 1667 --docdir=DIR documentation root 1668 [DATAROOTDIR/doc/gstreamer-editing-services] 1669 --htmldir=DIR html documentation [DOCDIR] 1670 --dvidir=DIR dvi documentation [DOCDIR] 1671 --pdfdir=DIR pdf documentation [DOCDIR] 1672 --psdir=DIR ps documentation [DOCDIR] 1673_ACEOF 1674 1675 cat <<\_ACEOF 1676 1677Program names: 1678 --program-prefix=PREFIX prepend PREFIX to installed program names 1679 --program-suffix=SUFFIX append SUFFIX to installed program names 1680 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1681 1682System types: 1683 --build=BUILD configure for building on BUILD [guessed] 1684 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1685 --target=TARGET configure for building compilers for TARGET [HOST] 1686_ACEOF 1687fi 1688 1689if test -n "$ac_init_help"; then 1690 case $ac_init_help in 1691 short | recursive ) echo "Configuration of GStreamer Editing Services 1.16.2:";; 1692 esac 1693 cat <<\_ACEOF 1694 1695Optional Features: 1696 --disable-option-checking ignore unrecognized --enable/--with options 1697 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1698 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1699 --enable-silent-rules less verbose build output (undo: "make V=1") 1700 --disable-silent-rules verbose build output (undo: "make V=0") 1701 --disable-maintainer-mode 1702 disable make rules and dependencies not useful (and 1703 sometimes confusing) to the casual installer 1704 --enable-static[=PKGS] build static libraries [default=no] 1705 --enable-shared[=PKGS] build shared libraries [default=yes] 1706 --enable-fast-install[=PKGS] 1707 optimize for fast installation [default=yes] 1708 --enable-dependency-tracking 1709 do not reject slow dependency extractors 1710 --disable-dependency-tracking 1711 speeds up one-time build 1712 --disable-libtool-lock avoid locking (might break parallel builds) 1713 --disable-fatal-warnings 1714 Don't turn compiler warnings into fatal errors 1715 --enable-extra-checks Enable extra runtime checks 1716 --disable-debug disable addition of -g debugging info 1717 --enable-profiling adds -pg to compiler commandline, for profiling 1718 --disable-valgrind disable run-time valgrind detection 1719 --enable-gcov compile with coverage profiling instrumentation (gcc 1720 only) 1721 --disable-examples disable building examples 1722 --enable-introspection=[no/auto/yes] 1723 Enable introspection for this build 1724 --enable-docbook use docbook to build documentation [default=no] 1725 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1726 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1727 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1728 --enable-gobject-cast-checks=[no/auto/yes] 1729 Enable GObject cast checks 1730 --enable-glib-asserts=[no/yes] 1731 Enable GLib assertion 1732 --disable-plugins disable dependency-less plugins plugin 1733 --disable-Bsymbolic avoid linking with -Bsymbolic 1734 --disable-benchmarks disable building benchmarks apps 1735 1736Optional Packages: 1737 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1738 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1739 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1740 both] 1741 --with-aix-soname=aix|svr4|both 1742 shared library versioning (aka "SONAME") variant to 1743 provide on AIX, [default=aix]. 1744 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1745 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1746 compiler's sysroot if not specified). 1747 --with-autoconf use a different autoconf for regeneration of 1748 Makefiles 1749 --with-autoheader use a different autoheader for regeneration of 1750 Makefiles 1751 --with-automake use a different automake for regeneration of 1752 Makefiles 1753 --with-aclocal use a different aclocal for regeneration of 1754 Makefiles 1755 --with-pkg-config-path colon-separated list of pkg-config(1) dirs 1756 --with-package-name specify package name to use in plugins 1757 --with-package-origin specify package origin URL to use in plugins 1758 --with-html-dir=PATH path to installed docs 1759 --with-bash-completion-dir=PATH 1760 Install the bash auto-completion script in this 1761 directory. [default=yes] 1762 --with-plugins comma-separated list of dependencyless plug-ins to 1763 compile 1764 1765Some influential environment variables: 1766 CC C compiler command 1767 CFLAGS C compiler flags 1768 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1769 nonstandard directory <lib dir> 1770 LIBS libraries to pass to the linker, e.g. -l<library> 1771 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1772 you have headers in a nonstandard directory <include dir> 1773 LT_SYS_LIBRARY_PATH 1774 User-defined run-time library search path. 1775 CPP C preprocessor 1776 PKG_CONFIG path to pkg-config utility 1777 VALGRIND_CFLAGS 1778 C compiler flags for VALGRIND, overriding pkg-config 1779 VALGRIND_LIBS 1780 linker flags for VALGRIND, overriding pkg-config 1781 GTKDOC_DEPS_CFLAGS 1782 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1783 GTKDOC_DEPS_LIBS 1784 linker flags for GTKDOC_DEPS, overriding pkg-config 1785 PYTHON the Python interpreter 1786 PYGOBJECT_CFLAGS 1787 C compiler flags for PYGOBJECT, overriding pkg-config 1788 PYGOBJECT_LIBS 1789 linker flags for PYGOBJECT, overriding pkg-config 1790 GST_VALIDATE_CFLAGS 1791 C compiler flags for GST_VALIDATE, overriding pkg-config 1792 GST_VALIDATE_LIBS 1793 linker flags for GST_VALIDATE, overriding pkg-config 1794 BASH_COMPLETION_CFLAGS 1795 C compiler flags for BASH_COMPLETION, overriding pkg-config 1796 BASH_COMPLETION_LIBS 1797 linker flags for BASH_COMPLETION, overriding pkg-config 1798 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1799 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1800 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config 1801 GIO_LIBS linker flags for GIO, overriding pkg-config 1802 GST_CFLAGS C compiler flags for GST, overriding pkg-config 1803 GST_LIBS linker flags for GST, overriding pkg-config 1804 GST_BASE_CFLAGS 1805 C compiler flags for GST_BASE, overriding pkg-config 1806 GST_BASE_LIBS 1807 linker flags for GST_BASE, overriding pkg-config 1808 GST_CHECK_CFLAGS 1809 C compiler flags for GST_CHECK, overriding pkg-config 1810 GST_CHECK_LIBS 1811 linker flags for GST_CHECK, overriding pkg-config 1812 GST_CONTROLLER_CFLAGS 1813 C compiler flags for GST_CONTROLLER, overriding pkg-config 1814 GST_CONTROLLER_LIBS 1815 linker flags for GST_CONTROLLER, overriding pkg-config 1816 GST_PLUGINS_BASE_CFLAGS 1817 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config 1818 GST_PLUGINS_BASE_LIBS 1819 linker flags for GST_PLUGINS_BASE, overriding pkg-config 1820 GST_PLUGINS_BAD_CFLAGS 1821 C compiler flags for GST_PLUGINS_BAD, overriding pkg-config 1822 GST_PLUGINS_BAD_LIBS 1823 linker flags for GST_PLUGINS_BAD, overriding pkg-config 1824 GST_PLUGINS_GOOD_CFLAGS 1825 C compiler flags for GST_PLUGINS_GOOD, overriding pkg-config 1826 GST_PLUGINS_GOOD_LIBS 1827 linker flags for GST_PLUGINS_GOOD, overriding pkg-config 1828 GST_PBUTILS_CFLAGS 1829 C compiler flags for GST_PBUTILS, overriding pkg-config 1830 GST_PBUTILS_LIBS 1831 linker flags for GST_PBUTILS, overriding pkg-config 1832 GST_VIDEO_CFLAGS 1833 C compiler flags for GST_VIDEO, overriding pkg-config 1834 GST_VIDEO_LIBS 1835 linker flags for GST_VIDEO, overriding pkg-config 1836 XML_CFLAGS C compiler flags for XML, overriding pkg-config 1837 XML_LIBS linker flags for XML, overriding pkg-config 1838 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1839 GTK_LIBS linker flags for GTK, overriding pkg-config 1840 GTK_X11_CFLAGS 1841 C compiler flags for GTK_X11, overriding pkg-config 1842 GTK_X11_LIBS 1843 linker flags for GTK_X11, overriding pkg-config 1844 1845Use these variables to override the choices made by `configure' or to help 1846it to find libraries and programs with nonstandard names/locations. 1847 1848Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>. 1849_ACEOF 1850ac_status=$? 1851fi 1852 1853if test "$ac_init_help" = "recursive"; then 1854 # If there are subdirs, report their specific --help. 1855 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1856 test -d "$ac_dir" || 1857 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1858 continue 1859 ac_builddir=. 1860 1861case "$ac_dir" in 1862.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1863*) 1864 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1865 # A ".." for each directory in $ac_dir_suffix. 1866 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1867 case $ac_top_builddir_sub in 1868 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1869 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1870 esac ;; 1871esac 1872ac_abs_top_builddir=$ac_pwd 1873ac_abs_builddir=$ac_pwd$ac_dir_suffix 1874# for backward compatibility: 1875ac_top_builddir=$ac_top_build_prefix 1876 1877case $srcdir in 1878 .) # We are building in place. 1879 ac_srcdir=. 1880 ac_top_srcdir=$ac_top_builddir_sub 1881 ac_abs_top_srcdir=$ac_pwd ;; 1882 [\\/]* | ?:[\\/]* ) # Absolute name. 1883 ac_srcdir=$srcdir$ac_dir_suffix; 1884 ac_top_srcdir=$srcdir 1885 ac_abs_top_srcdir=$srcdir ;; 1886 *) # Relative name. 1887 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1888 ac_top_srcdir=$ac_top_build_prefix$srcdir 1889 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1890esac 1891ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1892 1893 cd "$ac_dir" || { ac_status=$?; continue; } 1894 # Check for guested configure. 1895 if test -f "$ac_srcdir/configure.gnu"; then 1896 echo && 1897 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1898 elif test -f "$ac_srcdir/configure"; then 1899 echo && 1900 $SHELL "$ac_srcdir/configure" --help=recursive 1901 else 1902 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1903 fi || ac_status=$? 1904 cd "$ac_pwd" || { ac_status=$?; break; } 1905 done 1906fi 1907 1908test -n "$ac_init_help" && exit $ac_status 1909if $ac_init_version; then 1910 cat <<\_ACEOF 1911GStreamer Editing Services configure 1.16.2 1912generated by GNU Autoconf 2.69 1913 1914Copyright (C) 2012 Free Software Foundation, Inc. 1915This configure script is free software; the Free Software Foundation 1916gives unlimited permission to copy, distribute and modify it. 1917_ACEOF 1918 exit 1919fi 1920 1921## ------------------------ ## 1922## Autoconf initialization. ## 1923## ------------------------ ## 1924 1925# ac_fn_c_try_compile LINENO 1926# -------------------------- 1927# Try to compile conftest.$ac_ext, and return whether this succeeded. 1928ac_fn_c_try_compile () 1929{ 1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1931 rm -f conftest.$ac_objext 1932 if { { ac_try="$ac_compile" 1933case "(($ac_try" in 1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1935 *) ac_try_echo=$ac_try;; 1936esac 1937eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1938$as_echo "$ac_try_echo"; } >&5 1939 (eval "$ac_compile") 2>conftest.err 1940 ac_status=$? 1941 if test -s conftest.err; then 1942 grep -v '^ *+' conftest.err >conftest.er1 1943 cat conftest.er1 >&5 1944 mv -f conftest.er1 conftest.err 1945 fi 1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1947 test $ac_status = 0; } && { 1948 test -z "$ac_c_werror_flag" || 1949 test ! -s conftest.err 1950 } && test -s conftest.$ac_objext; then : 1951 ac_retval=0 1952else 1953 $as_echo "$as_me: failed program was:" >&5 1954sed 's/^/| /' conftest.$ac_ext >&5 1955 1956 ac_retval=1 1957fi 1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1959 as_fn_set_status $ac_retval 1960 1961} # ac_fn_c_try_compile 1962 1963# ac_fn_c_try_link LINENO 1964# ----------------------- 1965# Try to link conftest.$ac_ext, and return whether this succeeded. 1966ac_fn_c_try_link () 1967{ 1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1969 rm -f conftest.$ac_objext conftest$ac_exeext 1970 if { { ac_try="$ac_link" 1971case "(($ac_try" in 1972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1973 *) ac_try_echo=$ac_try;; 1974esac 1975eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1976$as_echo "$ac_try_echo"; } >&5 1977 (eval "$ac_link") 2>conftest.err 1978 ac_status=$? 1979 if test -s conftest.err; then 1980 grep -v '^ *+' conftest.err >conftest.er1 1981 cat conftest.er1 >&5 1982 mv -f conftest.er1 conftest.err 1983 fi 1984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1985 test $ac_status = 0; } && { 1986 test -z "$ac_c_werror_flag" || 1987 test ! -s conftest.err 1988 } && test -s conftest$ac_exeext && { 1989 test "$cross_compiling" = yes || 1990 test -x conftest$ac_exeext 1991 }; then : 1992 ac_retval=0 1993else 1994 $as_echo "$as_me: failed program was:" >&5 1995sed 's/^/| /' conftest.$ac_ext >&5 1996 1997 ac_retval=1 1998fi 1999 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2000 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2001 # interfere with the next link command; also delete a directory that is 2002 # left behind by Apple's compiler. We do this before executing the actions. 2003 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2005 as_fn_set_status $ac_retval 2006 2007} # ac_fn_c_try_link 2008 2009# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2010# ------------------------------------------------------- 2011# Tests whether HEADER exists and can be compiled using the include files in 2012# INCLUDES, setting the cache variable VAR accordingly. 2013ac_fn_c_check_header_compile () 2014{ 2015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2017$as_echo_n "checking for $2... " >&6; } 2018if eval \${$3+:} false; then : 2019 $as_echo_n "(cached) " >&6 2020else 2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2022/* end confdefs.h. */ 2023$4 2024#include <$2> 2025_ACEOF 2026if ac_fn_c_try_compile "$LINENO"; then : 2027 eval "$3=yes" 2028else 2029 eval "$3=no" 2030fi 2031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2032fi 2033eval ac_res=\$$3 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2035$as_echo "$ac_res" >&6; } 2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2037 2038} # ac_fn_c_check_header_compile 2039 2040# ac_fn_c_try_cpp LINENO 2041# ---------------------- 2042# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2043ac_fn_c_try_cpp () 2044{ 2045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2046 if { { ac_try="$ac_cpp conftest.$ac_ext" 2047case "(($ac_try" in 2048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2049 *) ac_try_echo=$ac_try;; 2050esac 2051eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2052$as_echo "$ac_try_echo"; } >&5 2053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2054 ac_status=$? 2055 if test -s conftest.err; then 2056 grep -v '^ *+' conftest.err >conftest.er1 2057 cat conftest.er1 >&5 2058 mv -f conftest.er1 conftest.err 2059 fi 2060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2061 test $ac_status = 0; } > conftest.i && { 2062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2063 test ! -s conftest.err 2064 }; then : 2065 ac_retval=0 2066else 2067 $as_echo "$as_me: failed program was:" >&5 2068sed 's/^/| /' conftest.$ac_ext >&5 2069 2070 ac_retval=1 2071fi 2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2073 as_fn_set_status $ac_retval 2074 2075} # ac_fn_c_try_cpp 2076 2077# ac_fn_c_try_run LINENO 2078# ---------------------- 2079# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2080# that executables *can* be run. 2081ac_fn_c_try_run () 2082{ 2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2084 if { { ac_try="$ac_link" 2085case "(($ac_try" in 2086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2087 *) ac_try_echo=$ac_try;; 2088esac 2089eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2090$as_echo "$ac_try_echo"; } >&5 2091 (eval "$ac_link") 2>&5 2092 ac_status=$? 2093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2094 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2095 { { case "(($ac_try" in 2096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2097 *) ac_try_echo=$ac_try;; 2098esac 2099eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2100$as_echo "$ac_try_echo"; } >&5 2101 (eval "$ac_try") 2>&5 2102 ac_status=$? 2103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2104 test $ac_status = 0; }; }; then : 2105 ac_retval=0 2106else 2107 $as_echo "$as_me: program exited with status $ac_status" >&5 2108 $as_echo "$as_me: failed program was:" >&5 2109sed 's/^/| /' conftest.$ac_ext >&5 2110 2111 ac_retval=$ac_status 2112fi 2113 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2115 as_fn_set_status $ac_retval 2116 2117} # ac_fn_c_try_run 2118 2119# ac_fn_c_check_func LINENO FUNC VAR 2120# ---------------------------------- 2121# Tests whether FUNC exists, setting the cache variable VAR accordingly 2122ac_fn_c_check_func () 2123{ 2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2126$as_echo_n "checking for $2... " >&6; } 2127if eval \${$3+:} false; then : 2128 $as_echo_n "(cached) " >&6 2129else 2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2131/* end confdefs.h. */ 2132/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2133 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2134#define $2 innocuous_$2 2135 2136/* System header to define __stub macros and hopefully few prototypes, 2137 which can conflict with char $2 (); below. 2138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2139 <limits.h> exists even on freestanding compilers. */ 2140 2141#ifdef __STDC__ 2142# include <limits.h> 2143#else 2144# include <assert.h> 2145#endif 2146 2147#undef $2 2148 2149/* Override any GCC internal prototype to avoid an error. 2150 Use char because int might match the return type of a GCC 2151 builtin and then its argument prototype would still apply. */ 2152#ifdef __cplusplus 2153extern "C" 2154#endif 2155char $2 (); 2156/* The GNU C library defines this for functions which it implements 2157 to always fail with ENOSYS. Some functions are actually named 2158 something starting with __ and the normal name is an alias. */ 2159#if defined __stub_$2 || defined __stub___$2 2160choke me 2161#endif 2162 2163int 2164main () 2165{ 2166return $2 (); 2167 ; 2168 return 0; 2169} 2170_ACEOF 2171if ac_fn_c_try_link "$LINENO"; then : 2172 eval "$3=yes" 2173else 2174 eval "$3=no" 2175fi 2176rm -f core conftest.err conftest.$ac_objext \ 2177 conftest$ac_exeext conftest.$ac_ext 2178fi 2179eval ac_res=\$$3 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2181$as_echo "$ac_res" >&6; } 2182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2183 2184} # ac_fn_c_check_func 2185 2186# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2187# --------------------------------------------- 2188# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2189# accordingly. 2190ac_fn_c_check_decl () 2191{ 2192 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2193 as_decl_name=`echo $2|sed 's/ *(.*//'` 2194 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2196$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2197if eval \${$3+:} false; then : 2198 $as_echo_n "(cached) " >&6 2199else 2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2201/* end confdefs.h. */ 2202$4 2203int 2204main () 2205{ 2206#ifndef $as_decl_name 2207#ifdef __cplusplus 2208 (void) $as_decl_use; 2209#else 2210 (void) $as_decl_name; 2211#endif 2212#endif 2213 2214 ; 2215 return 0; 2216} 2217_ACEOF 2218if ac_fn_c_try_compile "$LINENO"; then : 2219 eval "$3=yes" 2220else 2221 eval "$3=no" 2222fi 2223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2224fi 2225eval ac_res=\$$3 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2227$as_echo "$ac_res" >&6; } 2228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2229 2230} # ac_fn_c_check_decl 2231 2232# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2233# ------------------------------------------------------- 2234# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2235# the include files in INCLUDES and setting the cache variable VAR 2236# accordingly. 2237ac_fn_c_check_header_mongrel () 2238{ 2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2240 if eval \${$3+:} false; then : 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2242$as_echo_n "checking for $2... " >&6; } 2243if eval \${$3+:} false; then : 2244 $as_echo_n "(cached) " >&6 2245fi 2246eval ac_res=\$$3 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2248$as_echo "$ac_res" >&6; } 2249else 2250 # Is the header compilable? 2251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2252$as_echo_n "checking $2 usability... " >&6; } 2253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2254/* end confdefs.h. */ 2255$4 2256#include <$2> 2257_ACEOF 2258if ac_fn_c_try_compile "$LINENO"; then : 2259 ac_header_compiler=yes 2260else 2261 ac_header_compiler=no 2262fi 2263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2265$as_echo "$ac_header_compiler" >&6; } 2266 2267# Is the header present? 2268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2269$as_echo_n "checking $2 presence... " >&6; } 2270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2271/* end confdefs.h. */ 2272#include <$2> 2273_ACEOF 2274if ac_fn_c_try_cpp "$LINENO"; then : 2275 ac_header_preproc=yes 2276else 2277 ac_header_preproc=no 2278fi 2279rm -f conftest.err conftest.i conftest.$ac_ext 2280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2281$as_echo "$ac_header_preproc" >&6; } 2282 2283# So? What about this header? 2284case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2285 yes:no: ) 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2287$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2289$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2290 ;; 2291 no:yes:* ) 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2293$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2295$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2297$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2299$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2301$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2302( $as_echo "## ------------------------------------------------------------------------ ## 2303## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## 2304## ------------------------------------------------------------------------ ##" 2305 ) | sed "s/^/$as_me: WARNING: /" >&2 2306 ;; 2307esac 2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2309$as_echo_n "checking for $2... " >&6; } 2310if eval \${$3+:} false; then : 2311 $as_echo_n "(cached) " >&6 2312else 2313 eval "$3=\$ac_header_compiler" 2314fi 2315eval ac_res=\$$3 2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2317$as_echo "$ac_res" >&6; } 2318fi 2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2320 2321} # ac_fn_c_check_header_mongrel 2322cat >config.log <<_ACEOF 2323This file contains any messages produced by compilers while 2324running configure, to aid debugging if configure makes a mistake. 2325 2326It was created by GStreamer Editing Services $as_me 1.16.2, which was 2327generated by GNU Autoconf 2.69. Invocation command line was 2328 2329 $ $0 $@ 2330 2331_ACEOF 2332exec 5>>config.log 2333{ 2334cat <<_ASUNAME 2335## --------- ## 2336## Platform. ## 2337## --------- ## 2338 2339hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2340uname -m = `(uname -m) 2>/dev/null || echo unknown` 2341uname -r = `(uname -r) 2>/dev/null || echo unknown` 2342uname -s = `(uname -s) 2>/dev/null || echo unknown` 2343uname -v = `(uname -v) 2>/dev/null || echo unknown` 2344 2345/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2346/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2347 2348/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2349/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2350/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2351/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2352/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2353/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2354/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2355 2356_ASUNAME 2357 2358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2359for as_dir in $PATH 2360do 2361 IFS=$as_save_IFS 2362 test -z "$as_dir" && as_dir=. 2363 $as_echo "PATH: $as_dir" 2364 done 2365IFS=$as_save_IFS 2366 2367} >&5 2368 2369cat >&5 <<_ACEOF 2370 2371 2372## ----------- ## 2373## Core tests. ## 2374## ----------- ## 2375 2376_ACEOF 2377 2378 2379# Keep a trace of the command line. 2380# Strip out --no-create and --no-recursion so they do not pile up. 2381# Strip out --silent because we don't want to record it for future runs. 2382# Also quote any args containing shell meta-characters. 2383# Make two passes to allow for proper duplicate-argument suppression. 2384ac_configure_args= 2385ac_configure_args0= 2386ac_configure_args1= 2387ac_must_keep_next=false 2388for ac_pass in 1 2 2389do 2390 for ac_arg 2391 do 2392 case $ac_arg in 2393 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2395 | -silent | --silent | --silen | --sile | --sil) 2396 continue ;; 2397 *\'*) 2398 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2399 esac 2400 case $ac_pass in 2401 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2402 2) 2403 as_fn_append ac_configure_args1 " '$ac_arg'" 2404 if test $ac_must_keep_next = true; then 2405 ac_must_keep_next=false # Got value, back to normal. 2406 else 2407 case $ac_arg in 2408 *=* | --config-cache | -C | -disable-* | --disable-* \ 2409 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2410 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2411 | -with-* | --with-* | -without-* | --without-* | --x) 2412 case "$ac_configure_args0 " in 2413 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2414 esac 2415 ;; 2416 -* ) ac_must_keep_next=true ;; 2417 esac 2418 fi 2419 as_fn_append ac_configure_args " '$ac_arg'" 2420 ;; 2421 esac 2422 done 2423done 2424{ ac_configure_args0=; unset ac_configure_args0;} 2425{ ac_configure_args1=; unset ac_configure_args1;} 2426 2427# When interrupted or exit'd, cleanup temporary files, and complete 2428# config.log. We remove comments because anyway the quotes in there 2429# would cause problems or look ugly. 2430# WARNING: Use '\'' to represent an apostrophe within the trap. 2431# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2432trap 'exit_status=$? 2433 # Save into config.log some information that might help in debugging. 2434 { 2435 echo 2436 2437 $as_echo "## ---------------- ## 2438## Cache variables. ## 2439## ---------------- ##" 2440 echo 2441 # The following way of writing the cache mishandles newlines in values, 2442( 2443 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2444 eval ac_val=\$$ac_var 2445 case $ac_val in #( 2446 *${as_nl}*) 2447 case $ac_var in #( 2448 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2449$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2450 esac 2451 case $ac_var in #( 2452 _ | IFS | as_nl) ;; #( 2453 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2454 *) { eval $ac_var=; unset $ac_var;} ;; 2455 esac ;; 2456 esac 2457 done 2458 (set) 2>&1 | 2459 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2460 *${as_nl}ac_space=\ *) 2461 sed -n \ 2462 "s/'\''/'\''\\\\'\'''\''/g; 2463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2464 ;; #( 2465 *) 2466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2467 ;; 2468 esac | 2469 sort 2470) 2471 echo 2472 2473 $as_echo "## ----------------- ## 2474## Output variables. ## 2475## ----------------- ##" 2476 echo 2477 for ac_var in $ac_subst_vars 2478 do 2479 eval ac_val=\$$ac_var 2480 case $ac_val in 2481 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2482 esac 2483 $as_echo "$ac_var='\''$ac_val'\''" 2484 done | sort 2485 echo 2486 2487 if test -n "$ac_subst_files"; then 2488 $as_echo "## ------------------- ## 2489## File substitutions. ## 2490## ------------------- ##" 2491 echo 2492 for ac_var in $ac_subst_files 2493 do 2494 eval ac_val=\$$ac_var 2495 case $ac_val in 2496 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2497 esac 2498 $as_echo "$ac_var='\''$ac_val'\''" 2499 done | sort 2500 echo 2501 fi 2502 2503 if test -s confdefs.h; then 2504 $as_echo "## ----------- ## 2505## confdefs.h. ## 2506## ----------- ##" 2507 echo 2508 cat confdefs.h 2509 echo 2510 fi 2511 test "$ac_signal" != 0 && 2512 $as_echo "$as_me: caught signal $ac_signal" 2513 $as_echo "$as_me: exit $exit_status" 2514 } >&5 2515 rm -f core *.core core.conftest.* && 2516 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2517 exit $exit_status 2518' 0 2519for ac_signal in 1 2 13 15; do 2520 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2521done 2522ac_signal=0 2523 2524# confdefs.h avoids OS command line length limits that DEFS can exceed. 2525rm -f -r conftest* confdefs.h 2526 2527$as_echo "/* confdefs.h */" > confdefs.h 2528 2529# Predefined preprocessor variables. 2530 2531cat >>confdefs.h <<_ACEOF 2532#define PACKAGE_NAME "$PACKAGE_NAME" 2533_ACEOF 2534 2535cat >>confdefs.h <<_ACEOF 2536#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2537_ACEOF 2538 2539cat >>confdefs.h <<_ACEOF 2540#define PACKAGE_VERSION "$PACKAGE_VERSION" 2541_ACEOF 2542 2543cat >>confdefs.h <<_ACEOF 2544#define PACKAGE_STRING "$PACKAGE_STRING" 2545_ACEOF 2546 2547cat >>confdefs.h <<_ACEOF 2548#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2549_ACEOF 2550 2551cat >>confdefs.h <<_ACEOF 2552#define PACKAGE_URL "$PACKAGE_URL" 2553_ACEOF 2554 2555 2556# Let the site file select an alternate cache file if it wants to. 2557# Prefer an explicitly selected file to automatically selected ones. 2558ac_site_file1=NONE 2559ac_site_file2=NONE 2560if test -n "$CONFIG_SITE"; then 2561 # We do not want a PATH search for config.site. 2562 case $CONFIG_SITE in #(( 2563 -*) ac_site_file1=./$CONFIG_SITE;; 2564 */*) ac_site_file1=$CONFIG_SITE;; 2565 *) ac_site_file1=./$CONFIG_SITE;; 2566 esac 2567elif test "x$prefix" != xNONE; then 2568 ac_site_file1=$prefix/share/config.site 2569 ac_site_file2=$prefix/etc/config.site 2570else 2571 ac_site_file1=$ac_default_prefix/share/config.site 2572 ac_site_file2=$ac_default_prefix/etc/config.site 2573fi 2574for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2575do 2576 test "x$ac_site_file" = xNONE && continue 2577 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2578 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2579$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2580 sed 's/^/| /' "$ac_site_file" >&5 2581 . "$ac_site_file" \ 2582 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2583$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2584as_fn_error $? "failed to load site script $ac_site_file 2585See \`config.log' for more details" "$LINENO" 5; } 2586 fi 2587done 2588 2589if test -r "$cache_file"; then 2590 # Some versions of bash will fail to source /dev/null (special files 2591 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2592 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2593 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2594$as_echo "$as_me: loading cache $cache_file" >&6;} 2595 case $cache_file in 2596 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2597 *) . "./$cache_file";; 2598 esac 2599 fi 2600else 2601 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2602$as_echo "$as_me: creating cache $cache_file" >&6;} 2603 >$cache_file 2604fi 2605 2606# Check that the precious variables saved in the cache have kept the same 2607# value. 2608ac_cache_corrupted=false 2609for ac_var in $ac_precious_vars; do 2610 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2611 eval ac_new_set=\$ac_env_${ac_var}_set 2612 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2613 eval ac_new_val=\$ac_env_${ac_var}_value 2614 case $ac_old_set,$ac_new_set in 2615 set,) 2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2617$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2618 ac_cache_corrupted=: ;; 2619 ,set) 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2621$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2622 ac_cache_corrupted=: ;; 2623 ,);; 2624 *) 2625 if test "x$ac_old_val" != "x$ac_new_val"; then 2626 # differences in whitespace do not lead to failure. 2627 ac_old_val_w=`echo x $ac_old_val` 2628 ac_new_val_w=`echo x $ac_new_val` 2629 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2631$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2632 ac_cache_corrupted=: 2633 else 2634 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2635$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2636 eval $ac_var=\$ac_old_val 2637 fi 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2639$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2640 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2641$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2642 fi;; 2643 esac 2644 # Pass precious variables to config.status. 2645 if test "$ac_new_set" = set; then 2646 case $ac_new_val in 2647 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2648 *) ac_arg=$ac_var=$ac_new_val ;; 2649 esac 2650 case " $ac_configure_args " in 2651 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2652 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2653 esac 2654 fi 2655done 2656if $ac_cache_corrupted; then 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2658$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2659 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2660$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2661 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2662fi 2663## -------------------- ## 2664## Main body of script. ## 2665## -------------------- ## 2666 2667ac_ext=c 2668ac_cpp='$CPP $CPPFLAGS' 2669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2671ac_compiler_gnu=$ac_cv_c_compiler_gnu 2672 2673 2674 2675ac_aux_dir= 2676for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2677 if test -f "$ac_dir/install-sh"; then 2678 ac_aux_dir=$ac_dir 2679 ac_install_sh="$ac_aux_dir/install-sh -c" 2680 break 2681 elif test -f "$ac_dir/install.sh"; then 2682 ac_aux_dir=$ac_dir 2683 ac_install_sh="$ac_aux_dir/install.sh -c" 2684 break 2685 elif test -f "$ac_dir/shtool"; then 2686 ac_aux_dir=$ac_dir 2687 ac_install_sh="$ac_aux_dir/shtool install -c" 2688 break 2689 fi 2690done 2691if test -z "$ac_aux_dir"; then 2692 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2693fi 2694 2695# These three variables are undocumented and unsupported, 2696# and are intended to be withdrawn in a future Autoconf release. 2697# They can cause serious problems if a builder's source tree is in a directory 2698# whose full name contains unusual characters. 2699ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2700ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2701ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2702 2703 2704# Make sure we can run config.sub. 2705$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2706 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2707 2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2709$as_echo_n "checking build system type... " >&6; } 2710if ${ac_cv_build+:} false; then : 2711 $as_echo_n "(cached) " >&6 2712else 2713 ac_build_alias=$build_alias 2714test "x$ac_build_alias" = x && 2715 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2716test "x$ac_build_alias" = x && 2717 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2718ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2719 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2720 2721fi 2722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2723$as_echo "$ac_cv_build" >&6; } 2724case $ac_cv_build in 2725*-*-*) ;; 2726*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2727esac 2728build=$ac_cv_build 2729ac_save_IFS=$IFS; IFS='-' 2730set x $ac_cv_build 2731shift 2732build_cpu=$1 2733build_vendor=$2 2734shift; shift 2735# Remember, the first character of IFS is used to create $*, 2736# except with old shells: 2737build_os=$* 2738IFS=$ac_save_IFS 2739case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2740 2741 2742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2743$as_echo_n "checking host system type... " >&6; } 2744if ${ac_cv_host+:} false; then : 2745 $as_echo_n "(cached) " >&6 2746else 2747 if test "x$host_alias" = x; then 2748 ac_cv_host=$ac_cv_build 2749else 2750 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2751 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2752fi 2753 2754fi 2755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2756$as_echo "$ac_cv_host" >&6; } 2757case $ac_cv_host in 2758*-*-*) ;; 2759*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2760esac 2761host=$ac_cv_host 2762ac_save_IFS=$IFS; IFS='-' 2763set x $ac_cv_host 2764shift 2765host_cpu=$1 2766host_vendor=$2 2767shift; shift 2768# Remember, the first character of IFS is used to create $*, 2769# except with old shells: 2770host_os=$* 2771IFS=$ac_save_IFS 2772case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2773 2774 2775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2776$as_echo_n "checking target system type... " >&6; } 2777if ${ac_cv_target+:} false; then : 2778 $as_echo_n "(cached) " >&6 2779else 2780 if test "x$target_alias" = x; then 2781 ac_cv_target=$ac_cv_host 2782else 2783 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2784 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2785fi 2786 2787fi 2788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2789$as_echo "$ac_cv_target" >&6; } 2790case $ac_cv_target in 2791*-*-*) ;; 2792*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2793esac 2794target=$ac_cv_target 2795ac_save_IFS=$IFS; IFS='-' 2796set x $ac_cv_target 2797shift 2798target_cpu=$1 2799target_vendor=$2 2800shift; shift 2801# Remember, the first character of IFS is used to create $*, 2802# except with old shells: 2803target_os=$* 2804IFS=$ac_save_IFS 2805case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2806 2807 2808# The aliases save the names the user supplied, while $host etc. 2809# will get canonicalized. 2810test -n "$target_alias" && 2811 test "$program_prefix$program_suffix$program_transform_name" = \ 2812 NONENONEs,x,x, && 2813 program_prefix=${target_alias}- 2814 2815 2816 2817 2818am__api_version='1.16' 2819 2820# Find a good install program. We prefer a C program (faster), 2821# so one script is as good as another. But avoid the broken or 2822# incompatible versions: 2823# SysV /etc/install, /usr/sbin/install 2824# SunOS /usr/etc/install 2825# IRIX /sbin/install 2826# AIX /bin/install 2827# AmigaOS /C/install, which installs bootblocks on floppy discs 2828# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2829# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2830# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2831# OS/2's system install, which has a completely different semantic 2832# ./install, which can be erroneously created by make from ./install.sh. 2833# Reject install programs that cannot install multiple files. 2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2835$as_echo_n "checking for a BSD-compatible install... " >&6; } 2836if test -z "$INSTALL"; then 2837if ${ac_cv_path_install+:} false; then : 2838 $as_echo_n "(cached) " >&6 2839else 2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2841for as_dir in $PATH 2842do 2843 IFS=$as_save_IFS 2844 test -z "$as_dir" && as_dir=. 2845 # Account for people who put trailing slashes in PATH elements. 2846case $as_dir/ in #(( 2847 ./ | .// | /[cC]/* | \ 2848 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2849 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2850 /usr/ucb/* ) ;; 2851 *) 2852 # OSF1 and SCO ODT 3.0 have their own names for install. 2853 # Don't use installbsd from OSF since it installs stuff as root 2854 # by default. 2855 for ac_prog in ginstall scoinst install; do 2856 for ac_exec_ext in '' $ac_executable_extensions; do 2857 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2858 if test $ac_prog = install && 2859 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2860 # AIX install. It has an incompatible calling convention. 2861 : 2862 elif test $ac_prog = install && 2863 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2864 # program-specific install script used by HP pwplus--don't use. 2865 : 2866 else 2867 rm -rf conftest.one conftest.two conftest.dir 2868 echo one > conftest.one 2869 echo two > conftest.two 2870 mkdir conftest.dir 2871 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2872 test -s conftest.one && test -s conftest.two && 2873 test -s conftest.dir/conftest.one && 2874 test -s conftest.dir/conftest.two 2875 then 2876 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2877 break 3 2878 fi 2879 fi 2880 fi 2881 done 2882 done 2883 ;; 2884esac 2885 2886 done 2887IFS=$as_save_IFS 2888 2889rm -rf conftest.one conftest.two conftest.dir 2890 2891fi 2892 if test "${ac_cv_path_install+set}" = set; then 2893 INSTALL=$ac_cv_path_install 2894 else 2895 # As a last resort, use the slow shell script. Don't cache a 2896 # value for INSTALL within a source directory, because that will 2897 # break other packages using the cache if that directory is 2898 # removed, or if the value is a relative name. 2899 INSTALL=$ac_install_sh 2900 fi 2901fi 2902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2903$as_echo "$INSTALL" >&6; } 2904 2905# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2906# It thinks the first close brace ends the variable substitution. 2907test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2908 2909test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2910 2911test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2912 2913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2914$as_echo_n "checking whether build environment is sane... " >&6; } 2915# Reject unsafe characters in $srcdir or the absolute working directory 2916# name. Accept space and tab only in the latter. 2917am_lf=' 2918' 2919case `pwd` in 2920 *[\\\"\#\$\&\'\`$am_lf]*) 2921 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2922esac 2923case $srcdir in 2924 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2925 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2926esac 2927 2928# Do 'set' in a subshell so we don't clobber the current shell's 2929# arguments. Must try -L first in case configure is actually a 2930# symlink; some systems play weird games with the mod time of symlinks 2931# (eg FreeBSD returns the mod time of the symlink's containing 2932# directory). 2933if ( 2934 am_has_slept=no 2935 for am_try in 1 2; do 2936 echo "timestamp, slept: $am_has_slept" > conftest.file 2937 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2938 if test "$*" = "X"; then 2939 # -L didn't work. 2940 set X `ls -t "$srcdir/configure" conftest.file` 2941 fi 2942 if test "$*" != "X $srcdir/configure conftest.file" \ 2943 && test "$*" != "X conftest.file $srcdir/configure"; then 2944 2945 # If neither matched, then we have a broken ls. This can happen 2946 # if, for instance, CONFIG_SHELL is bash and it inherits a 2947 # broken ls alias from the environment. This has actually 2948 # happened. Such a system could not be considered "sane". 2949 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2950 alias in your environment" "$LINENO" 5 2951 fi 2952 if test "$2" = conftest.file || test $am_try -eq 2; then 2953 break 2954 fi 2955 # Just in case. 2956 sleep 1 2957 am_has_slept=yes 2958 done 2959 test "$2" = conftest.file 2960 ) 2961then 2962 # Ok. 2963 : 2964else 2965 as_fn_error $? "newly created file is older than distributed files! 2966Check your system clock" "$LINENO" 5 2967fi 2968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2969$as_echo "yes" >&6; } 2970# If we didn't sleep, we still need to ensure time stamps of config.status and 2971# generated files are strictly newer. 2972am_sleep_pid= 2973if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2974 ( sleep 1 ) & 2975 am_sleep_pid=$! 2976fi 2977 2978rm -f conftest.file 2979 2980test "$program_prefix" != NONE && 2981 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2982# Use a double $ so make ignores it. 2983test "$program_suffix" != NONE && 2984 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2985# Double any \ or $. 2986# By default was `s,x,x', remove it if useless. 2987ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2988program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2989 2990# Expand $ac_aux_dir to an absolute path. 2991am_aux_dir=`cd "$ac_aux_dir" && pwd` 2992 2993if test x"${MISSING+set}" != xset; then 2994 case $am_aux_dir in 2995 *\ * | *\ *) 2996 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2997 *) 2998 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2999 esac 3000fi 3001# Use eval to expand $SHELL 3002if eval "$MISSING --is-lightweight"; then 3003 am_missing_run="$MISSING " 3004else 3005 am_missing_run= 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3007$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3008fi 3009 3010if test x"${install_sh+set}" != xset; then 3011 case $am_aux_dir in 3012 *\ * | *\ *) 3013 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3014 *) 3015 install_sh="\${SHELL} $am_aux_dir/install-sh" 3016 esac 3017fi 3018 3019# Installed binaries are usually stripped using 'strip' when the user 3020# run "make install-strip". However 'strip' might not be the right 3021# tool to use in cross-compilation environments, therefore Automake 3022# will honor the 'STRIP' environment variable to overrule this program. 3023if test "$cross_compiling" != no; then 3024 if test -n "$ac_tool_prefix"; then 3025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3026set dummy ${ac_tool_prefix}strip; ac_word=$2 3027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3028$as_echo_n "checking for $ac_word... " >&6; } 3029if ${ac_cv_prog_STRIP+:} false; then : 3030 $as_echo_n "(cached) " >&6 3031else 3032 if test -n "$STRIP"; then 3033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3034else 3035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3036for as_dir in $PATH 3037do 3038 IFS=$as_save_IFS 3039 test -z "$as_dir" && as_dir=. 3040 for ac_exec_ext in '' $ac_executable_extensions; do 3041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3042 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3044 break 2 3045 fi 3046done 3047 done 3048IFS=$as_save_IFS 3049 3050fi 3051fi 3052STRIP=$ac_cv_prog_STRIP 3053if test -n "$STRIP"; then 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3055$as_echo "$STRIP" >&6; } 3056else 3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3058$as_echo "no" >&6; } 3059fi 3060 3061 3062fi 3063if test -z "$ac_cv_prog_STRIP"; then 3064 ac_ct_STRIP=$STRIP 3065 # Extract the first word of "strip", so it can be a program name with args. 3066set dummy strip; ac_word=$2 3067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3068$as_echo_n "checking for $ac_word... " >&6; } 3069if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3070 $as_echo_n "(cached) " >&6 3071else 3072 if test -n "$ac_ct_STRIP"; then 3073 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3074else 3075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3076for as_dir in $PATH 3077do 3078 IFS=$as_save_IFS 3079 test -z "$as_dir" && as_dir=. 3080 for ac_exec_ext in '' $ac_executable_extensions; do 3081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3082 ac_cv_prog_ac_ct_STRIP="strip" 3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3084 break 2 3085 fi 3086done 3087 done 3088IFS=$as_save_IFS 3089 3090fi 3091fi 3092ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3093if test -n "$ac_ct_STRIP"; then 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3095$as_echo "$ac_ct_STRIP" >&6; } 3096else 3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3098$as_echo "no" >&6; } 3099fi 3100 3101 if test "x$ac_ct_STRIP" = x; then 3102 STRIP=":" 3103 else 3104 case $cross_compiling:$ac_tool_warned in 3105yes:) 3106{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3107$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3108ac_tool_warned=yes ;; 3109esac 3110 STRIP=$ac_ct_STRIP 3111 fi 3112else 3113 STRIP="$ac_cv_prog_STRIP" 3114fi 3115 3116fi 3117INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3118 3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3120$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3121if test -z "$MKDIR_P"; then 3122 if ${ac_cv_path_mkdir+:} false; then : 3123 $as_echo_n "(cached) " >&6 3124else 3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3126for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3127do 3128 IFS=$as_save_IFS 3129 test -z "$as_dir" && as_dir=. 3130 for ac_prog in mkdir gmkdir; do 3131 for ac_exec_ext in '' $ac_executable_extensions; do 3132 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3133 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3134 'mkdir (GNU coreutils) '* | \ 3135 'mkdir (coreutils) '* | \ 3136 'mkdir (fileutils) '4.1*) 3137 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3138 break 3;; 3139 esac 3140 done 3141 done 3142 done 3143IFS=$as_save_IFS 3144 3145fi 3146 3147 test -d ./--version && rmdir ./--version 3148 if test "${ac_cv_path_mkdir+set}" = set; then 3149 MKDIR_P="$ac_cv_path_mkdir -p" 3150 else 3151 # As a last resort, use the slow shell script. Don't cache a 3152 # value for MKDIR_P within a source directory, because that will 3153 # break other packages using the cache if that directory is 3154 # removed, or if the value is a relative name. 3155 MKDIR_P="$ac_install_sh -d" 3156 fi 3157fi 3158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3159$as_echo "$MKDIR_P" >&6; } 3160 3161for ac_prog in gawk mawk nawk awk 3162do 3163 # Extract the first word of "$ac_prog", so it can be a program name with args. 3164set dummy $ac_prog; ac_word=$2 3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3166$as_echo_n "checking for $ac_word... " >&6; } 3167if ${ac_cv_prog_AWK+:} false; then : 3168 $as_echo_n "(cached) " >&6 3169else 3170 if test -n "$AWK"; then 3171 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3172else 3173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3174for as_dir in $PATH 3175do 3176 IFS=$as_save_IFS 3177 test -z "$as_dir" && as_dir=. 3178 for ac_exec_ext in '' $ac_executable_extensions; do 3179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3180 ac_cv_prog_AWK="$ac_prog" 3181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3182 break 2 3183 fi 3184done 3185 done 3186IFS=$as_save_IFS 3187 3188fi 3189fi 3190AWK=$ac_cv_prog_AWK 3191if test -n "$AWK"; then 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3193$as_echo "$AWK" >&6; } 3194else 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3196$as_echo "no" >&6; } 3197fi 3198 3199 3200 test -n "$AWK" && break 3201done 3202 3203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3204$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3205set x ${MAKE-make} 3206ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3207if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3208 $as_echo_n "(cached) " >&6 3209else 3210 cat >conftest.make <<\_ACEOF 3211SHELL = /bin/sh 3212all: 3213 @echo '@@@%%%=$(MAKE)=@@@%%%' 3214_ACEOF 3215# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3216case `${MAKE-make} -f conftest.make 2>/dev/null` in 3217 *@@@%%%=?*=@@@%%%*) 3218 eval ac_cv_prog_make_${ac_make}_set=yes;; 3219 *) 3220 eval ac_cv_prog_make_${ac_make}_set=no;; 3221esac 3222rm -f conftest.make 3223fi 3224if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3226$as_echo "yes" >&6; } 3227 SET_MAKE= 3228else 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3230$as_echo "no" >&6; } 3231 SET_MAKE="MAKE=${MAKE-make}" 3232fi 3233 3234rm -rf .tst 2>/dev/null 3235mkdir .tst 2>/dev/null 3236if test -d .tst; then 3237 am__leading_dot=. 3238else 3239 am__leading_dot=_ 3240fi 3241rmdir .tst 2>/dev/null 3242 3243# Check whether --enable-silent-rules was given. 3244if test "${enable_silent_rules+set}" = set; then : 3245 enableval=$enable_silent_rules; 3246fi 3247 3248case $enable_silent_rules in # ((( 3249 yes) AM_DEFAULT_VERBOSITY=0;; 3250 no) AM_DEFAULT_VERBOSITY=1;; 3251 *) AM_DEFAULT_VERBOSITY=1;; 3252esac 3253am_make=${MAKE-make} 3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3255$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3256if ${am_cv_make_support_nested_variables+:} false; then : 3257 $as_echo_n "(cached) " >&6 3258else 3259 if $as_echo 'TRUE=$(BAR$(V)) 3260BAR0=false 3261BAR1=true 3262V=1 3263am__doit: 3264 @$(TRUE) 3265.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3266 am_cv_make_support_nested_variables=yes 3267else 3268 am_cv_make_support_nested_variables=no 3269fi 3270fi 3271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3272$as_echo "$am_cv_make_support_nested_variables" >&6; } 3273if test $am_cv_make_support_nested_variables = yes; then 3274 AM_V='$(V)' 3275 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3276else 3277 AM_V=$AM_DEFAULT_VERBOSITY 3278 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3279fi 3280AM_BACKSLASH='\' 3281 3282if test "`cd $srcdir && pwd`" != "`pwd`"; then 3283 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3284 # is not polluted with repeated "-I." 3285 am__isrc=' -I$(srcdir)' 3286 # test to see if srcdir already configured 3287 if test -f $srcdir/config.status; then 3288 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3289 fi 3290fi 3291 3292# test whether we have cygpath 3293if test -z "$CYGPATH_W"; then 3294 if (cygpath --version) >/dev/null 2>/dev/null; then 3295 CYGPATH_W='cygpath -w' 3296 else 3297 CYGPATH_W=echo 3298 fi 3299fi 3300 3301 3302# Define the identity of the package. 3303 PACKAGE='gstreamer-editing-services' 3304 VERSION='1.16.2' 3305 3306 3307cat >>confdefs.h <<_ACEOF 3308#define PACKAGE "$PACKAGE" 3309_ACEOF 3310 3311 3312cat >>confdefs.h <<_ACEOF 3313#define VERSION "$VERSION" 3314_ACEOF 3315 3316# Some tools Automake needs. 3317 3318ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3319 3320 3321AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3322 3323 3324AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3325 3326 3327AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3328 3329 3330MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3331 3332# For better backward compatibility. To be removed once Automake 1.9.x 3333# dies out for good. For more background, see: 3334# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3335# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3336mkdir_p='$(MKDIR_P)' 3337 3338# We need awk for the "check" target (and possibly the TAP driver). The 3339# system "awk" is bad on some platforms. 3340# Always define AMTAR for backward compatibility. Yes, it's still used 3341# in the wild :-( We should find a proper way to deprecate it ... 3342AMTAR='$${TAR-tar}' 3343 3344 3345# We'll loop over all known methods to create a tar archive until one works. 3346_am_tools='gnutar plaintar pax cpio none' 3347 3348# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3349 # There is notably a 21 bits limit for the UID and the GID. In fact, 3350 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3351 # and bug#13588). 3352 am_max_uid=2097151 # 2^21 - 1 3353 am_max_gid=$am_max_uid 3354 # The $UID and $GID variables are not portable, so we need to resort 3355 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3356 # below are definitely unexpected, so allow the users to see them 3357 # (that is, avoid stderr redirection). 3358 am_uid=`id -u || echo unknown` 3359 am_gid=`id -g || echo unknown` 3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3361$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3362 if test $am_uid -le $am_max_uid; then 3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3364$as_echo "yes" >&6; } 3365 else 3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3367$as_echo "no" >&6; } 3368 _am_tools=none 3369 fi 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3371$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3372 if test $am_gid -le $am_max_gid; then 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3374$as_echo "yes" >&6; } 3375 else 3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3377$as_echo "no" >&6; } 3378 _am_tools=none 3379 fi 3380 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3382$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3383 3384 # Go ahead even if we have the value already cached. We do so because we 3385 # need to set the values for the 'am__tar' and 'am__untar' variables. 3386 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3387 3388 for _am_tool in $_am_tools; do 3389 case $_am_tool in 3390 gnutar) 3391 for _am_tar in tar gnutar gtar; do 3392 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3393 ($_am_tar --version) >&5 2>&5 3394 ac_status=$? 3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3396 (exit $ac_status); } && break 3397 done 3398 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3399 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3400 am__untar="$_am_tar -xf -" 3401 ;; 3402 plaintar) 3403 # Must skip GNU tar: if it does not support --format= it doesn't create 3404 # ustar tarball either. 3405 (tar --version) >/dev/null 2>&1 && continue 3406 am__tar='tar chf - "$$tardir"' 3407 am__tar_='tar chf - "$tardir"' 3408 am__untar='tar xf -' 3409 ;; 3410 pax) 3411 am__tar='pax -L -x ustar -w "$$tardir"' 3412 am__tar_='pax -L -x ustar -w "$tardir"' 3413 am__untar='pax -r' 3414 ;; 3415 cpio) 3416 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3417 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3418 am__untar='cpio -i -H ustar -d' 3419 ;; 3420 none) 3421 am__tar=false 3422 am__tar_=false 3423 am__untar=false 3424 ;; 3425 esac 3426 3427 # If the value was cached, stop now. We just wanted to have am__tar 3428 # and am__untar set. 3429 test -n "${am_cv_prog_tar_ustar}" && break 3430 3431 # tar/untar a dummy directory, and stop if the command works. 3432 rm -rf conftest.dir 3433 mkdir conftest.dir 3434 echo GrepMe > conftest.dir/file 3435 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3436 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3437 ac_status=$? 3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3439 (exit $ac_status); } 3440 rm -rf conftest.dir 3441 if test -s conftest.tar; then 3442 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3443 ($am__untar <conftest.tar) >&5 2>&5 3444 ac_status=$? 3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3446 (exit $ac_status); } 3447 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3448 (cat conftest.dir/file) >&5 2>&5 3449 ac_status=$? 3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 (exit $ac_status); } 3452 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3453 fi 3454 done 3455 rm -rf conftest.dir 3456 3457 if ${am_cv_prog_tar_ustar+:} false; then : 3458 $as_echo_n "(cached) " >&6 3459else 3460 am_cv_prog_tar_ustar=$_am_tool 3461fi 3462 3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3464$as_echo "$am_cv_prog_tar_ustar" >&6; } 3465 3466 3467 3468 3469 3470 3471# POSIX will say in a future version that running "rm -f" with no argument 3472# is OK; and we want to be able to make that assumption in our Makefile 3473# recipes. So use an aggressive probe to check that the usage we want is 3474# actually supported "in the wild" to an acceptable degree. 3475# See automake bug#10828. 3476# To make any issue more visible, cause the running configure to be aborted 3477# by default if the 'rm' program in use doesn't match our expectations; the 3478# user can still override this though. 3479if rm -f && rm -fr && rm -rf; then : OK; else 3480 cat >&2 <<'END' 3481Oops! 3482 3483Your 'rm' program seems unable to run without file operands specified 3484on the command line, even when the '-f' option is present. This is contrary 3485to the behaviour of most rm programs out there, and not conforming with 3486the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3487 3488Please tell bug-automake@gnu.org about your system, including the value 3489of your $PATH and any error possibly output before this message. This 3490can help us improve future automake versions. 3491 3492END 3493 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3494 echo 'Configuration will proceed anyway, since you have set the' >&2 3495 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3496 echo >&2 3497 else 3498 cat >&2 <<'END' 3499Aborting the configuration process, to ensure you take notice of the issue. 3500 3501You can download and install GNU coreutils to get an 'rm' implementation 3502that behaves properly: <https://www.gnu.org/software/coreutils/>. 3503 3504If you want to complete the configuration process using your problematic 3505'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3506to "yes", and re-run configure. 3507 3508END 3509 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3510 fi 3511fi 3512 3513 3514 3515 PACKAGE_VERSION_MAJOR=$(echo 1.16.2 | cut -d'.' -f1) 3516 PACKAGE_VERSION_MINOR=$(echo 1.16.2 | cut -d'.' -f2) 3517 PACKAGE_VERSION_MICRO=$(echo 1.16.2 | cut -d'.' -f3) 3518 3519 3520 3521 3522 3523 3524 3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5 3526$as_echo_n "checking nano version... " >&6; } 3527 3528 NANO=$(echo 1.16.2 | cut -d'.' -f4) 3529 3530 if test x"$NANO" = x || test "x$NANO" = "x0" ; then 3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5 3532$as_echo "0 (release)" >&6; } 3533 NANO=0 3534 PACKAGE_VERSION_RELEASE=1 3535 GST_GIT="no" 3536 else 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5 3538$as_echo "$NANO" >&6; } 3539 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S` 3540 if test "x$NANO" != "x1" ; then 3541 GST_GIT="no" 3542 else 3543 GST_GIT="yes" 3544 fi 3545 fi 3546 PACKAGE_VERSION_NANO=$NANO 3547 3548 3549 3550 3551 3552 3553ac_config_headers="$ac_config_headers config.h" 3554 3555 3556 3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3558$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3559 # Check whether --enable-maintainer-mode was given. 3560if test "${enable_maintainer_mode+set}" = set; then : 3561 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3562else 3563 USE_MAINTAINER_MODE=yes 3564fi 3565 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3567$as_echo "$USE_MAINTAINER_MODE" >&6; } 3568 if test $USE_MAINTAINER_MODE = yes; then 3569 MAINTAINER_MODE_TRUE= 3570 MAINTAINER_MODE_FALSE='#' 3571else 3572 MAINTAINER_MODE_TRUE='#' 3573 MAINTAINER_MODE_FALSE= 3574fi 3575 3576 MAINT=$MAINTAINER_MODE_TRUE 3577 3578 3579 3580 3581 3582# Check whether --enable-silent-rules was given. 3583if test "${enable_silent_rules+set}" = set; then : 3584 enableval=$enable_silent_rules; 3585fi 3586 3587case $enable_silent_rules in # ((( 3588 yes) AM_DEFAULT_VERBOSITY=0;; 3589 no) AM_DEFAULT_VERBOSITY=1;; 3590 *) AM_DEFAULT_VERBOSITY=0;; 3591esac 3592am_make=${MAKE-make} 3593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3594$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3595if ${am_cv_make_support_nested_variables+:} false; then : 3596 $as_echo_n "(cached) " >&6 3597else 3598 if $as_echo 'TRUE=$(BAR$(V)) 3599BAR0=false 3600BAR1=true 3601V=1 3602am__doit: 3603 @$(TRUE) 3604.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3605 am_cv_make_support_nested_variables=yes 3606else 3607 am_cv_make_support_nested_variables=no 3608fi 3609fi 3610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3611$as_echo "$am_cv_make_support_nested_variables" >&6; } 3612if test $am_cv_make_support_nested_variables = yes; then 3613 AM_V='$(V)' 3614 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3615else 3616 AM_V=$AM_DEFAULT_VERBOSITY 3617 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3618fi 3619AM_BACKSLASH='\' 3620 3621 3622GES_VERSION_MAJOR=$PACKAGE_VERSION_MAJOR 3623GES_VERSION_MINOR=$PACKAGE_VERSION_MINOR 3624GES_VERSION_MICRO=$PACKAGE_VERSION_MICRO 3625GES_VERSION_NANO=$PACKAGE_VERSION_NANO 3626 3627 3628 3629 3630 3631GST_API_VERSION=$GST_EDITING_SERVICES_VERSION_MAJOR.$GST_EDITING_SERVICES_VERSION_MINOR 3632GST_API_VERSION=1.0 3633 3634 3635case `pwd` in 3636 *\ * | *\ *) 3637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3638$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3639esac 3640 3641 3642 3643macro_version='2.4.6' 3644macro_revision='2.4.6' 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658ltmain=$ac_aux_dir/ltmain.sh 3659 3660# Backslashify metacharacters that are still active within 3661# double-quoted strings. 3662sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3663 3664# Same as above, but do not quote variable references. 3665double_quote_subst='s/\(["`\\]\)/\\\1/g' 3666 3667# Sed substitution to delay expansion of an escaped shell variable in a 3668# double_quote_subst'ed string. 3669delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3670 3671# Sed substitution to delay expansion of an escaped single quote. 3672delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3673 3674# Sed substitution to avoid accidental globbing in evaled expressions 3675no_glob_subst='s/\*/\\\*/g' 3676 3677ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3678ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3679ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3680 3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3682$as_echo_n "checking how to print strings... " >&6; } 3683# Test print first, because it will be a builtin if present. 3684if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3685 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3686 ECHO='print -r --' 3687elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3688 ECHO='printf %s\n' 3689else 3690 # Use this function as a fallback that always works. 3691 func_fallback_echo () 3692 { 3693 eval 'cat <<_LTECHO_EOF 3694$1 3695_LTECHO_EOF' 3696 } 3697 ECHO='func_fallback_echo' 3698fi 3699 3700# func_echo_all arg... 3701# Invoke $ECHO with all args, space-separated. 3702func_echo_all () 3703{ 3704 $ECHO "" 3705} 3706 3707case $ECHO in 3708 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3709$as_echo "printf" >&6; } ;; 3710 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3711$as_echo "print -r" >&6; } ;; 3712 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3713$as_echo "cat" >&6; } ;; 3714esac 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729DEPDIR="${am__leading_dot}deps" 3730 3731ac_config_commands="$ac_config_commands depfiles" 3732 3733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3734$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3735cat > confinc.mk << 'END' 3736am__doit: 3737 @echo this is the am__doit target >confinc.out 3738.PHONY: am__doit 3739END 3740am__include="#" 3741am__quote= 3742# BSD make does it like this. 3743echo '.include "confinc.mk" # ignored' > confmf.BSD 3744# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3745echo 'include confinc.mk # ignored' > confmf.GNU 3746_am_result=no 3747for s in GNU BSD; do 3748 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3749 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3750 ac_status=$? 3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3752 (exit $ac_status); } 3753 case $?:`cat confinc.out 2>/dev/null` in #( 3754 '0:this is the am__doit target') : 3755 case $s in #( 3756 BSD) : 3757 am__include='.include' am__quote='"' ;; #( 3758 *) : 3759 am__include='include' am__quote='' ;; 3760esac ;; #( 3761 *) : 3762 ;; 3763esac 3764 if test "$am__include" != "#"; then 3765 _am_result="yes ($s style)" 3766 break 3767 fi 3768done 3769rm -f confinc.* confmf.* 3770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3771$as_echo "${_am_result}" >&6; } 3772 3773# Check whether --enable-dependency-tracking was given. 3774if test "${enable_dependency_tracking+set}" = set; then : 3775 enableval=$enable_dependency_tracking; 3776fi 3777 3778if test "x$enable_dependency_tracking" != xno; then 3779 am_depcomp="$ac_aux_dir/depcomp" 3780 AMDEPBACKSLASH='\' 3781 am__nodep='_no' 3782fi 3783 if test "x$enable_dependency_tracking" != xno; then 3784 AMDEP_TRUE= 3785 AMDEP_FALSE='#' 3786else 3787 AMDEP_TRUE='#' 3788 AMDEP_FALSE= 3789fi 3790 3791 3792ac_ext=c 3793ac_cpp='$CPP $CPPFLAGS' 3794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3796ac_compiler_gnu=$ac_cv_c_compiler_gnu 3797if test -n "$ac_tool_prefix"; then 3798 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3799set dummy ${ac_tool_prefix}gcc; ac_word=$2 3800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3801$as_echo_n "checking for $ac_word... " >&6; } 3802if ${ac_cv_prog_CC+:} false; then : 3803 $as_echo_n "(cached) " >&6 3804else 3805 if test -n "$CC"; then 3806 ac_cv_prog_CC="$CC" # Let the user override the test. 3807else 3808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3809for as_dir in $PATH 3810do 3811 IFS=$as_save_IFS 3812 test -z "$as_dir" && as_dir=. 3813 for ac_exec_ext in '' $ac_executable_extensions; do 3814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3815 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3817 break 2 3818 fi 3819done 3820 done 3821IFS=$as_save_IFS 3822 3823fi 3824fi 3825CC=$ac_cv_prog_CC 3826if test -n "$CC"; then 3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3828$as_echo "$CC" >&6; } 3829else 3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3831$as_echo "no" >&6; } 3832fi 3833 3834 3835fi 3836if test -z "$ac_cv_prog_CC"; then 3837 ac_ct_CC=$CC 3838 # Extract the first word of "gcc", so it can be a program name with args. 3839set dummy gcc; ac_word=$2 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3841$as_echo_n "checking for $ac_word... " >&6; } 3842if ${ac_cv_prog_ac_ct_CC+:} false; then : 3843 $as_echo_n "(cached) " >&6 3844else 3845 if test -n "$ac_ct_CC"; then 3846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3847else 3848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3849for as_dir in $PATH 3850do 3851 IFS=$as_save_IFS 3852 test -z "$as_dir" && as_dir=. 3853 for ac_exec_ext in '' $ac_executable_extensions; do 3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3855 ac_cv_prog_ac_ct_CC="gcc" 3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3857 break 2 3858 fi 3859done 3860 done 3861IFS=$as_save_IFS 3862 3863fi 3864fi 3865ac_ct_CC=$ac_cv_prog_ac_ct_CC 3866if test -n "$ac_ct_CC"; then 3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3868$as_echo "$ac_ct_CC" >&6; } 3869else 3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3871$as_echo "no" >&6; } 3872fi 3873 3874 if test "x$ac_ct_CC" = x; then 3875 CC="" 3876 else 3877 case $cross_compiling:$ac_tool_warned in 3878yes:) 3879{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3880$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3881ac_tool_warned=yes ;; 3882esac 3883 CC=$ac_ct_CC 3884 fi 3885else 3886 CC="$ac_cv_prog_CC" 3887fi 3888 3889if test -z "$CC"; then 3890 if test -n "$ac_tool_prefix"; then 3891 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3892set dummy ${ac_tool_prefix}cc; ac_word=$2 3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3894$as_echo_n "checking for $ac_word... " >&6; } 3895if ${ac_cv_prog_CC+:} false; then : 3896 $as_echo_n "(cached) " >&6 3897else 3898 if test -n "$CC"; then 3899 ac_cv_prog_CC="$CC" # Let the user override the test. 3900else 3901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3902for as_dir in $PATH 3903do 3904 IFS=$as_save_IFS 3905 test -z "$as_dir" && as_dir=. 3906 for ac_exec_ext in '' $ac_executable_extensions; do 3907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3908 ac_cv_prog_CC="${ac_tool_prefix}cc" 3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3910 break 2 3911 fi 3912done 3913 done 3914IFS=$as_save_IFS 3915 3916fi 3917fi 3918CC=$ac_cv_prog_CC 3919if test -n "$CC"; then 3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3921$as_echo "$CC" >&6; } 3922else 3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3924$as_echo "no" >&6; } 3925fi 3926 3927 3928 fi 3929fi 3930if test -z "$CC"; then 3931 # Extract the first word of "cc", so it can be a program name with args. 3932set dummy cc; ac_word=$2 3933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3934$as_echo_n "checking for $ac_word... " >&6; } 3935if ${ac_cv_prog_CC+:} false; then : 3936 $as_echo_n "(cached) " >&6 3937else 3938 if test -n "$CC"; then 3939 ac_cv_prog_CC="$CC" # Let the user override the test. 3940else 3941 ac_prog_rejected=no 3942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3943for as_dir in $PATH 3944do 3945 IFS=$as_save_IFS 3946 test -z "$as_dir" && as_dir=. 3947 for ac_exec_ext in '' $ac_executable_extensions; do 3948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3949 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3950 ac_prog_rejected=yes 3951 continue 3952 fi 3953 ac_cv_prog_CC="cc" 3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3955 break 2 3956 fi 3957done 3958 done 3959IFS=$as_save_IFS 3960 3961if test $ac_prog_rejected = yes; then 3962 # We found a bogon in the path, so make sure we never use it. 3963 set dummy $ac_cv_prog_CC 3964 shift 3965 if test $# != 0; then 3966 # We chose a different compiler from the bogus one. 3967 # However, it has the same basename, so the bogon will be chosen 3968 # first if we set CC to just the basename; use the full file name. 3969 shift 3970 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3971 fi 3972fi 3973fi 3974fi 3975CC=$ac_cv_prog_CC 3976if test -n "$CC"; then 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3978$as_echo "$CC" >&6; } 3979else 3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3981$as_echo "no" >&6; } 3982fi 3983 3984 3985fi 3986if test -z "$CC"; then 3987 if test -n "$ac_tool_prefix"; then 3988 for ac_prog in cl.exe 3989 do 3990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3991set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3993$as_echo_n "checking for $ac_word... " >&6; } 3994if ${ac_cv_prog_CC+:} false; then : 3995 $as_echo_n "(cached) " >&6 3996else 3997 if test -n "$CC"; then 3998 ac_cv_prog_CC="$CC" # Let the user override the test. 3999else 4000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4001for as_dir in $PATH 4002do 4003 IFS=$as_save_IFS 4004 test -z "$as_dir" && as_dir=. 4005 for ac_exec_ext in '' $ac_executable_extensions; do 4006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4007 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4009 break 2 4010 fi 4011done 4012 done 4013IFS=$as_save_IFS 4014 4015fi 4016fi 4017CC=$ac_cv_prog_CC 4018if test -n "$CC"; then 4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4020$as_echo "$CC" >&6; } 4021else 4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4023$as_echo "no" >&6; } 4024fi 4025 4026 4027 test -n "$CC" && break 4028 done 4029fi 4030if test -z "$CC"; then 4031 ac_ct_CC=$CC 4032 for ac_prog in cl.exe 4033do 4034 # Extract the first word of "$ac_prog", so it can be a program name with args. 4035set dummy $ac_prog; ac_word=$2 4036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4037$as_echo_n "checking for $ac_word... " >&6; } 4038if ${ac_cv_prog_ac_ct_CC+:} false; then : 4039 $as_echo_n "(cached) " >&6 4040else 4041 if test -n "$ac_ct_CC"; then 4042 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4043else 4044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4045for as_dir in $PATH 4046do 4047 IFS=$as_save_IFS 4048 test -z "$as_dir" && as_dir=. 4049 for ac_exec_ext in '' $ac_executable_extensions; do 4050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4051 ac_cv_prog_ac_ct_CC="$ac_prog" 4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4053 break 2 4054 fi 4055done 4056 done 4057IFS=$as_save_IFS 4058 4059fi 4060fi 4061ac_ct_CC=$ac_cv_prog_ac_ct_CC 4062if test -n "$ac_ct_CC"; then 4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4064$as_echo "$ac_ct_CC" >&6; } 4065else 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4067$as_echo "no" >&6; } 4068fi 4069 4070 4071 test -n "$ac_ct_CC" && break 4072done 4073 4074 if test "x$ac_ct_CC" = x; then 4075 CC="" 4076 else 4077 case $cross_compiling:$ac_tool_warned in 4078yes:) 4079{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4080$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4081ac_tool_warned=yes ;; 4082esac 4083 CC=$ac_ct_CC 4084 fi 4085fi 4086 4087fi 4088 4089 4090test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4091$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4092as_fn_error $? "no acceptable C compiler found in \$PATH 4093See \`config.log' for more details" "$LINENO" 5; } 4094 4095# Provide some information about the compiler. 4096$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4097set X $ac_compile 4098ac_compiler=$2 4099for ac_option in --version -v -V -qversion; do 4100 { { ac_try="$ac_compiler $ac_option >&5" 4101case "(($ac_try" in 4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4103 *) ac_try_echo=$ac_try;; 4104esac 4105eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4106$as_echo "$ac_try_echo"; } >&5 4107 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4108 ac_status=$? 4109 if test -s conftest.err; then 4110 sed '10a\ 4111... rest of stderr output deleted ... 4112 10q' conftest.err >conftest.er1 4113 cat conftest.er1 >&5 4114 fi 4115 rm -f conftest.er1 conftest.err 4116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4117 test $ac_status = 0; } 4118done 4119 4120cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4121/* end confdefs.h. */ 4122 4123int 4124main () 4125{ 4126 4127 ; 4128 return 0; 4129} 4130_ACEOF 4131ac_clean_files_save=$ac_clean_files 4132ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4133# Try to create an executable without -o first, disregard a.out. 4134# It will help us diagnose broken compilers, and finding out an intuition 4135# of exeext. 4136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4137$as_echo_n "checking whether the C compiler works... " >&6; } 4138ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4139 4140# The possible output files: 4141ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4142 4143ac_rmfiles= 4144for ac_file in $ac_files 4145do 4146 case $ac_file in 4147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4148 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4149 esac 4150done 4151rm -f $ac_rmfiles 4152 4153if { { ac_try="$ac_link_default" 4154case "(($ac_try" in 4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4156 *) ac_try_echo=$ac_try;; 4157esac 4158eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4159$as_echo "$ac_try_echo"; } >&5 4160 (eval "$ac_link_default") 2>&5 4161 ac_status=$? 4162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4163 test $ac_status = 0; }; then : 4164 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4165# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4166# in a Makefile. We should not override ac_cv_exeext if it was cached, 4167# so that the user can short-circuit this test for compilers unknown to 4168# Autoconf. 4169for ac_file in $ac_files '' 4170do 4171 test -f "$ac_file" || continue 4172 case $ac_file in 4173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4174 ;; 4175 [ab].out ) 4176 # We found the default executable, but exeext='' is most 4177 # certainly right. 4178 break;; 4179 *.* ) 4180 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4181 then :; else 4182 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4183 fi 4184 # We set ac_cv_exeext here because the later test for it is not 4185 # safe: cross compilers may not add the suffix if given an `-o' 4186 # argument, so we may need to know it at that point already. 4187 # Even if this section looks crufty: it has the advantage of 4188 # actually working. 4189 break;; 4190 * ) 4191 break;; 4192 esac 4193done 4194test "$ac_cv_exeext" = no && ac_cv_exeext= 4195 4196else 4197 ac_file='' 4198fi 4199if test -z "$ac_file"; then : 4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4201$as_echo "no" >&6; } 4202$as_echo "$as_me: failed program was:" >&5 4203sed 's/^/| /' conftest.$ac_ext >&5 4204 4205{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4207as_fn_error 77 "C compiler cannot create executables 4208See \`config.log' for more details" "$LINENO" 5; } 4209else 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4211$as_echo "yes" >&6; } 4212fi 4213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4214$as_echo_n "checking for C compiler default output file name... " >&6; } 4215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4216$as_echo "$ac_file" >&6; } 4217ac_exeext=$ac_cv_exeext 4218 4219rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4220ac_clean_files=$ac_clean_files_save 4221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4222$as_echo_n "checking for suffix of executables... " >&6; } 4223if { { ac_try="$ac_link" 4224case "(($ac_try" in 4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4226 *) ac_try_echo=$ac_try;; 4227esac 4228eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4229$as_echo "$ac_try_echo"; } >&5 4230 (eval "$ac_link") 2>&5 4231 ac_status=$? 4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4233 test $ac_status = 0; }; then : 4234 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4235# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4236# work properly (i.e., refer to `conftest.exe'), while it won't with 4237# `rm'. 4238for ac_file in conftest.exe conftest conftest.*; do 4239 test -f "$ac_file" || continue 4240 case $ac_file in 4241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4242 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4243 break;; 4244 * ) break;; 4245 esac 4246done 4247else 4248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4250as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4251See \`config.log' for more details" "$LINENO" 5; } 4252fi 4253rm -f conftest conftest$ac_cv_exeext 4254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4255$as_echo "$ac_cv_exeext" >&6; } 4256 4257rm -f conftest.$ac_ext 4258EXEEXT=$ac_cv_exeext 4259ac_exeext=$EXEEXT 4260cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4261/* end confdefs.h. */ 4262#include <stdio.h> 4263int 4264main () 4265{ 4266FILE *f = fopen ("conftest.out", "w"); 4267 return ferror (f) || fclose (f) != 0; 4268 4269 ; 4270 return 0; 4271} 4272_ACEOF 4273ac_clean_files="$ac_clean_files conftest.out" 4274# Check that the compiler produces executables we can run. If not, either 4275# the compiler is broken, or we cross compile. 4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4277$as_echo_n "checking whether we are cross compiling... " >&6; } 4278if test "$cross_compiling" != yes; then 4279 { { ac_try="$ac_link" 4280case "(($ac_try" in 4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4282 *) ac_try_echo=$ac_try;; 4283esac 4284eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4285$as_echo "$ac_try_echo"; } >&5 4286 (eval "$ac_link") 2>&5 4287 ac_status=$? 4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4289 test $ac_status = 0; } 4290 if { ac_try='./conftest$ac_cv_exeext' 4291 { { case "(($ac_try" in 4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4293 *) ac_try_echo=$ac_try;; 4294esac 4295eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4296$as_echo "$ac_try_echo"; } >&5 4297 (eval "$ac_try") 2>&5 4298 ac_status=$? 4299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4300 test $ac_status = 0; }; }; then 4301 cross_compiling=no 4302 else 4303 if test "$cross_compiling" = maybe; then 4304 cross_compiling=yes 4305 else 4306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4308as_fn_error $? "cannot run C compiled programs. 4309If you meant to cross compile, use \`--host'. 4310See \`config.log' for more details" "$LINENO" 5; } 4311 fi 4312 fi 4313fi 4314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4315$as_echo "$cross_compiling" >&6; } 4316 4317rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4318ac_clean_files=$ac_clean_files_save 4319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4320$as_echo_n "checking for suffix of object files... " >&6; } 4321if ${ac_cv_objext+:} false; then : 4322 $as_echo_n "(cached) " >&6 4323else 4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4325/* end confdefs.h. */ 4326 4327int 4328main () 4329{ 4330 4331 ; 4332 return 0; 4333} 4334_ACEOF 4335rm -f conftest.o conftest.obj 4336if { { ac_try="$ac_compile" 4337case "(($ac_try" in 4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4339 *) ac_try_echo=$ac_try;; 4340esac 4341eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4342$as_echo "$ac_try_echo"; } >&5 4343 (eval "$ac_compile") 2>&5 4344 ac_status=$? 4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4346 test $ac_status = 0; }; then : 4347 for ac_file in conftest.o conftest.obj conftest.*; do 4348 test -f "$ac_file" || continue; 4349 case $ac_file in 4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4352 break;; 4353 esac 4354done 4355else 4356 $as_echo "$as_me: failed program was:" >&5 4357sed 's/^/| /' conftest.$ac_ext >&5 4358 4359{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4361as_fn_error $? "cannot compute suffix of object files: cannot compile 4362See \`config.log' for more details" "$LINENO" 5; } 4363fi 4364rm -f conftest.$ac_cv_objext conftest.$ac_ext 4365fi 4366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4367$as_echo "$ac_cv_objext" >&6; } 4368OBJEXT=$ac_cv_objext 4369ac_objext=$OBJEXT 4370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4371$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4372if ${ac_cv_c_compiler_gnu+:} false; then : 4373 $as_echo_n "(cached) " >&6 4374else 4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4376/* end confdefs.h. */ 4377 4378int 4379main () 4380{ 4381#ifndef __GNUC__ 4382 choke me 4383#endif 4384 4385 ; 4386 return 0; 4387} 4388_ACEOF 4389if ac_fn_c_try_compile "$LINENO"; then : 4390 ac_compiler_gnu=yes 4391else 4392 ac_compiler_gnu=no 4393fi 4394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4395ac_cv_c_compiler_gnu=$ac_compiler_gnu 4396 4397fi 4398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4399$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4400if test $ac_compiler_gnu = yes; then 4401 GCC=yes 4402else 4403 GCC= 4404fi 4405ac_test_CFLAGS=${CFLAGS+set} 4406ac_save_CFLAGS=$CFLAGS 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4408$as_echo_n "checking whether $CC accepts -g... " >&6; } 4409if ${ac_cv_prog_cc_g+:} false; then : 4410 $as_echo_n "(cached) " >&6 4411else 4412 ac_save_c_werror_flag=$ac_c_werror_flag 4413 ac_c_werror_flag=yes 4414 ac_cv_prog_cc_g=no 4415 CFLAGS="-g" 4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4417/* end confdefs.h. */ 4418 4419int 4420main () 4421{ 4422 4423 ; 4424 return 0; 4425} 4426_ACEOF 4427if ac_fn_c_try_compile "$LINENO"; then : 4428 ac_cv_prog_cc_g=yes 4429else 4430 CFLAGS="" 4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4432/* end confdefs.h. */ 4433 4434int 4435main () 4436{ 4437 4438 ; 4439 return 0; 4440} 4441_ACEOF 4442if ac_fn_c_try_compile "$LINENO"; then : 4443 4444else 4445 ac_c_werror_flag=$ac_save_c_werror_flag 4446 CFLAGS="-g" 4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4448/* end confdefs.h. */ 4449 4450int 4451main () 4452{ 4453 4454 ; 4455 return 0; 4456} 4457_ACEOF 4458if ac_fn_c_try_compile "$LINENO"; then : 4459 ac_cv_prog_cc_g=yes 4460fi 4461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4462fi 4463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4464fi 4465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4466 ac_c_werror_flag=$ac_save_c_werror_flag 4467fi 4468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4469$as_echo "$ac_cv_prog_cc_g" >&6; } 4470if test "$ac_test_CFLAGS" = set; then 4471 CFLAGS=$ac_save_CFLAGS 4472elif test $ac_cv_prog_cc_g = yes; then 4473 if test "$GCC" = yes; then 4474 CFLAGS="-g -O2" 4475 else 4476 CFLAGS="-g" 4477 fi 4478else 4479 if test "$GCC" = yes; then 4480 CFLAGS="-O2" 4481 else 4482 CFLAGS= 4483 fi 4484fi 4485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4486$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4487if ${ac_cv_prog_cc_c89+:} false; then : 4488 $as_echo_n "(cached) " >&6 4489else 4490 ac_cv_prog_cc_c89=no 4491ac_save_CC=$CC 4492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4493/* end confdefs.h. */ 4494#include <stdarg.h> 4495#include <stdio.h> 4496struct stat; 4497/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4498struct buf { int x; }; 4499FILE * (*rcsopen) (struct buf *, struct stat *, int); 4500static char *e (p, i) 4501 char **p; 4502 int i; 4503{ 4504 return p[i]; 4505} 4506static char *f (char * (*g) (char **, int), char **p, ...) 4507{ 4508 char *s; 4509 va_list v; 4510 va_start (v,p); 4511 s = g (p, va_arg (v,int)); 4512 va_end (v); 4513 return s; 4514} 4515 4516/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4517 function prototypes and stuff, but not '\xHH' hex character constants. 4518 These don't provoke an error unfortunately, instead are silently treated 4519 as 'x'. The following induces an error, until -std is added to get 4520 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4521 array size at least. It's necessary to write '\x00'==0 to get something 4522 that's true only with -std. */ 4523int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4524 4525/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4526 inside strings and character constants. */ 4527#define FOO(x) 'x' 4528int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4529 4530int test (int i, double x); 4531struct s1 {int (*f) (int a);}; 4532struct s2 {int (*f) (double a);}; 4533int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4534int argc; 4535char **argv; 4536int 4537main () 4538{ 4539return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4540 ; 4541 return 0; 4542} 4543_ACEOF 4544for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4545 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4546do 4547 CC="$ac_save_CC $ac_arg" 4548 if ac_fn_c_try_compile "$LINENO"; then : 4549 ac_cv_prog_cc_c89=$ac_arg 4550fi 4551rm -f core conftest.err conftest.$ac_objext 4552 test "x$ac_cv_prog_cc_c89" != "xno" && break 4553done 4554rm -f conftest.$ac_ext 4555CC=$ac_save_CC 4556 4557fi 4558# AC_CACHE_VAL 4559case "x$ac_cv_prog_cc_c89" in 4560 x) 4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4562$as_echo "none needed" >&6; } ;; 4563 xno) 4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4565$as_echo "unsupported" >&6; } ;; 4566 *) 4567 CC="$CC $ac_cv_prog_cc_c89" 4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4569$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4570esac 4571if test "x$ac_cv_prog_cc_c89" != xno; then : 4572 4573fi 4574 4575ac_ext=c 4576ac_cpp='$CPP $CPPFLAGS' 4577ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4578ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4579ac_compiler_gnu=$ac_cv_c_compiler_gnu 4580 4581ac_ext=c 4582ac_cpp='$CPP $CPPFLAGS' 4583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4585ac_compiler_gnu=$ac_cv_c_compiler_gnu 4586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4587$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4588if ${am_cv_prog_cc_c_o+:} false; then : 4589 $as_echo_n "(cached) " >&6 4590else 4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4592/* end confdefs.h. */ 4593 4594int 4595main () 4596{ 4597 4598 ; 4599 return 0; 4600} 4601_ACEOF 4602 # Make sure it works both with $CC and with simple cc. 4603 # Following AC_PROG_CC_C_O, we do the test twice because some 4604 # compilers refuse to overwrite an existing .o file with -o, 4605 # though they will create one. 4606 am_cv_prog_cc_c_o=yes 4607 for am_i in 1 2; do 4608 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4609 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4610 ac_status=$? 4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4612 (exit $ac_status); } \ 4613 && test -f conftest2.$ac_objext; then 4614 : OK 4615 else 4616 am_cv_prog_cc_c_o=no 4617 break 4618 fi 4619 done 4620 rm -f core conftest* 4621 unset am_i 4622fi 4623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4624$as_echo "$am_cv_prog_cc_c_o" >&6; } 4625if test "$am_cv_prog_cc_c_o" != yes; then 4626 # Losing compiler, so override with the script. 4627 # FIXME: It is wrong to rewrite CC. 4628 # But if we don't then we get into trouble of one sort or another. 4629 # A longer-term fix would be to have automake use am__CC in this case, 4630 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4631 CC="$am_aux_dir/compile $CC" 4632fi 4633ac_ext=c 4634ac_cpp='$CPP $CPPFLAGS' 4635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4637ac_compiler_gnu=$ac_cv_c_compiler_gnu 4638 4639 4640depcc="$CC" am_compiler_list= 4641 4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4643$as_echo_n "checking dependency style of $depcc... " >&6; } 4644if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4645 $as_echo_n "(cached) " >&6 4646else 4647 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4648 # We make a subdir and do the tests there. Otherwise we can end up 4649 # making bogus files that we don't know about and never remove. For 4650 # instance it was reported that on HP-UX the gcc test will end up 4651 # making a dummy file named 'D' -- because '-MD' means "put the output 4652 # in D". 4653 rm -rf conftest.dir 4654 mkdir conftest.dir 4655 # Copy depcomp to subdir because otherwise we won't find it if we're 4656 # using a relative directory. 4657 cp "$am_depcomp" conftest.dir 4658 cd conftest.dir 4659 # We will build objects and dependencies in a subdirectory because 4660 # it helps to detect inapplicable dependency modes. For instance 4661 # both Tru64's cc and ICC support -MD to output dependencies as a 4662 # side effect of compilation, but ICC will put the dependencies in 4663 # the current directory while Tru64 will put them in the object 4664 # directory. 4665 mkdir sub 4666 4667 am_cv_CC_dependencies_compiler_type=none 4668 if test "$am_compiler_list" = ""; then 4669 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4670 fi 4671 am__universal=false 4672 case " $depcc " in #( 4673 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4674 esac 4675 4676 for depmode in $am_compiler_list; do 4677 # Setup a source with many dependencies, because some compilers 4678 # like to wrap large dependency lists on column 80 (with \), and 4679 # we should not choose a depcomp mode which is confused by this. 4680 # 4681 # We need to recreate these files for each test, as the compiler may 4682 # overwrite some of them when testing with obscure command lines. 4683 # This happens at least with the AIX C compiler. 4684 : > sub/conftest.c 4685 for i in 1 2 3 4 5 6; do 4686 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4687 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4688 # Solaris 10 /bin/sh. 4689 echo '/* dummy */' > sub/conftst$i.h 4690 done 4691 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4692 4693 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4694 # mode. It turns out that the SunPro C++ compiler does not properly 4695 # handle '-M -o', and we need to detect this. Also, some Intel 4696 # versions had trouble with output in subdirs. 4697 am__obj=sub/conftest.${OBJEXT-o} 4698 am__minus_obj="-o $am__obj" 4699 case $depmode in 4700 gcc) 4701 # This depmode causes a compiler race in universal mode. 4702 test "$am__universal" = false || continue 4703 ;; 4704 nosideeffect) 4705 # After this tag, mechanisms are not by side-effect, so they'll 4706 # only be used when explicitly requested. 4707 if test "x$enable_dependency_tracking" = xyes; then 4708 continue 4709 else 4710 break 4711 fi 4712 ;; 4713 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4714 # This compiler won't grok '-c -o', but also, the minuso test has 4715 # not run yet. These depmodes are late enough in the game, and 4716 # so weak that their functioning should not be impacted. 4717 am__obj=conftest.${OBJEXT-o} 4718 am__minus_obj= 4719 ;; 4720 none) break ;; 4721 esac 4722 if depmode=$depmode \ 4723 source=sub/conftest.c object=$am__obj \ 4724 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4725 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4726 >/dev/null 2>conftest.err && 4727 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4728 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4729 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4730 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4731 # icc doesn't choke on unknown options, it will just issue warnings 4732 # or remarks (even with -Werror). So we grep stderr for any message 4733 # that says an option was ignored or not supported. 4734 # When given -MP, icc 7.0 and 7.1 complain thusly: 4735 # icc: Command line warning: ignoring option '-M'; no argument required 4736 # The diagnosis changed in icc 8.0: 4737 # icc: Command line remark: option '-MP' not supported 4738 if (grep 'ignoring option' conftest.err || 4739 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4740 am_cv_CC_dependencies_compiler_type=$depmode 4741 break 4742 fi 4743 fi 4744 done 4745 4746 cd .. 4747 rm -rf conftest.dir 4748else 4749 am_cv_CC_dependencies_compiler_type=none 4750fi 4751 4752fi 4753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4754$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4755CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4756 4757 if 4758 test "x$enable_dependency_tracking" != xno \ 4759 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4760 am__fastdepCC_TRUE= 4761 am__fastdepCC_FALSE='#' 4762else 4763 am__fastdepCC_TRUE='#' 4764 am__fastdepCC_FALSE= 4765fi 4766 4767 4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4769$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4770if ${ac_cv_path_SED+:} false; then : 4771 $as_echo_n "(cached) " >&6 4772else 4773 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4774 for ac_i in 1 2 3 4 5 6 7; do 4775 ac_script="$ac_script$as_nl$ac_script" 4776 done 4777 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4778 { ac_script=; unset ac_script;} 4779 if test -z "$SED"; then 4780 ac_path_SED_found=false 4781 # Loop through the user's path and test for each of PROGNAME-LIST 4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4783for as_dir in $PATH 4784do 4785 IFS=$as_save_IFS 4786 test -z "$as_dir" && as_dir=. 4787 for ac_prog in sed gsed; do 4788 for ac_exec_ext in '' $ac_executable_extensions; do 4789 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4790 as_fn_executable_p "$ac_path_SED" || continue 4791# Check for GNU ac_path_SED and select it if it is found. 4792 # Check for GNU $ac_path_SED 4793case `"$ac_path_SED" --version 2>&1` in 4794*GNU*) 4795 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4796*) 4797 ac_count=0 4798 $as_echo_n 0123456789 >"conftest.in" 4799 while : 4800 do 4801 cat "conftest.in" "conftest.in" >"conftest.tmp" 4802 mv "conftest.tmp" "conftest.in" 4803 cp "conftest.in" "conftest.nl" 4804 $as_echo '' >> "conftest.nl" 4805 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4806 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4807 as_fn_arith $ac_count + 1 && ac_count=$as_val 4808 if test $ac_count -gt ${ac_path_SED_max-0}; then 4809 # Best one so far, save it but keep looking for a better one 4810 ac_cv_path_SED="$ac_path_SED" 4811 ac_path_SED_max=$ac_count 4812 fi 4813 # 10*(2^10) chars as input seems more than enough 4814 test $ac_count -gt 10 && break 4815 done 4816 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4817esac 4818 4819 $ac_path_SED_found && break 3 4820 done 4821 done 4822 done 4823IFS=$as_save_IFS 4824 if test -z "$ac_cv_path_SED"; then 4825 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4826 fi 4827else 4828 ac_cv_path_SED=$SED 4829fi 4830 4831fi 4832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4833$as_echo "$ac_cv_path_SED" >&6; } 4834 SED="$ac_cv_path_SED" 4835 rm -f conftest.sed 4836 4837test -z "$SED" && SED=sed 4838Xsed="$SED -e 1s/^X//" 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4851$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4852if ${ac_cv_path_GREP+:} false; then : 4853 $as_echo_n "(cached) " >&6 4854else 4855 if test -z "$GREP"; then 4856 ac_path_GREP_found=false 4857 # Loop through the user's path and test for each of PROGNAME-LIST 4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4859for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4860do 4861 IFS=$as_save_IFS 4862 test -z "$as_dir" && as_dir=. 4863 for ac_prog in grep ggrep; do 4864 for ac_exec_ext in '' $ac_executable_extensions; do 4865 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4866 as_fn_executable_p "$ac_path_GREP" || continue 4867# Check for GNU ac_path_GREP and select it if it is found. 4868 # Check for GNU $ac_path_GREP 4869case `"$ac_path_GREP" --version 2>&1` in 4870*GNU*) 4871 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4872*) 4873 ac_count=0 4874 $as_echo_n 0123456789 >"conftest.in" 4875 while : 4876 do 4877 cat "conftest.in" "conftest.in" >"conftest.tmp" 4878 mv "conftest.tmp" "conftest.in" 4879 cp "conftest.in" "conftest.nl" 4880 $as_echo 'GREP' >> "conftest.nl" 4881 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4882 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4883 as_fn_arith $ac_count + 1 && ac_count=$as_val 4884 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4885 # Best one so far, save it but keep looking for a better one 4886 ac_cv_path_GREP="$ac_path_GREP" 4887 ac_path_GREP_max=$ac_count 4888 fi 4889 # 10*(2^10) chars as input seems more than enough 4890 test $ac_count -gt 10 && break 4891 done 4892 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4893esac 4894 4895 $ac_path_GREP_found && break 3 4896 done 4897 done 4898 done 4899IFS=$as_save_IFS 4900 if test -z "$ac_cv_path_GREP"; then 4901 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4902 fi 4903else 4904 ac_cv_path_GREP=$GREP 4905fi 4906 4907fi 4908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4909$as_echo "$ac_cv_path_GREP" >&6; } 4910 GREP="$ac_cv_path_GREP" 4911 4912 4913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4914$as_echo_n "checking for egrep... " >&6; } 4915if ${ac_cv_path_EGREP+:} false; then : 4916 $as_echo_n "(cached) " >&6 4917else 4918 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4919 then ac_cv_path_EGREP="$GREP -E" 4920 else 4921 if test -z "$EGREP"; then 4922 ac_path_EGREP_found=false 4923 # Loop through the user's path and test for each of PROGNAME-LIST 4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4925for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4926do 4927 IFS=$as_save_IFS 4928 test -z "$as_dir" && as_dir=. 4929 for ac_prog in egrep; do 4930 for ac_exec_ext in '' $ac_executable_extensions; do 4931 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4932 as_fn_executable_p "$ac_path_EGREP" || continue 4933# Check for GNU ac_path_EGREP and select it if it is found. 4934 # Check for GNU $ac_path_EGREP 4935case `"$ac_path_EGREP" --version 2>&1` in 4936*GNU*) 4937 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4938*) 4939 ac_count=0 4940 $as_echo_n 0123456789 >"conftest.in" 4941 while : 4942 do 4943 cat "conftest.in" "conftest.in" >"conftest.tmp" 4944 mv "conftest.tmp" "conftest.in" 4945 cp "conftest.in" "conftest.nl" 4946 $as_echo 'EGREP' >> "conftest.nl" 4947 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4948 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4949 as_fn_arith $ac_count + 1 && ac_count=$as_val 4950 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4951 # Best one so far, save it but keep looking for a better one 4952 ac_cv_path_EGREP="$ac_path_EGREP" 4953 ac_path_EGREP_max=$ac_count 4954 fi 4955 # 10*(2^10) chars as input seems more than enough 4956 test $ac_count -gt 10 && break 4957 done 4958 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4959esac 4960 4961 $ac_path_EGREP_found && break 3 4962 done 4963 done 4964 done 4965IFS=$as_save_IFS 4966 if test -z "$ac_cv_path_EGREP"; then 4967 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4968 fi 4969else 4970 ac_cv_path_EGREP=$EGREP 4971fi 4972 4973 fi 4974fi 4975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4976$as_echo "$ac_cv_path_EGREP" >&6; } 4977 EGREP="$ac_cv_path_EGREP" 4978 4979 4980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4981$as_echo_n "checking for fgrep... " >&6; } 4982if ${ac_cv_path_FGREP+:} false; then : 4983 $as_echo_n "(cached) " >&6 4984else 4985 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4986 then ac_cv_path_FGREP="$GREP -F" 4987 else 4988 if test -z "$FGREP"; then 4989 ac_path_FGREP_found=false 4990 # Loop through the user's path and test for each of PROGNAME-LIST 4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4992for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4993do 4994 IFS=$as_save_IFS 4995 test -z "$as_dir" && as_dir=. 4996 for ac_prog in fgrep; do 4997 for ac_exec_ext in '' $ac_executable_extensions; do 4998 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4999 as_fn_executable_p "$ac_path_FGREP" || continue 5000# Check for GNU ac_path_FGREP and select it if it is found. 5001 # Check for GNU $ac_path_FGREP 5002case `"$ac_path_FGREP" --version 2>&1` in 5003*GNU*) 5004 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5005*) 5006 ac_count=0 5007 $as_echo_n 0123456789 >"conftest.in" 5008 while : 5009 do 5010 cat "conftest.in" "conftest.in" >"conftest.tmp" 5011 mv "conftest.tmp" "conftest.in" 5012 cp "conftest.in" "conftest.nl" 5013 $as_echo 'FGREP' >> "conftest.nl" 5014 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5015 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5016 as_fn_arith $ac_count + 1 && ac_count=$as_val 5017 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5018 # Best one so far, save it but keep looking for a better one 5019 ac_cv_path_FGREP="$ac_path_FGREP" 5020 ac_path_FGREP_max=$ac_count 5021 fi 5022 # 10*(2^10) chars as input seems more than enough 5023 test $ac_count -gt 10 && break 5024 done 5025 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5026esac 5027 5028 $ac_path_FGREP_found && break 3 5029 done 5030 done 5031 done 5032IFS=$as_save_IFS 5033 if test -z "$ac_cv_path_FGREP"; then 5034 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5035 fi 5036else 5037 ac_cv_path_FGREP=$FGREP 5038fi 5039 5040 fi 5041fi 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5043$as_echo "$ac_cv_path_FGREP" >&6; } 5044 FGREP="$ac_cv_path_FGREP" 5045 5046 5047test -z "$GREP" && GREP=grep 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067# Check whether --with-gnu-ld was given. 5068if test "${with_gnu_ld+set}" = set; then : 5069 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5070else 5071 with_gnu_ld=no 5072fi 5073 5074ac_prog=ld 5075if test yes = "$GCC"; then 5076 # Check if gcc -print-prog-name=ld gives a path. 5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5078$as_echo_n "checking for ld used by $CC... " >&6; } 5079 case $host in 5080 *-*-mingw*) 5081 # gcc leaves a trailing carriage return, which upsets mingw 5082 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5083 *) 5084 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5085 esac 5086 case $ac_prog in 5087 # Accept absolute paths. 5088 [\\/]* | ?:[\\/]*) 5089 re_direlt='/[^/][^/]*/\.\./' 5090 # Canonicalize the pathname of ld 5091 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5092 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5093 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5094 done 5095 test -z "$LD" && LD=$ac_prog 5096 ;; 5097 "") 5098 # If it fails, then pretend we aren't using GCC. 5099 ac_prog=ld 5100 ;; 5101 *) 5102 # If it is relative, then search for the first ld in PATH. 5103 with_gnu_ld=unknown 5104 ;; 5105 esac 5106elif test yes = "$with_gnu_ld"; then 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5108$as_echo_n "checking for GNU ld... " >&6; } 5109else 5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5111$as_echo_n "checking for non-GNU ld... " >&6; } 5112fi 5113if ${lt_cv_path_LD+:} false; then : 5114 $as_echo_n "(cached) " >&6 5115else 5116 if test -z "$LD"; then 5117 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5118 for ac_dir in $PATH; do 5119 IFS=$lt_save_ifs 5120 test -z "$ac_dir" && ac_dir=. 5121 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5122 lt_cv_path_LD=$ac_dir/$ac_prog 5123 # Check to see if the program is GNU ld. I'd rather use --version, 5124 # but apparently some variants of GNU ld only accept -v. 5125 # Break only if it was the GNU/non-GNU ld that we prefer. 5126 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5127 *GNU* | *'with BFD'*) 5128 test no != "$with_gnu_ld" && break 5129 ;; 5130 *) 5131 test yes != "$with_gnu_ld" && break 5132 ;; 5133 esac 5134 fi 5135 done 5136 IFS=$lt_save_ifs 5137else 5138 lt_cv_path_LD=$LD # Let the user override the test with a path. 5139fi 5140fi 5141 5142LD=$lt_cv_path_LD 5143if test -n "$LD"; then 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5145$as_echo "$LD" >&6; } 5146else 5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5148$as_echo "no" >&6; } 5149fi 5150test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5152$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5153if ${lt_cv_prog_gnu_ld+:} false; then : 5154 $as_echo_n "(cached) " >&6 5155else 5156 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5157case `$LD -v 2>&1 </dev/null` in 5158*GNU* | *'with BFD'*) 5159 lt_cv_prog_gnu_ld=yes 5160 ;; 5161*) 5162 lt_cv_prog_gnu_ld=no 5163 ;; 5164esac 5165fi 5166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5167$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5168with_gnu_ld=$lt_cv_prog_gnu_ld 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5179$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5180if ${lt_cv_path_NM+:} false; then : 5181 $as_echo_n "(cached) " >&6 5182else 5183 if test -n "$NM"; then 5184 # Let the user override the test. 5185 lt_cv_path_NM=$NM 5186else 5187 lt_nm_to_check=${ac_tool_prefix}nm 5188 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5189 lt_nm_to_check="$lt_nm_to_check nm" 5190 fi 5191 for lt_tmp_nm in $lt_nm_to_check; do 5192 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5193 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5194 IFS=$lt_save_ifs 5195 test -z "$ac_dir" && ac_dir=. 5196 tmp_nm=$ac_dir/$lt_tmp_nm 5197 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5198 # Check to see if the nm accepts a BSD-compat flag. 5199 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5200 # nm: unknown option "B" ignored 5201 # Tru64's nm complains that /dev/null is an invalid object file 5202 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5203 case $build_os in 5204 mingw*) lt_bad_file=conftest.nm/nofile ;; 5205 *) lt_bad_file=/dev/null ;; 5206 esac 5207 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5208 *$lt_bad_file* | *'Invalid file or object type'*) 5209 lt_cv_path_NM="$tmp_nm -B" 5210 break 2 5211 ;; 5212 *) 5213 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5214 */dev/null*) 5215 lt_cv_path_NM="$tmp_nm -p" 5216 break 2 5217 ;; 5218 *) 5219 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5220 continue # so that we can try to find one that supports BSD flags 5221 ;; 5222 esac 5223 ;; 5224 esac 5225 fi 5226 done 5227 IFS=$lt_save_ifs 5228 done 5229 : ${lt_cv_path_NM=no} 5230fi 5231fi 5232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5233$as_echo "$lt_cv_path_NM" >&6; } 5234if test no != "$lt_cv_path_NM"; then 5235 NM=$lt_cv_path_NM 5236else 5237 # Didn't find any BSD compatible name lister, look for dumpbin. 5238 if test -n "$DUMPBIN"; then : 5239 # Let the user override the test. 5240 else 5241 if test -n "$ac_tool_prefix"; then 5242 for ac_prog in dumpbin "link -dump" 5243 do 5244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5245set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5247$as_echo_n "checking for $ac_word... " >&6; } 5248if ${ac_cv_prog_DUMPBIN+:} false; then : 5249 $as_echo_n "(cached) " >&6 5250else 5251 if test -n "$DUMPBIN"; then 5252 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5253else 5254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5255for as_dir in $PATH 5256do 5257 IFS=$as_save_IFS 5258 test -z "$as_dir" && as_dir=. 5259 for ac_exec_ext in '' $ac_executable_extensions; do 5260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5261 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5263 break 2 5264 fi 5265done 5266 done 5267IFS=$as_save_IFS 5268 5269fi 5270fi 5271DUMPBIN=$ac_cv_prog_DUMPBIN 5272if test -n "$DUMPBIN"; then 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5274$as_echo "$DUMPBIN" >&6; } 5275else 5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5277$as_echo "no" >&6; } 5278fi 5279 5280 5281 test -n "$DUMPBIN" && break 5282 done 5283fi 5284if test -z "$DUMPBIN"; then 5285 ac_ct_DUMPBIN=$DUMPBIN 5286 for ac_prog in dumpbin "link -dump" 5287do 5288 # Extract the first word of "$ac_prog", so it can be a program name with args. 5289set dummy $ac_prog; ac_word=$2 5290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5291$as_echo_n "checking for $ac_word... " >&6; } 5292if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5293 $as_echo_n "(cached) " >&6 5294else 5295 if test -n "$ac_ct_DUMPBIN"; then 5296 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5297else 5298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5299for as_dir in $PATH 5300do 5301 IFS=$as_save_IFS 5302 test -z "$as_dir" && as_dir=. 5303 for ac_exec_ext in '' $ac_executable_extensions; do 5304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5305 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5307 break 2 5308 fi 5309done 5310 done 5311IFS=$as_save_IFS 5312 5313fi 5314fi 5315ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5316if test -n "$ac_ct_DUMPBIN"; then 5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5318$as_echo "$ac_ct_DUMPBIN" >&6; } 5319else 5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5321$as_echo "no" >&6; } 5322fi 5323 5324 5325 test -n "$ac_ct_DUMPBIN" && break 5326done 5327 5328 if test "x$ac_ct_DUMPBIN" = x; then 5329 DUMPBIN=":" 5330 else 5331 case $cross_compiling:$ac_tool_warned in 5332yes:) 5333{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5334$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5335ac_tool_warned=yes ;; 5336esac 5337 DUMPBIN=$ac_ct_DUMPBIN 5338 fi 5339fi 5340 5341 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5342 *COFF*) 5343 DUMPBIN="$DUMPBIN -symbols -headers" 5344 ;; 5345 *) 5346 DUMPBIN=: 5347 ;; 5348 esac 5349 fi 5350 5351 if test : != "$DUMPBIN"; then 5352 NM=$DUMPBIN 5353 fi 5354fi 5355test -z "$NM" && NM=nm 5356 5357 5358 5359 5360 5361 5362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5363$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5364if ${lt_cv_nm_interface+:} false; then : 5365 $as_echo_n "(cached) " >&6 5366else 5367 lt_cv_nm_interface="BSD nm" 5368 echo "int some_variable = 0;" > conftest.$ac_ext 5369 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5370 (eval "$ac_compile" 2>conftest.err) 5371 cat conftest.err >&5 5372 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5373 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5374 cat conftest.err >&5 5375 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5376 cat conftest.out >&5 5377 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5378 lt_cv_nm_interface="MS dumpbin" 5379 fi 5380 rm -f conftest* 5381fi 5382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5383$as_echo "$lt_cv_nm_interface" >&6; } 5384 5385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5386$as_echo_n "checking whether ln -s works... " >&6; } 5387LN_S=$as_ln_s 5388if test "$LN_S" = "ln -s"; then 5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5390$as_echo "yes" >&6; } 5391else 5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5393$as_echo "no, using $LN_S" >&6; } 5394fi 5395 5396# find the maximum length of command line arguments 5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5398$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5399if ${lt_cv_sys_max_cmd_len+:} false; then : 5400 $as_echo_n "(cached) " >&6 5401else 5402 i=0 5403 teststring=ABCD 5404 5405 case $build_os in 5406 msdosdjgpp*) 5407 # On DJGPP, this test can blow up pretty badly due to problems in libc 5408 # (any single argument exceeding 2000 bytes causes a buffer overrun 5409 # during glob expansion). Even if it were fixed, the result of this 5410 # check would be larger than it should be. 5411 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5412 ;; 5413 5414 gnu*) 5415 # Under GNU Hurd, this test is not required because there is 5416 # no limit to the length of command line arguments. 5417 # Libtool will interpret -1 as no limit whatsoever 5418 lt_cv_sys_max_cmd_len=-1; 5419 ;; 5420 5421 cygwin* | mingw* | cegcc*) 5422 # On Win9x/ME, this test blows up -- it succeeds, but takes 5423 # about 5 minutes as the teststring grows exponentially. 5424 # Worse, since 9x/ME are not pre-emptively multitasking, 5425 # you end up with a "frozen" computer, even though with patience 5426 # the test eventually succeeds (with a max line length of 256k). 5427 # Instead, let's just punt: use the minimum linelength reported by 5428 # all of the supported platforms: 8192 (on NT/2K/XP). 5429 lt_cv_sys_max_cmd_len=8192; 5430 ;; 5431 5432 mint*) 5433 # On MiNT this can take a long time and run out of memory. 5434 lt_cv_sys_max_cmd_len=8192; 5435 ;; 5436 5437 amigaos*) 5438 # On AmigaOS with pdksh, this test takes hours, literally. 5439 # So we just punt and use a minimum line length of 8192. 5440 lt_cv_sys_max_cmd_len=8192; 5441 ;; 5442 5443 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5444 # This has been around since 386BSD, at least. Likely further. 5445 if test -x /sbin/sysctl; then 5446 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5447 elif test -x /usr/sbin/sysctl; then 5448 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5449 else 5450 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5451 fi 5452 # And add a safety zone 5453 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5454 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5455 ;; 5456 5457 interix*) 5458 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5459 lt_cv_sys_max_cmd_len=196608 5460 ;; 5461 5462 os2*) 5463 # The test takes a long time on OS/2. 5464 lt_cv_sys_max_cmd_len=8192 5465 ;; 5466 5467 osf*) 5468 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5469 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5470 # nice to cause kernel panics so lets avoid the loop below. 5471 # First set a reasonable default. 5472 lt_cv_sys_max_cmd_len=16384 5473 # 5474 if test -x /sbin/sysconfig; then 5475 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5476 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5477 esac 5478 fi 5479 ;; 5480 sco3.2v5*) 5481 lt_cv_sys_max_cmd_len=102400 5482 ;; 5483 sysv5* | sco5v6* | sysv4.2uw2*) 5484 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5485 if test -n "$kargmax"; then 5486 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5487 else 5488 lt_cv_sys_max_cmd_len=32768 5489 fi 5490 ;; 5491 *) 5492 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5493 if test -n "$lt_cv_sys_max_cmd_len" && \ 5494 test undefined != "$lt_cv_sys_max_cmd_len"; then 5495 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5496 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5497 else 5498 # Make teststring a little bigger before we do anything with it. 5499 # a 1K string should be a reasonable start. 5500 for i in 1 2 3 4 5 6 7 8; do 5501 teststring=$teststring$teststring 5502 done 5503 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5504 # If test is not a shell built-in, we'll probably end up computing a 5505 # maximum length that is only half of the actual maximum length, but 5506 # we can't tell. 5507 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5508 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5509 test 17 != "$i" # 1/2 MB should be enough 5510 do 5511 i=`expr $i + 1` 5512 teststring=$teststring$teststring 5513 done 5514 # Only check the string length outside the loop. 5515 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5516 teststring= 5517 # Add a significant safety factor because C++ compilers can tack on 5518 # massive amounts of additional arguments before passing them to the 5519 # linker. It appears as though 1/2 is a usable value. 5520 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5521 fi 5522 ;; 5523 esac 5524 5525fi 5526 5527if test -n "$lt_cv_sys_max_cmd_len"; then 5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5529$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5530else 5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5532$as_echo "none" >&6; } 5533fi 5534max_cmd_len=$lt_cv_sys_max_cmd_len 5535 5536 5537 5538 5539 5540 5541: ${CP="cp -f"} 5542: ${MV="mv -f"} 5543: ${RM="rm -f"} 5544 5545if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5546 lt_unset=unset 5547else 5548 lt_unset=false 5549fi 5550 5551 5552 5553 5554 5555# test EBCDIC or ASCII 5556case `echo X|tr X '\101'` in 5557 A) # ASCII based system 5558 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5559 lt_SP2NL='tr \040 \012' 5560 lt_NL2SP='tr \015\012 \040\040' 5561 ;; 5562 *) # EBCDIC based system 5563 lt_SP2NL='tr \100 \n' 5564 lt_NL2SP='tr \r\n \100\100' 5565 ;; 5566esac 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5577$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5578if ${lt_cv_to_host_file_cmd+:} false; then : 5579 $as_echo_n "(cached) " >&6 5580else 5581 case $host in 5582 *-*-mingw* ) 5583 case $build in 5584 *-*-mingw* ) # actually msys 5585 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5586 ;; 5587 *-*-cygwin* ) 5588 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5589 ;; 5590 * ) # otherwise, assume *nix 5591 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5592 ;; 5593 esac 5594 ;; 5595 *-*-cygwin* ) 5596 case $build in 5597 *-*-mingw* ) # actually msys 5598 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5599 ;; 5600 *-*-cygwin* ) 5601 lt_cv_to_host_file_cmd=func_convert_file_noop 5602 ;; 5603 * ) # otherwise, assume *nix 5604 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5605 ;; 5606 esac 5607 ;; 5608 * ) # unhandled hosts (and "normal" native builds) 5609 lt_cv_to_host_file_cmd=func_convert_file_noop 5610 ;; 5611esac 5612 5613fi 5614 5615to_host_file_cmd=$lt_cv_to_host_file_cmd 5616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5617$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5618 5619 5620 5621 5622 5623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5624$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5625if ${lt_cv_to_tool_file_cmd+:} false; then : 5626 $as_echo_n "(cached) " >&6 5627else 5628 #assume ordinary cross tools, or native build. 5629lt_cv_to_tool_file_cmd=func_convert_file_noop 5630case $host in 5631 *-*-mingw* ) 5632 case $build in 5633 *-*-mingw* ) # actually msys 5634 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5635 ;; 5636 esac 5637 ;; 5638esac 5639 5640fi 5641 5642to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5644$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5645 5646 5647 5648 5649 5650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5651$as_echo_n "checking for $LD option to reload object files... " >&6; } 5652if ${lt_cv_ld_reload_flag+:} false; then : 5653 $as_echo_n "(cached) " >&6 5654else 5655 lt_cv_ld_reload_flag='-r' 5656fi 5657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5658$as_echo "$lt_cv_ld_reload_flag" >&6; } 5659reload_flag=$lt_cv_ld_reload_flag 5660case $reload_flag in 5661"" | " "*) ;; 5662*) reload_flag=" $reload_flag" ;; 5663esac 5664reload_cmds='$LD$reload_flag -o $output$reload_objs' 5665case $host_os in 5666 cygwin* | mingw* | pw32* | cegcc*) 5667 if test yes != "$GCC"; then 5668 reload_cmds=false 5669 fi 5670 ;; 5671 darwin*) 5672 if test yes = "$GCC"; then 5673 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5674 else 5675 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5676 fi 5677 ;; 5678esac 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688if test -n "$ac_tool_prefix"; then 5689 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5690set dummy ${ac_tool_prefix}objdump; ac_word=$2 5691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5692$as_echo_n "checking for $ac_word... " >&6; } 5693if ${ac_cv_prog_OBJDUMP+:} false; then : 5694 $as_echo_n "(cached) " >&6 5695else 5696 if test -n "$OBJDUMP"; then 5697 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5698else 5699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5700for as_dir in $PATH 5701do 5702 IFS=$as_save_IFS 5703 test -z "$as_dir" && as_dir=. 5704 for ac_exec_ext in '' $ac_executable_extensions; do 5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5706 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5708 break 2 5709 fi 5710done 5711 done 5712IFS=$as_save_IFS 5713 5714fi 5715fi 5716OBJDUMP=$ac_cv_prog_OBJDUMP 5717if test -n "$OBJDUMP"; then 5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5719$as_echo "$OBJDUMP" >&6; } 5720else 5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5722$as_echo "no" >&6; } 5723fi 5724 5725 5726fi 5727if test -z "$ac_cv_prog_OBJDUMP"; then 5728 ac_ct_OBJDUMP=$OBJDUMP 5729 # Extract the first word of "objdump", so it can be a program name with args. 5730set dummy objdump; ac_word=$2 5731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5732$as_echo_n "checking for $ac_word... " >&6; } 5733if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5734 $as_echo_n "(cached) " >&6 5735else 5736 if test -n "$ac_ct_OBJDUMP"; then 5737 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5738else 5739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5740for as_dir in $PATH 5741do 5742 IFS=$as_save_IFS 5743 test -z "$as_dir" && as_dir=. 5744 for ac_exec_ext in '' $ac_executable_extensions; do 5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5746 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5748 break 2 5749 fi 5750done 5751 done 5752IFS=$as_save_IFS 5753 5754fi 5755fi 5756ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5757if test -n "$ac_ct_OBJDUMP"; then 5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5759$as_echo "$ac_ct_OBJDUMP" >&6; } 5760else 5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5762$as_echo "no" >&6; } 5763fi 5764 5765 if test "x$ac_ct_OBJDUMP" = x; then 5766 OBJDUMP="false" 5767 else 5768 case $cross_compiling:$ac_tool_warned in 5769yes:) 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5771$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5772ac_tool_warned=yes ;; 5773esac 5774 OBJDUMP=$ac_ct_OBJDUMP 5775 fi 5776else 5777 OBJDUMP="$ac_cv_prog_OBJDUMP" 5778fi 5779 5780test -z "$OBJDUMP" && OBJDUMP=objdump 5781 5782 5783 5784 5785 5786 5787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5788$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5789if ${lt_cv_deplibs_check_method+:} false; then : 5790 $as_echo_n "(cached) " >&6 5791else 5792 lt_cv_file_magic_cmd='$MAGIC_CMD' 5793lt_cv_file_magic_test_file= 5794lt_cv_deplibs_check_method='unknown' 5795# Need to set the preceding variable on all platforms that support 5796# interlibrary dependencies. 5797# 'none' -- dependencies not supported. 5798# 'unknown' -- same as none, but documents that we really don't know. 5799# 'pass_all' -- all dependencies passed with no checks. 5800# 'test_compile' -- check by making test program. 5801# 'file_magic [[regex]]' -- check by looking for files in library path 5802# that responds to the $file_magic_cmd with a given extended regex. 5803# If you have 'file' or equivalent on your system and you're not sure 5804# whether 'pass_all' will *always* work, you probably want this one. 5805 5806case $host_os in 5807aix[4-9]*) 5808 lt_cv_deplibs_check_method=pass_all 5809 ;; 5810 5811beos*) 5812 lt_cv_deplibs_check_method=pass_all 5813 ;; 5814 5815bsdi[45]*) 5816 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5817 lt_cv_file_magic_cmd='/usr/bin/file -L' 5818 lt_cv_file_magic_test_file=/shlib/libc.so 5819 ;; 5820 5821cygwin*) 5822 # func_win32_libid is a shell function defined in ltmain.sh 5823 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5824 lt_cv_file_magic_cmd='func_win32_libid' 5825 ;; 5826 5827mingw* | pw32*) 5828 # Base MSYS/MinGW do not provide the 'file' command needed by 5829 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5830 # unless we find 'file', for example because we are cross-compiling. 5831 if ( file / ) >/dev/null 2>&1; then 5832 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5833 lt_cv_file_magic_cmd='func_win32_libid' 5834 else 5835 # Keep this pattern in sync with the one in func_win32_libid. 5836 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5837 lt_cv_file_magic_cmd='$OBJDUMP -f' 5838 fi 5839 ;; 5840 5841cegcc*) 5842 # use the weaker test based on 'objdump'. See mingw*. 5843 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5844 lt_cv_file_magic_cmd='$OBJDUMP -f' 5845 ;; 5846 5847darwin* | rhapsody*) 5848 lt_cv_deplibs_check_method=pass_all 5849 ;; 5850 5851freebsd* | dragonfly*) 5852 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5853 case $host_cpu in 5854 i*86 ) 5855 # Not sure whether the presence of OpenBSD here was a mistake. 5856 # Let's accept both of them until this is cleared up. 5857 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5858 lt_cv_file_magic_cmd=/usr/bin/file 5859 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5860 ;; 5861 esac 5862 else 5863 lt_cv_deplibs_check_method=pass_all 5864 fi 5865 ;; 5866 5867haiku*) 5868 lt_cv_deplibs_check_method=pass_all 5869 ;; 5870 5871hpux10.20* | hpux11*) 5872 lt_cv_file_magic_cmd=/usr/bin/file 5873 case $host_cpu in 5874 ia64*) 5875 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5876 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5877 ;; 5878 hppa*64*) 5879 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]' 5880 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5881 ;; 5882 *) 5883 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5884 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5885 ;; 5886 esac 5887 ;; 5888 5889interix[3-9]*) 5890 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5891 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5892 ;; 5893 5894irix5* | irix6* | nonstopux*) 5895 case $LD in 5896 *-32|*"-32 ") libmagic=32-bit;; 5897 *-n32|*"-n32 ") libmagic=N32;; 5898 *-64|*"-64 ") libmagic=64-bit;; 5899 *) libmagic=never-match;; 5900 esac 5901 lt_cv_deplibs_check_method=pass_all 5902 ;; 5903 5904# This must be glibc/ELF. 5905linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5906 lt_cv_deplibs_check_method=pass_all 5907 ;; 5908 5909netbsd* | netbsdelf*-gnu) 5910 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5911 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5912 else 5913 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5914 fi 5915 ;; 5916 5917newos6*) 5918 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5919 lt_cv_file_magic_cmd=/usr/bin/file 5920 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5921 ;; 5922 5923*nto* | *qnx*) 5924 lt_cv_deplibs_check_method=pass_all 5925 ;; 5926 5927openbsd* | bitrig*) 5928 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5929 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5930 else 5931 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5932 fi 5933 ;; 5934 5935osf3* | osf4* | osf5*) 5936 lt_cv_deplibs_check_method=pass_all 5937 ;; 5938 5939rdos*) 5940 lt_cv_deplibs_check_method=pass_all 5941 ;; 5942 5943solaris*) 5944 lt_cv_deplibs_check_method=pass_all 5945 ;; 5946 5947sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5948 lt_cv_deplibs_check_method=pass_all 5949 ;; 5950 5951sysv4 | sysv4.3*) 5952 case $host_vendor in 5953 motorola) 5954 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]' 5955 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5956 ;; 5957 ncr) 5958 lt_cv_deplibs_check_method=pass_all 5959 ;; 5960 sequent) 5961 lt_cv_file_magic_cmd='/bin/file' 5962 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5963 ;; 5964 sni) 5965 lt_cv_file_magic_cmd='/bin/file' 5966 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5967 lt_cv_file_magic_test_file=/lib/libc.so 5968 ;; 5969 siemens) 5970 lt_cv_deplibs_check_method=pass_all 5971 ;; 5972 pc) 5973 lt_cv_deplibs_check_method=pass_all 5974 ;; 5975 esac 5976 ;; 5977 5978tpf*) 5979 lt_cv_deplibs_check_method=pass_all 5980 ;; 5981os2*) 5982 lt_cv_deplibs_check_method=pass_all 5983 ;; 5984esac 5985 5986fi 5987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5988$as_echo "$lt_cv_deplibs_check_method" >&6; } 5989 5990file_magic_glob= 5991want_nocaseglob=no 5992if test "$build" = "$host"; then 5993 case $host_os in 5994 mingw* | pw32*) 5995 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5996 want_nocaseglob=yes 5997 else 5998 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5999 fi 6000 ;; 6001 esac 6002fi 6003 6004file_magic_cmd=$lt_cv_file_magic_cmd 6005deplibs_check_method=$lt_cv_deplibs_check_method 6006test -z "$deplibs_check_method" && deplibs_check_method=unknown 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029if test -n "$ac_tool_prefix"; then 6030 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6031set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6033$as_echo_n "checking for $ac_word... " >&6; } 6034if ${ac_cv_prog_DLLTOOL+:} false; then : 6035 $as_echo_n "(cached) " >&6 6036else 6037 if test -n "$DLLTOOL"; then 6038 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6039else 6040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6041for as_dir in $PATH 6042do 6043 IFS=$as_save_IFS 6044 test -z "$as_dir" && as_dir=. 6045 for ac_exec_ext in '' $ac_executable_extensions; do 6046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6047 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6049 break 2 6050 fi 6051done 6052 done 6053IFS=$as_save_IFS 6054 6055fi 6056fi 6057DLLTOOL=$ac_cv_prog_DLLTOOL 6058if test -n "$DLLTOOL"; then 6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6060$as_echo "$DLLTOOL" >&6; } 6061else 6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6063$as_echo "no" >&6; } 6064fi 6065 6066 6067fi 6068if test -z "$ac_cv_prog_DLLTOOL"; then 6069 ac_ct_DLLTOOL=$DLLTOOL 6070 # Extract the first word of "dlltool", so it can be a program name with args. 6071set dummy dlltool; ac_word=$2 6072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6073$as_echo_n "checking for $ac_word... " >&6; } 6074if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6075 $as_echo_n "(cached) " >&6 6076else 6077 if test -n "$ac_ct_DLLTOOL"; then 6078 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6079else 6080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6081for as_dir in $PATH 6082do 6083 IFS=$as_save_IFS 6084 test -z "$as_dir" && as_dir=. 6085 for ac_exec_ext in '' $ac_executable_extensions; do 6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6087 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6089 break 2 6090 fi 6091done 6092 done 6093IFS=$as_save_IFS 6094 6095fi 6096fi 6097ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6098if test -n "$ac_ct_DLLTOOL"; then 6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6100$as_echo "$ac_ct_DLLTOOL" >&6; } 6101else 6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6103$as_echo "no" >&6; } 6104fi 6105 6106 if test "x$ac_ct_DLLTOOL" = x; then 6107 DLLTOOL="false" 6108 else 6109 case $cross_compiling:$ac_tool_warned in 6110yes:) 6111{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6112$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6113ac_tool_warned=yes ;; 6114esac 6115 DLLTOOL=$ac_ct_DLLTOOL 6116 fi 6117else 6118 DLLTOOL="$ac_cv_prog_DLLTOOL" 6119fi 6120 6121test -z "$DLLTOOL" && DLLTOOL=dlltool 6122 6123 6124 6125 6126 6127 6128 6129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6130$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6131if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6132 $as_echo_n "(cached) " >&6 6133else 6134 lt_cv_sharedlib_from_linklib_cmd='unknown' 6135 6136case $host_os in 6137cygwin* | mingw* | pw32* | cegcc*) 6138 # two different shell functions defined in ltmain.sh; 6139 # decide which one to use based on capabilities of $DLLTOOL 6140 case `$DLLTOOL --help 2>&1` in 6141 *--identify-strict*) 6142 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6143 ;; 6144 *) 6145 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6146 ;; 6147 esac 6148 ;; 6149*) 6150 # fallback: assume linklib IS sharedlib 6151 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6152 ;; 6153esac 6154 6155fi 6156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6157$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6158sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6159test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6160 6161 6162 6163 6164 6165 6166 6167 6168if test -n "$ac_tool_prefix"; then 6169 for ac_prog in ar 6170 do 6171 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6172set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6174$as_echo_n "checking for $ac_word... " >&6; } 6175if ${ac_cv_prog_AR+:} false; then : 6176 $as_echo_n "(cached) " >&6 6177else 6178 if test -n "$AR"; then 6179 ac_cv_prog_AR="$AR" # Let the user override the test. 6180else 6181as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6182for as_dir in $PATH 6183do 6184 IFS=$as_save_IFS 6185 test -z "$as_dir" && as_dir=. 6186 for ac_exec_ext in '' $ac_executable_extensions; do 6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6188 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6190 break 2 6191 fi 6192done 6193 done 6194IFS=$as_save_IFS 6195 6196fi 6197fi 6198AR=$ac_cv_prog_AR 6199if test -n "$AR"; then 6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6201$as_echo "$AR" >&6; } 6202else 6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6204$as_echo "no" >&6; } 6205fi 6206 6207 6208 test -n "$AR" && break 6209 done 6210fi 6211if test -z "$AR"; then 6212 ac_ct_AR=$AR 6213 for ac_prog in ar 6214do 6215 # Extract the first word of "$ac_prog", so it can be a program name with args. 6216set dummy $ac_prog; ac_word=$2 6217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6218$as_echo_n "checking for $ac_word... " >&6; } 6219if ${ac_cv_prog_ac_ct_AR+:} false; then : 6220 $as_echo_n "(cached) " >&6 6221else 6222 if test -n "$ac_ct_AR"; then 6223 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6224else 6225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6226for as_dir in $PATH 6227do 6228 IFS=$as_save_IFS 6229 test -z "$as_dir" && as_dir=. 6230 for ac_exec_ext in '' $ac_executable_extensions; do 6231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6232 ac_cv_prog_ac_ct_AR="$ac_prog" 6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6234 break 2 6235 fi 6236done 6237 done 6238IFS=$as_save_IFS 6239 6240fi 6241fi 6242ac_ct_AR=$ac_cv_prog_ac_ct_AR 6243if test -n "$ac_ct_AR"; then 6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6245$as_echo "$ac_ct_AR" >&6; } 6246else 6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6248$as_echo "no" >&6; } 6249fi 6250 6251 6252 test -n "$ac_ct_AR" && break 6253done 6254 6255 if test "x$ac_ct_AR" = x; then 6256 AR="false" 6257 else 6258 case $cross_compiling:$ac_tool_warned in 6259yes:) 6260{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6261$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6262ac_tool_warned=yes ;; 6263esac 6264 AR=$ac_ct_AR 6265 fi 6266fi 6267 6268: ${AR=ar} 6269: ${AR_FLAGS=cru} 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6282$as_echo_n "checking for archiver @FILE support... " >&6; } 6283if ${lt_cv_ar_at_file+:} false; then : 6284 $as_echo_n "(cached) " >&6 6285else 6286 lt_cv_ar_at_file=no 6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6288/* end confdefs.h. */ 6289 6290int 6291main () 6292{ 6293 6294 ; 6295 return 0; 6296} 6297_ACEOF 6298if ac_fn_c_try_compile "$LINENO"; then : 6299 echo conftest.$ac_objext > conftest.lst 6300 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6301 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6302 (eval $lt_ar_try) 2>&5 6303 ac_status=$? 6304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6305 test $ac_status = 0; } 6306 if test 0 -eq "$ac_status"; then 6307 # Ensure the archiver fails upon bogus file names. 6308 rm -f conftest.$ac_objext libconftest.a 6309 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6310 (eval $lt_ar_try) 2>&5 6311 ac_status=$? 6312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6313 test $ac_status = 0; } 6314 if test 0 -ne "$ac_status"; then 6315 lt_cv_ar_at_file=@ 6316 fi 6317 fi 6318 rm -f conftest.* libconftest.a 6319 6320fi 6321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6322 6323fi 6324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6325$as_echo "$lt_cv_ar_at_file" >&6; } 6326 6327if test no = "$lt_cv_ar_at_file"; then 6328 archiver_list_spec= 6329else 6330 archiver_list_spec=$lt_cv_ar_at_file 6331fi 6332 6333 6334 6335 6336 6337 6338 6339if test -n "$ac_tool_prefix"; then 6340 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6341set dummy ${ac_tool_prefix}strip; ac_word=$2 6342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6343$as_echo_n "checking for $ac_word... " >&6; } 6344if ${ac_cv_prog_STRIP+:} false; then : 6345 $as_echo_n "(cached) " >&6 6346else 6347 if test -n "$STRIP"; then 6348 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6349else 6350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6351for as_dir in $PATH 6352do 6353 IFS=$as_save_IFS 6354 test -z "$as_dir" && as_dir=. 6355 for ac_exec_ext in '' $ac_executable_extensions; do 6356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6357 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6359 break 2 6360 fi 6361done 6362 done 6363IFS=$as_save_IFS 6364 6365fi 6366fi 6367STRIP=$ac_cv_prog_STRIP 6368if test -n "$STRIP"; then 6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6370$as_echo "$STRIP" >&6; } 6371else 6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6373$as_echo "no" >&6; } 6374fi 6375 6376 6377fi 6378if test -z "$ac_cv_prog_STRIP"; then 6379 ac_ct_STRIP=$STRIP 6380 # Extract the first word of "strip", so it can be a program name with args. 6381set dummy strip; ac_word=$2 6382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6383$as_echo_n "checking for $ac_word... " >&6; } 6384if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6385 $as_echo_n "(cached) " >&6 6386else 6387 if test -n "$ac_ct_STRIP"; then 6388 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6389else 6390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6391for as_dir in $PATH 6392do 6393 IFS=$as_save_IFS 6394 test -z "$as_dir" && as_dir=. 6395 for ac_exec_ext in '' $ac_executable_extensions; do 6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6397 ac_cv_prog_ac_ct_STRIP="strip" 6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6399 break 2 6400 fi 6401done 6402 done 6403IFS=$as_save_IFS 6404 6405fi 6406fi 6407ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6408if test -n "$ac_ct_STRIP"; then 6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6410$as_echo "$ac_ct_STRIP" >&6; } 6411else 6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6413$as_echo "no" >&6; } 6414fi 6415 6416 if test "x$ac_ct_STRIP" = x; then 6417 STRIP=":" 6418 else 6419 case $cross_compiling:$ac_tool_warned in 6420yes:) 6421{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6422$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6423ac_tool_warned=yes ;; 6424esac 6425 STRIP=$ac_ct_STRIP 6426 fi 6427else 6428 STRIP="$ac_cv_prog_STRIP" 6429fi 6430 6431test -z "$STRIP" && STRIP=: 6432 6433 6434 6435 6436 6437 6438if test -n "$ac_tool_prefix"; then 6439 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6440set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6442$as_echo_n "checking for $ac_word... " >&6; } 6443if ${ac_cv_prog_RANLIB+:} false; then : 6444 $as_echo_n "(cached) " >&6 6445else 6446 if test -n "$RANLIB"; then 6447 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6448else 6449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6450for as_dir in $PATH 6451do 6452 IFS=$as_save_IFS 6453 test -z "$as_dir" && as_dir=. 6454 for ac_exec_ext in '' $ac_executable_extensions; do 6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6456 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6458 break 2 6459 fi 6460done 6461 done 6462IFS=$as_save_IFS 6463 6464fi 6465fi 6466RANLIB=$ac_cv_prog_RANLIB 6467if test -n "$RANLIB"; then 6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6469$as_echo "$RANLIB" >&6; } 6470else 6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6472$as_echo "no" >&6; } 6473fi 6474 6475 6476fi 6477if test -z "$ac_cv_prog_RANLIB"; then 6478 ac_ct_RANLIB=$RANLIB 6479 # Extract the first word of "ranlib", so it can be a program name with args. 6480set dummy ranlib; ac_word=$2 6481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6482$as_echo_n "checking for $ac_word... " >&6; } 6483if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6484 $as_echo_n "(cached) " >&6 6485else 6486 if test -n "$ac_ct_RANLIB"; then 6487 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6488else 6489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6490for as_dir in $PATH 6491do 6492 IFS=$as_save_IFS 6493 test -z "$as_dir" && as_dir=. 6494 for ac_exec_ext in '' $ac_executable_extensions; do 6495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6496 ac_cv_prog_ac_ct_RANLIB="ranlib" 6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6498 break 2 6499 fi 6500done 6501 done 6502IFS=$as_save_IFS 6503 6504fi 6505fi 6506ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6507if test -n "$ac_ct_RANLIB"; then 6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6509$as_echo "$ac_ct_RANLIB" >&6; } 6510else 6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6512$as_echo "no" >&6; } 6513fi 6514 6515 if test "x$ac_ct_RANLIB" = x; then 6516 RANLIB=":" 6517 else 6518 case $cross_compiling:$ac_tool_warned in 6519yes:) 6520{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6521$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6522ac_tool_warned=yes ;; 6523esac 6524 RANLIB=$ac_ct_RANLIB 6525 fi 6526else 6527 RANLIB="$ac_cv_prog_RANLIB" 6528fi 6529 6530test -z "$RANLIB" && RANLIB=: 6531 6532 6533 6534 6535 6536 6537# Determine commands to create old-style static archives. 6538old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6539old_postinstall_cmds='chmod 644 $oldlib' 6540old_postuninstall_cmds= 6541 6542if test -n "$RANLIB"; then 6543 case $host_os in 6544 bitrig* | openbsd*) 6545 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6546 ;; 6547 *) 6548 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6549 ;; 6550 esac 6551 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6552fi 6553 6554case $host_os in 6555 darwin*) 6556 lock_old_archive_extraction=yes ;; 6557 *) 6558 lock_old_archive_extraction=no ;; 6559esac 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599# If no C compiler was specified, use CC. 6600LTCC=${LTCC-"$CC"} 6601 6602# If no C compiler flags were specified, use CFLAGS. 6603LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6604 6605# Allow CC to be a program name with arguments. 6606compiler=$CC 6607 6608 6609# Check for command to grab the raw symbol name followed by C symbol from nm. 6610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6611$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6612if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6613 $as_echo_n "(cached) " >&6 6614else 6615 6616# These are sane defaults that work on at least a few old systems. 6617# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6618 6619# Character class describing NM global symbol codes. 6620symcode='[BCDEGRST]' 6621 6622# Regexp to match symbols that can be accessed directly from C. 6623sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6624 6625# Define system-specific variables. 6626case $host_os in 6627aix*) 6628 symcode='[BCDT]' 6629 ;; 6630cygwin* | mingw* | pw32* | cegcc*) 6631 symcode='[ABCDGISTW]' 6632 ;; 6633hpux*) 6634 if test ia64 = "$host_cpu"; then 6635 symcode='[ABCDEGRST]' 6636 fi 6637 ;; 6638irix* | nonstopux*) 6639 symcode='[BCDEGRST]' 6640 ;; 6641osf*) 6642 symcode='[BCDEGQRST]' 6643 ;; 6644solaris*) 6645 symcode='[BDRT]' 6646 ;; 6647sco3.2v5*) 6648 symcode='[DT]' 6649 ;; 6650sysv4.2uw2*) 6651 symcode='[DT]' 6652 ;; 6653sysv5* | sco5v6* | unixware* | OpenUNIX*) 6654 symcode='[ABDT]' 6655 ;; 6656sysv4) 6657 symcode='[DFNSTU]' 6658 ;; 6659esac 6660 6661# If we're using GNU nm, then use its standard symbol codes. 6662case `$NM -V 2>&1` in 6663*GNU* | *'with BFD'*) 6664 symcode='[ABCDGIRSTW]' ;; 6665esac 6666 6667if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6668 # Gets list of data symbols to import. 6669 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6670 # Adjust the below global symbol transforms to fixup imported variables. 6671 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6672 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6673 lt_c_name_lib_hook="\ 6674 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6675 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6676else 6677 # Disable hooks by default. 6678 lt_cv_sys_global_symbol_to_import= 6679 lt_cdecl_hook= 6680 lt_c_name_hook= 6681 lt_c_name_lib_hook= 6682fi 6683 6684# Transform an extracted symbol line into a proper C declaration. 6685# Some systems (esp. on ia64) link data and code symbols differently, 6686# so use this general approach. 6687lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6688$lt_cdecl_hook\ 6689" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6690" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6691 6692# Transform an extracted symbol line into symbol name and symbol address 6693lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6694$lt_c_name_hook\ 6695" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6696" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6697 6698# Transform an extracted symbol line into symbol name with lib prefix and 6699# symbol address. 6700lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6701$lt_c_name_lib_hook\ 6702" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6703" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6704" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6705 6706# Handle CRLF in mingw tool chain 6707opt_cr= 6708case $build_os in 6709mingw*) 6710 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6711 ;; 6712esac 6713 6714# Try without a prefix underscore, then with it. 6715for ac_symprfx in "" "_"; do 6716 6717 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6718 symxfrm="\\1 $ac_symprfx\\2 \\2" 6719 6720 # Write the raw and C identifiers. 6721 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6722 # Fake it for dumpbin and say T for any non-static function, 6723 # D for any global variable and I for any imported variable. 6724 # Also find C++ and __fastcall symbols from MSVC++, 6725 # which start with @ or ?. 6726 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6727" {last_section=section; section=\$ 3};"\ 6728" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6729" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6730" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6731" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6732" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6733" \$ 0!~/External *\|/{next};"\ 6734" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6735" {if(hide[section]) next};"\ 6736" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6737" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6738" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6739" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6740" ' prfx=^$ac_symprfx" 6741 else 6742 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6743 fi 6744 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6745 6746 # Check to see that the pipe works correctly. 6747 pipe_works=no 6748 6749 rm -f conftest* 6750 cat > conftest.$ac_ext <<_LT_EOF 6751#ifdef __cplusplus 6752extern "C" { 6753#endif 6754char nm_test_var; 6755void nm_test_func(void); 6756void nm_test_func(void){} 6757#ifdef __cplusplus 6758} 6759#endif 6760int main(){nm_test_var='a';nm_test_func();return(0);} 6761_LT_EOF 6762 6763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6764 (eval $ac_compile) 2>&5 6765 ac_status=$? 6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6767 test $ac_status = 0; }; then 6768 # Now try to grab the symbols. 6769 nlist=conftest.nm 6770 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 6771 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 6772 # Try sorting and uniquifying the output. 6773 if sort "$nlist" | uniq > "$nlist"T; then 6774 mv -f "$nlist"T "$nlist" 6775 else 6776 rm -f "$nlist"T 6777 fi 6778 6779 # Make sure that we snagged all the symbols we need. 6780 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6781 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6782 cat <<_LT_EOF > conftest.$ac_ext 6783/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6784#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6785/* DATA imports from DLLs on WIN32 can't be const, because runtime 6786 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6787# define LT_DLSYM_CONST 6788#elif defined __osf__ 6789/* This system does not cope well with relocations in const data. */ 6790# define LT_DLSYM_CONST 6791#else 6792# define LT_DLSYM_CONST const 6793#endif 6794 6795#ifdef __cplusplus 6796extern "C" { 6797#endif 6798 6799_LT_EOF 6800 # Now generate the symbol file. 6801 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6802 6803 cat <<_LT_EOF >> conftest.$ac_ext 6804 6805/* The mapping between symbol names and symbols. */ 6806LT_DLSYM_CONST struct { 6807 const char *name; 6808 void *address; 6809} 6810lt__PROGRAM__LTX_preloaded_symbols[] = 6811{ 6812 { "@PROGRAM@", (void *) 0 }, 6813_LT_EOF 6814 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6815 cat <<\_LT_EOF >> conftest.$ac_ext 6816 {0, (void *) 0} 6817}; 6818 6819/* This works around a problem in FreeBSD linker */ 6820#ifdef FREEBSD_WORKAROUND 6821static const void *lt_preloaded_setup() { 6822 return lt__PROGRAM__LTX_preloaded_symbols; 6823} 6824#endif 6825 6826#ifdef __cplusplus 6827} 6828#endif 6829_LT_EOF 6830 # Now try linking the two files. 6831 mv conftest.$ac_objext conftstm.$ac_objext 6832 lt_globsym_save_LIBS=$LIBS 6833 lt_globsym_save_CFLAGS=$CFLAGS 6834 LIBS=conftstm.$ac_objext 6835 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6837 (eval $ac_link) 2>&5 6838 ac_status=$? 6839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6840 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6841 pipe_works=yes 6842 fi 6843 LIBS=$lt_globsym_save_LIBS 6844 CFLAGS=$lt_globsym_save_CFLAGS 6845 else 6846 echo "cannot find nm_test_func in $nlist" >&5 6847 fi 6848 else 6849 echo "cannot find nm_test_var in $nlist" >&5 6850 fi 6851 else 6852 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6853 fi 6854 else 6855 echo "$progname: failed program was:" >&5 6856 cat conftest.$ac_ext >&5 6857 fi 6858 rm -rf conftest* conftst* 6859 6860 # Do not use the global_symbol_pipe unless it works. 6861 if test yes = "$pipe_works"; then 6862 break 6863 else 6864 lt_cv_sys_global_symbol_pipe= 6865 fi 6866done 6867 6868fi 6869 6870if test -z "$lt_cv_sys_global_symbol_pipe"; then 6871 lt_cv_sys_global_symbol_to_cdecl= 6872fi 6873if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6875$as_echo "failed" >&6; } 6876else 6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6878$as_echo "ok" >&6; } 6879fi 6880 6881# Response file support. 6882if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6883 nm_file_list_spec='@' 6884elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6885 nm_file_list_spec='@' 6886fi 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6925$as_echo_n "checking for sysroot... " >&6; } 6926 6927# Check whether --with-sysroot was given. 6928if test "${with_sysroot+set}" = set; then : 6929 withval=$with_sysroot; 6930else 6931 with_sysroot=no 6932fi 6933 6934 6935lt_sysroot= 6936case $with_sysroot in #( 6937 yes) 6938 if test yes = "$GCC"; then 6939 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6940 fi 6941 ;; #( 6942 /*) 6943 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6944 ;; #( 6945 no|'') 6946 ;; #( 6947 *) 6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6949$as_echo "$with_sysroot" >&6; } 6950 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6951 ;; 6952esac 6953 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6955$as_echo "${lt_sysroot:-no}" >&6; } 6956 6957 6958 6959 6960 6961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6962$as_echo_n "checking for a working dd... " >&6; } 6963if ${ac_cv_path_lt_DD+:} false; then : 6964 $as_echo_n "(cached) " >&6 6965else 6966 printf 0123456789abcdef0123456789abcdef >conftest.i 6967cat conftest.i conftest.i >conftest2.i 6968: ${lt_DD:=$DD} 6969if test -z "$lt_DD"; then 6970 ac_path_lt_DD_found=false 6971 # Loop through the user's path and test for each of PROGNAME-LIST 6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6973for as_dir in $PATH 6974do 6975 IFS=$as_save_IFS 6976 test -z "$as_dir" && as_dir=. 6977 for ac_prog in dd; do 6978 for ac_exec_ext in '' $ac_executable_extensions; do 6979 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6980 as_fn_executable_p "$ac_path_lt_DD" || continue 6981if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6982 cmp -s conftest.i conftest.out \ 6983 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6984fi 6985 $ac_path_lt_DD_found && break 3 6986 done 6987 done 6988 done 6989IFS=$as_save_IFS 6990 if test -z "$ac_cv_path_lt_DD"; then 6991 : 6992 fi 6993else 6994 ac_cv_path_lt_DD=$lt_DD 6995fi 6996 6997rm -f conftest.i conftest2.i conftest.out 6998fi 6999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7000$as_echo "$ac_cv_path_lt_DD" >&6; } 7001 7002 7003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7004$as_echo_n "checking how to truncate binary pipes... " >&6; } 7005if ${lt_cv_truncate_bin+:} false; then : 7006 $as_echo_n "(cached) " >&6 7007else 7008 printf 0123456789abcdef0123456789abcdef >conftest.i 7009cat conftest.i conftest.i >conftest2.i 7010lt_cv_truncate_bin= 7011if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7012 cmp -s conftest.i conftest.out \ 7013 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7014fi 7015rm -f conftest.i conftest2.i conftest.out 7016test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7017fi 7018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7019$as_echo "$lt_cv_truncate_bin" >&6; } 7020 7021 7022 7023 7024 7025 7026 7027# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7028func_cc_basename () 7029{ 7030 for cc_temp in $*""; do 7031 case $cc_temp in 7032 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7033 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7034 \-*) ;; 7035 *) break;; 7036 esac 7037 done 7038 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7039} 7040 7041# Check whether --enable-libtool-lock was given. 7042if test "${enable_libtool_lock+set}" = set; then : 7043 enableval=$enable_libtool_lock; 7044fi 7045 7046test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7047 7048# Some flags need to be propagated to the compiler or linker for good 7049# libtool support. 7050case $host in 7051ia64-*-hpux*) 7052 # Find out what ABI is being produced by ac_compile, and set mode 7053 # options accordingly. 7054 echo 'int i;' > conftest.$ac_ext 7055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7056 (eval $ac_compile) 2>&5 7057 ac_status=$? 7058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7059 test $ac_status = 0; }; then 7060 case `/usr/bin/file conftest.$ac_objext` in 7061 *ELF-32*) 7062 HPUX_IA64_MODE=32 7063 ;; 7064 *ELF-64*) 7065 HPUX_IA64_MODE=64 7066 ;; 7067 esac 7068 fi 7069 rm -rf conftest* 7070 ;; 7071*-*-irix6*) 7072 # Find out what ABI is being produced by ac_compile, and set linker 7073 # options accordingly. 7074 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7076 (eval $ac_compile) 2>&5 7077 ac_status=$? 7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7079 test $ac_status = 0; }; then 7080 if test yes = "$lt_cv_prog_gnu_ld"; then 7081 case `/usr/bin/file conftest.$ac_objext` in 7082 *32-bit*) 7083 LD="${LD-ld} -melf32bsmip" 7084 ;; 7085 *N32*) 7086 LD="${LD-ld} -melf32bmipn32" 7087 ;; 7088 *64-bit*) 7089 LD="${LD-ld} -melf64bmip" 7090 ;; 7091 esac 7092 else 7093 case `/usr/bin/file conftest.$ac_objext` in 7094 *32-bit*) 7095 LD="${LD-ld} -32" 7096 ;; 7097 *N32*) 7098 LD="${LD-ld} -n32" 7099 ;; 7100 *64-bit*) 7101 LD="${LD-ld} -64" 7102 ;; 7103 esac 7104 fi 7105 fi 7106 rm -rf conftest* 7107 ;; 7108 7109mips64*-*linux*) 7110 # Find out what ABI is being produced by ac_compile, and set linker 7111 # options accordingly. 7112 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7114 (eval $ac_compile) 2>&5 7115 ac_status=$? 7116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7117 test $ac_status = 0; }; then 7118 emul=elf 7119 case `/usr/bin/file conftest.$ac_objext` in 7120 *32-bit*) 7121 emul="${emul}32" 7122 ;; 7123 *64-bit*) 7124 emul="${emul}64" 7125 ;; 7126 esac 7127 case `/usr/bin/file conftest.$ac_objext` in 7128 *MSB*) 7129 emul="${emul}btsmip" 7130 ;; 7131 *LSB*) 7132 emul="${emul}ltsmip" 7133 ;; 7134 esac 7135 case `/usr/bin/file conftest.$ac_objext` in 7136 *N32*) 7137 emul="${emul}n32" 7138 ;; 7139 esac 7140 LD="${LD-ld} -m $emul" 7141 fi 7142 rm -rf conftest* 7143 ;; 7144 7145x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7146s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7147 # Find out what ABI is being produced by ac_compile, and set linker 7148 # options accordingly. Note that the listed cases only cover the 7149 # situations where additional linker options are needed (such as when 7150 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7151 # vice versa); the common cases where no linker options are needed do 7152 # not appear in the list. 7153 echo 'int i;' > conftest.$ac_ext 7154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7155 (eval $ac_compile) 2>&5 7156 ac_status=$? 7157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7158 test $ac_status = 0; }; then 7159 case `/usr/bin/file conftest.o` in 7160 *32-bit*) 7161 case $host in 7162 x86_64-*kfreebsd*-gnu) 7163 LD="${LD-ld} -m elf_i386_fbsd" 7164 ;; 7165 x86_64-*linux*) 7166 case `/usr/bin/file conftest.o` in 7167 *x86-64*) 7168 LD="${LD-ld} -m elf32_x86_64" 7169 ;; 7170 *) 7171 LD="${LD-ld} -m elf_i386" 7172 ;; 7173 esac 7174 ;; 7175 powerpc64le-*linux*) 7176 LD="${LD-ld} -m elf32lppclinux" 7177 ;; 7178 powerpc64-*linux*) 7179 LD="${LD-ld} -m elf32ppclinux" 7180 ;; 7181 s390x-*linux*) 7182 LD="${LD-ld} -m elf_s390" 7183 ;; 7184 sparc64-*linux*) 7185 LD="${LD-ld} -m elf32_sparc" 7186 ;; 7187 esac 7188 ;; 7189 *64-bit*) 7190 case $host in 7191 x86_64-*kfreebsd*-gnu) 7192 LD="${LD-ld} -m elf_x86_64_fbsd" 7193 ;; 7194 x86_64-*linux*) 7195 LD="${LD-ld} -m elf_x86_64" 7196 ;; 7197 powerpcle-*linux*) 7198 LD="${LD-ld} -m elf64lppc" 7199 ;; 7200 powerpc-*linux*) 7201 LD="${LD-ld} -m elf64ppc" 7202 ;; 7203 s390*-*linux*|s390*-*tpf*) 7204 LD="${LD-ld} -m elf64_s390" 7205 ;; 7206 sparc*-*linux*) 7207 LD="${LD-ld} -m elf64_sparc" 7208 ;; 7209 esac 7210 ;; 7211 esac 7212 fi 7213 rm -rf conftest* 7214 ;; 7215 7216*-*-sco3.2v5*) 7217 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7218 SAVE_CFLAGS=$CFLAGS 7219 CFLAGS="$CFLAGS -belf" 7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7221$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7222if ${lt_cv_cc_needs_belf+:} false; then : 7223 $as_echo_n "(cached) " >&6 7224else 7225 ac_ext=c 7226ac_cpp='$CPP $CPPFLAGS' 7227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7229ac_compiler_gnu=$ac_cv_c_compiler_gnu 7230 7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7232/* end confdefs.h. */ 7233 7234int 7235main () 7236{ 7237 7238 ; 7239 return 0; 7240} 7241_ACEOF 7242if ac_fn_c_try_link "$LINENO"; then : 7243 lt_cv_cc_needs_belf=yes 7244else 7245 lt_cv_cc_needs_belf=no 7246fi 7247rm -f core conftest.err conftest.$ac_objext \ 7248 conftest$ac_exeext conftest.$ac_ext 7249 ac_ext=c 7250ac_cpp='$CPP $CPPFLAGS' 7251ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7252ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7253ac_compiler_gnu=$ac_cv_c_compiler_gnu 7254 7255fi 7256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7257$as_echo "$lt_cv_cc_needs_belf" >&6; } 7258 if test yes != "$lt_cv_cc_needs_belf"; then 7259 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7260 CFLAGS=$SAVE_CFLAGS 7261 fi 7262 ;; 7263*-*solaris*) 7264 # Find out what ABI is being produced by ac_compile, and set linker 7265 # options accordingly. 7266 echo 'int i;' > conftest.$ac_ext 7267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7268 (eval $ac_compile) 2>&5 7269 ac_status=$? 7270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7271 test $ac_status = 0; }; then 7272 case `/usr/bin/file conftest.o` in 7273 *64-bit*) 7274 case $lt_cv_prog_gnu_ld in 7275 yes*) 7276 case $host in 7277 i?86-*-solaris*|x86_64-*-solaris*) 7278 LD="${LD-ld} -m elf_x86_64" 7279 ;; 7280 sparc*-*-solaris*) 7281 LD="${LD-ld} -m elf64_sparc" 7282 ;; 7283 esac 7284 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7285 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7286 LD=${LD-ld}_sol2 7287 fi 7288 ;; 7289 *) 7290 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7291 LD="${LD-ld} -64" 7292 fi 7293 ;; 7294 esac 7295 ;; 7296 esac 7297 fi 7298 rm -rf conftest* 7299 ;; 7300esac 7301 7302need_locks=$enable_libtool_lock 7303 7304if test -n "$ac_tool_prefix"; then 7305 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7306set dummy ${ac_tool_prefix}mt; ac_word=$2 7307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7308$as_echo_n "checking for $ac_word... " >&6; } 7309if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7310 $as_echo_n "(cached) " >&6 7311else 7312 if test -n "$MANIFEST_TOOL"; then 7313 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7314else 7315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7316for as_dir in $PATH 7317do 7318 IFS=$as_save_IFS 7319 test -z "$as_dir" && as_dir=. 7320 for ac_exec_ext in '' $ac_executable_extensions; do 7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7322 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7324 break 2 7325 fi 7326done 7327 done 7328IFS=$as_save_IFS 7329 7330fi 7331fi 7332MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7333if test -n "$MANIFEST_TOOL"; then 7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7335$as_echo "$MANIFEST_TOOL" >&6; } 7336else 7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7338$as_echo "no" >&6; } 7339fi 7340 7341 7342fi 7343if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7344 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7345 # Extract the first word of "mt", so it can be a program name with args. 7346set dummy mt; ac_word=$2 7347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7348$as_echo_n "checking for $ac_word... " >&6; } 7349if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7350 $as_echo_n "(cached) " >&6 7351else 7352 if test -n "$ac_ct_MANIFEST_TOOL"; then 7353 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7354else 7355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7356for as_dir in $PATH 7357do 7358 IFS=$as_save_IFS 7359 test -z "$as_dir" && as_dir=. 7360 for ac_exec_ext in '' $ac_executable_extensions; do 7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7362 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7364 break 2 7365 fi 7366done 7367 done 7368IFS=$as_save_IFS 7369 7370fi 7371fi 7372ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7373if test -n "$ac_ct_MANIFEST_TOOL"; then 7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7375$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7376else 7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7378$as_echo "no" >&6; } 7379fi 7380 7381 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7382 MANIFEST_TOOL=":" 7383 else 7384 case $cross_compiling:$ac_tool_warned in 7385yes:) 7386{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7387$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7388ac_tool_warned=yes ;; 7389esac 7390 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7391 fi 7392else 7393 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7394fi 7395 7396test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7398$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7399if ${lt_cv_path_mainfest_tool+:} false; then : 7400 $as_echo_n "(cached) " >&6 7401else 7402 lt_cv_path_mainfest_tool=no 7403 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7404 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7405 cat conftest.err >&5 7406 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7407 lt_cv_path_mainfest_tool=yes 7408 fi 7409 rm -f conftest* 7410fi 7411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7412$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7413if test yes != "$lt_cv_path_mainfest_tool"; then 7414 MANIFEST_TOOL=: 7415fi 7416 7417 7418 7419 7420 7421 7422 case $host_os in 7423 rhapsody* | darwin*) 7424 if test -n "$ac_tool_prefix"; then 7425 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7426set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7428$as_echo_n "checking for $ac_word... " >&6; } 7429if ${ac_cv_prog_DSYMUTIL+:} false; then : 7430 $as_echo_n "(cached) " >&6 7431else 7432 if test -n "$DSYMUTIL"; then 7433 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7434else 7435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7436for as_dir in $PATH 7437do 7438 IFS=$as_save_IFS 7439 test -z "$as_dir" && as_dir=. 7440 for ac_exec_ext in '' $ac_executable_extensions; do 7441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7442 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7444 break 2 7445 fi 7446done 7447 done 7448IFS=$as_save_IFS 7449 7450fi 7451fi 7452DSYMUTIL=$ac_cv_prog_DSYMUTIL 7453if test -n "$DSYMUTIL"; then 7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7455$as_echo "$DSYMUTIL" >&6; } 7456else 7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7458$as_echo "no" >&6; } 7459fi 7460 7461 7462fi 7463if test -z "$ac_cv_prog_DSYMUTIL"; then 7464 ac_ct_DSYMUTIL=$DSYMUTIL 7465 # Extract the first word of "dsymutil", so it can be a program name with args. 7466set dummy dsymutil; ac_word=$2 7467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7468$as_echo_n "checking for $ac_word... " >&6; } 7469if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7470 $as_echo_n "(cached) " >&6 7471else 7472 if test -n "$ac_ct_DSYMUTIL"; then 7473 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7474else 7475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7476for as_dir in $PATH 7477do 7478 IFS=$as_save_IFS 7479 test -z "$as_dir" && as_dir=. 7480 for ac_exec_ext in '' $ac_executable_extensions; do 7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7482 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7484 break 2 7485 fi 7486done 7487 done 7488IFS=$as_save_IFS 7489 7490fi 7491fi 7492ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7493if test -n "$ac_ct_DSYMUTIL"; then 7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7495$as_echo "$ac_ct_DSYMUTIL" >&6; } 7496else 7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7498$as_echo "no" >&6; } 7499fi 7500 7501 if test "x$ac_ct_DSYMUTIL" = x; then 7502 DSYMUTIL=":" 7503 else 7504 case $cross_compiling:$ac_tool_warned in 7505yes:) 7506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7508ac_tool_warned=yes ;; 7509esac 7510 DSYMUTIL=$ac_ct_DSYMUTIL 7511 fi 7512else 7513 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7514fi 7515 7516 if test -n "$ac_tool_prefix"; then 7517 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7518set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7520$as_echo_n "checking for $ac_word... " >&6; } 7521if ${ac_cv_prog_NMEDIT+:} false; then : 7522 $as_echo_n "(cached) " >&6 7523else 7524 if test -n "$NMEDIT"; then 7525 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7526else 7527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7528for as_dir in $PATH 7529do 7530 IFS=$as_save_IFS 7531 test -z "$as_dir" && as_dir=. 7532 for ac_exec_ext in '' $ac_executable_extensions; do 7533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7534 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7536 break 2 7537 fi 7538done 7539 done 7540IFS=$as_save_IFS 7541 7542fi 7543fi 7544NMEDIT=$ac_cv_prog_NMEDIT 7545if test -n "$NMEDIT"; then 7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7547$as_echo "$NMEDIT" >&6; } 7548else 7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7550$as_echo "no" >&6; } 7551fi 7552 7553 7554fi 7555if test -z "$ac_cv_prog_NMEDIT"; then 7556 ac_ct_NMEDIT=$NMEDIT 7557 # Extract the first word of "nmedit", so it can be a program name with args. 7558set dummy nmedit; ac_word=$2 7559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7560$as_echo_n "checking for $ac_word... " >&6; } 7561if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7562 $as_echo_n "(cached) " >&6 7563else 7564 if test -n "$ac_ct_NMEDIT"; then 7565 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7566else 7567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7568for as_dir in $PATH 7569do 7570 IFS=$as_save_IFS 7571 test -z "$as_dir" && as_dir=. 7572 for ac_exec_ext in '' $ac_executable_extensions; do 7573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7574 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7576 break 2 7577 fi 7578done 7579 done 7580IFS=$as_save_IFS 7581 7582fi 7583fi 7584ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7585if test -n "$ac_ct_NMEDIT"; then 7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7587$as_echo "$ac_ct_NMEDIT" >&6; } 7588else 7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7590$as_echo "no" >&6; } 7591fi 7592 7593 if test "x$ac_ct_NMEDIT" = x; then 7594 NMEDIT=":" 7595 else 7596 case $cross_compiling:$ac_tool_warned in 7597yes:) 7598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7600ac_tool_warned=yes ;; 7601esac 7602 NMEDIT=$ac_ct_NMEDIT 7603 fi 7604else 7605 NMEDIT="$ac_cv_prog_NMEDIT" 7606fi 7607 7608 if test -n "$ac_tool_prefix"; then 7609 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7610set dummy ${ac_tool_prefix}lipo; ac_word=$2 7611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7612$as_echo_n "checking for $ac_word... " >&6; } 7613if ${ac_cv_prog_LIPO+:} false; then : 7614 $as_echo_n "(cached) " >&6 7615else 7616 if test -n "$LIPO"; then 7617 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7618else 7619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7620for as_dir in $PATH 7621do 7622 IFS=$as_save_IFS 7623 test -z "$as_dir" && as_dir=. 7624 for ac_exec_ext in '' $ac_executable_extensions; do 7625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7626 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7628 break 2 7629 fi 7630done 7631 done 7632IFS=$as_save_IFS 7633 7634fi 7635fi 7636LIPO=$ac_cv_prog_LIPO 7637if test -n "$LIPO"; then 7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7639$as_echo "$LIPO" >&6; } 7640else 7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7642$as_echo "no" >&6; } 7643fi 7644 7645 7646fi 7647if test -z "$ac_cv_prog_LIPO"; then 7648 ac_ct_LIPO=$LIPO 7649 # Extract the first word of "lipo", so it can be a program name with args. 7650set dummy lipo; ac_word=$2 7651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7652$as_echo_n "checking for $ac_word... " >&6; } 7653if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7654 $as_echo_n "(cached) " >&6 7655else 7656 if test -n "$ac_ct_LIPO"; then 7657 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7658else 7659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7660for as_dir in $PATH 7661do 7662 IFS=$as_save_IFS 7663 test -z "$as_dir" && as_dir=. 7664 for ac_exec_ext in '' $ac_executable_extensions; do 7665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7666 ac_cv_prog_ac_ct_LIPO="lipo" 7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7668 break 2 7669 fi 7670done 7671 done 7672IFS=$as_save_IFS 7673 7674fi 7675fi 7676ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7677if test -n "$ac_ct_LIPO"; then 7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7679$as_echo "$ac_ct_LIPO" >&6; } 7680else 7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7682$as_echo "no" >&6; } 7683fi 7684 7685 if test "x$ac_ct_LIPO" = x; then 7686 LIPO=":" 7687 else 7688 case $cross_compiling:$ac_tool_warned in 7689yes:) 7690{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7691$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7692ac_tool_warned=yes ;; 7693esac 7694 LIPO=$ac_ct_LIPO 7695 fi 7696else 7697 LIPO="$ac_cv_prog_LIPO" 7698fi 7699 7700 if test -n "$ac_tool_prefix"; then 7701 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7702set dummy ${ac_tool_prefix}otool; ac_word=$2 7703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7704$as_echo_n "checking for $ac_word... " >&6; } 7705if ${ac_cv_prog_OTOOL+:} false; then : 7706 $as_echo_n "(cached) " >&6 7707else 7708 if test -n "$OTOOL"; then 7709 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7710else 7711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7712for as_dir in $PATH 7713do 7714 IFS=$as_save_IFS 7715 test -z "$as_dir" && as_dir=. 7716 for ac_exec_ext in '' $ac_executable_extensions; do 7717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7718 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7720 break 2 7721 fi 7722done 7723 done 7724IFS=$as_save_IFS 7725 7726fi 7727fi 7728OTOOL=$ac_cv_prog_OTOOL 7729if test -n "$OTOOL"; then 7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7731$as_echo "$OTOOL" >&6; } 7732else 7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7734$as_echo "no" >&6; } 7735fi 7736 7737 7738fi 7739if test -z "$ac_cv_prog_OTOOL"; then 7740 ac_ct_OTOOL=$OTOOL 7741 # Extract the first word of "otool", so it can be a program name with args. 7742set dummy otool; ac_word=$2 7743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7744$as_echo_n "checking for $ac_word... " >&6; } 7745if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7746 $as_echo_n "(cached) " >&6 7747else 7748 if test -n "$ac_ct_OTOOL"; then 7749 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7750else 7751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7752for as_dir in $PATH 7753do 7754 IFS=$as_save_IFS 7755 test -z "$as_dir" && as_dir=. 7756 for ac_exec_ext in '' $ac_executable_extensions; do 7757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7758 ac_cv_prog_ac_ct_OTOOL="otool" 7759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7760 break 2 7761 fi 7762done 7763 done 7764IFS=$as_save_IFS 7765 7766fi 7767fi 7768ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7769if test -n "$ac_ct_OTOOL"; then 7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7771$as_echo "$ac_ct_OTOOL" >&6; } 7772else 7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7774$as_echo "no" >&6; } 7775fi 7776 7777 if test "x$ac_ct_OTOOL" = x; then 7778 OTOOL=":" 7779 else 7780 case $cross_compiling:$ac_tool_warned in 7781yes:) 7782{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7783$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7784ac_tool_warned=yes ;; 7785esac 7786 OTOOL=$ac_ct_OTOOL 7787 fi 7788else 7789 OTOOL="$ac_cv_prog_OTOOL" 7790fi 7791 7792 if test -n "$ac_tool_prefix"; then 7793 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7794set dummy ${ac_tool_prefix}otool64; ac_word=$2 7795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7796$as_echo_n "checking for $ac_word... " >&6; } 7797if ${ac_cv_prog_OTOOL64+:} false; then : 7798 $as_echo_n "(cached) " >&6 7799else 7800 if test -n "$OTOOL64"; then 7801 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7802else 7803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7804for as_dir in $PATH 7805do 7806 IFS=$as_save_IFS 7807 test -z "$as_dir" && as_dir=. 7808 for ac_exec_ext in '' $ac_executable_extensions; do 7809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7810 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7812 break 2 7813 fi 7814done 7815 done 7816IFS=$as_save_IFS 7817 7818fi 7819fi 7820OTOOL64=$ac_cv_prog_OTOOL64 7821if test -n "$OTOOL64"; then 7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7823$as_echo "$OTOOL64" >&6; } 7824else 7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7826$as_echo "no" >&6; } 7827fi 7828 7829 7830fi 7831if test -z "$ac_cv_prog_OTOOL64"; then 7832 ac_ct_OTOOL64=$OTOOL64 7833 # Extract the first word of "otool64", so it can be a program name with args. 7834set dummy otool64; ac_word=$2 7835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7836$as_echo_n "checking for $ac_word... " >&6; } 7837if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7838 $as_echo_n "(cached) " >&6 7839else 7840 if test -n "$ac_ct_OTOOL64"; then 7841 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7842else 7843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7844for as_dir in $PATH 7845do 7846 IFS=$as_save_IFS 7847 test -z "$as_dir" && as_dir=. 7848 for ac_exec_ext in '' $ac_executable_extensions; do 7849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7850 ac_cv_prog_ac_ct_OTOOL64="otool64" 7851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7852 break 2 7853 fi 7854done 7855 done 7856IFS=$as_save_IFS 7857 7858fi 7859fi 7860ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7861if test -n "$ac_ct_OTOOL64"; then 7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7863$as_echo "$ac_ct_OTOOL64" >&6; } 7864else 7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7866$as_echo "no" >&6; } 7867fi 7868 7869 if test "x$ac_ct_OTOOL64" = x; then 7870 OTOOL64=":" 7871 else 7872 case $cross_compiling:$ac_tool_warned in 7873yes:) 7874{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7876ac_tool_warned=yes ;; 7877esac 7878 OTOOL64=$ac_ct_OTOOL64 7879 fi 7880else 7881 OTOOL64="$ac_cv_prog_OTOOL64" 7882fi 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7911$as_echo_n "checking for -single_module linker flag... " >&6; } 7912if ${lt_cv_apple_cc_single_mod+:} false; then : 7913 $as_echo_n "(cached) " >&6 7914else 7915 lt_cv_apple_cc_single_mod=no 7916 if test -z "$LT_MULTI_MODULE"; then 7917 # By default we will add the -single_module flag. You can override 7918 # by either setting the environment variable LT_MULTI_MODULE 7919 # non-empty at configure time, or by adding -multi_module to the 7920 # link flags. 7921 rm -rf libconftest.dylib* 7922 echo "int foo(void){return 1;}" > conftest.c 7923 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7924-dynamiclib -Wl,-single_module conftest.c" >&5 7925 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7926 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7927 _lt_result=$? 7928 # If there is a non-empty error log, and "single_module" 7929 # appears in it, assume the flag caused a linker warning 7930 if test -s conftest.err && $GREP single_module conftest.err; then 7931 cat conftest.err >&5 7932 # Otherwise, if the output was created with a 0 exit code from 7933 # the compiler, it worked. 7934 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7935 lt_cv_apple_cc_single_mod=yes 7936 else 7937 cat conftest.err >&5 7938 fi 7939 rm -rf libconftest.dylib* 7940 rm -f conftest.* 7941 fi 7942fi 7943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7944$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7945 7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7947$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7948if ${lt_cv_ld_exported_symbols_list+:} false; then : 7949 $as_echo_n "(cached) " >&6 7950else 7951 lt_cv_ld_exported_symbols_list=no 7952 save_LDFLAGS=$LDFLAGS 7953 echo "_main" > conftest.sym 7954 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7956/* end confdefs.h. */ 7957 7958int 7959main () 7960{ 7961 7962 ; 7963 return 0; 7964} 7965_ACEOF 7966if ac_fn_c_try_link "$LINENO"; then : 7967 lt_cv_ld_exported_symbols_list=yes 7968else 7969 lt_cv_ld_exported_symbols_list=no 7970fi 7971rm -f core conftest.err conftest.$ac_objext \ 7972 conftest$ac_exeext conftest.$ac_ext 7973 LDFLAGS=$save_LDFLAGS 7974 7975fi 7976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7977$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7978 7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7980$as_echo_n "checking for -force_load linker flag... " >&6; } 7981if ${lt_cv_ld_force_load+:} false; then : 7982 $as_echo_n "(cached) " >&6 7983else 7984 lt_cv_ld_force_load=no 7985 cat > conftest.c << _LT_EOF 7986int forced_loaded() { return 2;} 7987_LT_EOF 7988 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7989 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7990 echo "$AR cru libconftest.a conftest.o" >&5 7991 $AR cru libconftest.a conftest.o 2>&5 7992 echo "$RANLIB libconftest.a" >&5 7993 $RANLIB libconftest.a 2>&5 7994 cat > conftest.c << _LT_EOF 7995int main() { return 0;} 7996_LT_EOF 7997 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7998 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7999 _lt_result=$? 8000 if test -s conftest.err && $GREP force_load conftest.err; then 8001 cat conftest.err >&5 8002 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8003 lt_cv_ld_force_load=yes 8004 else 8005 cat conftest.err >&5 8006 fi 8007 rm -f conftest.err libconftest.a conftest conftest.c 8008 rm -rf conftest.dSYM 8009 8010fi 8011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8012$as_echo "$lt_cv_ld_force_load" >&6; } 8013 case $host_os in 8014 rhapsody* | darwin1.[012]) 8015 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8016 darwin1.*) 8017 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8018 darwin*) # darwin 5.x on 8019 # if running on 10.5 or later, the deployment target defaults 8020 # to the OS version, if on x86, and 10.4, the deployment 8021 # target defaults to 10.4. Don't you love it? 8022 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8023 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8024 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8025 10.[012][,.]*) 8026 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8027 10.*) 8028 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8029 esac 8030 ;; 8031 esac 8032 if test yes = "$lt_cv_apple_cc_single_mod"; then 8033 _lt_dar_single_mod='$single_module' 8034 fi 8035 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8036 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8037 else 8038 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8039 fi 8040 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8041 _lt_dsymutil='~$DSYMUTIL $lib || :' 8042 else 8043 _lt_dsymutil= 8044 fi 8045 ;; 8046 esac 8047 8048# func_munge_path_list VARIABLE PATH 8049# ----------------------------------- 8050# VARIABLE is name of variable containing _space_ separated list of 8051# directories to be munged by the contents of PATH, which is string 8052# having a format: 8053# "DIR[:DIR]:" 8054# string "DIR[ DIR]" will be prepended to VARIABLE 8055# ":DIR[:DIR]" 8056# string "DIR[ DIR]" will be appended to VARIABLE 8057# "DIRP[:DIRP]::[DIRA:]DIRA" 8058# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8059# "DIRA[ DIRA]" will be appended to VARIABLE 8060# "DIR[:DIR]" 8061# VARIABLE will be replaced by "DIR[ DIR]" 8062func_munge_path_list () 8063{ 8064 case x$2 in 8065 x) 8066 ;; 8067 *:) 8068 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8069 ;; 8070 x:*) 8071 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8072 ;; 8073 *::*) 8074 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8075 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8076 ;; 8077 *) 8078 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8079 ;; 8080 esac 8081} 8082 8083ac_ext=c 8084ac_cpp='$CPP $CPPFLAGS' 8085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8087ac_compiler_gnu=$ac_cv_c_compiler_gnu 8088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 8089$as_echo_n "checking how to run the C preprocessor... " >&6; } 8090# On Suns, sometimes $CPP names a directory. 8091if test -n "$CPP" && test -d "$CPP"; then 8092 CPP= 8093fi 8094if test -z "$CPP"; then 8095 if ${ac_cv_prog_CPP+:} false; then : 8096 $as_echo_n "(cached) " >&6 8097else 8098 # Double quotes because CPP needs to be expanded 8099 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 8100 do 8101 ac_preproc_ok=false 8102for ac_c_preproc_warn_flag in '' yes 8103do 8104 # Use a header file that comes with gcc, so configuring glibc 8105 # with a fresh cross-compiler works. 8106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8107 # <limits.h> exists even on freestanding compilers. 8108 # On the NeXT, cc -E runs the code through the compiler's parser, 8109 # not just through cpp. "Syntax error" is here to catch this case. 8110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8111/* end confdefs.h. */ 8112#ifdef __STDC__ 8113# include <limits.h> 8114#else 8115# include <assert.h> 8116#endif 8117 Syntax error 8118_ACEOF 8119if ac_fn_c_try_cpp "$LINENO"; then : 8120 8121else 8122 # Broken: fails on valid input. 8123continue 8124fi 8125rm -f conftest.err conftest.i conftest.$ac_ext 8126 8127 # OK, works on sane cases. Now check whether nonexistent headers 8128 # can be detected and how. 8129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8130/* end confdefs.h. */ 8131#include <ac_nonexistent.h> 8132_ACEOF 8133if ac_fn_c_try_cpp "$LINENO"; then : 8134 # Broken: success on invalid input. 8135continue 8136else 8137 # Passes both tests. 8138ac_preproc_ok=: 8139break 8140fi 8141rm -f conftest.err conftest.i conftest.$ac_ext 8142 8143done 8144# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8145rm -f conftest.i conftest.err conftest.$ac_ext 8146if $ac_preproc_ok; then : 8147 break 8148fi 8149 8150 done 8151 ac_cv_prog_CPP=$CPP 8152 8153fi 8154 CPP=$ac_cv_prog_CPP 8155else 8156 ac_cv_prog_CPP=$CPP 8157fi 8158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 8159$as_echo "$CPP" >&6; } 8160ac_preproc_ok=false 8161for ac_c_preproc_warn_flag in '' yes 8162do 8163 # Use a header file that comes with gcc, so configuring glibc 8164 # with a fresh cross-compiler works. 8165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8166 # <limits.h> exists even on freestanding compilers. 8167 # On the NeXT, cc -E runs the code through the compiler's parser, 8168 # not just through cpp. "Syntax error" is here to catch this case. 8169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8170/* end confdefs.h. */ 8171#ifdef __STDC__ 8172# include <limits.h> 8173#else 8174# include <assert.h> 8175#endif 8176 Syntax error 8177_ACEOF 8178if ac_fn_c_try_cpp "$LINENO"; then : 8179 8180else 8181 # Broken: fails on valid input. 8182continue 8183fi 8184rm -f conftest.err conftest.i conftest.$ac_ext 8185 8186 # OK, works on sane cases. Now check whether nonexistent headers 8187 # can be detected and how. 8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8189/* end confdefs.h. */ 8190#include <ac_nonexistent.h> 8191_ACEOF 8192if ac_fn_c_try_cpp "$LINENO"; then : 8193 # Broken: success on invalid input. 8194continue 8195else 8196 # Passes both tests. 8197ac_preproc_ok=: 8198break 8199fi 8200rm -f conftest.err conftest.i conftest.$ac_ext 8201 8202done 8203# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8204rm -f conftest.i conftest.err conftest.$ac_ext 8205if $ac_preproc_ok; then : 8206 8207else 8208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8210as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8211See \`config.log' for more details" "$LINENO" 5; } 8212fi 8213 8214ac_ext=c 8215ac_cpp='$CPP $CPPFLAGS' 8216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8218ac_compiler_gnu=$ac_cv_c_compiler_gnu 8219 8220 8221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8222$as_echo_n "checking for ANSI C header files... " >&6; } 8223if ${ac_cv_header_stdc+:} false; then : 8224 $as_echo_n "(cached) " >&6 8225else 8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8227/* end confdefs.h. */ 8228#include <stdlib.h> 8229#include <stdarg.h> 8230#include <string.h> 8231#include <float.h> 8232 8233int 8234main () 8235{ 8236 8237 ; 8238 return 0; 8239} 8240_ACEOF 8241if ac_fn_c_try_compile "$LINENO"; then : 8242 ac_cv_header_stdc=yes 8243else 8244 ac_cv_header_stdc=no 8245fi 8246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8247 8248if test $ac_cv_header_stdc = yes; then 8249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8251/* end confdefs.h. */ 8252#include <string.h> 8253 8254_ACEOF 8255if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8256 $EGREP "memchr" >/dev/null 2>&1; then : 8257 8258else 8259 ac_cv_header_stdc=no 8260fi 8261rm -f conftest* 8262 8263fi 8264 8265if test $ac_cv_header_stdc = yes; then 8266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8268/* end confdefs.h. */ 8269#include <stdlib.h> 8270 8271_ACEOF 8272if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8273 $EGREP "free" >/dev/null 2>&1; then : 8274 8275else 8276 ac_cv_header_stdc=no 8277fi 8278rm -f conftest* 8279 8280fi 8281 8282if test $ac_cv_header_stdc = yes; then 8283 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8284 if test "$cross_compiling" = yes; then : 8285 : 8286else 8287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8288/* end confdefs.h. */ 8289#include <ctype.h> 8290#include <stdlib.h> 8291#if ((' ' & 0x0FF) == 0x020) 8292# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8293# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8294#else 8295# define ISLOWER(c) \ 8296 (('a' <= (c) && (c) <= 'i') \ 8297 || ('j' <= (c) && (c) <= 'r') \ 8298 || ('s' <= (c) && (c) <= 'z')) 8299# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8300#endif 8301 8302#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8303int 8304main () 8305{ 8306 int i; 8307 for (i = 0; i < 256; i++) 8308 if (XOR (islower (i), ISLOWER (i)) 8309 || toupper (i) != TOUPPER (i)) 8310 return 2; 8311 return 0; 8312} 8313_ACEOF 8314if ac_fn_c_try_run "$LINENO"; then : 8315 8316else 8317 ac_cv_header_stdc=no 8318fi 8319rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8320 conftest.$ac_objext conftest.beam conftest.$ac_ext 8321fi 8322 8323fi 8324fi 8325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8326$as_echo "$ac_cv_header_stdc" >&6; } 8327if test $ac_cv_header_stdc = yes; then 8328 8329$as_echo "#define STDC_HEADERS 1" >>confdefs.h 8330 8331fi 8332 8333# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8334for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8335 inttypes.h stdint.h unistd.h 8336do : 8337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8338ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8339" 8340if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8341 cat >>confdefs.h <<_ACEOF 8342#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8343_ACEOF 8344 8345fi 8346 8347done 8348 8349 8350for ac_header in dlfcn.h 8351do : 8352 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8353" 8354if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8355 cat >>confdefs.h <<_ACEOF 8356#define HAVE_DLFCN_H 1 8357_ACEOF 8358 8359fi 8360 8361done 8362 8363 8364 GST_CURRENT=1602 8365 GST_REVISION=0 8366 GST_AGE=1602 8367 GST_LIBVERSION=1602:0:1602 8368 8369 8370 8371 8372 8373 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION" 8374 if test ! -z "" 8375 then 8376 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release " 8377 fi 8378 8379 8380 8381 8382 8383 8384 8385# Set options 8386enable_dlopen=yes 8387enable_win32_dll=yes 8388 8389case $host in 8390*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 8391 if test -n "$ac_tool_prefix"; then 8392 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 8393set dummy ${ac_tool_prefix}as; ac_word=$2 8394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8395$as_echo_n "checking for $ac_word... " >&6; } 8396if ${ac_cv_prog_AS+:} false; then : 8397 $as_echo_n "(cached) " >&6 8398else 8399 if test -n "$AS"; then 8400 ac_cv_prog_AS="$AS" # Let the user override the test. 8401else 8402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8403for as_dir in $PATH 8404do 8405 IFS=$as_save_IFS 8406 test -z "$as_dir" && as_dir=. 8407 for ac_exec_ext in '' $ac_executable_extensions; do 8408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8409 ac_cv_prog_AS="${ac_tool_prefix}as" 8410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8411 break 2 8412 fi 8413done 8414 done 8415IFS=$as_save_IFS 8416 8417fi 8418fi 8419AS=$ac_cv_prog_AS 8420if test -n "$AS"; then 8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 8422$as_echo "$AS" >&6; } 8423else 8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8425$as_echo "no" >&6; } 8426fi 8427 8428 8429fi 8430if test -z "$ac_cv_prog_AS"; then 8431 ac_ct_AS=$AS 8432 # Extract the first word of "as", so it can be a program name with args. 8433set dummy as; ac_word=$2 8434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8435$as_echo_n "checking for $ac_word... " >&6; } 8436if ${ac_cv_prog_ac_ct_AS+:} false; then : 8437 $as_echo_n "(cached) " >&6 8438else 8439 if test -n "$ac_ct_AS"; then 8440 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 8441else 8442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8443for as_dir in $PATH 8444do 8445 IFS=$as_save_IFS 8446 test -z "$as_dir" && as_dir=. 8447 for ac_exec_ext in '' $ac_executable_extensions; do 8448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8449 ac_cv_prog_ac_ct_AS="as" 8450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8451 break 2 8452 fi 8453done 8454 done 8455IFS=$as_save_IFS 8456 8457fi 8458fi 8459ac_ct_AS=$ac_cv_prog_ac_ct_AS 8460if test -n "$ac_ct_AS"; then 8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 8462$as_echo "$ac_ct_AS" >&6; } 8463else 8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8465$as_echo "no" >&6; } 8466fi 8467 8468 if test "x$ac_ct_AS" = x; then 8469 AS="false" 8470 else 8471 case $cross_compiling:$ac_tool_warned in 8472yes:) 8473{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8474$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8475ac_tool_warned=yes ;; 8476esac 8477 AS=$ac_ct_AS 8478 fi 8479else 8480 AS="$ac_cv_prog_AS" 8481fi 8482 8483 if test -n "$ac_tool_prefix"; then 8484 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 8485set dummy ${ac_tool_prefix}dlltool; ac_word=$2 8486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8487$as_echo_n "checking for $ac_word... " >&6; } 8488if ${ac_cv_prog_DLLTOOL+:} false; then : 8489 $as_echo_n "(cached) " >&6 8490else 8491 if test -n "$DLLTOOL"; then 8492 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 8493else 8494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8495for as_dir in $PATH 8496do 8497 IFS=$as_save_IFS 8498 test -z "$as_dir" && as_dir=. 8499 for ac_exec_ext in '' $ac_executable_extensions; do 8500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8501 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 8502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8503 break 2 8504 fi 8505done 8506 done 8507IFS=$as_save_IFS 8508 8509fi 8510fi 8511DLLTOOL=$ac_cv_prog_DLLTOOL 8512if test -n "$DLLTOOL"; then 8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 8514$as_echo "$DLLTOOL" >&6; } 8515else 8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8517$as_echo "no" >&6; } 8518fi 8519 8520 8521fi 8522if test -z "$ac_cv_prog_DLLTOOL"; then 8523 ac_ct_DLLTOOL=$DLLTOOL 8524 # Extract the first word of "dlltool", so it can be a program name with args. 8525set dummy dlltool; ac_word=$2 8526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8527$as_echo_n "checking for $ac_word... " >&6; } 8528if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 8529 $as_echo_n "(cached) " >&6 8530else 8531 if test -n "$ac_ct_DLLTOOL"; then 8532 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 8533else 8534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8535for as_dir in $PATH 8536do 8537 IFS=$as_save_IFS 8538 test -z "$as_dir" && as_dir=. 8539 for ac_exec_ext in '' $ac_executable_extensions; do 8540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8541 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 8542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8543 break 2 8544 fi 8545done 8546 done 8547IFS=$as_save_IFS 8548 8549fi 8550fi 8551ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 8552if test -n "$ac_ct_DLLTOOL"; then 8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 8554$as_echo "$ac_ct_DLLTOOL" >&6; } 8555else 8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8557$as_echo "no" >&6; } 8558fi 8559 8560 if test "x$ac_ct_DLLTOOL" = x; then 8561 DLLTOOL="false" 8562 else 8563 case $cross_compiling:$ac_tool_warned in 8564yes:) 8565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8567ac_tool_warned=yes ;; 8568esac 8569 DLLTOOL=$ac_ct_DLLTOOL 8570 fi 8571else 8572 DLLTOOL="$ac_cv_prog_DLLTOOL" 8573fi 8574 8575 if test -n "$ac_tool_prefix"; then 8576 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 8577set dummy ${ac_tool_prefix}objdump; ac_word=$2 8578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8579$as_echo_n "checking for $ac_word... " >&6; } 8580if ${ac_cv_prog_OBJDUMP+:} false; then : 8581 $as_echo_n "(cached) " >&6 8582else 8583 if test -n "$OBJDUMP"; then 8584 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 8585else 8586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8587for as_dir in $PATH 8588do 8589 IFS=$as_save_IFS 8590 test -z "$as_dir" && as_dir=. 8591 for ac_exec_ext in '' $ac_executable_extensions; do 8592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8593 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8595 break 2 8596 fi 8597done 8598 done 8599IFS=$as_save_IFS 8600 8601fi 8602fi 8603OBJDUMP=$ac_cv_prog_OBJDUMP 8604if test -n "$OBJDUMP"; then 8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 8606$as_echo "$OBJDUMP" >&6; } 8607else 8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8609$as_echo "no" >&6; } 8610fi 8611 8612 8613fi 8614if test -z "$ac_cv_prog_OBJDUMP"; then 8615 ac_ct_OBJDUMP=$OBJDUMP 8616 # Extract the first word of "objdump", so it can be a program name with args. 8617set dummy objdump; ac_word=$2 8618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8619$as_echo_n "checking for $ac_word... " >&6; } 8620if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 8621 $as_echo_n "(cached) " >&6 8622else 8623 if test -n "$ac_ct_OBJDUMP"; then 8624 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 8625else 8626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8627for as_dir in $PATH 8628do 8629 IFS=$as_save_IFS 8630 test -z "$as_dir" && as_dir=. 8631 for ac_exec_ext in '' $ac_executable_extensions; do 8632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8633 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8635 break 2 8636 fi 8637done 8638 done 8639IFS=$as_save_IFS 8640 8641fi 8642fi 8643ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 8644if test -n "$ac_ct_OBJDUMP"; then 8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 8646$as_echo "$ac_ct_OBJDUMP" >&6; } 8647else 8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8649$as_echo "no" >&6; } 8650fi 8651 8652 if test "x$ac_ct_OBJDUMP" = x; then 8653 OBJDUMP="false" 8654 else 8655 case $cross_compiling:$ac_tool_warned in 8656yes:) 8657{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8658$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8659ac_tool_warned=yes ;; 8660esac 8661 OBJDUMP=$ac_ct_OBJDUMP 8662 fi 8663else 8664 OBJDUMP="$ac_cv_prog_OBJDUMP" 8665fi 8666 8667 ;; 8668esac 8669 8670test -z "$AS" && AS=as 8671 8672 8673 8674 8675 8676test -z "$DLLTOOL" && DLLTOOL=dlltool 8677 8678 8679 8680 8681 8682test -z "$OBJDUMP" && OBJDUMP=objdump 8683 8684 8685 8686 8687# Check whether --enable-static was given. 8688if test "${enable_static+set}" = set; then : 8689 enableval=$enable_static; p=${PACKAGE-default} 8690 case $enableval in 8691 yes) enable_static=yes ;; 8692 no) enable_static=no ;; 8693 *) 8694 enable_static=no 8695 # Look at the argument we got. We use all the common list separators. 8696 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8697 for pkg in $enableval; do 8698 IFS=$lt_save_ifs 8699 if test "X$pkg" = "X$p"; then 8700 enable_static=yes 8701 fi 8702 done 8703 IFS=$lt_save_ifs 8704 ;; 8705 esac 8706else 8707 enable_static=no 8708fi 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 # Check whether --enable-shared was given. 8722if test "${enable_shared+set}" = set; then : 8723 enableval=$enable_shared; p=${PACKAGE-default} 8724 case $enableval in 8725 yes) enable_shared=yes ;; 8726 no) enable_shared=no ;; 8727 *) 8728 enable_shared=no 8729 # Look at the argument we got. We use all the common list separators. 8730 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8731 for pkg in $enableval; do 8732 IFS=$lt_save_ifs 8733 if test "X$pkg" = "X$p"; then 8734 enable_shared=yes 8735 fi 8736 done 8737 IFS=$lt_save_ifs 8738 ;; 8739 esac 8740else 8741 enable_shared=yes 8742fi 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754# Check whether --with-pic was given. 8755if test "${with_pic+set}" = set; then : 8756 withval=$with_pic; lt_p=${PACKAGE-default} 8757 case $withval in 8758 yes|no) pic_mode=$withval ;; 8759 *) 8760 pic_mode=default 8761 # Look at the argument we got. We use all the common list separators. 8762 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8763 for lt_pkg in $withval; do 8764 IFS=$lt_save_ifs 8765 if test "X$lt_pkg" = "X$lt_p"; then 8766 pic_mode=yes 8767 fi 8768 done 8769 IFS=$lt_save_ifs 8770 ;; 8771 esac 8772else 8773 pic_mode=default 8774fi 8775 8776 8777 8778 8779 8780 8781 8782 8783 # Check whether --enable-fast-install was given. 8784if test "${enable_fast_install+set}" = set; then : 8785 enableval=$enable_fast_install; p=${PACKAGE-default} 8786 case $enableval in 8787 yes) enable_fast_install=yes ;; 8788 no) enable_fast_install=no ;; 8789 *) 8790 enable_fast_install=no 8791 # Look at the argument we got. We use all the common list separators. 8792 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8793 for pkg in $enableval; do 8794 IFS=$lt_save_ifs 8795 if test "X$pkg" = "X$p"; then 8796 enable_fast_install=yes 8797 fi 8798 done 8799 IFS=$lt_save_ifs 8800 ;; 8801 esac 8802else 8803 enable_fast_install=yes 8804fi 8805 8806 8807 8808 8809 8810 8811 8812 8813 shared_archive_member_spec= 8814case $host,$enable_shared in 8815power*-*-aix[5-9]*,yes) 8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8817$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8818 8819# Check whether --with-aix-soname was given. 8820if test "${with_aix_soname+set}" = set; then : 8821 withval=$with_aix_soname; case $withval in 8822 aix|svr4|both) 8823 ;; 8824 *) 8825 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8826 ;; 8827 esac 8828 lt_cv_with_aix_soname=$with_aix_soname 8829else 8830 if ${lt_cv_with_aix_soname+:} false; then : 8831 $as_echo_n "(cached) " >&6 8832else 8833 lt_cv_with_aix_soname=aix 8834fi 8835 8836 with_aix_soname=$lt_cv_with_aix_soname 8837fi 8838 8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8840$as_echo "$with_aix_soname" >&6; } 8841 if test aix != "$with_aix_soname"; then 8842 # For the AIX way of multilib, we name the shared archive member 8843 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8844 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8845 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8846 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8847 if test 64 = "${OBJECT_MODE-32}"; then 8848 shared_archive_member_spec=shr_64 8849 else 8850 shared_archive_member_spec=shr 8851 fi 8852 fi 8853 ;; 8854*) 8855 with_aix_soname=aix 8856 ;; 8857esac 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868# This can be used to rebuild libtool when needed 8869LIBTOOL_DEPS=$ltmain 8870 8871# Always use our own libtool. 8872LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903test -z "$LN_S" && LN_S="ln -s" 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918if test -n "${ZSH_VERSION+set}"; then 8919 setopt NO_GLOB_SUBST 8920fi 8921 8922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8923$as_echo_n "checking for objdir... " >&6; } 8924if ${lt_cv_objdir+:} false; then : 8925 $as_echo_n "(cached) " >&6 8926else 8927 rm -f .libs 2>/dev/null 8928mkdir .libs 2>/dev/null 8929if test -d .libs; then 8930 lt_cv_objdir=.libs 8931else 8932 # MS-DOS does not allow filenames that begin with a dot. 8933 lt_cv_objdir=_libs 8934fi 8935rmdir .libs 2>/dev/null 8936fi 8937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8938$as_echo "$lt_cv_objdir" >&6; } 8939objdir=$lt_cv_objdir 8940 8941 8942 8943 8944 8945cat >>confdefs.h <<_ACEOF 8946#define LT_OBJDIR "$lt_cv_objdir/" 8947_ACEOF 8948 8949 8950 8951 8952case $host_os in 8953aix3*) 8954 # AIX sometimes has problems with the GCC collect2 program. For some 8955 # reason, if we set the COLLECT_NAMES environment variable, the problems 8956 # vanish in a puff of smoke. 8957 if test set != "${COLLECT_NAMES+set}"; then 8958 COLLECT_NAMES= 8959 export COLLECT_NAMES 8960 fi 8961 ;; 8962esac 8963 8964# Global variables: 8965ofile=libtool 8966can_build_shared=yes 8967 8968# All known linkers require a '.a' archive for static linking (except MSVC, 8969# which needs '.lib'). 8970libext=a 8971 8972with_gnu_ld=$lt_cv_prog_gnu_ld 8973 8974old_CC=$CC 8975old_CFLAGS=$CFLAGS 8976 8977# Set sane defaults for various variables 8978test -z "$CC" && CC=cc 8979test -z "$LTCC" && LTCC=$CC 8980test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8981test -z "$LD" && LD=ld 8982test -z "$ac_objext" && ac_objext=o 8983 8984func_cc_basename $compiler 8985cc_basename=$func_cc_basename_result 8986 8987 8988# Only perform the check for file, if the check method requires it 8989test -z "$MAGIC_CMD" && MAGIC_CMD=file 8990case $deplibs_check_method in 8991file_magic*) 8992 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8994$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8995if ${lt_cv_path_MAGIC_CMD+:} false; then : 8996 $as_echo_n "(cached) " >&6 8997else 8998 case $MAGIC_CMD in 8999[\\/*] | ?:[\\/]*) 9000 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9001 ;; 9002*) 9003 lt_save_MAGIC_CMD=$MAGIC_CMD 9004 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9005 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9006 for ac_dir in $ac_dummy; do 9007 IFS=$lt_save_ifs 9008 test -z "$ac_dir" && ac_dir=. 9009 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9010 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9011 if test -n "$file_magic_test_file"; then 9012 case $deplibs_check_method in 9013 "file_magic "*) 9014 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9015 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9016 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9017 $EGREP "$file_magic_regex" > /dev/null; then 9018 : 9019 else 9020 cat <<_LT_EOF 1>&2 9021 9022*** Warning: the command libtool uses to detect shared libraries, 9023*** $file_magic_cmd, produces output that libtool cannot recognize. 9024*** The result is that libtool may fail to recognize shared libraries 9025*** as such. This will affect the creation of libtool libraries that 9026*** depend on shared libraries, but programs linked with such libtool 9027*** libraries will work regardless of this problem. Nevertheless, you 9028*** may want to report the problem to your system manager and/or to 9029*** bug-libtool@gnu.org 9030 9031_LT_EOF 9032 fi ;; 9033 esac 9034 fi 9035 break 9036 fi 9037 done 9038 IFS=$lt_save_ifs 9039 MAGIC_CMD=$lt_save_MAGIC_CMD 9040 ;; 9041esac 9042fi 9043 9044MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9045if test -n "$MAGIC_CMD"; then 9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9047$as_echo "$MAGIC_CMD" >&6; } 9048else 9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9050$as_echo "no" >&6; } 9051fi 9052 9053 9054 9055 9056 9057if test -z "$lt_cv_path_MAGIC_CMD"; then 9058 if test -n "$ac_tool_prefix"; then 9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9060$as_echo_n "checking for file... " >&6; } 9061if ${lt_cv_path_MAGIC_CMD+:} false; then : 9062 $as_echo_n "(cached) " >&6 9063else 9064 case $MAGIC_CMD in 9065[\\/*] | ?:[\\/]*) 9066 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9067 ;; 9068*) 9069 lt_save_MAGIC_CMD=$MAGIC_CMD 9070 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9071 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9072 for ac_dir in $ac_dummy; do 9073 IFS=$lt_save_ifs 9074 test -z "$ac_dir" && ac_dir=. 9075 if test -f "$ac_dir/file"; then 9076 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9077 if test -n "$file_magic_test_file"; then 9078 case $deplibs_check_method in 9079 "file_magic "*) 9080 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9081 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9082 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9083 $EGREP "$file_magic_regex" > /dev/null; then 9084 : 9085 else 9086 cat <<_LT_EOF 1>&2 9087 9088*** Warning: the command libtool uses to detect shared libraries, 9089*** $file_magic_cmd, produces output that libtool cannot recognize. 9090*** The result is that libtool may fail to recognize shared libraries 9091*** as such. This will affect the creation of libtool libraries that 9092*** depend on shared libraries, but programs linked with such libtool 9093*** libraries will work regardless of this problem. Nevertheless, you 9094*** may want to report the problem to your system manager and/or to 9095*** bug-libtool@gnu.org 9096 9097_LT_EOF 9098 fi ;; 9099 esac 9100 fi 9101 break 9102 fi 9103 done 9104 IFS=$lt_save_ifs 9105 MAGIC_CMD=$lt_save_MAGIC_CMD 9106 ;; 9107esac 9108fi 9109 9110MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9111if test -n "$MAGIC_CMD"; then 9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9113$as_echo "$MAGIC_CMD" >&6; } 9114else 9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9116$as_echo "no" >&6; } 9117fi 9118 9119 9120 else 9121 MAGIC_CMD=: 9122 fi 9123fi 9124 9125 fi 9126 ;; 9127esac 9128 9129# Use C for the default configuration in the libtool script 9130 9131lt_save_CC=$CC 9132ac_ext=c 9133ac_cpp='$CPP $CPPFLAGS' 9134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9136ac_compiler_gnu=$ac_cv_c_compiler_gnu 9137 9138 9139# Source file extension for C test sources. 9140ac_ext=c 9141 9142# Object file extension for compiled C test sources. 9143objext=o 9144objext=$objext 9145 9146# Code to be used in simple compile tests 9147lt_simple_compile_test_code="int some_variable = 0;" 9148 9149# Code to be used in simple link tests 9150lt_simple_link_test_code='int main(){return(0);}' 9151 9152 9153 9154 9155 9156 9157 9158# If no C compiler was specified, use CC. 9159LTCC=${LTCC-"$CC"} 9160 9161# If no C compiler flags were specified, use CFLAGS. 9162LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9163 9164# Allow CC to be a program name with arguments. 9165compiler=$CC 9166 9167# Save the default compiler, since it gets overwritten when the other 9168# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9169compiler_DEFAULT=$CC 9170 9171# save warnings/boilerplate of simple test code 9172ac_outfile=conftest.$ac_objext 9173echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9174eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9175_lt_compiler_boilerplate=`cat conftest.err` 9176$RM conftest* 9177 9178ac_outfile=conftest.$ac_objext 9179echo "$lt_simple_link_test_code" >conftest.$ac_ext 9180eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9181_lt_linker_boilerplate=`cat conftest.err` 9182$RM -r conftest* 9183 9184 9185## CAVEAT EMPTOR: 9186## There is no encapsulation within the following macros, do not change 9187## the running order or otherwise move them around unless you know exactly 9188## what you are doing... 9189if test -n "$compiler"; then 9190 9191lt_prog_compiler_no_builtin_flag= 9192 9193if test yes = "$GCC"; then 9194 case $cc_basename in 9195 nvcc*) 9196 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9197 *) 9198 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9199 esac 9200 9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9202$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9203if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9204 $as_echo_n "(cached) " >&6 9205else 9206 lt_cv_prog_compiler_rtti_exceptions=no 9207 ac_outfile=conftest.$ac_objext 9208 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9209 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9210 # Insert the option either (1) after the last *FLAGS variable, or 9211 # (2) before a word containing "conftest.", or (3) at the end. 9212 # Note that $ac_compile itself does not contain backslashes and begins 9213 # with a dollar sign (not a hyphen), so the echo should work correctly. 9214 # The option is referenced via a variable to avoid confusing sed. 9215 lt_compile=`echo "$ac_compile" | $SED \ 9216 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9217 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9218 -e 's:$: $lt_compiler_flag:'` 9219 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9220 (eval "$lt_compile" 2>conftest.err) 9221 ac_status=$? 9222 cat conftest.err >&5 9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9224 if (exit $ac_status) && test -s "$ac_outfile"; then 9225 # The compiler can only warn and ignore the option if not recognized 9226 # So say no if there are warnings other than the usual output. 9227 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9228 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9229 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9230 lt_cv_prog_compiler_rtti_exceptions=yes 9231 fi 9232 fi 9233 $RM conftest* 9234 9235fi 9236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9237$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9238 9239if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9240 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9241else 9242 : 9243fi 9244 9245fi 9246 9247 9248 9249 9250 9251 9252 lt_prog_compiler_wl= 9253lt_prog_compiler_pic= 9254lt_prog_compiler_static= 9255 9256 9257 if test yes = "$GCC"; then 9258 lt_prog_compiler_wl='-Wl,' 9259 lt_prog_compiler_static='-static' 9260 9261 case $host_os in 9262 aix*) 9263 # All AIX code is PIC. 9264 if test ia64 = "$host_cpu"; then 9265 # AIX 5 now supports IA64 processor 9266 lt_prog_compiler_static='-Bstatic' 9267 fi 9268 lt_prog_compiler_pic='-fPIC' 9269 ;; 9270 9271 amigaos*) 9272 case $host_cpu in 9273 powerpc) 9274 # see comment about AmigaOS4 .so support 9275 lt_prog_compiler_pic='-fPIC' 9276 ;; 9277 m68k) 9278 # FIXME: we need at least 68020 code to build shared libraries, but 9279 # adding the '-m68020' flag to GCC prevents building anything better, 9280 # like '-m68040'. 9281 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9282 ;; 9283 esac 9284 ;; 9285 9286 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9287 # PIC is the default for these OSes. 9288 ;; 9289 9290 mingw* | cygwin* | pw32* | os2* | cegcc*) 9291 # This hack is so that the source file can tell whether it is being 9292 # built for inclusion in a dll (and should export symbols for example). 9293 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9294 # (--disable-auto-import) libraries 9295 lt_prog_compiler_pic='-DDLL_EXPORT' 9296 case $host_os in 9297 os2*) 9298 lt_prog_compiler_static='$wl-static' 9299 ;; 9300 esac 9301 ;; 9302 9303 darwin* | rhapsody*) 9304 # PIC is the default on this platform 9305 # Common symbols not allowed in MH_DYLIB files 9306 lt_prog_compiler_pic='-fno-common' 9307 ;; 9308 9309 haiku*) 9310 # PIC is the default for Haiku. 9311 # The "-static" flag exists, but is broken. 9312 lt_prog_compiler_static= 9313 ;; 9314 9315 hpux*) 9316 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9317 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9318 # sets the default TLS model and affects inlining. 9319 case $host_cpu in 9320 hppa*64*) 9321 # +Z the default 9322 ;; 9323 *) 9324 lt_prog_compiler_pic='-fPIC' 9325 ;; 9326 esac 9327 ;; 9328 9329 interix[3-9]*) 9330 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9331 # Instead, we relocate shared libraries at runtime. 9332 ;; 9333 9334 msdosdjgpp*) 9335 # Just because we use GCC doesn't mean we suddenly get shared libraries 9336 # on systems that don't support them. 9337 lt_prog_compiler_can_build_shared=no 9338 enable_shared=no 9339 ;; 9340 9341 *nto* | *qnx*) 9342 # QNX uses GNU C++, but need to define -shared option too, otherwise 9343 # it will coredump. 9344 lt_prog_compiler_pic='-fPIC -shared' 9345 ;; 9346 9347 sysv4*MP*) 9348 if test -d /usr/nec; then 9349 lt_prog_compiler_pic=-Kconform_pic 9350 fi 9351 ;; 9352 9353 *) 9354 lt_prog_compiler_pic='-fPIC' 9355 ;; 9356 esac 9357 9358 case $cc_basename in 9359 nvcc*) # Cuda Compiler Driver 2.2 9360 lt_prog_compiler_wl='-Xlinker ' 9361 if test -n "$lt_prog_compiler_pic"; then 9362 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9363 fi 9364 ;; 9365 esac 9366 else 9367 # PORTME Check for flag to pass linker flags through the system compiler. 9368 case $host_os in 9369 aix*) 9370 lt_prog_compiler_wl='-Wl,' 9371 if test ia64 = "$host_cpu"; then 9372 # AIX 5 now supports IA64 processor 9373 lt_prog_compiler_static='-Bstatic' 9374 else 9375 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9376 fi 9377 ;; 9378 9379 darwin* | rhapsody*) 9380 # PIC is the default on this platform 9381 # Common symbols not allowed in MH_DYLIB files 9382 lt_prog_compiler_pic='-fno-common' 9383 case $cc_basename in 9384 nagfor*) 9385 # NAG Fortran compiler 9386 lt_prog_compiler_wl='-Wl,-Wl,,' 9387 lt_prog_compiler_pic='-PIC' 9388 lt_prog_compiler_static='-Bstatic' 9389 ;; 9390 esac 9391 ;; 9392 9393 mingw* | cygwin* | pw32* | os2* | cegcc*) 9394 # This hack is so that the source file can tell whether it is being 9395 # built for inclusion in a dll (and should export symbols for example). 9396 lt_prog_compiler_pic='-DDLL_EXPORT' 9397 case $host_os in 9398 os2*) 9399 lt_prog_compiler_static='$wl-static' 9400 ;; 9401 esac 9402 ;; 9403 9404 hpux9* | hpux10* | hpux11*) 9405 lt_prog_compiler_wl='-Wl,' 9406 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9407 # not for PA HP-UX. 9408 case $host_cpu in 9409 hppa*64*|ia64*) 9410 # +Z the default 9411 ;; 9412 *) 9413 lt_prog_compiler_pic='+Z' 9414 ;; 9415 esac 9416 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9417 lt_prog_compiler_static='$wl-a ${wl}archive' 9418 ;; 9419 9420 irix5* | irix6* | nonstopux*) 9421 lt_prog_compiler_wl='-Wl,' 9422 # PIC (with -KPIC) is the default. 9423 lt_prog_compiler_static='-non_shared' 9424 ;; 9425 9426 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9427 case $cc_basename in 9428 # old Intel for x86_64, which still supported -KPIC. 9429 ecc*) 9430 lt_prog_compiler_wl='-Wl,' 9431 lt_prog_compiler_pic='-KPIC' 9432 lt_prog_compiler_static='-static' 9433 ;; 9434 # flang / f18. f95 an alias for gfortran or flang on Debian 9435 flang* | f18* | f95*) 9436 lt_prog_compiler_wl='-Wl,' 9437 lt_prog_compiler_pic='-fPIC' 9438 lt_prog_compiler_static='-static' 9439 ;; 9440 # icc used to be incompatible with GCC. 9441 # ICC 10 doesn't accept -KPIC any more. 9442 icc* | ifort*) 9443 lt_prog_compiler_wl='-Wl,' 9444 lt_prog_compiler_pic='-fPIC' 9445 lt_prog_compiler_static='-static' 9446 ;; 9447 # Lahey Fortran 8.1. 9448 lf95*) 9449 lt_prog_compiler_wl='-Wl,' 9450 lt_prog_compiler_pic='--shared' 9451 lt_prog_compiler_static='--static' 9452 ;; 9453 nagfor*) 9454 # NAG Fortran compiler 9455 lt_prog_compiler_wl='-Wl,-Wl,,' 9456 lt_prog_compiler_pic='-PIC' 9457 lt_prog_compiler_static='-Bstatic' 9458 ;; 9459 tcc*) 9460 # Fabrice Bellard et al's Tiny C Compiler 9461 lt_prog_compiler_wl='-Wl,' 9462 lt_prog_compiler_pic='-fPIC' 9463 lt_prog_compiler_static='-static' 9464 ;; 9465 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9466 # Portland Group compilers (*not* the Pentium gcc compiler, 9467 # which looks to be a dead project) 9468 lt_prog_compiler_wl='-Wl,' 9469 lt_prog_compiler_pic='-fpic' 9470 lt_prog_compiler_static='-Bstatic' 9471 ;; 9472 ccc*) 9473 lt_prog_compiler_wl='-Wl,' 9474 # All Alpha code is PIC. 9475 lt_prog_compiler_static='-non_shared' 9476 ;; 9477 xl* | bgxl* | bgf* | mpixl*) 9478 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9479 lt_prog_compiler_wl='-Wl,' 9480 lt_prog_compiler_pic='-qpic' 9481 lt_prog_compiler_static='-qstaticlink' 9482 ;; 9483 *) 9484 case `$CC -V 2>&1 | sed 5q` in 9485 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9486 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9487 lt_prog_compiler_pic='-KPIC' 9488 lt_prog_compiler_static='-Bstatic' 9489 lt_prog_compiler_wl='' 9490 ;; 9491 *Sun\ F* | *Sun*Fortran*) 9492 lt_prog_compiler_pic='-KPIC' 9493 lt_prog_compiler_static='-Bstatic' 9494 lt_prog_compiler_wl='-Qoption ld ' 9495 ;; 9496 *Sun\ C*) 9497 # Sun C 5.9 9498 lt_prog_compiler_pic='-KPIC' 9499 lt_prog_compiler_static='-Bstatic' 9500 lt_prog_compiler_wl='-Wl,' 9501 ;; 9502 *Intel*\ [CF]*Compiler*) 9503 lt_prog_compiler_wl='-Wl,' 9504 lt_prog_compiler_pic='-fPIC' 9505 lt_prog_compiler_static='-static' 9506 ;; 9507 *Portland\ Group*) 9508 lt_prog_compiler_wl='-Wl,' 9509 lt_prog_compiler_pic='-fpic' 9510 lt_prog_compiler_static='-Bstatic' 9511 ;; 9512 esac 9513 ;; 9514 esac 9515 ;; 9516 9517 newsos6) 9518 lt_prog_compiler_pic='-KPIC' 9519 lt_prog_compiler_static='-Bstatic' 9520 ;; 9521 9522 *nto* | *qnx*) 9523 # QNX uses GNU C++, but need to define -shared option too, otherwise 9524 # it will coredump. 9525 lt_prog_compiler_pic='-fPIC -shared' 9526 ;; 9527 9528 osf3* | osf4* | osf5*) 9529 lt_prog_compiler_wl='-Wl,' 9530 # All OSF/1 code is PIC. 9531 lt_prog_compiler_static='-non_shared' 9532 ;; 9533 9534 rdos*) 9535 lt_prog_compiler_static='-non_shared' 9536 ;; 9537 9538 solaris*) 9539 lt_prog_compiler_pic='-KPIC' 9540 lt_prog_compiler_static='-Bstatic' 9541 case $cc_basename in 9542 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9543 lt_prog_compiler_wl='-Qoption ld ';; 9544 *) 9545 lt_prog_compiler_wl='-Wl,';; 9546 esac 9547 ;; 9548 9549 sunos4*) 9550 lt_prog_compiler_wl='-Qoption ld ' 9551 lt_prog_compiler_pic='-PIC' 9552 lt_prog_compiler_static='-Bstatic' 9553 ;; 9554 9555 sysv4 | sysv4.2uw2* | sysv4.3*) 9556 lt_prog_compiler_wl='-Wl,' 9557 lt_prog_compiler_pic='-KPIC' 9558 lt_prog_compiler_static='-Bstatic' 9559 ;; 9560 9561 sysv4*MP*) 9562 if test -d /usr/nec; then 9563 lt_prog_compiler_pic='-Kconform_pic' 9564 lt_prog_compiler_static='-Bstatic' 9565 fi 9566 ;; 9567 9568 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9569 lt_prog_compiler_wl='-Wl,' 9570 lt_prog_compiler_pic='-KPIC' 9571 lt_prog_compiler_static='-Bstatic' 9572 ;; 9573 9574 unicos*) 9575 lt_prog_compiler_wl='-Wl,' 9576 lt_prog_compiler_can_build_shared=no 9577 ;; 9578 9579 uts4*) 9580 lt_prog_compiler_pic='-pic' 9581 lt_prog_compiler_static='-Bstatic' 9582 ;; 9583 9584 *) 9585 lt_prog_compiler_can_build_shared=no 9586 ;; 9587 esac 9588 fi 9589 9590case $host_os in 9591 # For platforms that do not support PIC, -DPIC is meaningless: 9592 *djgpp*) 9593 lt_prog_compiler_pic= 9594 ;; 9595 *) 9596 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9597 ;; 9598esac 9599 9600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9601$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9602if ${lt_cv_prog_compiler_pic+:} false; then : 9603 $as_echo_n "(cached) " >&6 9604else 9605 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9606fi 9607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9608$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9609lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9610 9611# 9612# Check to make sure the PIC flag actually works. 9613# 9614if test -n "$lt_prog_compiler_pic"; then 9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9616$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9617if ${lt_cv_prog_compiler_pic_works+:} false; then : 9618 $as_echo_n "(cached) " >&6 9619else 9620 lt_cv_prog_compiler_pic_works=no 9621 ac_outfile=conftest.$ac_objext 9622 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9623 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9624 # Insert the option either (1) after the last *FLAGS variable, or 9625 # (2) before a word containing "conftest.", or (3) at the end. 9626 # Note that $ac_compile itself does not contain backslashes and begins 9627 # with a dollar sign (not a hyphen), so the echo should work correctly. 9628 # The option is referenced via a variable to avoid confusing sed. 9629 lt_compile=`echo "$ac_compile" | $SED \ 9630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9632 -e 's:$: $lt_compiler_flag:'` 9633 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9634 (eval "$lt_compile" 2>conftest.err) 9635 ac_status=$? 9636 cat conftest.err >&5 9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9638 if (exit $ac_status) && test -s "$ac_outfile"; then 9639 # The compiler can only warn and ignore the option if not recognized 9640 # So say no if there are warnings other than the usual output. 9641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9642 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9643 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9644 lt_cv_prog_compiler_pic_works=yes 9645 fi 9646 fi 9647 $RM conftest* 9648 9649fi 9650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9651$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9652 9653if test yes = "$lt_cv_prog_compiler_pic_works"; then 9654 case $lt_prog_compiler_pic in 9655 "" | " "*) ;; 9656 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9657 esac 9658else 9659 lt_prog_compiler_pic= 9660 lt_prog_compiler_can_build_shared=no 9661fi 9662 9663fi 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675# 9676# Check to make sure the static flag actually works. 9677# 9678wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9680$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9681if ${lt_cv_prog_compiler_static_works+:} false; then : 9682 $as_echo_n "(cached) " >&6 9683else 9684 lt_cv_prog_compiler_static_works=no 9685 save_LDFLAGS=$LDFLAGS 9686 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9687 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9688 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9689 # The linker can only warn and ignore the option if not recognized 9690 # So say no if there are warnings 9691 if test -s conftest.err; then 9692 # Append any errors to the config.log. 9693 cat conftest.err 1>&5 9694 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9695 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9696 if diff conftest.exp conftest.er2 >/dev/null; then 9697 lt_cv_prog_compiler_static_works=yes 9698 fi 9699 else 9700 lt_cv_prog_compiler_static_works=yes 9701 fi 9702 fi 9703 $RM -r conftest* 9704 LDFLAGS=$save_LDFLAGS 9705 9706fi 9707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9708$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9709 9710if test yes = "$lt_cv_prog_compiler_static_works"; then 9711 : 9712else 9713 lt_prog_compiler_static= 9714fi 9715 9716 9717 9718 9719 9720 9721 9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9723$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9724if ${lt_cv_prog_compiler_c_o+:} false; then : 9725 $as_echo_n "(cached) " >&6 9726else 9727 lt_cv_prog_compiler_c_o=no 9728 $RM -r conftest 2>/dev/null 9729 mkdir conftest 9730 cd conftest 9731 mkdir out 9732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9733 9734 lt_compiler_flag="-o out/conftest2.$ac_objext" 9735 # Insert the option either (1) after the last *FLAGS variable, or 9736 # (2) before a word containing "conftest.", or (3) at the end. 9737 # Note that $ac_compile itself does not contain backslashes and begins 9738 # with a dollar sign (not a hyphen), so the echo should work correctly. 9739 lt_compile=`echo "$ac_compile" | $SED \ 9740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9742 -e 's:$: $lt_compiler_flag:'` 9743 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9744 (eval "$lt_compile" 2>out/conftest.err) 9745 ac_status=$? 9746 cat out/conftest.err >&5 9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9748 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9749 then 9750 # The compiler can only warn and ignore the option if not recognized 9751 # So say no if there are warnings 9752 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9753 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9754 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9755 lt_cv_prog_compiler_c_o=yes 9756 fi 9757 fi 9758 chmod u+w . 2>&5 9759 $RM conftest* 9760 # SGI C++ compiler will create directory out/ii_files/ for 9761 # template instantiation 9762 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9763 $RM out/* && rmdir out 9764 cd .. 9765 $RM -r conftest 9766 $RM conftest* 9767 9768fi 9769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9770$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9771 9772 9773 9774 9775 9776 9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9778$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9779if ${lt_cv_prog_compiler_c_o+:} false; then : 9780 $as_echo_n "(cached) " >&6 9781else 9782 lt_cv_prog_compiler_c_o=no 9783 $RM -r conftest 2>/dev/null 9784 mkdir conftest 9785 cd conftest 9786 mkdir out 9787 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9788 9789 lt_compiler_flag="-o out/conftest2.$ac_objext" 9790 # Insert the option either (1) after the last *FLAGS variable, or 9791 # (2) before a word containing "conftest.", or (3) at the end. 9792 # Note that $ac_compile itself does not contain backslashes and begins 9793 # with a dollar sign (not a hyphen), so the echo should work correctly. 9794 lt_compile=`echo "$ac_compile" | $SED \ 9795 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9796 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9797 -e 's:$: $lt_compiler_flag:'` 9798 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9799 (eval "$lt_compile" 2>out/conftest.err) 9800 ac_status=$? 9801 cat out/conftest.err >&5 9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9803 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9804 then 9805 # The compiler can only warn and ignore the option if not recognized 9806 # So say no if there are warnings 9807 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9808 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9809 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9810 lt_cv_prog_compiler_c_o=yes 9811 fi 9812 fi 9813 chmod u+w . 2>&5 9814 $RM conftest* 9815 # SGI C++ compiler will create directory out/ii_files/ for 9816 # template instantiation 9817 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9818 $RM out/* && rmdir out 9819 cd .. 9820 $RM -r conftest 9821 $RM conftest* 9822 9823fi 9824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9825$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9826 9827 9828 9829 9830hard_links=nottested 9831if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9832 # do not overwrite the value of need_locks provided by the user 9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9834$as_echo_n "checking if we can lock with hard links... " >&6; } 9835 hard_links=yes 9836 $RM conftest* 9837 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9838 touch conftest.a 9839 ln conftest.a conftest.b 2>&5 || hard_links=no 9840 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9842$as_echo "$hard_links" >&6; } 9843 if test no = "$hard_links"; then 9844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9845$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9846 need_locks=warn 9847 fi 9848else 9849 need_locks=no 9850fi 9851 9852 9853 9854 9855 9856 9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9858$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9859 9860 runpath_var= 9861 allow_undefined_flag= 9862 always_export_symbols=no 9863 archive_cmds= 9864 archive_expsym_cmds= 9865 compiler_needs_object=no 9866 enable_shared_with_static_runtimes=no 9867 export_dynamic_flag_spec= 9868 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9869 hardcode_automatic=no 9870 hardcode_direct=no 9871 hardcode_direct_absolute=no 9872 hardcode_libdir_flag_spec= 9873 hardcode_libdir_separator= 9874 hardcode_minus_L=no 9875 hardcode_shlibpath_var=unsupported 9876 inherit_rpath=no 9877 link_all_deplibs=unknown 9878 module_cmds= 9879 module_expsym_cmds= 9880 old_archive_from_new_cmds= 9881 old_archive_from_expsyms_cmds= 9882 thread_safe_flag_spec= 9883 whole_archive_flag_spec= 9884 # include_expsyms should be a list of space-separated symbols to be *always* 9885 # included in the symbol list 9886 include_expsyms= 9887 # exclude_expsyms can be an extended regexp of symbols to exclude 9888 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9889 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9890 # as well as any symbol that contains 'd'. 9891 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9892 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9893 # platforms (ab)use it in PIC code, but their linkers get confused if 9894 # the symbol is explicitly referenced. Since portable code cannot 9895 # rely on this symbol name, it's probably fine to never include it in 9896 # preloaded symbol tables. 9897 # Exclude shared library initialization/finalization symbols. 9898 extract_expsyms_cmds= 9899 9900 case $host_os in 9901 cygwin* | mingw* | pw32* | cegcc*) 9902 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9903 # When not using gcc, we currently assume that we are using 9904 # Microsoft Visual C++. 9905 if test yes != "$GCC"; then 9906 with_gnu_ld=no 9907 fi 9908 ;; 9909 interix*) 9910 # we just hope/assume this is gcc and not c89 (= MSVC++) 9911 with_gnu_ld=yes 9912 ;; 9913 openbsd* | bitrig*) 9914 with_gnu_ld=no 9915 ;; 9916 linux* | k*bsd*-gnu | gnu*) 9917 link_all_deplibs=no 9918 ;; 9919 esac 9920 9921 ld_shlibs=yes 9922 9923 # On some targets, GNU ld is compatible enough with the native linker 9924 # that we're better off using the native interface for both. 9925 lt_use_gnu_ld_interface=no 9926 if test yes = "$with_gnu_ld"; then 9927 case $host_os in 9928 aix*) 9929 # The AIX port of GNU ld has always aspired to compatibility 9930 # with the native linker. However, as the warning in the GNU ld 9931 # block says, versions before 2.19.5* couldn't really create working 9932 # shared libraries, regardless of the interface used. 9933 case `$LD -v 2>&1` in 9934 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9935 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9936 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9937 *) 9938 lt_use_gnu_ld_interface=yes 9939 ;; 9940 esac 9941 ;; 9942 *) 9943 lt_use_gnu_ld_interface=yes 9944 ;; 9945 esac 9946 fi 9947 9948 if test yes = "$lt_use_gnu_ld_interface"; then 9949 # If archive_cmds runs LD, not CC, wlarc should be empty 9950 wlarc='$wl' 9951 9952 # Set some defaults for GNU ld with shared library support. These 9953 # are reset later if shared libraries are not supported. Putting them 9954 # here allows them to be overridden if necessary. 9955 runpath_var=LD_RUN_PATH 9956 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9957 export_dynamic_flag_spec='$wl--export-dynamic' 9958 # ancient GNU ld didn't support --whole-archive et. al. 9959 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9960 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9961 else 9962 whole_archive_flag_spec= 9963 fi 9964 supports_anon_versioning=no 9965 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9966 *GNU\ gold*) supports_anon_versioning=yes ;; 9967 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9968 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9969 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9970 *\ 2.11.*) ;; # other 2.11 versions 9971 *) supports_anon_versioning=yes ;; 9972 esac 9973 9974 # See if GNU ld supports shared libraries. 9975 case $host_os in 9976 aix[3-9]*) 9977 # On AIX/PPC, the GNU linker is very broken 9978 if test ia64 != "$host_cpu"; then 9979 ld_shlibs=no 9980 cat <<_LT_EOF 1>&2 9981 9982*** Warning: the GNU linker, at least up to release 2.19, is reported 9983*** to be unable to reliably create shared libraries on AIX. 9984*** Therefore, libtool is disabling shared libraries support. If you 9985*** really care for shared libraries, you may want to install binutils 9986*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9987*** You will then need to restart the configuration process. 9988 9989_LT_EOF 9990 fi 9991 ;; 9992 9993 amigaos*) 9994 case $host_cpu in 9995 powerpc) 9996 # see comment about AmigaOS4 .so support 9997 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9998 archive_expsym_cmds='' 9999 ;; 10000 m68k) 10001 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)' 10002 hardcode_libdir_flag_spec='-L$libdir' 10003 hardcode_minus_L=yes 10004 ;; 10005 esac 10006 ;; 10007 10008 beos*) 10009 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10010 allow_undefined_flag=unsupported 10011 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10012 # support --undefined. This deserves some investigation. FIXME 10013 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10014 else 10015 ld_shlibs=no 10016 fi 10017 ;; 10018 10019 cygwin* | mingw* | pw32* | cegcc*) 10020 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10021 # as there is no search path for DLLs. 10022 hardcode_libdir_flag_spec='-L$libdir' 10023 export_dynamic_flag_spec='$wl--export-all-symbols' 10024 allow_undefined_flag=unsupported 10025 always_export_symbols=no 10026 enable_shared_with_static_runtimes=yes 10027 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' 10028 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10029 10030 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10031 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10032 # If the export-symbols file already is a .def file, use it as 10033 # is; otherwise, prepend EXPORTS... 10034 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10035 cp $export_symbols $output_objdir/$soname.def; 10036 else 10037 echo EXPORTS > $output_objdir/$soname.def; 10038 cat $export_symbols >> $output_objdir/$soname.def; 10039 fi~ 10040 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10041 else 10042 ld_shlibs=no 10043 fi 10044 ;; 10045 10046 haiku*) 10047 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10048 link_all_deplibs=yes 10049 ;; 10050 10051 os2*) 10052 hardcode_libdir_flag_spec='-L$libdir' 10053 hardcode_minus_L=yes 10054 allow_undefined_flag=unsupported 10055 shrext_cmds=.dll 10056 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10057 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10058 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10059 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10060 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10061 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10062 emximp -o $lib $output_objdir/$libname.def' 10063 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10064 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10065 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10066 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10067 prefix_cmds="$SED"~ 10068 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10069 prefix_cmds="$prefix_cmds -e 1d"; 10070 fi~ 10071 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10072 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10073 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10074 emximp -o $lib $output_objdir/$libname.def' 10075 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10076 enable_shared_with_static_runtimes=yes 10077 ;; 10078 10079 interix[3-9]*) 10080 hardcode_direct=no 10081 hardcode_shlibpath_var=no 10082 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10083 export_dynamic_flag_spec='$wl-E' 10084 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10085 # Instead, shared libraries are loaded at an image base (0x10000000 by 10086 # default) and relocated if they conflict, which is a slow very memory 10087 # consuming and fragmenting process. To avoid this, we pick a random, 10088 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10089 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10090 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10091 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' 10092 ;; 10093 10094 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10095 tmp_diet=no 10096 if test linux-dietlibc = "$host_os"; then 10097 case $cc_basename in 10098 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10099 esac 10100 fi 10101 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10102 && test no = "$tmp_diet" 10103 then 10104 tmp_addflag=' $pic_flag' 10105 tmp_sharedflag='-shared' 10106 case $cc_basename,$host_cpu in 10107 pgcc*) # Portland Group C compiler 10108 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' 10109 tmp_addflag=' $pic_flag' 10110 ;; 10111 pgf77* | pgf90* | pgf95* | pgfortran*) 10112 # Portland Group f77 and f90 compilers 10113 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' 10114 tmp_addflag=' $pic_flag -Mnomain' ;; 10115 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10116 tmp_addflag=' -i_dynamic' ;; 10117 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10118 tmp_addflag=' -i_dynamic -nofor_main' ;; 10119 ifc* | ifort*) # Intel Fortran compiler 10120 tmp_addflag=' -nofor_main' ;; 10121 lf95*) # Lahey Fortran 8.1 10122 whole_archive_flag_spec= 10123 tmp_sharedflag='--shared' ;; 10124 nagfor*) # NAGFOR 5.3 10125 tmp_sharedflag='-Wl,-shared' ;; 10126 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10127 tmp_sharedflag='-qmkshrobj' 10128 tmp_addflag= ;; 10129 nvcc*) # Cuda Compiler Driver 2.2 10130 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' 10131 compiler_needs_object=yes 10132 ;; 10133 esac 10134 case `$CC -V 2>&1 | sed 5q` in 10135 *Sun\ C*) # Sun C 5.9 10136 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' 10137 compiler_needs_object=yes 10138 tmp_sharedflag='-G' ;; 10139 *Sun\ F*) # Sun Fortran 8.3 10140 tmp_sharedflag='-G' ;; 10141 esac 10142 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10143 10144 if test yes = "$supports_anon_versioning"; then 10145 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10146 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10147 echo "local: *; };" >> $output_objdir/$libname.ver~ 10148 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10149 fi 10150 10151 case $cc_basename in 10152 tcc*) 10153 export_dynamic_flag_spec='-rdynamic' 10154 ;; 10155 xlf* | bgf* | bgxlf* | mpixlf*) 10156 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10157 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10158 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10159 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10160 if test yes = "$supports_anon_versioning"; then 10161 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10162 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10163 echo "local: *; };" >> $output_objdir/$libname.ver~ 10164 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10165 fi 10166 ;; 10167 esac 10168 else 10169 ld_shlibs=no 10170 fi 10171 ;; 10172 10173 netbsd* | netbsdelf*-gnu) 10174 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10175 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10176 wlarc= 10177 else 10178 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10179 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10180 fi 10181 ;; 10182 10183 solaris*) 10184 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10185 ld_shlibs=no 10186 cat <<_LT_EOF 1>&2 10187 10188*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10189*** create shared libraries on Solaris systems. Therefore, libtool 10190*** is disabling shared libraries support. We urge you to upgrade GNU 10191*** binutils to release 2.9.1 or newer. Another option is to modify 10192*** your PATH or compiler configuration so that the native linker is 10193*** used, and then restart. 10194 10195_LT_EOF 10196 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10197 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10198 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10199 else 10200 ld_shlibs=no 10201 fi 10202 ;; 10203 10204 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10205 case `$LD -v 2>&1` in 10206 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10207 ld_shlibs=no 10208 cat <<_LT_EOF 1>&2 10209 10210*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10211*** reliably create shared libraries on SCO systems. Therefore, libtool 10212*** is disabling shared libraries support. We urge you to upgrade GNU 10213*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10214*** your PATH or compiler configuration so that the native linker is 10215*** used, and then restart. 10216 10217_LT_EOF 10218 ;; 10219 *) 10220 # For security reasons, it is highly recommended that you always 10221 # use absolute paths for naming shared libraries, and exclude the 10222 # DT_RUNPATH tag from executables and libraries. But doing so 10223 # requires that you compile everything twice, which is a pain. 10224 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10225 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10226 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10227 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10228 else 10229 ld_shlibs=no 10230 fi 10231 ;; 10232 esac 10233 ;; 10234 10235 sunos4*) 10236 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10237 wlarc= 10238 hardcode_direct=yes 10239 hardcode_shlibpath_var=no 10240 ;; 10241 10242 *) 10243 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10244 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10245 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10246 else 10247 ld_shlibs=no 10248 fi 10249 ;; 10250 esac 10251 10252 if test no = "$ld_shlibs"; then 10253 runpath_var= 10254 hardcode_libdir_flag_spec= 10255 export_dynamic_flag_spec= 10256 whole_archive_flag_spec= 10257 fi 10258 else 10259 # PORTME fill in a description of your system's linker (not GNU ld) 10260 case $host_os in 10261 aix3*) 10262 allow_undefined_flag=unsupported 10263 always_export_symbols=yes 10264 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' 10265 # Note: this linker hardcodes the directories in LIBPATH if there 10266 # are no directories specified by -L. 10267 hardcode_minus_L=yes 10268 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10269 # Neither direct hardcoding nor static linking is supported with a 10270 # broken collect2. 10271 hardcode_direct=unsupported 10272 fi 10273 ;; 10274 10275 aix[4-9]*) 10276 if test ia64 = "$host_cpu"; then 10277 # On IA64, the linker does run time linking by default, so we don't 10278 # have to do anything special. 10279 aix_use_runtimelinking=no 10280 exp_sym_flag='-Bexport' 10281 no_entry_flag= 10282 else 10283 # If we're using GNU nm, then we don't want the "-C" option. 10284 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10285 # Without the "-l" option, or with the "-B" option, AIX nm treats 10286 # weak defined symbols like other global defined symbols, whereas 10287 # GNU nm marks them as "W". 10288 # While the 'weak' keyword is ignored in the Export File, we need 10289 # it in the Import File for the 'aix-soname' feature, so we have 10290 # to replace the "-B" option with "-P" for AIX nm. 10291 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10292 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 10293 else 10294 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 10295 fi 10296 aix_use_runtimelinking=no 10297 10298 # Test if we are trying to use run time linking or normal 10299 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10300 # have runtime linking enabled, and use it for executables. 10301 # For shared libraries, we enable/disable runtime linking 10302 # depending on the kind of the shared library created - 10303 # when "with_aix_soname,aix_use_runtimelinking" is: 10304 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10305 # "aix,yes" lib.so shared, rtl:yes, for executables 10306 # lib.a static archive 10307 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10308 # lib.a(lib.so.V) shared, rtl:no, for executables 10309 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10310 # lib.a(lib.so.V) shared, rtl:no 10311 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10312 # lib.a static archive 10313 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10314 for ld_flag in $LDFLAGS; do 10315 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10316 aix_use_runtimelinking=yes 10317 break 10318 fi 10319 done 10320 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10321 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10322 # so we don't have lib.a shared libs to link our executables. 10323 # We have to force runtime linking in this case. 10324 aix_use_runtimelinking=yes 10325 LDFLAGS="$LDFLAGS -Wl,-brtl" 10326 fi 10327 ;; 10328 esac 10329 10330 exp_sym_flag='-bexport' 10331 no_entry_flag='-bnoentry' 10332 fi 10333 10334 # When large executables or shared objects are built, AIX ld can 10335 # have problems creating the table of contents. If linking a library 10336 # or program results in "error TOC overflow" add -mminimal-toc to 10337 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10338 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10339 10340 archive_cmds='' 10341 hardcode_direct=yes 10342 hardcode_direct_absolute=yes 10343 hardcode_libdir_separator=':' 10344 link_all_deplibs=yes 10345 file_list_spec='$wl-f,' 10346 case $with_aix_soname,$aix_use_runtimelinking in 10347 aix,*) ;; # traditional, no import file 10348 svr4,* | *,yes) # use import file 10349 # The Import File defines what to hardcode. 10350 hardcode_direct=no 10351 hardcode_direct_absolute=no 10352 ;; 10353 esac 10354 10355 if test yes = "$GCC"; then 10356 case $host_os in aix4.[012]|aix4.[012].*) 10357 # We only want to do this on AIX 4.2 and lower, the check 10358 # below for broken collect2 doesn't work under 4.3+ 10359 collect2name=`$CC -print-prog-name=collect2` 10360 if test -f "$collect2name" && 10361 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10362 then 10363 # We have reworked collect2 10364 : 10365 else 10366 # We have old collect2 10367 hardcode_direct=unsupported 10368 # It fails to find uninstalled libraries when the uninstalled 10369 # path is not listed in the libpath. Setting hardcode_minus_L 10370 # to unsupported forces relinking 10371 hardcode_minus_L=yes 10372 hardcode_libdir_flag_spec='-L$libdir' 10373 hardcode_libdir_separator= 10374 fi 10375 ;; 10376 esac 10377 shared_flag='-shared' 10378 if test yes = "$aix_use_runtimelinking"; then 10379 shared_flag="$shared_flag "'$wl-G' 10380 fi 10381 # Need to ensure runtime linking is disabled for the traditional 10382 # shared library, or the linker may eventually find shared libraries 10383 # /with/ Import File - we do not want to mix them. 10384 shared_flag_aix='-shared' 10385 shared_flag_svr4='-shared $wl-G' 10386 else 10387 # not using gcc 10388 if test ia64 = "$host_cpu"; then 10389 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10390 # chokes on -Wl,-G. The following line is correct: 10391 shared_flag='-G' 10392 else 10393 if test yes = "$aix_use_runtimelinking"; then 10394 shared_flag='$wl-G' 10395 else 10396 shared_flag='$wl-bM:SRE' 10397 fi 10398 shared_flag_aix='$wl-bM:SRE' 10399 shared_flag_svr4='$wl-G' 10400 fi 10401 fi 10402 10403 export_dynamic_flag_spec='$wl-bexpall' 10404 # It seems that -bexpall does not export symbols beginning with 10405 # underscore (_), so it is better to generate a list of symbols to export. 10406 always_export_symbols=yes 10407 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10408 # Warning - without using the other runtime loading flags (-brtl), 10409 # -berok will link without error, but may produce a broken library. 10410 allow_undefined_flag='-berok' 10411 # Determine the default libpath from the value encoded in an 10412 # empty executable. 10413 if test set = "${lt_cv_aix_libpath+set}"; then 10414 aix_libpath=$lt_cv_aix_libpath 10415else 10416 if ${lt_cv_aix_libpath_+:} false; then : 10417 $as_echo_n "(cached) " >&6 10418else 10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10420/* end confdefs.h. */ 10421 10422int 10423main () 10424{ 10425 10426 ; 10427 return 0; 10428} 10429_ACEOF 10430if ac_fn_c_try_link "$LINENO"; then : 10431 10432 lt_aix_libpath_sed=' 10433 /Import File Strings/,/^$/ { 10434 /^0/ { 10435 s/^0 *\([^ ]*\) *$/\1/ 10436 p 10437 } 10438 }' 10439 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10440 # Check for a 64-bit object if we didn't find anything. 10441 if test -z "$lt_cv_aix_libpath_"; then 10442 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10443 fi 10444fi 10445rm -f core conftest.err conftest.$ac_objext \ 10446 conftest$ac_exeext conftest.$ac_ext 10447 if test -z "$lt_cv_aix_libpath_"; then 10448 lt_cv_aix_libpath_=/usr/lib:/lib 10449 fi 10450 10451fi 10452 10453 aix_libpath=$lt_cv_aix_libpath_ 10454fi 10455 10456 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10457 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 10458 else 10459 if test ia64 = "$host_cpu"; then 10460 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10461 allow_undefined_flag="-z nodefs" 10462 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" 10463 else 10464 # Determine the default libpath from the value encoded in an 10465 # empty executable. 10466 if test set = "${lt_cv_aix_libpath+set}"; then 10467 aix_libpath=$lt_cv_aix_libpath 10468else 10469 if ${lt_cv_aix_libpath_+:} false; then : 10470 $as_echo_n "(cached) " >&6 10471else 10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10473/* end confdefs.h. */ 10474 10475int 10476main () 10477{ 10478 10479 ; 10480 return 0; 10481} 10482_ACEOF 10483if ac_fn_c_try_link "$LINENO"; then : 10484 10485 lt_aix_libpath_sed=' 10486 /Import File Strings/,/^$/ { 10487 /^0/ { 10488 s/^0 *\([^ ]*\) *$/\1/ 10489 p 10490 } 10491 }' 10492 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10493 # Check for a 64-bit object if we didn't find anything. 10494 if test -z "$lt_cv_aix_libpath_"; then 10495 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10496 fi 10497fi 10498rm -f core conftest.err conftest.$ac_objext \ 10499 conftest$ac_exeext conftest.$ac_ext 10500 if test -z "$lt_cv_aix_libpath_"; then 10501 lt_cv_aix_libpath_=/usr/lib:/lib 10502 fi 10503 10504fi 10505 10506 aix_libpath=$lt_cv_aix_libpath_ 10507fi 10508 10509 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10510 # Warning - without using the other run time loading flags, 10511 # -berok will link without error, but may produce a broken library. 10512 no_undefined_flag=' $wl-bernotok' 10513 allow_undefined_flag=' $wl-berok' 10514 if test yes = "$with_gnu_ld"; then 10515 # We only use this code for GNU lds that support --whole-archive. 10516 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10517 else 10518 # Exported symbols can be pulled into shared objects from archives 10519 whole_archive_flag_spec='$convenience' 10520 fi 10521 archive_cmds_need_lc=yes 10522 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10523 # -brtl affects multiple linker settings, -berok does not and is overridden later 10524 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10525 if test svr4 != "$with_aix_soname"; then 10526 # This is similar to how AIX traditionally builds its shared libraries. 10527 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 10528 fi 10529 if test aix != "$with_aix_soname"; then 10530 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 10531 else 10532 # used by -dlpreopen to get the symbols 10533 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10534 fi 10535 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10536 fi 10537 fi 10538 ;; 10539 10540 amigaos*) 10541 case $host_cpu in 10542 powerpc) 10543 # see comment about AmigaOS4 .so support 10544 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10545 archive_expsym_cmds='' 10546 ;; 10547 m68k) 10548 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)' 10549 hardcode_libdir_flag_spec='-L$libdir' 10550 hardcode_minus_L=yes 10551 ;; 10552 esac 10553 ;; 10554 10555 bsdi[45]*) 10556 export_dynamic_flag_spec=-rdynamic 10557 ;; 10558 10559 cygwin* | mingw* | pw32* | cegcc*) 10560 # When not using gcc, we currently assume that we are using 10561 # Microsoft Visual C++. 10562 # hardcode_libdir_flag_spec is actually meaningless, as there is 10563 # no search path for DLLs. 10564 case $cc_basename in 10565 cl*) 10566 # Native MSVC 10567 hardcode_libdir_flag_spec=' ' 10568 allow_undefined_flag=unsupported 10569 always_export_symbols=yes 10570 file_list_spec='@' 10571 # Tell ltmain to make .lib files, not .a files. 10572 libext=lib 10573 # Tell ltmain to make .dll files, not .so files. 10574 shrext_cmds=.dll 10575 # FIXME: Setting linknames here is a bad hack. 10576 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10577 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10578 cp "$export_symbols" "$output_objdir/$soname.def"; 10579 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10580 else 10581 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10582 fi~ 10583 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10584 linknames=' 10585 # The linker will not automatically build a static lib if we build a DLL. 10586 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10587 enable_shared_with_static_runtimes=yes 10588 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10589 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10590 # Don't use ranlib 10591 old_postinstall_cmds='chmod 644 $oldlib' 10592 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10593 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10594 case $lt_outputfile in 10595 *.exe|*.EXE) ;; 10596 *) 10597 lt_outputfile=$lt_outputfile.exe 10598 lt_tool_outputfile=$lt_tool_outputfile.exe 10599 ;; 10600 esac~ 10601 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10602 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10603 $RM "$lt_outputfile.manifest"; 10604 fi' 10605 ;; 10606 *) 10607 # Assume MSVC wrapper 10608 hardcode_libdir_flag_spec=' ' 10609 allow_undefined_flag=unsupported 10610 # Tell ltmain to make .lib files, not .a files. 10611 libext=lib 10612 # Tell ltmain to make .dll files, not .so files. 10613 shrext_cmds=.dll 10614 # FIXME: Setting linknames here is a bad hack. 10615 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10616 # The linker will automatically build a .lib file if we build a DLL. 10617 old_archive_from_new_cmds='true' 10618 # FIXME: Should let the user specify the lib program. 10619 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10620 enable_shared_with_static_runtimes=yes 10621 ;; 10622 esac 10623 ;; 10624 10625 darwin* | rhapsody*) 10626 10627 10628 archive_cmds_need_lc=no 10629 hardcode_direct=no 10630 hardcode_automatic=yes 10631 hardcode_shlibpath_var=unsupported 10632 if test yes = "$lt_cv_ld_force_load"; then 10633 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\"`' 10634 10635 else 10636 whole_archive_flag_spec='' 10637 fi 10638 link_all_deplibs=yes 10639 allow_undefined_flag=$_lt_dar_allow_undefined 10640 case $cc_basename in 10641 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10642 *) _lt_dar_can_shared=$GCC ;; 10643 esac 10644 if test yes = "$_lt_dar_can_shared"; then 10645 output_verbose_link_cmd=func_echo_all 10646 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10647 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10648 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" 10649 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" 10650 10651 else 10652 ld_shlibs=no 10653 fi 10654 10655 ;; 10656 10657 dgux*) 10658 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10659 hardcode_libdir_flag_spec='-L$libdir' 10660 hardcode_shlibpath_var=no 10661 ;; 10662 10663 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10664 # support. Future versions do this automatically, but an explicit c++rt0.o 10665 # does not break anything, and helps significantly (at the cost of a little 10666 # extra space). 10667 freebsd2.2*) 10668 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10669 hardcode_libdir_flag_spec='-R$libdir' 10670 hardcode_direct=yes 10671 hardcode_shlibpath_var=no 10672 ;; 10673 10674 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10675 freebsd2.*) 10676 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10677 hardcode_direct=yes 10678 hardcode_minus_L=yes 10679 hardcode_shlibpath_var=no 10680 ;; 10681 10682 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10683 freebsd* | dragonfly*) 10684 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10685 hardcode_libdir_flag_spec='-R$libdir' 10686 hardcode_direct=yes 10687 hardcode_shlibpath_var=no 10688 ;; 10689 10690 hpux9*) 10691 if test yes = "$GCC"; then 10692 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10693 else 10694 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10695 fi 10696 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10697 hardcode_libdir_separator=: 10698 hardcode_direct=yes 10699 10700 # hardcode_minus_L: Not really in the search PATH, 10701 # but as the default location of the library. 10702 hardcode_minus_L=yes 10703 export_dynamic_flag_spec='$wl-E' 10704 ;; 10705 10706 hpux10*) 10707 if test yes,no = "$GCC,$with_gnu_ld"; then 10708 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10709 else 10710 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10711 fi 10712 if test no = "$with_gnu_ld"; then 10713 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10714 hardcode_libdir_separator=: 10715 hardcode_direct=yes 10716 hardcode_direct_absolute=yes 10717 export_dynamic_flag_spec='$wl-E' 10718 # hardcode_minus_L: Not really in the search PATH, 10719 # but as the default location of the library. 10720 hardcode_minus_L=yes 10721 fi 10722 ;; 10723 10724 hpux11*) 10725 if test yes,no = "$GCC,$with_gnu_ld"; then 10726 case $host_cpu in 10727 hppa*64*) 10728 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10729 ;; 10730 ia64*) 10731 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10732 ;; 10733 *) 10734 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10735 ;; 10736 esac 10737 else 10738 case $host_cpu in 10739 hppa*64*) 10740 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10741 ;; 10742 ia64*) 10743 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10744 ;; 10745 *) 10746 10747 # Older versions of the 11.00 compiler do not understand -b yet 10748 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10750$as_echo_n "checking if $CC understands -b... " >&6; } 10751if ${lt_cv_prog_compiler__b+:} false; then : 10752 $as_echo_n "(cached) " >&6 10753else 10754 lt_cv_prog_compiler__b=no 10755 save_LDFLAGS=$LDFLAGS 10756 LDFLAGS="$LDFLAGS -b" 10757 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10758 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10759 # The linker can only warn and ignore the option if not recognized 10760 # So say no if there are warnings 10761 if test -s conftest.err; then 10762 # Append any errors to the config.log. 10763 cat conftest.err 1>&5 10764 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10765 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10766 if diff conftest.exp conftest.er2 >/dev/null; then 10767 lt_cv_prog_compiler__b=yes 10768 fi 10769 else 10770 lt_cv_prog_compiler__b=yes 10771 fi 10772 fi 10773 $RM -r conftest* 10774 LDFLAGS=$save_LDFLAGS 10775 10776fi 10777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10778$as_echo "$lt_cv_prog_compiler__b" >&6; } 10779 10780if test yes = "$lt_cv_prog_compiler__b"; then 10781 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10782else 10783 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10784fi 10785 10786 ;; 10787 esac 10788 fi 10789 if test no = "$with_gnu_ld"; then 10790 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10791 hardcode_libdir_separator=: 10792 10793 case $host_cpu in 10794 hppa*64*|ia64*) 10795 hardcode_direct=no 10796 hardcode_shlibpath_var=no 10797 ;; 10798 *) 10799 hardcode_direct=yes 10800 hardcode_direct_absolute=yes 10801 export_dynamic_flag_spec='$wl-E' 10802 10803 # hardcode_minus_L: Not really in the search PATH, 10804 # but as the default location of the library. 10805 hardcode_minus_L=yes 10806 ;; 10807 esac 10808 fi 10809 ;; 10810 10811 irix5* | irix6* | nonstopux*) 10812 if test yes = "$GCC"; then 10813 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' 10814 # Try to use the -exported_symbol ld option, if it does not 10815 # work, assume that -exports_file does not work either and 10816 # implicitly export all symbols. 10817 # This should be the same for all languages, so no per-tag cache variable. 10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10819$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10820if ${lt_cv_irix_exported_symbol+:} false; then : 10821 $as_echo_n "(cached) " >&6 10822else 10823 save_LDFLAGS=$LDFLAGS 10824 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10826/* end confdefs.h. */ 10827int foo (void) { return 0; } 10828_ACEOF 10829if ac_fn_c_try_link "$LINENO"; then : 10830 lt_cv_irix_exported_symbol=yes 10831else 10832 lt_cv_irix_exported_symbol=no 10833fi 10834rm -f core conftest.err conftest.$ac_objext \ 10835 conftest$ac_exeext conftest.$ac_ext 10836 LDFLAGS=$save_LDFLAGS 10837fi 10838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10839$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10840 if test yes = "$lt_cv_irix_exported_symbol"; then 10841 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' 10842 fi 10843 link_all_deplibs=no 10844 else 10845 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' 10846 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' 10847 fi 10848 archive_cmds_need_lc='no' 10849 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10850 hardcode_libdir_separator=: 10851 inherit_rpath=yes 10852 link_all_deplibs=yes 10853 ;; 10854 10855 linux*) 10856 case $cc_basename in 10857 tcc*) 10858 # Fabrice Bellard et al's Tiny C Compiler 10859 ld_shlibs=yes 10860 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10861 ;; 10862 esac 10863 ;; 10864 10865 netbsd* | netbsdelf*-gnu) 10866 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10867 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10868 else 10869 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10870 fi 10871 hardcode_libdir_flag_spec='-R$libdir' 10872 hardcode_direct=yes 10873 hardcode_shlibpath_var=no 10874 ;; 10875 10876 newsos6) 10877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10878 hardcode_direct=yes 10879 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10880 hardcode_libdir_separator=: 10881 hardcode_shlibpath_var=no 10882 ;; 10883 10884 *nto* | *qnx*) 10885 ;; 10886 10887 openbsd* | bitrig*) 10888 if test -f /usr/libexec/ld.so; then 10889 hardcode_direct=yes 10890 hardcode_shlibpath_var=no 10891 hardcode_direct_absolute=yes 10892 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10893 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10894 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10895 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10896 export_dynamic_flag_spec='$wl-E' 10897 else 10898 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10899 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10900 fi 10901 else 10902 ld_shlibs=no 10903 fi 10904 ;; 10905 10906 os2*) 10907 hardcode_libdir_flag_spec='-L$libdir' 10908 hardcode_minus_L=yes 10909 allow_undefined_flag=unsupported 10910 shrext_cmds=.dll 10911 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10912 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10913 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10914 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10915 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10916 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10917 emximp -o $lib $output_objdir/$libname.def' 10918 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10919 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10920 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10921 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10922 prefix_cmds="$SED"~ 10923 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10924 prefix_cmds="$prefix_cmds -e 1d"; 10925 fi~ 10926 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10927 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10928 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10929 emximp -o $lib $output_objdir/$libname.def' 10930 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10931 enable_shared_with_static_runtimes=yes 10932 ;; 10933 10934 osf3*) 10935 if test yes = "$GCC"; then 10936 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10937 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' 10938 else 10939 allow_undefined_flag=' -expect_unresolved \*' 10940 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' 10941 fi 10942 archive_cmds_need_lc='no' 10943 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10944 hardcode_libdir_separator=: 10945 ;; 10946 10947 osf4* | osf5*) # as osf3* with the addition of -msym flag 10948 if test yes = "$GCC"; then 10949 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10950 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' 10951 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10952 else 10953 allow_undefined_flag=' -expect_unresolved \*' 10954 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' 10955 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~ 10956 $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' 10957 10958 # Both c and cxx compiler support -rpath directly 10959 hardcode_libdir_flag_spec='-rpath $libdir' 10960 fi 10961 archive_cmds_need_lc='no' 10962 hardcode_libdir_separator=: 10963 ;; 10964 10965 solaris*) 10966 no_undefined_flag=' -z defs' 10967 if test yes = "$GCC"; then 10968 wlarc='$wl' 10969 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10970 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10971 $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' 10972 else 10973 case `$CC -V 2>&1` in 10974 *"Compilers 5.0"*) 10975 wlarc='' 10976 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10977 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10978 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10979 ;; 10980 *) 10981 wlarc='$wl' 10982 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10983 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10984 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10985 ;; 10986 esac 10987 fi 10988 hardcode_libdir_flag_spec='-R$libdir' 10989 hardcode_shlibpath_var=no 10990 case $host_os in 10991 solaris2.[0-5] | solaris2.[0-5].*) ;; 10992 *) 10993 # The compiler driver will combine and reorder linker options, 10994 # but understands '-z linker_flag'. GCC discards it without '$wl', 10995 # but is careful enough not to reorder. 10996 # Supported since Solaris 2.6 (maybe 2.5.1?) 10997 if test yes = "$GCC"; then 10998 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10999 else 11000 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11001 fi 11002 ;; 11003 esac 11004 link_all_deplibs=yes 11005 ;; 11006 11007 sunos4*) 11008 if test sequent = "$host_vendor"; then 11009 # Use $CC to link under sequent, because it throws in some extra .o 11010 # files that make .init and .fini sections work. 11011 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11012 else 11013 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11014 fi 11015 hardcode_libdir_flag_spec='-L$libdir' 11016 hardcode_direct=yes 11017 hardcode_minus_L=yes 11018 hardcode_shlibpath_var=no 11019 ;; 11020 11021 sysv4) 11022 case $host_vendor in 11023 sni) 11024 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11025 hardcode_direct=yes # is this really true??? 11026 ;; 11027 siemens) 11028 ## LD is ld it makes a PLAMLIB 11029 ## CC just makes a GrossModule. 11030 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11031 reload_cmds='$CC -r -o $output$reload_objs' 11032 hardcode_direct=no 11033 ;; 11034 motorola) 11035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11036 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11037 ;; 11038 esac 11039 runpath_var='LD_RUN_PATH' 11040 hardcode_shlibpath_var=no 11041 ;; 11042 11043 sysv4.3*) 11044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11045 hardcode_shlibpath_var=no 11046 export_dynamic_flag_spec='-Bexport' 11047 ;; 11048 11049 sysv4*MP*) 11050 if test -d /usr/nec; then 11051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11052 hardcode_shlibpath_var=no 11053 runpath_var=LD_RUN_PATH 11054 hardcode_runpath_var=yes 11055 ld_shlibs=yes 11056 fi 11057 ;; 11058 11059 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11060 no_undefined_flag='$wl-z,text' 11061 archive_cmds_need_lc=no 11062 hardcode_shlibpath_var=no 11063 runpath_var='LD_RUN_PATH' 11064 11065 if test yes = "$GCC"; then 11066 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11067 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11068 else 11069 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11070 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11071 fi 11072 ;; 11073 11074 sysv5* | sco3.2v5* | sco5v6*) 11075 # Note: We CANNOT use -z defs as we might desire, because we do not 11076 # link with -lc, and that would cause any symbols used from libc to 11077 # always be unresolved, which means just about no library would 11078 # ever link correctly. If we're not using GNU ld we use -z text 11079 # though, which does catch some bad symbols but isn't as heavy-handed 11080 # as -z defs. 11081 no_undefined_flag='$wl-z,text' 11082 allow_undefined_flag='$wl-z,nodefs' 11083 archive_cmds_need_lc=no 11084 hardcode_shlibpath_var=no 11085 hardcode_libdir_flag_spec='$wl-R,$libdir' 11086 hardcode_libdir_separator=':' 11087 link_all_deplibs=yes 11088 export_dynamic_flag_spec='$wl-Bexport' 11089 runpath_var='LD_RUN_PATH' 11090 11091 if test yes = "$GCC"; then 11092 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11093 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11094 else 11095 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11096 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11097 fi 11098 ;; 11099 11100 uts4*) 11101 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11102 hardcode_libdir_flag_spec='-L$libdir' 11103 hardcode_shlibpath_var=no 11104 ;; 11105 11106 *) 11107 ld_shlibs=no 11108 ;; 11109 esac 11110 11111 if test sni = "$host_vendor"; then 11112 case $host in 11113 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11114 export_dynamic_flag_spec='$wl-Blargedynsym' 11115 ;; 11116 esac 11117 fi 11118 fi 11119 11120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11121$as_echo "$ld_shlibs" >&6; } 11122test no = "$ld_shlibs" && can_build_shared=no 11123 11124with_gnu_ld=$with_gnu_ld 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140# 11141# Do we need to explicitly link libc? 11142# 11143case "x$archive_cmds_need_lc" in 11144x|xyes) 11145 # Assume -lc should be added 11146 archive_cmds_need_lc=yes 11147 11148 if test yes,yes = "$GCC,$enable_shared"; then 11149 case $archive_cmds in 11150 *'~'*) 11151 # FIXME: we may have to deal with multi-command sequences. 11152 ;; 11153 '$CC '*) 11154 # Test whether the compiler implicitly links with -lc since on some 11155 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11156 # to ld, don't add -lc before -lgcc. 11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11158$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11159if ${lt_cv_archive_cmds_need_lc+:} false; then : 11160 $as_echo_n "(cached) " >&6 11161else 11162 $RM conftest* 11163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11164 11165 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11166 (eval $ac_compile) 2>&5 11167 ac_status=$? 11168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11169 test $ac_status = 0; } 2>conftest.err; then 11170 soname=conftest 11171 lib=conftest 11172 libobjs=conftest.$ac_objext 11173 deplibs= 11174 wl=$lt_prog_compiler_wl 11175 pic_flag=$lt_prog_compiler_pic 11176 compiler_flags=-v 11177 linker_flags=-v 11178 verstring= 11179 output_objdir=. 11180 libname=conftest 11181 lt_save_allow_undefined_flag=$allow_undefined_flag 11182 allow_undefined_flag= 11183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11184 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11185 ac_status=$? 11186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11187 test $ac_status = 0; } 11188 then 11189 lt_cv_archive_cmds_need_lc=no 11190 else 11191 lt_cv_archive_cmds_need_lc=yes 11192 fi 11193 allow_undefined_flag=$lt_save_allow_undefined_flag 11194 else 11195 cat conftest.err 1>&5 11196 fi 11197 $RM conftest* 11198 11199fi 11200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11201$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11202 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11203 ;; 11204 esac 11205 fi 11206 ;; 11207esac 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11361$as_echo_n "checking dynamic linker characteristics... " >&6; } 11362 11363if test yes = "$GCC"; then 11364 case $host_os in 11365 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11366 *) lt_awk_arg='/^libraries:/' ;; 11367 esac 11368 case $host_os in 11369 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11370 *) lt_sed_strip_eq='s|=/|/|g' ;; 11371 esac 11372 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11373 case $lt_search_path_spec in 11374 *\;*) 11375 # if the path contains ";" then we assume it to be the separator 11376 # otherwise default to the standard path separator (i.e. ":") - it is 11377 # assumed that no part of a normal pathname contains ";" but that should 11378 # okay in the real world where ";" in dirpaths is itself problematic. 11379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11380 ;; 11381 *) 11382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11383 ;; 11384 esac 11385 # Ok, now we have the path, separated by spaces, we can step through it 11386 # and add multilib dir if necessary... 11387 lt_tmp_lt_search_path_spec= 11388 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11389 # ...but if some path component already ends with the multilib dir we assume 11390 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11391 case "$lt_multi_os_dir; $lt_search_path_spec " in 11392 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11393 lt_multi_os_dir= 11394 ;; 11395 esac 11396 for lt_sys_path in $lt_search_path_spec; do 11397 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11398 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11399 elif test -n "$lt_multi_os_dir"; then 11400 test -d "$lt_sys_path" && \ 11401 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11402 fi 11403 done 11404 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11405BEGIN {RS = " "; FS = "/|\n";} { 11406 lt_foo = ""; 11407 lt_count = 0; 11408 for (lt_i = NF; lt_i > 0; lt_i--) { 11409 if ($lt_i != "" && $lt_i != ".") { 11410 if ($lt_i == "..") { 11411 lt_count++; 11412 } else { 11413 if (lt_count == 0) { 11414 lt_foo = "/" $lt_i lt_foo; 11415 } else { 11416 lt_count--; 11417 } 11418 } 11419 } 11420 } 11421 if (lt_foo != "") { lt_freq[lt_foo]++; } 11422 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11423}'` 11424 # AWK program above erroneously prepends '/' to C:/dos/paths 11425 # for these hosts. 11426 case $host_os in 11427 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11428 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11429 esac 11430 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11431else 11432 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11433fi 11434library_names_spec= 11435libname_spec='lib$name' 11436soname_spec= 11437shrext_cmds=.so 11438postinstall_cmds= 11439postuninstall_cmds= 11440finish_cmds= 11441finish_eval= 11442shlibpath_var= 11443shlibpath_overrides_runpath=unknown 11444version_type=none 11445dynamic_linker="$host_os ld.so" 11446sys_lib_dlsearch_path_spec="/lib /usr/lib" 11447need_lib_prefix=unknown 11448hardcode_into_libs=no 11449 11450# when you set need_version to no, make sure it does not cause -set_version 11451# flags to be left without arguments 11452need_version=unknown 11453 11454 11455 11456case $host_os in 11457aix3*) 11458 version_type=linux # correct to gnu/linux during the next big refactor 11459 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11460 shlibpath_var=LIBPATH 11461 11462 # AIX 3 has no versioning support, so we append a major version to the name. 11463 soname_spec='$libname$release$shared_ext$major' 11464 ;; 11465 11466aix[4-9]*) 11467 version_type=linux # correct to gnu/linux during the next big refactor 11468 need_lib_prefix=no 11469 need_version=no 11470 hardcode_into_libs=yes 11471 if test ia64 = "$host_cpu"; then 11472 # AIX 5 supports IA64 11473 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11474 shlibpath_var=LD_LIBRARY_PATH 11475 else 11476 # With GCC up to 2.95.x, collect2 would create an import file 11477 # for dependence libraries. The import file would start with 11478 # the line '#! .'. This would cause the generated library to 11479 # depend on '.', always an invalid library. This was fixed in 11480 # development snapshots of GCC prior to 3.0. 11481 case $host_os in 11482 aix4 | aix4.[01] | aix4.[01].*) 11483 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11484 echo ' yes ' 11485 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11486 : 11487 else 11488 can_build_shared=no 11489 fi 11490 ;; 11491 esac 11492 # Using Import Files as archive members, it is possible to support 11493 # filename-based versioning of shared library archives on AIX. While 11494 # this would work for both with and without runtime linking, it will 11495 # prevent static linking of such archives. So we do filename-based 11496 # shared library versioning with .so extension only, which is used 11497 # when both runtime linking and shared linking is enabled. 11498 # Unfortunately, runtime linking may impact performance, so we do 11499 # not want this to be the default eventually. Also, we use the 11500 # versioned .so libs for executables only if there is the -brtl 11501 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11502 # To allow for filename-based versioning support, we need to create 11503 # libNAME.so.V as an archive file, containing: 11504 # *) an Import File, referring to the versioned filename of the 11505 # archive as well as the shared archive member, telling the 11506 # bitwidth (32 or 64) of that shared object, and providing the 11507 # list of exported symbols of that shared object, eventually 11508 # decorated with the 'weak' keyword 11509 # *) the shared object with the F_LOADONLY flag set, to really avoid 11510 # it being seen by the linker. 11511 # At run time we better use the real file rather than another symlink, 11512 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11513 11514 case $with_aix_soname,$aix_use_runtimelinking in 11515 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11516 # soname into executable. Probably we can add versioning support to 11517 # collect2, so additional links can be useful in future. 11518 aix,yes) # traditional libtool 11519 dynamic_linker='AIX unversionable lib.so' 11520 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11521 # instead of lib<name>.a to let people know that these are not 11522 # typical AIX shared libraries. 11523 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11524 ;; 11525 aix,no) # traditional AIX only 11526 dynamic_linker='AIX lib.a(lib.so.V)' 11527 # We preserve .a as extension for shared libraries through AIX4.2 11528 # and later when we are not doing run time linking. 11529 library_names_spec='$libname$release.a $libname.a' 11530 soname_spec='$libname$release$shared_ext$major' 11531 ;; 11532 svr4,*) # full svr4 only 11533 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11534 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11535 # We do not specify a path in Import Files, so LIBPATH fires. 11536 shlibpath_overrides_runpath=yes 11537 ;; 11538 *,yes) # both, prefer svr4 11539 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11540 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11541 # unpreferred sharedlib libNAME.a needs extra handling 11542 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 11543 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 11544 # We do not specify a path in Import Files, so LIBPATH fires. 11545 shlibpath_overrides_runpath=yes 11546 ;; 11547 *,no) # both, prefer aix 11548 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11549 library_names_spec='$libname$release.a $libname.a' 11550 soname_spec='$libname$release$shared_ext$major' 11551 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11552 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 11553 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 11554 ;; 11555 esac 11556 shlibpath_var=LIBPATH 11557 fi 11558 ;; 11559 11560amigaos*) 11561 case $host_cpu in 11562 powerpc) 11563 # Since July 2007 AmigaOS4 officially supports .so libraries. 11564 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11565 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11566 ;; 11567 m68k) 11568 library_names_spec='$libname.ixlibrary $libname.a' 11569 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11570 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 11571 ;; 11572 esac 11573 ;; 11574 11575beos*) 11576 library_names_spec='$libname$shared_ext' 11577 dynamic_linker="$host_os ld.so" 11578 shlibpath_var=LIBRARY_PATH 11579 ;; 11580 11581bsdi[45]*) 11582 version_type=linux # correct to gnu/linux during the next big refactor 11583 need_version=no 11584 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11585 soname_spec='$libname$release$shared_ext$major' 11586 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11587 shlibpath_var=LD_LIBRARY_PATH 11588 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11589 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11590 # the default ld.so.conf also contains /usr/contrib/lib and 11591 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11592 # libtool to hard-code these into programs 11593 ;; 11594 11595cygwin* | mingw* | pw32* | cegcc*) 11596 version_type=windows 11597 shrext_cmds=.dll 11598 need_version=no 11599 need_lib_prefix=no 11600 11601 case $GCC,$cc_basename in 11602 yes,*) 11603 # gcc 11604 library_names_spec='$libname.dll.a' 11605 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11606 postinstall_cmds='base_file=`basename \$file`~ 11607 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11608 dldir=$destdir/`dirname \$dlpath`~ 11609 test -d \$dldir || mkdir -p \$dldir~ 11610 $install_prog $dir/$dlname \$dldir/$dlname~ 11611 chmod a+x \$dldir/$dlname~ 11612 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11613 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11614 fi' 11615 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11616 dlpath=$dir/\$dldll~ 11617 $RM \$dlpath' 11618 shlibpath_overrides_runpath=yes 11619 11620 case $host_os in 11621 cygwin*) 11622 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11623 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11624 11625 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11626 ;; 11627 mingw* | cegcc*) 11628 # MinGW DLLs use traditional 'lib' prefix 11629 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11630 ;; 11631 pw32*) 11632 # pw32 DLLs use 'pw' prefix rather than 'lib' 11633 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11634 ;; 11635 esac 11636 dynamic_linker='Win32 ld.exe' 11637 ;; 11638 11639 *,cl*) 11640 # Native MSVC 11641 libname_spec='$name' 11642 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11643 library_names_spec='$libname.dll.lib' 11644 11645 case $build_os in 11646 mingw*) 11647 sys_lib_search_path_spec= 11648 lt_save_ifs=$IFS 11649 IFS=';' 11650 for lt_path in $LIB 11651 do 11652 IFS=$lt_save_ifs 11653 # Let DOS variable expansion print the short 8.3 style file name. 11654 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11655 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11656 done 11657 IFS=$lt_save_ifs 11658 # Convert to MSYS style. 11659 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11660 ;; 11661 cygwin*) 11662 # Convert to unix form, then to dos form, then back to unix form 11663 # but this time dos style (no spaces!) so that the unix form looks 11664 # like /cygdrive/c/PROGRA~1:/cygdr... 11665 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11666 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11667 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11668 ;; 11669 *) 11670 sys_lib_search_path_spec=$LIB 11671 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11672 # It is most probably a Windows format PATH. 11673 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11674 else 11675 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11676 fi 11677 # FIXME: find the short name or the path components, as spaces are 11678 # common. (e.g. "Program Files" -> "PROGRA~1") 11679 ;; 11680 esac 11681 11682 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11683 postinstall_cmds='base_file=`basename \$file`~ 11684 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11685 dldir=$destdir/`dirname \$dlpath`~ 11686 test -d \$dldir || mkdir -p \$dldir~ 11687 $install_prog $dir/$dlname \$dldir/$dlname' 11688 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11689 dlpath=$dir/\$dldll~ 11690 $RM \$dlpath' 11691 shlibpath_overrides_runpath=yes 11692 dynamic_linker='Win32 link.exe' 11693 ;; 11694 11695 *) 11696 # Assume MSVC wrapper 11697 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11698 dynamic_linker='Win32 ld.exe' 11699 ;; 11700 esac 11701 # FIXME: first we should search . and the directory the executable is in 11702 shlibpath_var=PATH 11703 ;; 11704 11705darwin* | rhapsody*) 11706 dynamic_linker="$host_os dyld" 11707 version_type=darwin 11708 need_lib_prefix=no 11709 need_version=no 11710 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11711 soname_spec='$libname$release$major$shared_ext' 11712 shlibpath_overrides_runpath=yes 11713 shlibpath_var=DYLD_LIBRARY_PATH 11714 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11715 11716 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11717 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11718 ;; 11719 11720dgux*) 11721 version_type=linux # correct to gnu/linux during the next big refactor 11722 need_lib_prefix=no 11723 need_version=no 11724 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11725 soname_spec='$libname$release$shared_ext$major' 11726 shlibpath_var=LD_LIBRARY_PATH 11727 ;; 11728 11729freebsd* | dragonfly*) 11730 # DragonFly does not have aout. When/if they implement a new 11731 # versioning mechanism, adjust this. 11732 if test -x /usr/bin/objformat; then 11733 objformat=`/usr/bin/objformat` 11734 else 11735 case $host_os in 11736 freebsd[23].*) objformat=aout ;; 11737 *) objformat=elf ;; 11738 esac 11739 fi 11740 version_type=freebsd-$objformat 11741 case $version_type in 11742 freebsd-elf*) 11743 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11744 soname_spec='$libname$release$shared_ext$major' 11745 need_version=no 11746 need_lib_prefix=no 11747 ;; 11748 freebsd-*) 11749 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11750 need_version=yes 11751 ;; 11752 esac 11753 shlibpath_var=LD_LIBRARY_PATH 11754 case $host_os in 11755 freebsd2.*) 11756 shlibpath_overrides_runpath=yes 11757 ;; 11758 freebsd3.[01]* | freebsdelf3.[01]*) 11759 shlibpath_overrides_runpath=yes 11760 hardcode_into_libs=yes 11761 ;; 11762 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11763 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11764 shlibpath_overrides_runpath=no 11765 hardcode_into_libs=yes 11766 ;; 11767 *) # from 4.6 on, and DragonFly 11768 shlibpath_overrides_runpath=yes 11769 hardcode_into_libs=yes 11770 ;; 11771 esac 11772 ;; 11773 11774haiku*) 11775 version_type=linux # correct to gnu/linux during the next big refactor 11776 need_lib_prefix=no 11777 need_version=no 11778 dynamic_linker="$host_os runtime_loader" 11779 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11780 soname_spec='$libname$release$shared_ext$major' 11781 shlibpath_var=LIBRARY_PATH 11782 shlibpath_overrides_runpath=no 11783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11784 hardcode_into_libs=yes 11785 ;; 11786 11787hpux9* | hpux10* | hpux11*) 11788 # Give a soname corresponding to the major version so that dld.sl refuses to 11789 # link against other versions. 11790 version_type=sunos 11791 need_lib_prefix=no 11792 need_version=no 11793 case $host_cpu in 11794 ia64*) 11795 shrext_cmds='.so' 11796 hardcode_into_libs=yes 11797 dynamic_linker="$host_os dld.so" 11798 shlibpath_var=LD_LIBRARY_PATH 11799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11800 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11801 soname_spec='$libname$release$shared_ext$major' 11802 if test 32 = "$HPUX_IA64_MODE"; then 11803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11804 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11805 else 11806 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11807 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11808 fi 11809 ;; 11810 hppa*64*) 11811 shrext_cmds='.sl' 11812 hardcode_into_libs=yes 11813 dynamic_linker="$host_os dld.sl" 11814 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11815 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11816 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11817 soname_spec='$libname$release$shared_ext$major' 11818 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11820 ;; 11821 *) 11822 shrext_cmds='.sl' 11823 dynamic_linker="$host_os dld.sl" 11824 shlibpath_var=SHLIB_PATH 11825 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11826 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11827 soname_spec='$libname$release$shared_ext$major' 11828 ;; 11829 esac 11830 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11831 postinstall_cmds='chmod 555 $lib' 11832 # or fails outright, so override atomically: 11833 install_override_mode=555 11834 ;; 11835 11836interix[3-9]*) 11837 version_type=linux # correct to gnu/linux during the next big refactor 11838 need_lib_prefix=no 11839 need_version=no 11840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11841 soname_spec='$libname$release$shared_ext$major' 11842 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11843 shlibpath_var=LD_LIBRARY_PATH 11844 shlibpath_overrides_runpath=no 11845 hardcode_into_libs=yes 11846 ;; 11847 11848irix5* | irix6* | nonstopux*) 11849 case $host_os in 11850 nonstopux*) version_type=nonstopux ;; 11851 *) 11852 if test yes = "$lt_cv_prog_gnu_ld"; then 11853 version_type=linux # correct to gnu/linux during the next big refactor 11854 else 11855 version_type=irix 11856 fi ;; 11857 esac 11858 need_lib_prefix=no 11859 need_version=no 11860 soname_spec='$libname$release$shared_ext$major' 11861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11862 case $host_os in 11863 irix5* | nonstopux*) 11864 libsuff= shlibsuff= 11865 ;; 11866 *) 11867 case $LD in # libtool.m4 will add one of these switches to LD 11868 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11869 libsuff= shlibsuff= libmagic=32-bit;; 11870 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11871 libsuff=32 shlibsuff=N32 libmagic=N32;; 11872 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11873 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11874 *) libsuff= shlibsuff= libmagic=never-match;; 11875 esac 11876 ;; 11877 esac 11878 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11879 shlibpath_overrides_runpath=no 11880 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11881 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11882 hardcode_into_libs=yes 11883 ;; 11884 11885# No shared lib support for Linux oldld, aout, or coff. 11886linux*oldld* | linux*aout* | linux*coff*) 11887 dynamic_linker=no 11888 ;; 11889 11890linux*android*) 11891 version_type=none # Android doesn't support versioned libraries. 11892 need_lib_prefix=no 11893 need_version=no 11894 library_names_spec='$libname$release$shared_ext' 11895 soname_spec='$libname$release$shared_ext' 11896 finish_cmds= 11897 shlibpath_var=LD_LIBRARY_PATH 11898 shlibpath_overrides_runpath=yes 11899 11900 # This implies no fast_install, which is unacceptable. 11901 # Some rework will be needed to allow for fast_install 11902 # before this can be enabled. 11903 hardcode_into_libs=yes 11904 11905 dynamic_linker='Android linker' 11906 # Don't embed -rpath directories since the linker doesn't support them. 11907 hardcode_libdir_flag_spec='-L$libdir' 11908 ;; 11909 11910# This must be glibc/ELF. 11911linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11912 version_type=linux # correct to gnu/linux during the next big refactor 11913 need_lib_prefix=no 11914 need_version=no 11915 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11916 soname_spec='$libname$release$shared_ext$major' 11917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11918 shlibpath_var=LD_LIBRARY_PATH 11919 shlibpath_overrides_runpath=no 11920 11921 # Some binutils ld are patched to set DT_RUNPATH 11922 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11923 $as_echo_n "(cached) " >&6 11924else 11925 lt_cv_shlibpath_overrides_runpath=no 11926 save_LDFLAGS=$LDFLAGS 11927 save_libdir=$libdir 11928 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11929 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11931/* end confdefs.h. */ 11932 11933int 11934main () 11935{ 11936 11937 ; 11938 return 0; 11939} 11940_ACEOF 11941if ac_fn_c_try_link "$LINENO"; then : 11942 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11943 lt_cv_shlibpath_overrides_runpath=yes 11944fi 11945fi 11946rm -f core conftest.err conftest.$ac_objext \ 11947 conftest$ac_exeext conftest.$ac_ext 11948 LDFLAGS=$save_LDFLAGS 11949 libdir=$save_libdir 11950 11951fi 11952 11953 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11954 11955 # This implies no fast_install, which is unacceptable. 11956 # Some rework will be needed to allow for fast_install 11957 # before this can be enabled. 11958 hardcode_into_libs=yes 11959 11960 # Ideally, we could use ldconfig to report *all* directores which are 11961 # searched for libraries, however this is still not possible. Aside from not 11962 # being certain /sbin/ldconfig is available, command 11963 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11964 # even though it is searched at run-time. Try to do the best guess by 11965 # appending ld.so.conf contents (and includes) to the search path. 11966 if test -f /etc/ld.so.conf; then 11967 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' ' '` 11968 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11969 fi 11970 11971 # We used to test for /lib/ld.so.1 and disable shared libraries on 11972 # powerpc, because MkLinux only supported shared libraries with the 11973 # GNU dynamic linker. Since this was broken with cross compilers, 11974 # most powerpc-linux boxes support dynamic linking these days and 11975 # people can always --disable-shared, the test was removed, and we 11976 # assume the GNU/Linux dynamic linker is in use. 11977 dynamic_linker='GNU/Linux ld.so' 11978 ;; 11979 11980netbsdelf*-gnu) 11981 version_type=linux 11982 need_lib_prefix=no 11983 need_version=no 11984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11985 soname_spec='${libname}${release}${shared_ext}$major' 11986 shlibpath_var=LD_LIBRARY_PATH 11987 shlibpath_overrides_runpath=no 11988 hardcode_into_libs=yes 11989 dynamic_linker='NetBSD ld.elf_so' 11990 ;; 11991 11992netbsd*) 11993 version_type=sunos 11994 need_lib_prefix=no 11995 need_version=no 11996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11997 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11998 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11999 dynamic_linker='NetBSD (a.out) ld.so' 12000 else 12001 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12002 soname_spec='$libname$release$shared_ext$major' 12003 dynamic_linker='NetBSD ld.elf_so' 12004 fi 12005 shlibpath_var=LD_LIBRARY_PATH 12006 shlibpath_overrides_runpath=yes 12007 hardcode_into_libs=yes 12008 ;; 12009 12010newsos6) 12011 version_type=linux # correct to gnu/linux during the next big refactor 12012 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12013 shlibpath_var=LD_LIBRARY_PATH 12014 shlibpath_overrides_runpath=yes 12015 ;; 12016 12017*nto* | *qnx*) 12018 version_type=qnx 12019 need_lib_prefix=no 12020 need_version=no 12021 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12022 soname_spec='$libname$release$shared_ext$major' 12023 shlibpath_var=LD_LIBRARY_PATH 12024 shlibpath_overrides_runpath=no 12025 hardcode_into_libs=yes 12026 dynamic_linker='ldqnx.so' 12027 ;; 12028 12029openbsd* | bitrig*) 12030 version_type=sunos 12031 sys_lib_dlsearch_path_spec=/usr/lib 12032 need_lib_prefix=no 12033 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12034 need_version=no 12035 else 12036 need_version=yes 12037 fi 12038 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12039 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12040 shlibpath_var=LD_LIBRARY_PATH 12041 shlibpath_overrides_runpath=yes 12042 ;; 12043 12044os2*) 12045 libname_spec='$name' 12046 version_type=windows 12047 shrext_cmds=.dll 12048 need_version=no 12049 need_lib_prefix=no 12050 # OS/2 can only load a DLL with a base name of 8 characters or less. 12051 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12052 v=$($ECHO $release$versuffix | tr -d .-); 12053 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12054 $ECHO $n$v`$shared_ext' 12055 library_names_spec='${libname}_dll.$libext' 12056 dynamic_linker='OS/2 ld.exe' 12057 shlibpath_var=BEGINLIBPATH 12058 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12059 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12060 postinstall_cmds='base_file=`basename \$file`~ 12061 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12062 dldir=$destdir/`dirname \$dlpath`~ 12063 test -d \$dldir || mkdir -p \$dldir~ 12064 $install_prog $dir/$dlname \$dldir/$dlname~ 12065 chmod a+x \$dldir/$dlname~ 12066 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12067 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12068 fi' 12069 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12070 dlpath=$dir/\$dldll~ 12071 $RM \$dlpath' 12072 ;; 12073 12074osf3* | osf4* | osf5*) 12075 version_type=osf 12076 need_lib_prefix=no 12077 need_version=no 12078 soname_spec='$libname$release$shared_ext$major' 12079 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12080 shlibpath_var=LD_LIBRARY_PATH 12081 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12082 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12083 ;; 12084 12085rdos*) 12086 dynamic_linker=no 12087 ;; 12088 12089solaris*) 12090 version_type=linux # correct to gnu/linux during the next big refactor 12091 need_lib_prefix=no 12092 need_version=no 12093 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12094 soname_spec='$libname$release$shared_ext$major' 12095 shlibpath_var=LD_LIBRARY_PATH 12096 shlibpath_overrides_runpath=yes 12097 hardcode_into_libs=yes 12098 # ldd complains unless libraries are executable 12099 postinstall_cmds='chmod +x $lib' 12100 ;; 12101 12102sunos4*) 12103 version_type=sunos 12104 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12105 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12106 shlibpath_var=LD_LIBRARY_PATH 12107 shlibpath_overrides_runpath=yes 12108 if test yes = "$with_gnu_ld"; then 12109 need_lib_prefix=no 12110 fi 12111 need_version=yes 12112 ;; 12113 12114sysv4 | sysv4.3*) 12115 version_type=linux # correct to gnu/linux during the next big refactor 12116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12117 soname_spec='$libname$release$shared_ext$major' 12118 shlibpath_var=LD_LIBRARY_PATH 12119 case $host_vendor in 12120 sni) 12121 shlibpath_overrides_runpath=no 12122 need_lib_prefix=no 12123 runpath_var=LD_RUN_PATH 12124 ;; 12125 siemens) 12126 need_lib_prefix=no 12127 ;; 12128 motorola) 12129 need_lib_prefix=no 12130 need_version=no 12131 shlibpath_overrides_runpath=no 12132 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12133 ;; 12134 esac 12135 ;; 12136 12137sysv4*MP*) 12138 if test -d /usr/nec; then 12139 version_type=linux # correct to gnu/linux during the next big refactor 12140 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12141 soname_spec='$libname$shared_ext.$major' 12142 shlibpath_var=LD_LIBRARY_PATH 12143 fi 12144 ;; 12145 12146sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12147 version_type=sco 12148 need_lib_prefix=no 12149 need_version=no 12150 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12151 soname_spec='$libname$release$shared_ext$major' 12152 shlibpath_var=LD_LIBRARY_PATH 12153 shlibpath_overrides_runpath=yes 12154 hardcode_into_libs=yes 12155 if test yes = "$with_gnu_ld"; then 12156 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12157 else 12158 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12159 case $host_os in 12160 sco3.2v5*) 12161 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12162 ;; 12163 esac 12164 fi 12165 sys_lib_dlsearch_path_spec='/usr/lib' 12166 ;; 12167 12168tpf*) 12169 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12170 version_type=linux # correct to gnu/linux during the next big refactor 12171 need_lib_prefix=no 12172 need_version=no 12173 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12174 shlibpath_var=LD_LIBRARY_PATH 12175 shlibpath_overrides_runpath=no 12176 hardcode_into_libs=yes 12177 ;; 12178 12179uts4*) 12180 version_type=linux # correct to gnu/linux during the next big refactor 12181 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12182 soname_spec='$libname$release$shared_ext$major' 12183 shlibpath_var=LD_LIBRARY_PATH 12184 ;; 12185 12186*) 12187 dynamic_linker=no 12188 ;; 12189esac 12190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12191$as_echo "$dynamic_linker" >&6; } 12192test no = "$dynamic_linker" && can_build_shared=no 12193 12194variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12195if test yes = "$GCC"; then 12196 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12197fi 12198 12199if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12200 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12201fi 12202 12203if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12204 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12205fi 12206 12207# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12208configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12209 12210# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12211func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12212 12213# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12214configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12313$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12314hardcode_action= 12315if test -n "$hardcode_libdir_flag_spec" || 12316 test -n "$runpath_var" || 12317 test yes = "$hardcode_automatic"; then 12318 12319 # We can hardcode non-existent directories. 12320 if test no != "$hardcode_direct" && 12321 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12322 # have to relink, otherwise we might link with an installed library 12323 # when we should be linking with a yet-to-be-installed one 12324 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12325 test no != "$hardcode_minus_L"; then 12326 # Linking always hardcodes the temporary library directory. 12327 hardcode_action=relink 12328 else 12329 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12330 hardcode_action=immediate 12331 fi 12332else 12333 # We cannot hardcode anything, or else we can only hardcode existing 12334 # directories. 12335 hardcode_action=unsupported 12336fi 12337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12338$as_echo "$hardcode_action" >&6; } 12339 12340if test relink = "$hardcode_action" || 12341 test yes = "$inherit_rpath"; then 12342 # Fast installation is not supported 12343 enable_fast_install=no 12344elif test yes = "$shlibpath_overrides_runpath" || 12345 test no = "$enable_shared"; then 12346 # Fast installation is not necessary 12347 enable_fast_install=needless 12348fi 12349 12350 12351 12352 12353 12354 12355 if test yes != "$enable_dlopen"; then 12356 enable_dlopen=unknown 12357 enable_dlopen_self=unknown 12358 enable_dlopen_self_static=unknown 12359else 12360 lt_cv_dlopen=no 12361 lt_cv_dlopen_libs= 12362 12363 case $host_os in 12364 beos*) 12365 lt_cv_dlopen=load_add_on 12366 lt_cv_dlopen_libs= 12367 lt_cv_dlopen_self=yes 12368 ;; 12369 12370 mingw* | pw32* | cegcc*) 12371 lt_cv_dlopen=LoadLibrary 12372 lt_cv_dlopen_libs= 12373 ;; 12374 12375 cygwin*) 12376 lt_cv_dlopen=dlopen 12377 lt_cv_dlopen_libs= 12378 ;; 12379 12380 darwin*) 12381 # if libdl is installed we need to link against it 12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12383$as_echo_n "checking for dlopen in -ldl... " >&6; } 12384if ${ac_cv_lib_dl_dlopen+:} false; then : 12385 $as_echo_n "(cached) " >&6 12386else 12387 ac_check_lib_save_LIBS=$LIBS 12388LIBS="-ldl $LIBS" 12389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12390/* end confdefs.h. */ 12391 12392/* Override any GCC internal prototype to avoid an error. 12393 Use char because int might match the return type of a GCC 12394 builtin and then its argument prototype would still apply. */ 12395#ifdef __cplusplus 12396extern "C" 12397#endif 12398char dlopen (); 12399int 12400main () 12401{ 12402return dlopen (); 12403 ; 12404 return 0; 12405} 12406_ACEOF 12407if ac_fn_c_try_link "$LINENO"; then : 12408 ac_cv_lib_dl_dlopen=yes 12409else 12410 ac_cv_lib_dl_dlopen=no 12411fi 12412rm -f core conftest.err conftest.$ac_objext \ 12413 conftest$ac_exeext conftest.$ac_ext 12414LIBS=$ac_check_lib_save_LIBS 12415fi 12416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12417$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12418if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12419 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12420else 12421 12422 lt_cv_dlopen=dyld 12423 lt_cv_dlopen_libs= 12424 lt_cv_dlopen_self=yes 12425 12426fi 12427 12428 ;; 12429 12430 tpf*) 12431 # Don't try to run any link tests for TPF. We know it's impossible 12432 # because TPF is a cross-compiler, and we know how we open DSOs. 12433 lt_cv_dlopen=dlopen 12434 lt_cv_dlopen_libs= 12435 lt_cv_dlopen_self=no 12436 ;; 12437 12438 *) 12439 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12440if test "x$ac_cv_func_shl_load" = xyes; then : 12441 lt_cv_dlopen=shl_load 12442else 12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12444$as_echo_n "checking for shl_load in -ldld... " >&6; } 12445if ${ac_cv_lib_dld_shl_load+:} false; then : 12446 $as_echo_n "(cached) " >&6 12447else 12448 ac_check_lib_save_LIBS=$LIBS 12449LIBS="-ldld $LIBS" 12450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12451/* end confdefs.h. */ 12452 12453/* Override any GCC internal prototype to avoid an error. 12454 Use char because int might match the return type of a GCC 12455 builtin and then its argument prototype would still apply. */ 12456#ifdef __cplusplus 12457extern "C" 12458#endif 12459char shl_load (); 12460int 12461main () 12462{ 12463return shl_load (); 12464 ; 12465 return 0; 12466} 12467_ACEOF 12468if ac_fn_c_try_link "$LINENO"; then : 12469 ac_cv_lib_dld_shl_load=yes 12470else 12471 ac_cv_lib_dld_shl_load=no 12472fi 12473rm -f core conftest.err conftest.$ac_objext \ 12474 conftest$ac_exeext conftest.$ac_ext 12475LIBS=$ac_check_lib_save_LIBS 12476fi 12477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12478$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12479if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12480 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12481else 12482 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12483if test "x$ac_cv_func_dlopen" = xyes; then : 12484 lt_cv_dlopen=dlopen 12485else 12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12487$as_echo_n "checking for dlopen in -ldl... " >&6; } 12488if ${ac_cv_lib_dl_dlopen+:} false; then : 12489 $as_echo_n "(cached) " >&6 12490else 12491 ac_check_lib_save_LIBS=$LIBS 12492LIBS="-ldl $LIBS" 12493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12494/* end confdefs.h. */ 12495 12496/* Override any GCC internal prototype to avoid an error. 12497 Use char because int might match the return type of a GCC 12498 builtin and then its argument prototype would still apply. */ 12499#ifdef __cplusplus 12500extern "C" 12501#endif 12502char dlopen (); 12503int 12504main () 12505{ 12506return dlopen (); 12507 ; 12508 return 0; 12509} 12510_ACEOF 12511if ac_fn_c_try_link "$LINENO"; then : 12512 ac_cv_lib_dl_dlopen=yes 12513else 12514 ac_cv_lib_dl_dlopen=no 12515fi 12516rm -f core conftest.err conftest.$ac_objext \ 12517 conftest$ac_exeext conftest.$ac_ext 12518LIBS=$ac_check_lib_save_LIBS 12519fi 12520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12521$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12522if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12523 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12524else 12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12526$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12527if ${ac_cv_lib_svld_dlopen+:} false; then : 12528 $as_echo_n "(cached) " >&6 12529else 12530 ac_check_lib_save_LIBS=$LIBS 12531LIBS="-lsvld $LIBS" 12532cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12533/* end confdefs.h. */ 12534 12535/* Override any GCC internal prototype to avoid an error. 12536 Use char because int might match the return type of a GCC 12537 builtin and then its argument prototype would still apply. */ 12538#ifdef __cplusplus 12539extern "C" 12540#endif 12541char dlopen (); 12542int 12543main () 12544{ 12545return dlopen (); 12546 ; 12547 return 0; 12548} 12549_ACEOF 12550if ac_fn_c_try_link "$LINENO"; then : 12551 ac_cv_lib_svld_dlopen=yes 12552else 12553 ac_cv_lib_svld_dlopen=no 12554fi 12555rm -f core conftest.err conftest.$ac_objext \ 12556 conftest$ac_exeext conftest.$ac_ext 12557LIBS=$ac_check_lib_save_LIBS 12558fi 12559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12560$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12561if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12562 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12563else 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12565$as_echo_n "checking for dld_link in -ldld... " >&6; } 12566if ${ac_cv_lib_dld_dld_link+:} false; then : 12567 $as_echo_n "(cached) " >&6 12568else 12569 ac_check_lib_save_LIBS=$LIBS 12570LIBS="-ldld $LIBS" 12571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12572/* end confdefs.h. */ 12573 12574/* Override any GCC internal prototype to avoid an error. 12575 Use char because int might match the return type of a GCC 12576 builtin and then its argument prototype would still apply. */ 12577#ifdef __cplusplus 12578extern "C" 12579#endif 12580char dld_link (); 12581int 12582main () 12583{ 12584return dld_link (); 12585 ; 12586 return 0; 12587} 12588_ACEOF 12589if ac_fn_c_try_link "$LINENO"; then : 12590 ac_cv_lib_dld_dld_link=yes 12591else 12592 ac_cv_lib_dld_dld_link=no 12593fi 12594rm -f core conftest.err conftest.$ac_objext \ 12595 conftest$ac_exeext conftest.$ac_ext 12596LIBS=$ac_check_lib_save_LIBS 12597fi 12598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12599$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12600if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12601 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12602fi 12603 12604 12605fi 12606 12607 12608fi 12609 12610 12611fi 12612 12613 12614fi 12615 12616 12617fi 12618 12619 ;; 12620 esac 12621 12622 if test no = "$lt_cv_dlopen"; then 12623 enable_dlopen=no 12624 else 12625 enable_dlopen=yes 12626 fi 12627 12628 case $lt_cv_dlopen in 12629 dlopen) 12630 save_CPPFLAGS=$CPPFLAGS 12631 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12632 12633 save_LDFLAGS=$LDFLAGS 12634 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12635 12636 save_LIBS=$LIBS 12637 LIBS="$lt_cv_dlopen_libs $LIBS" 12638 12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12640$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12641if ${lt_cv_dlopen_self+:} false; then : 12642 $as_echo_n "(cached) " >&6 12643else 12644 if test yes = "$cross_compiling"; then : 12645 lt_cv_dlopen_self=cross 12646else 12647 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12648 lt_status=$lt_dlunknown 12649 cat > conftest.$ac_ext <<_LT_EOF 12650#line $LINENO "configure" 12651#include "confdefs.h" 12652 12653#if HAVE_DLFCN_H 12654#include <dlfcn.h> 12655#endif 12656 12657#include <stdio.h> 12658 12659#ifdef RTLD_GLOBAL 12660# define LT_DLGLOBAL RTLD_GLOBAL 12661#else 12662# ifdef DL_GLOBAL 12663# define LT_DLGLOBAL DL_GLOBAL 12664# else 12665# define LT_DLGLOBAL 0 12666# endif 12667#endif 12668 12669/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12670 find out it does not work in some platform. */ 12671#ifndef LT_DLLAZY_OR_NOW 12672# ifdef RTLD_LAZY 12673# define LT_DLLAZY_OR_NOW RTLD_LAZY 12674# else 12675# ifdef DL_LAZY 12676# define LT_DLLAZY_OR_NOW DL_LAZY 12677# else 12678# ifdef RTLD_NOW 12679# define LT_DLLAZY_OR_NOW RTLD_NOW 12680# else 12681# ifdef DL_NOW 12682# define LT_DLLAZY_OR_NOW DL_NOW 12683# else 12684# define LT_DLLAZY_OR_NOW 0 12685# endif 12686# endif 12687# endif 12688# endif 12689#endif 12690 12691/* When -fvisibility=hidden is used, assume the code has been annotated 12692 correspondingly for the symbols needed. */ 12693#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12694int fnord () __attribute__((visibility("default"))); 12695#endif 12696 12697int fnord () { return 42; } 12698int main () 12699{ 12700 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12701 int status = $lt_dlunknown; 12702 12703 if (self) 12704 { 12705 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12706 else 12707 { 12708 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12709 else puts (dlerror ()); 12710 } 12711 /* dlclose (self); */ 12712 } 12713 else 12714 puts (dlerror ()); 12715 12716 return status; 12717} 12718_LT_EOF 12719 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12720 (eval $ac_link) 2>&5 12721 ac_status=$? 12722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12723 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12724 (./conftest; exit; ) >&5 2>/dev/null 12725 lt_status=$? 12726 case x$lt_status in 12727 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12728 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12729 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12730 esac 12731 else : 12732 # compilation failed 12733 lt_cv_dlopen_self=no 12734 fi 12735fi 12736rm -fr conftest* 12737 12738 12739fi 12740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12741$as_echo "$lt_cv_dlopen_self" >&6; } 12742 12743 if test yes = "$lt_cv_dlopen_self"; then 12744 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12746$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12747if ${lt_cv_dlopen_self_static+:} false; then : 12748 $as_echo_n "(cached) " >&6 12749else 12750 if test yes = "$cross_compiling"; then : 12751 lt_cv_dlopen_self_static=cross 12752else 12753 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12754 lt_status=$lt_dlunknown 12755 cat > conftest.$ac_ext <<_LT_EOF 12756#line $LINENO "configure" 12757#include "confdefs.h" 12758 12759#if HAVE_DLFCN_H 12760#include <dlfcn.h> 12761#endif 12762 12763#include <stdio.h> 12764 12765#ifdef RTLD_GLOBAL 12766# define LT_DLGLOBAL RTLD_GLOBAL 12767#else 12768# ifdef DL_GLOBAL 12769# define LT_DLGLOBAL DL_GLOBAL 12770# else 12771# define LT_DLGLOBAL 0 12772# endif 12773#endif 12774 12775/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12776 find out it does not work in some platform. */ 12777#ifndef LT_DLLAZY_OR_NOW 12778# ifdef RTLD_LAZY 12779# define LT_DLLAZY_OR_NOW RTLD_LAZY 12780# else 12781# ifdef DL_LAZY 12782# define LT_DLLAZY_OR_NOW DL_LAZY 12783# else 12784# ifdef RTLD_NOW 12785# define LT_DLLAZY_OR_NOW RTLD_NOW 12786# else 12787# ifdef DL_NOW 12788# define LT_DLLAZY_OR_NOW DL_NOW 12789# else 12790# define LT_DLLAZY_OR_NOW 0 12791# endif 12792# endif 12793# endif 12794# endif 12795#endif 12796 12797/* When -fvisibility=hidden is used, assume the code has been annotated 12798 correspondingly for the symbols needed. */ 12799#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12800int fnord () __attribute__((visibility("default"))); 12801#endif 12802 12803int fnord () { return 42; } 12804int main () 12805{ 12806 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12807 int status = $lt_dlunknown; 12808 12809 if (self) 12810 { 12811 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12812 else 12813 { 12814 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12815 else puts (dlerror ()); 12816 } 12817 /* dlclose (self); */ 12818 } 12819 else 12820 puts (dlerror ()); 12821 12822 return status; 12823} 12824_LT_EOF 12825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12826 (eval $ac_link) 2>&5 12827 ac_status=$? 12828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12829 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12830 (./conftest; exit; ) >&5 2>/dev/null 12831 lt_status=$? 12832 case x$lt_status in 12833 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12834 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12835 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12836 esac 12837 else : 12838 # compilation failed 12839 lt_cv_dlopen_self_static=no 12840 fi 12841fi 12842rm -fr conftest* 12843 12844 12845fi 12846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12847$as_echo "$lt_cv_dlopen_self_static" >&6; } 12848 fi 12849 12850 CPPFLAGS=$save_CPPFLAGS 12851 LDFLAGS=$save_LDFLAGS 12852 LIBS=$save_LIBS 12853 ;; 12854 esac 12855 12856 case $lt_cv_dlopen_self in 12857 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12858 *) enable_dlopen_self=unknown ;; 12859 esac 12860 12861 case $lt_cv_dlopen_self_static in 12862 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12863 *) enable_dlopen_self_static=unknown ;; 12864 esac 12865fi 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883striplib= 12884old_striplib= 12885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12886$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12887if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12888 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12889 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12891$as_echo "yes" >&6; } 12892else 12893# FIXME - insert some real tests, host_os isn't really good enough 12894 case $host_os in 12895 darwin*) 12896 if test -n "$STRIP"; then 12897 striplib="$STRIP -x" 12898 old_striplib="$STRIP -S" 12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12900$as_echo "yes" >&6; } 12901 else 12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12903$as_echo "no" >&6; } 12904 fi 12905 ;; 12906 *) 12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12908$as_echo "no" >&6; } 12909 ;; 12910 esac 12911fi 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 # Report what library types will actually be built 12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12926$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12928$as_echo "$can_build_shared" >&6; } 12929 12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12931$as_echo_n "checking whether to build shared libraries... " >&6; } 12932 test no = "$can_build_shared" && enable_shared=no 12933 12934 # On AIX, shared libraries and static libraries use the same namespace, and 12935 # are all built from PIC. 12936 case $host_os in 12937 aix3*) 12938 test yes = "$enable_shared" && enable_static=no 12939 if test -n "$RANLIB"; then 12940 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12941 postinstall_cmds='$RANLIB $lib' 12942 fi 12943 ;; 12944 12945 aix[4-9]*) 12946 if test ia64 != "$host_cpu"; then 12947 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12948 yes,aix,yes) ;; # shared object as lib.so file only 12949 yes,svr4,*) ;; # shared object as lib.so archive member only 12950 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12951 esac 12952 fi 12953 ;; 12954 esac 12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12956$as_echo "$enable_shared" >&6; } 12957 12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12959$as_echo_n "checking whether to build static libraries... " >&6; } 12960 # Make sure either enable_shared or enable_static is yes. 12961 test yes = "$enable_shared" || enable_static=yes 12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12963$as_echo "$enable_static" >&6; } 12964 12965 12966 12967 12968fi 12969ac_ext=c 12970ac_cpp='$CPP $CPPFLAGS' 12971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12973ac_compiler_gnu=$ac_cv_c_compiler_gnu 12974 12975CC=$lt_save_CC 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 ac_config_commands="$ac_config_commands libtool" 12992 12993 12994 12995 12996# Only expand once: 12997 12998 12999 13000 13001GST_REQ=1.16.2 13002GSTPB_REQ=1.16.2 13003 13004 13005 13006 13007# Check whether --with-autoconf was given. 13008if test "${with_autoconf+set}" = set; then : 13009 withval=$with_autoconf; 13010 unset AUTOCONF 13011 13012AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"} 13013 13014 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5 13015$as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;} 13016 13017fi 13018 13019 13020 13021# Check whether --with-autoheader was given. 13022if test "${with_autoheader+set}" = set; then : 13023 withval=$with_autoheader; 13024 unset AUTOHEADER 13025 13026AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"} 13027 13028 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5 13029$as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;} 13030 13031fi 13032 13033 13034 13035# Check whether --with-automake was given. 13036if test "${with_automake+set}" = set; then : 13037 withval=$with_automake; 13038 unset AUTOMAKE 13039 13040AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"} 13041 13042 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5 13043$as_echo "$as_me: Using $AUTOMAKE as automake" >&6;} 13044 13045fi 13046 13047 13048 13049# Check whether --with-aclocal was given. 13050if test "${with_aclocal+set}" = set; then : 13051 withval=$with_aclocal; 13052 unset ACLOCAL 13053 13054ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"} 13055 13056 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5 13057$as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;} 13058 13059fi 13060 13061 13062 13063ACLOCAL_AMFLAGS="-I m4 -I common/m4" 13064 13065 13066 13067 13068 13069 # Check whether --enable-fatal-warnings was given. 13070if test "${enable_fatal_warnings+set}" = set; then : 13071 enableval=$enable_fatal_warnings; 13072 case "${enableval}" in 13073 yes) FATAL_WARNINGS=yes ;; 13074 no) FATAL_WARNINGS=no ;; 13075 *) as_fn_error $? "bad value ${enableval} for --disable-fatal-warnings" "$LINENO" 5 ;; 13076 esac 13077 13078else 13079 13080 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then 13081 FATAL_WARNINGS=yes 13082 else 13083 FATAL_WARNINGS=no 13084 fi 13085 13086fi 13087 13088 13089 13090 # Check whether --enable-extra-check was given. 13091if test "${enable_extra_check+set}" = set; then : 13092 enableval=$enable_extra_check; 13093 case "${enableval}" in 13094 yes) EXTRA_CHECKS=yes ;; 13095 no) EXTRA_CHECKS=no ;; 13096 *) as_fn_error $? "bad value ${enableval} for --enable-extra-checks" "$LINENO" 5 ;; 13097 esac 13098 13099else 13100 13101 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then 13102 EXTRA_CHECKS=yes 13103 else 13104 EXTRA_CHECKS=no 13105 fi 13106 13107fi 13108 13109 13110 if test "x$EXTRA_CHECKS" = "xyes"; then 13111 13112$as_echo "#define GST_ENABLE_EXTRA_CHECKS 1" >>confdefs.h 13113 13114 fi 13115 13116 13117 13118 # Check whether --enable-debug was given. 13119if test "${enable_debug+set}" = set; then : 13120 enableval=$enable_debug; 13121 case "${enableval}" in 13122 yes) USE_DEBUG=yes ;; 13123 no) USE_DEBUG=no ;; 13124 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; 13125 esac 13126 13127else 13128 USE_DEBUG=yes 13129fi 13130 13131 13132 # Check whether --enable-profiling was given. 13133if test "${enable_profiling+set}" = set; then : 13134 enableval=$enable_profiling; 13135 case "${enableval}" in 13136 yes) USE_PROFILING=yes ;; 13137 no) USE_PROFILING=no ;; 13138 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;; 13139 esac 13140 13141else 13142 USE_PROFILING=no 13143fi 13144 13145 13146 13147if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 13148 if test -n "$ac_tool_prefix"; then 13149 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 13150set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 13151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13152$as_echo_n "checking for $ac_word... " >&6; } 13153if ${ac_cv_path_PKG_CONFIG+:} false; then : 13154 $as_echo_n "(cached) " >&6 13155else 13156 case $PKG_CONFIG in 13157 [\\/]* | ?:[\\/]*) 13158 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13159 ;; 13160 *) 13161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13162for as_dir in $PATH 13163do 13164 IFS=$as_save_IFS 13165 test -z "$as_dir" && as_dir=. 13166 for ac_exec_ext in '' $ac_executable_extensions; do 13167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13168 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13170 break 2 13171 fi 13172done 13173 done 13174IFS=$as_save_IFS 13175 13176 ;; 13177esac 13178fi 13179PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13180if test -n "$PKG_CONFIG"; then 13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13182$as_echo "$PKG_CONFIG" >&6; } 13183else 13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13185$as_echo "no" >&6; } 13186fi 13187 13188 13189fi 13190if test -z "$ac_cv_path_PKG_CONFIG"; then 13191 ac_pt_PKG_CONFIG=$PKG_CONFIG 13192 # Extract the first word of "pkg-config", so it can be a program name with args. 13193set dummy pkg-config; ac_word=$2 13194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13195$as_echo_n "checking for $ac_word... " >&6; } 13196if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 13197 $as_echo_n "(cached) " >&6 13198else 13199 case $ac_pt_PKG_CONFIG in 13200 [\\/]* | ?:[\\/]*) 13201 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 13202 ;; 13203 *) 13204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13205for as_dir in $PATH 13206do 13207 IFS=$as_save_IFS 13208 test -z "$as_dir" && as_dir=. 13209 for ac_exec_ext in '' $ac_executable_extensions; do 13210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13211 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13213 break 2 13214 fi 13215done 13216 done 13217IFS=$as_save_IFS 13218 13219 ;; 13220esac 13221fi 13222ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 13223if test -n "$ac_pt_PKG_CONFIG"; then 13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 13225$as_echo "$ac_pt_PKG_CONFIG" >&6; } 13226else 13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13228$as_echo "no" >&6; } 13229fi 13230 13231 if test "x$ac_pt_PKG_CONFIG" = x; then 13232 PKG_CONFIG="" 13233 else 13234 case $cross_compiling:$ac_tool_warned in 13235yes:) 13236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13238ac_tool_warned=yes ;; 13239esac 13240 PKG_CONFIG=$ac_pt_PKG_CONFIG 13241 fi 13242else 13243 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 13244fi 13245 13246fi 13247if test -n "$PKG_CONFIG"; then 13248 _pkg_min_version=0.9.0 13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13250$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13251 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13253$as_echo "yes" >&6; } 13254 else 13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13256$as_echo "no" >&6; } 13257 PKG_CONFIG="" 13258 fi 13259 13260fi 13261 13262 # Check whether --enable-valgrind was given. 13263if test "${enable_valgrind+set}" = set; then : 13264 enableval=$enable_valgrind; 13265 case "${enableval}" in 13266 yes) USE_VALGRIND="$USE_DEBUG" ;; 13267 no) USE_VALGRIND=no ;; 13268 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;; 13269 esac 13270 13271else 13272 USE_VALGRIND="$USE_DEBUG" 13273fi 13274 VALGRIND_REQ="3.0" 13275 if test "x$USE_VALGRIND" = xyes; then 13276 13277pkg_failed=no 13278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5 13279$as_echo_n "checking for VALGRIND... " >&6; } 13280 13281if test -n "$PKG_CONFIG"; then 13282 if test -n "$VALGRIND_CFLAGS"; then 13283 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS" 13284 else 13285 if test -n "$PKG_CONFIG" && \ 13286 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5 13287 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5 13288 ac_status=$? 13289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13290 test $ac_status = 0; }; then 13291 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null` 13292else 13293 pkg_failed=yes 13294fi 13295 fi 13296else 13297 pkg_failed=untried 13298fi 13299if test -n "$PKG_CONFIG"; then 13300 if test -n "$VALGRIND_LIBS"; then 13301 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS" 13302 else 13303 if test -n "$PKG_CONFIG" && \ 13304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5 13305 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5 13306 ac_status=$? 13307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13308 test $ac_status = 0; }; then 13309 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null` 13310else 13311 pkg_failed=yes 13312fi 13313 fi 13314else 13315 pkg_failed=untried 13316fi 13317 13318 13319 13320if test $pkg_failed = yes; then 13321 13322if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13323 _pkg_short_errors_supported=yes 13324else 13325 _pkg_short_errors_supported=no 13326fi 13327 if test $_pkg_short_errors_supported = yes; then 13328 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"` 13329 else 13330 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"` 13331 fi 13332 # Put the nasty error message in config.log where it belongs 13333 echo "$VALGRIND_PKG_ERRORS" >&5 13334 13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13336$as_echo "no" >&6; } 13337 USE_VALGRIND="no" 13338elif test $pkg_failed = untried; then 13339 USE_VALGRIND="no" 13340else 13341 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS 13342 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS 13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13344$as_echo "yes" >&6; } 13345 USE_VALGRIND="yes" 13346fi 13347 fi 13348 if test "x$USE_VALGRIND" = xyes; then 13349 13350$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h 13351 13352 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5 13353$as_echo "$as_me: Using extra code paths for valgrind" >&6;} 13354 fi 13355 13356 13357 # Check whether --enable-gcov was given. 13358if test "${enable_gcov+set}" = set; then : 13359 enableval=$enable_gcov; enable_gcov=$enableval 13360else 13361 enable_gcov=no 13362fi 13363 13364 if test x$enable_gcov = xyes ; then 13365 if test "x$GCC" != "xyes" 13366 then 13367 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5 13368 fi 13369 13370 13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5 13372$as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; } 13373 13374 save_CFLAGS="$CFLAGS" 13375 CFLAGS="$CFLAGS "-fprofile-arcs"" 13376 13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13378/* end confdefs.h. */ 13379 13380int 13381main () 13382{ 13383 13384 ; 13385 return 0; 13386} 13387_ACEOF 13388if ac_fn_c_try_compile "$LINENO"; then : 13389 flag_ok=yes 13390else 13391 flag_ok=no 13392fi 13393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13394 CFLAGS="$save_CFLAGS" 13395 13396 if test "X$flag_ok" = Xyes ; then 13397 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs" 13398 true 13399 else 13400 true 13401 true 13402 fi 13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 13404$as_echo "$flag_ok" >&6; } 13405 13406 13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5 13408$as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; } 13409 13410 save_CFLAGS="$CFLAGS" 13411 CFLAGS="$CFLAGS "-ftest-coverage"" 13412 13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13414/* end confdefs.h. */ 13415 13416int 13417main () 13418{ 13419 13420 ; 13421 return 0; 13422} 13423_ACEOF 13424if ac_fn_c_try_compile "$LINENO"; then : 13425 flag_ok=yes 13426else 13427 flag_ok=no 13428fi 13429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13430 CFLAGS="$save_CFLAGS" 13431 13432 if test "X$flag_ok" = Xyes ; then 13433 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage" 13434 true 13435 else 13436 true 13437 true 13438 fi 13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 13440$as_echo "$flag_ok" >&6; } 13441 13442 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'` 13443 GCOV_LIBS=-lgcov 13444 13445 13446 GCOV=`echo $CC | sed s/gcc/gcov/g` 13447 13448 13449 GST_GCOV_ENABLED=yes 13450 13451cat >>confdefs.h <<_ACEOF 13452#define GST_GCOV_ENABLED 1 13453_ACEOF 13454 13455 if test "x$GST_GCOV_ENABLED" = "xyes" 13456 then 13457 CFLAGS="$CFLAGS -O0" 13458 13459 CXXFLAGS="$CXXFLAGS -O0" 13460 13461 FFLAGS="$FFLAGS -O0" 13462 13463 CCASFLAGS="$CCASFLAGS -O0" 13464 13465 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5 13466$as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;} 13467 fi 13468 fi 13469 if test x$enable_gcov = xyes; then 13470 GST_GCOV_ENABLED_TRUE= 13471 GST_GCOV_ENABLED_FALSE='#' 13472else 13473 GST_GCOV_ENABLED_TRUE='#' 13474 GST_GCOV_ENABLED_FALSE= 13475fi 13476 13477 13478 13479 13480 # Check whether --enable-examples was given. 13481if test "${enable_examples+set}" = set; then : 13482 enableval=$enable_examples; 13483 case "${enableval}" in 13484 yes) BUILD_EXAMPLES=yes ;; 13485 no) BUILD_EXAMPLES=no ;; 13486 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;; 13487 esac 13488 13489else 13490 BUILD_EXAMPLES=yes 13491fi 13492 if test "x$BUILD_EXAMPLES" = "xyes"; then 13493 BUILD_EXAMPLES_TRUE= 13494 BUILD_EXAMPLES_FALSE='#' 13495else 13496 BUILD_EXAMPLES_TRUE='#' 13497 BUILD_EXAMPLES_FALSE= 13498fi 13499 13500 13501 13502 13503 13504# Check whether --with-pkg-config-path was given. 13505if test "${with_pkg_config_path+set}" = set; then : 13506 withval=$with_pkg_config_path; 13507 export PKG_CONFIG_PATH=${withval} 13508 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5 13509$as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;} 13510 13511fi 13512 13513 13514 13515 13516# Check whether --with-package-name was given. 13517if test "${with_package_name+set}" = set; then : 13518 withval=$with_package_name; 13519 case "${withval}" in 13520 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;; 13521 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;; 13522 *) GST_PACKAGE_NAME="${withval}" ;; 13523 esac 13524 13525else 13526 13527 P= 13528 if test "x$P" = "x" 13529 then 13530 P=$PACKAGE_NAME 13531 fi 13532 13533 if test "x$PACKAGE_VERSION_NANO" = "x0" 13534 then 13535 GST_PACKAGE_NAME="$P source release" 13536 else 13537 if test "x$PACKAGE_VERSION_NANO" = "x1" 13538 then 13539 GST_PACKAGE_NAME="$P git" 13540 else 13541 GST_PACKAGE_NAME="$P prerelease" 13542 fi 13543 fi 13544 13545 13546fi 13547 13548 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5 13549$as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;} 13550 13551cat >>confdefs.h <<_ACEOF 13552#define GST_PACKAGE_NAME "$GST_PACKAGE_NAME" 13553_ACEOF 13554 13555 13556 13557 13558 13559# Check whether --with-package-origin was given. 13560if test "${with_package_origin+set}" = set; then : 13561 withval=$with_package_origin; 13562 case "${withval}" in 13563 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;; 13564 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;; 13565 *) GST_PACKAGE_ORIGIN="${withval}" ;; 13566 esac 13567 13568else 13569 GST_PACKAGE_ORIGIN="Unknown package origin" 13570fi 13571 13572 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5 13573$as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;} 13574 13575cat >>confdefs.h <<_ACEOF 13576#define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN" 13577_ACEOF 13578 13579 13580 13581 13582 13583 GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig" 13584 if test "x$PKG_CONFIG_PATH" != "x"; then 13585 GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH" 13586 fi 13587 13588 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5 13589$as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;} 13590 13591 13592 13593 # Extract the first word of "flex", so it can be a program name with args. 13594set dummy flex; ac_word=$2 13595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13596$as_echo_n "checking for $ac_word... " >&6; } 13597if ${ac_cv_path_FLEX_PATH+:} false; then : 13598 $as_echo_n "(cached) " >&6 13599else 13600 case $FLEX_PATH in 13601 [\\/]* | ?:[\\/]*) 13602 ac_cv_path_FLEX_PATH="$FLEX_PATH" # Let the user override the test with a path. 13603 ;; 13604 *) 13605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13606for as_dir in $PATH 13607do 13608 IFS=$as_save_IFS 13609 test -z "$as_dir" && as_dir=. 13610 for ac_exec_ext in '' $ac_executable_extensions; do 13611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13612 ac_cv_path_FLEX_PATH="$as_dir/$ac_word$ac_exec_ext" 13613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13614 break 2 13615 fi 13616done 13617 done 13618IFS=$as_save_IFS 13619 13620 test -z "$ac_cv_path_FLEX_PATH" && ac_cv_path_FLEX_PATH="no" 13621 ;; 13622esac 13623fi 13624FLEX_PATH=$ac_cv_path_FLEX_PATH 13625if test -n "$FLEX_PATH"; then 13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX_PATH" >&5 13627$as_echo "$FLEX_PATH" >&6; } 13628else 13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13630$as_echo "no" >&6; } 13631fi 13632 13633 13634 if test x$FLEX_PATH = xno; then 13635 as_fn_error $? "Could not find flex" "$LINENO" 5 13636 fi 13637 13638 flex_min_version=2.5.31 13639 flex_version=`$FLEX_PATH --version | head -n 1 | awk '{print }'` 13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking flex version $flex_version >= $flex_min_version" >&5 13641$as_echo_n "checking flex version $flex_version >= $flex_min_version... " >&6; } 13642 if perl -w <<EOF 13643 (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$flex_min_version" =~ /(\d+)\.(\d+)\.(\d+)/; 13644 (\$flex_version_major, \$flex_version_minor, \$flex_version_micro ) = "$flex_version" =~ /(\d+)\.(\d+)\.(\d+)/; 13645 exit (((\$flex_version_major > \$min_version_major) || 13646 ((\$flex_version_major == \$min_version_major) && 13647 (\$flex_version_minor > \$min_version_minor)) || 13648 ((\$flex_version_major == \$min_version_major) && 13649 (\$flex_version_minor == \$min_version_minor) && 13650 (\$flex_version_micro >= \$min_version_micro))) 13651 ? 0 : 1); 13652EOF 13653 then 13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13655$as_echo "yes" >&6; } 13656 else 13657 as_fn_error $? "no" "$LINENO" 5 13658 fi 13659 13660 13661 13662 13663 13664 case "x${target_cpu}" in 13665 xi?86 | xk? | xi?86_64) 13666 case $target_os in 13667 solaris*) 13668 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default" 13669if test "x$ac_cv_have_decl___i386" = xyes; then : 13670 I386_ABI="yes" 13671else 13672 I386_ABI="no" 13673fi 13674 13675 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default" 13676if test "x$ac_cv_have_decl___amd64" = xyes; then : 13677 AMD64_ABI="yes" 13678else 13679 AMD64_ABI="no" 13680fi 13681 13682 13683 if test "x$I386_ABI" = "xyes" ; then 13684 HAVE_CPU_I386=yes 13685 13686$as_echo "#define HAVE_CPU_I386 1" >>confdefs.h 13687 13688 fi 13689 if test "x$AMD64_ABI" = "xyes" ; then 13690 HAVE_CPU_X86_64=yes 13691 13692$as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h 13693 13694 fi 13695 ;; 13696 *) 13697 HAVE_CPU_I386=yes 13698 13699$as_echo "#define HAVE_CPU_I386 1" >>confdefs.h 13700 13701 13702 case "x${target_cpu}" in 13703 xi386 | xi486) ;; 13704 *) 13705 13706$as_echo "#define HAVE_RDTSC 1" >>confdefs.h 13707 ;; 13708 esac 13709 ;; 13710 esac 13711 ;; 13712 xpowerpc) 13713 HAVE_CPU_PPC=yes 13714 13715$as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h 13716 ;; 13717 xpowerpc64) 13718 HAVE_CPU_PPC64=yes 13719 13720$as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h 13721 ;; 13722 xalpha*) 13723 HAVE_CPU_ALPHA=yes 13724 13725$as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h 13726 ;; 13727 xarc*) 13728 HAVE_CPU_ARC=yes 13729 13730$as_echo "#define HAVE_CPU_ARC 1" >>confdefs.h 13731 ;; 13732 xarm*) 13733 HAVE_CPU_ARM=yes 13734 13735$as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h 13736 ;; 13737 xaarch64*) 13738 HAVE_CPU_AARCH64=yes 13739 13740$as_echo "#define HAVE_CPU_AARCH64 1" >>confdefs.h 13741 ;; 13742 xsparc*) 13743 HAVE_CPU_SPARC=yes 13744 13745$as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h 13746 ;; 13747 xmips*) 13748 HAVE_CPU_MIPS=yes 13749 13750$as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h 13751 ;; 13752 xhppa*) 13753 HAVE_CPU_HPPA=yes 13754 13755$as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h 13756 ;; 13757 xs390*) 13758 HAVE_CPU_S390=yes 13759 13760$as_echo "#define HAVE_CPU_S390 1" >>confdefs.h 13761 ;; 13762 xia64*) 13763 HAVE_CPU_IA64=yes 13764 13765$as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h 13766 ;; 13767 xm68k*) 13768 HAVE_CPU_M68K=yes 13769 13770$as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h 13771 ;; 13772 xx86_64) 13773 HAVE_CPU_X86_64=yes 13774 13775$as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h 13776 ;; 13777 xcris) 13778 HAVE_CPU_CRIS=yes 13779 13780$as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h 13781 ;; 13782 xcrisv32) 13783 HAVE_CPU_CRISV32=yes 13784 13785$as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h 13786 ;; 13787 esac 13788 13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 13790$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 13791if ${ac_cv_c_bigendian+:} false; then : 13792 $as_echo_n "(cached) " >&6 13793else 13794 ac_cv_c_bigendian=unknown 13795 # See if we're dealing with a universal compiler. 13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13797/* end confdefs.h. */ 13798#ifndef __APPLE_CC__ 13799 not a universal capable compiler 13800 #endif 13801 typedef int dummy; 13802 13803_ACEOF 13804if ac_fn_c_try_compile "$LINENO"; then : 13805 13806 # Check for potential -arch flags. It is not universal unless 13807 # there are at least two -arch flags with different values. 13808 ac_arch= 13809 ac_prev= 13810 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 13811 if test -n "$ac_prev"; then 13812 case $ac_word in 13813 i?86 | x86_64 | ppc | ppc64) 13814 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 13815 ac_arch=$ac_word 13816 else 13817 ac_cv_c_bigendian=universal 13818 break 13819 fi 13820 ;; 13821 esac 13822 ac_prev= 13823 elif test "x$ac_word" = "x-arch"; then 13824 ac_prev=arch 13825 fi 13826 done 13827fi 13828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13829 if test $ac_cv_c_bigendian = unknown; then 13830 # See if sys/param.h defines the BYTE_ORDER macro. 13831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13832/* end confdefs.h. */ 13833#include <sys/types.h> 13834 #include <sys/param.h> 13835 13836int 13837main () 13838{ 13839#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 13840 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 13841 && LITTLE_ENDIAN) 13842 bogus endian macros 13843 #endif 13844 13845 ; 13846 return 0; 13847} 13848_ACEOF 13849if ac_fn_c_try_compile "$LINENO"; then : 13850 # It does; now see whether it defined to BIG_ENDIAN or not. 13851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13852/* end confdefs.h. */ 13853#include <sys/types.h> 13854 #include <sys/param.h> 13855 13856int 13857main () 13858{ 13859#if BYTE_ORDER != BIG_ENDIAN 13860 not big endian 13861 #endif 13862 13863 ; 13864 return 0; 13865} 13866_ACEOF 13867if ac_fn_c_try_compile "$LINENO"; then : 13868 ac_cv_c_bigendian=yes 13869else 13870 ac_cv_c_bigendian=no 13871fi 13872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13873fi 13874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13875 fi 13876 if test $ac_cv_c_bigendian = unknown; then 13877 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13879/* end confdefs.h. */ 13880#include <limits.h> 13881 13882int 13883main () 13884{ 13885#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 13886 bogus endian macros 13887 #endif 13888 13889 ; 13890 return 0; 13891} 13892_ACEOF 13893if ac_fn_c_try_compile "$LINENO"; then : 13894 # It does; now see whether it defined to _BIG_ENDIAN or not. 13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13896/* end confdefs.h. */ 13897#include <limits.h> 13898 13899int 13900main () 13901{ 13902#ifndef _BIG_ENDIAN 13903 not big endian 13904 #endif 13905 13906 ; 13907 return 0; 13908} 13909_ACEOF 13910if ac_fn_c_try_compile "$LINENO"; then : 13911 ac_cv_c_bigendian=yes 13912else 13913 ac_cv_c_bigendian=no 13914fi 13915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13916fi 13917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13918 fi 13919 if test $ac_cv_c_bigendian = unknown; then 13920 # Compile a test program. 13921 if test "$cross_compiling" = yes; then : 13922 # Try to guess by grepping values from an object file. 13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13924/* end confdefs.h. */ 13925short int ascii_mm[] = 13926 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13927 short int ascii_ii[] = 13928 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13929 int use_ascii (int i) { 13930 return ascii_mm[i] + ascii_ii[i]; 13931 } 13932 short int ebcdic_ii[] = 13933 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13934 short int ebcdic_mm[] = 13935 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13936 int use_ebcdic (int i) { 13937 return ebcdic_mm[i] + ebcdic_ii[i]; 13938 } 13939 extern int foo; 13940 13941int 13942main () 13943{ 13944return use_ascii (foo) == use_ebcdic (foo); 13945 ; 13946 return 0; 13947} 13948_ACEOF 13949if ac_fn_c_try_compile "$LINENO"; then : 13950 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 13951 ac_cv_c_bigendian=yes 13952 fi 13953 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13954 if test "$ac_cv_c_bigendian" = unknown; then 13955 ac_cv_c_bigendian=no 13956 else 13957 # finding both strings is unlikely to happen, but who knows? 13958 ac_cv_c_bigendian=unknown 13959 fi 13960 fi 13961fi 13962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13963else 13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13965/* end confdefs.h. */ 13966$ac_includes_default 13967int 13968main () 13969{ 13970 13971 /* Are we little or big endian? From Harbison&Steele. */ 13972 union 13973 { 13974 long int l; 13975 char c[sizeof (long int)]; 13976 } u; 13977 u.l = 1; 13978 return u.c[sizeof (long int) - 1] == 1; 13979 13980 ; 13981 return 0; 13982} 13983_ACEOF 13984if ac_fn_c_try_run "$LINENO"; then : 13985 ac_cv_c_bigendian=no 13986else 13987 ac_cv_c_bigendian=yes 13988fi 13989rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13990 conftest.$ac_objext conftest.beam conftest.$ac_ext 13991fi 13992 13993 fi 13994fi 13995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 13996$as_echo "$ac_cv_c_bigendian" >&6; } 13997 case $ac_cv_c_bigendian in #( 13998 yes) 13999 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 14000;; #( 14001 no) 14002 ;; #( 14003 universal) 14004 14005$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 14006 14007 ;; #( 14008 *) 14009 as_fn_error $? "unknown endianness 14010 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 14011 esac 14012 14013 14014 if test "x$HAVE_CPU_I386" = "xyes"; then 14015 HAVE_CPU_I386_TRUE= 14016 HAVE_CPU_I386_FALSE='#' 14017else 14018 HAVE_CPU_I386_TRUE='#' 14019 HAVE_CPU_I386_FALSE= 14020fi 14021 14022 if test "x$HAVE_CPU_PPC" = "xyes"; then 14023 HAVE_CPU_PPC_TRUE= 14024 HAVE_CPU_PPC_FALSE='#' 14025else 14026 HAVE_CPU_PPC_TRUE='#' 14027 HAVE_CPU_PPC_FALSE= 14028fi 14029 14030 if test "x$HAVE_CPU_PPC64" = "xyes"; then 14031 HAVE_CPU_PPC64_TRUE= 14032 HAVE_CPU_PPC64_FALSE='#' 14033else 14034 HAVE_CPU_PPC64_TRUE='#' 14035 HAVE_CPU_PPC64_FALSE= 14036fi 14037 14038 if test "x$HAVE_CPU_ALPHA" = "xyes"; then 14039 HAVE_CPU_ALPHA_TRUE= 14040 HAVE_CPU_ALPHA_FALSE='#' 14041else 14042 HAVE_CPU_ALPHA_TRUE='#' 14043 HAVE_CPU_ALPHA_FALSE= 14044fi 14045 14046 if test "x$HAVE_CPU_ARC" = "xyes"; then 14047 HAVE_CPU_ARC_TRUE= 14048 HAVE_CPU_ARC_FALSE='#' 14049else 14050 HAVE_CPU_ARC_TRUE='#' 14051 HAVE_CPU_ARC_FALSE= 14052fi 14053 14054 if test "x$HAVE_CPU_ARM" = "xyes"; then 14055 HAVE_CPU_ARM_TRUE= 14056 HAVE_CPU_ARM_FALSE='#' 14057else 14058 HAVE_CPU_ARM_TRUE='#' 14059 HAVE_CPU_ARM_FALSE= 14060fi 14061 14062 if test "x$HAVE_CPU_SPARC" = "xyes"; then 14063 HAVE_CPU_SPARC_TRUE= 14064 HAVE_CPU_SPARC_FALSE='#' 14065else 14066 HAVE_CPU_SPARC_TRUE='#' 14067 HAVE_CPU_SPARC_FALSE= 14068fi 14069 14070 if test "x$HAVE_CPU_HPPA" = "xyes"; then 14071 HAVE_CPU_HPPA_TRUE= 14072 HAVE_CPU_HPPA_FALSE='#' 14073else 14074 HAVE_CPU_HPPA_TRUE='#' 14075 HAVE_CPU_HPPA_FALSE= 14076fi 14077 14078 if test "x$HAVE_CPU_MIPS" = "xyes"; then 14079 HAVE_CPU_MIPS_TRUE= 14080 HAVE_CPU_MIPS_FALSE='#' 14081else 14082 HAVE_CPU_MIPS_TRUE='#' 14083 HAVE_CPU_MIPS_FALSE= 14084fi 14085 14086 if test "x$HAVE_CPU_S390" = "xyes"; then 14087 HAVE_CPU_S390_TRUE= 14088 HAVE_CPU_S390_FALSE='#' 14089else 14090 HAVE_CPU_S390_TRUE='#' 14091 HAVE_CPU_S390_FALSE= 14092fi 14093 14094 if test "x$HAVE_CPU_IA64" = "xyes"; then 14095 HAVE_CPU_IA64_TRUE= 14096 HAVE_CPU_IA64_FALSE='#' 14097else 14098 HAVE_CPU_IA64_TRUE='#' 14099 HAVE_CPU_IA64_FALSE= 14100fi 14101 14102 if test "x$HAVE_CPU_M68K" = "xyes"; then 14103 HAVE_CPU_M68K_TRUE= 14104 HAVE_CPU_M68K_FALSE='#' 14105else 14106 HAVE_CPU_M68K_TRUE='#' 14107 HAVE_CPU_M68K_FALSE= 14108fi 14109 14110 if test "x$HAVE_CPU_X86_64" = "xyes"; then 14111 HAVE_CPU_X86_64_TRUE= 14112 HAVE_CPU_X86_64_FALSE='#' 14113else 14114 HAVE_CPU_X86_64_TRUE='#' 14115 HAVE_CPU_X86_64_FALSE= 14116fi 14117 14118 if test "x$HAVE_CPU_CRIS" = "xyes"; then 14119 HAVE_CPU_CRIS_TRUE= 14120 HAVE_CPU_CRIS_FALSE='#' 14121else 14122 HAVE_CPU_CRIS_TRUE='#' 14123 HAVE_CPU_CRIS_FALSE= 14124fi 14125 14126 if test "x$HAVE_CPU_CRISV32" = "xyes"; then 14127 HAVE_CPU_CRISV32_TRUE= 14128 HAVE_CPU_CRISV32_FALSE='#' 14129else 14130 HAVE_CPU_CRISV32_TRUE='#' 14131 HAVE_CPU_CRISV32_FALSE= 14132fi 14133 14134 14135 14136cat >>confdefs.h <<_ACEOF 14137#define HOST_CPU "$host_cpu" 14138_ACEOF 14139 14140 14141cat >>confdefs.h <<_ACEOF 14142#define TARGET_CPU "$target_cpu" 14143_ACEOF 14144 14145 14146 14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 14148$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 14149if ${ac_cv_c_bigendian+:} false; then : 14150 $as_echo_n "(cached) " >&6 14151else 14152 ac_cv_c_bigendian=unknown 14153 # See if we're dealing with a universal compiler. 14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14155/* end confdefs.h. */ 14156#ifndef __APPLE_CC__ 14157 not a universal capable compiler 14158 #endif 14159 typedef int dummy; 14160 14161_ACEOF 14162if ac_fn_c_try_compile "$LINENO"; then : 14163 14164 # Check for potential -arch flags. It is not universal unless 14165 # there are at least two -arch flags with different values. 14166 ac_arch= 14167 ac_prev= 14168 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 14169 if test -n "$ac_prev"; then 14170 case $ac_word in 14171 i?86 | x86_64 | ppc | ppc64) 14172 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 14173 ac_arch=$ac_word 14174 else 14175 ac_cv_c_bigendian=universal 14176 break 14177 fi 14178 ;; 14179 esac 14180 ac_prev= 14181 elif test "x$ac_word" = "x-arch"; then 14182 ac_prev=arch 14183 fi 14184 done 14185fi 14186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14187 if test $ac_cv_c_bigendian = unknown; then 14188 # See if sys/param.h defines the BYTE_ORDER macro. 14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14190/* end confdefs.h. */ 14191#include <sys/types.h> 14192 #include <sys/param.h> 14193 14194int 14195main () 14196{ 14197#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 14198 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 14199 && LITTLE_ENDIAN) 14200 bogus endian macros 14201 #endif 14202 14203 ; 14204 return 0; 14205} 14206_ACEOF 14207if ac_fn_c_try_compile "$LINENO"; then : 14208 # It does; now see whether it defined to BIG_ENDIAN or not. 14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14210/* end confdefs.h. */ 14211#include <sys/types.h> 14212 #include <sys/param.h> 14213 14214int 14215main () 14216{ 14217#if BYTE_ORDER != BIG_ENDIAN 14218 not big endian 14219 #endif 14220 14221 ; 14222 return 0; 14223} 14224_ACEOF 14225if ac_fn_c_try_compile "$LINENO"; then : 14226 ac_cv_c_bigendian=yes 14227else 14228 ac_cv_c_bigendian=no 14229fi 14230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14231fi 14232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14233 fi 14234 if test $ac_cv_c_bigendian = unknown; then 14235 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14237/* end confdefs.h. */ 14238#include <limits.h> 14239 14240int 14241main () 14242{ 14243#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 14244 bogus endian macros 14245 #endif 14246 14247 ; 14248 return 0; 14249} 14250_ACEOF 14251if ac_fn_c_try_compile "$LINENO"; then : 14252 # It does; now see whether it defined to _BIG_ENDIAN or not. 14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14254/* end confdefs.h. */ 14255#include <limits.h> 14256 14257int 14258main () 14259{ 14260#ifndef _BIG_ENDIAN 14261 not big endian 14262 #endif 14263 14264 ; 14265 return 0; 14266} 14267_ACEOF 14268if ac_fn_c_try_compile "$LINENO"; then : 14269 ac_cv_c_bigendian=yes 14270else 14271 ac_cv_c_bigendian=no 14272fi 14273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14274fi 14275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14276 fi 14277 if test $ac_cv_c_bigendian = unknown; then 14278 # Compile a test program. 14279 if test "$cross_compiling" = yes; then : 14280 # Try to guess by grepping values from an object file. 14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14282/* end confdefs.h. */ 14283short int ascii_mm[] = 14284 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14285 short int ascii_ii[] = 14286 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14287 int use_ascii (int i) { 14288 return ascii_mm[i] + ascii_ii[i]; 14289 } 14290 short int ebcdic_ii[] = 14291 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14292 short int ebcdic_mm[] = 14293 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14294 int use_ebcdic (int i) { 14295 return ebcdic_mm[i] + ebcdic_ii[i]; 14296 } 14297 extern int foo; 14298 14299int 14300main () 14301{ 14302return use_ascii (foo) == use_ebcdic (foo); 14303 ; 14304 return 0; 14305} 14306_ACEOF 14307if ac_fn_c_try_compile "$LINENO"; then : 14308 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 14309 ac_cv_c_bigendian=yes 14310 fi 14311 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14312 if test "$ac_cv_c_bigendian" = unknown; then 14313 ac_cv_c_bigendian=no 14314 else 14315 # finding both strings is unlikely to happen, but who knows? 14316 ac_cv_c_bigendian=unknown 14317 fi 14318 fi 14319fi 14320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14321else 14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14323/* end confdefs.h. */ 14324$ac_includes_default 14325int 14326main () 14327{ 14328 14329 /* Are we little or big endian? From Harbison&Steele. */ 14330 union 14331 { 14332 long int l; 14333 char c[sizeof (long int)]; 14334 } u; 14335 u.l = 1; 14336 return u.c[sizeof (long int) - 1] == 1; 14337 14338 ; 14339 return 0; 14340} 14341_ACEOF 14342if ac_fn_c_try_run "$LINENO"; then : 14343 ac_cv_c_bigendian=no 14344else 14345 ac_cv_c_bigendian=yes 14346fi 14347rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 14348 conftest.$ac_objext conftest.beam conftest.$ac_ext 14349fi 14350 14351 fi 14352fi 14353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 14354$as_echo "$ac_cv_c_bigendian" >&6; } 14355 case $ac_cv_c_bigendian in #( 14356 yes) 14357 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 14358;; #( 14359 no) 14360 ;; #( 14361 universal) 14362 14363$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 14364 14365 ;; #( 14366 *) 14367 as_fn_error $? "unknown endianness 14368 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 14369 esac 14370 14371 14372 14373ac_ext=c 14374ac_cpp='$CPP $CPPFLAGS' 14375ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14376ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14377ac_compiler_gnu=$ac_cv_c_compiler_gnu 14378if test -n "$ac_tool_prefix"; then 14379 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 14380set dummy ${ac_tool_prefix}gcc; ac_word=$2 14381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14382$as_echo_n "checking for $ac_word... " >&6; } 14383if ${ac_cv_prog_CC+:} false; then : 14384 $as_echo_n "(cached) " >&6 14385else 14386 if test -n "$CC"; then 14387 ac_cv_prog_CC="$CC" # Let the user override the test. 14388else 14389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14390for as_dir in $PATH 14391do 14392 IFS=$as_save_IFS 14393 test -z "$as_dir" && as_dir=. 14394 for ac_exec_ext in '' $ac_executable_extensions; do 14395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14396 ac_cv_prog_CC="${ac_tool_prefix}gcc" 14397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14398 break 2 14399 fi 14400done 14401 done 14402IFS=$as_save_IFS 14403 14404fi 14405fi 14406CC=$ac_cv_prog_CC 14407if test -n "$CC"; then 14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 14409$as_echo "$CC" >&6; } 14410else 14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14412$as_echo "no" >&6; } 14413fi 14414 14415 14416fi 14417if test -z "$ac_cv_prog_CC"; then 14418 ac_ct_CC=$CC 14419 # Extract the first word of "gcc", so it can be a program name with args. 14420set dummy gcc; ac_word=$2 14421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14422$as_echo_n "checking for $ac_word... " >&6; } 14423if ${ac_cv_prog_ac_ct_CC+:} false; then : 14424 $as_echo_n "(cached) " >&6 14425else 14426 if test -n "$ac_ct_CC"; then 14427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 14428else 14429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14430for as_dir in $PATH 14431do 14432 IFS=$as_save_IFS 14433 test -z "$as_dir" && as_dir=. 14434 for ac_exec_ext in '' $ac_executable_extensions; do 14435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14436 ac_cv_prog_ac_ct_CC="gcc" 14437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14438 break 2 14439 fi 14440done 14441 done 14442IFS=$as_save_IFS 14443 14444fi 14445fi 14446ac_ct_CC=$ac_cv_prog_ac_ct_CC 14447if test -n "$ac_ct_CC"; then 14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 14449$as_echo "$ac_ct_CC" >&6; } 14450else 14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14452$as_echo "no" >&6; } 14453fi 14454 14455 if test "x$ac_ct_CC" = x; then 14456 CC="" 14457 else 14458 case $cross_compiling:$ac_tool_warned in 14459yes:) 14460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14462ac_tool_warned=yes ;; 14463esac 14464 CC=$ac_ct_CC 14465 fi 14466else 14467 CC="$ac_cv_prog_CC" 14468fi 14469 14470if test -z "$CC"; then 14471 if test -n "$ac_tool_prefix"; then 14472 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 14473set dummy ${ac_tool_prefix}cc; ac_word=$2 14474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14475$as_echo_n "checking for $ac_word... " >&6; } 14476if ${ac_cv_prog_CC+:} false; then : 14477 $as_echo_n "(cached) " >&6 14478else 14479 if test -n "$CC"; then 14480 ac_cv_prog_CC="$CC" # Let the user override the test. 14481else 14482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14483for as_dir in $PATH 14484do 14485 IFS=$as_save_IFS 14486 test -z "$as_dir" && as_dir=. 14487 for ac_exec_ext in '' $ac_executable_extensions; do 14488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14489 ac_cv_prog_CC="${ac_tool_prefix}cc" 14490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14491 break 2 14492 fi 14493done 14494 done 14495IFS=$as_save_IFS 14496 14497fi 14498fi 14499CC=$ac_cv_prog_CC 14500if test -n "$CC"; then 14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 14502$as_echo "$CC" >&6; } 14503else 14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14505$as_echo "no" >&6; } 14506fi 14507 14508 14509 fi 14510fi 14511if test -z "$CC"; then 14512 # Extract the first word of "cc", so it can be a program name with args. 14513set dummy cc; ac_word=$2 14514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14515$as_echo_n "checking for $ac_word... " >&6; } 14516if ${ac_cv_prog_CC+:} false; then : 14517 $as_echo_n "(cached) " >&6 14518else 14519 if test -n "$CC"; then 14520 ac_cv_prog_CC="$CC" # Let the user override the test. 14521else 14522 ac_prog_rejected=no 14523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14524for as_dir in $PATH 14525do 14526 IFS=$as_save_IFS 14527 test -z "$as_dir" && as_dir=. 14528 for ac_exec_ext in '' $ac_executable_extensions; do 14529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14530 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 14531 ac_prog_rejected=yes 14532 continue 14533 fi 14534 ac_cv_prog_CC="cc" 14535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14536 break 2 14537 fi 14538done 14539 done 14540IFS=$as_save_IFS 14541 14542if test $ac_prog_rejected = yes; then 14543 # We found a bogon in the path, so make sure we never use it. 14544 set dummy $ac_cv_prog_CC 14545 shift 14546 if test $# != 0; then 14547 # We chose a different compiler from the bogus one. 14548 # However, it has the same basename, so the bogon will be chosen 14549 # first if we set CC to just the basename; use the full file name. 14550 shift 14551 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 14552 fi 14553fi 14554fi 14555fi 14556CC=$ac_cv_prog_CC 14557if test -n "$CC"; then 14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 14559$as_echo "$CC" >&6; } 14560else 14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14562$as_echo "no" >&6; } 14563fi 14564 14565 14566fi 14567if test -z "$CC"; then 14568 if test -n "$ac_tool_prefix"; then 14569 for ac_prog in cl.exe 14570 do 14571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 14572set dummy $ac_tool_prefix$ac_prog; ac_word=$2 14573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14574$as_echo_n "checking for $ac_word... " >&6; } 14575if ${ac_cv_prog_CC+:} false; then : 14576 $as_echo_n "(cached) " >&6 14577else 14578 if test -n "$CC"; then 14579 ac_cv_prog_CC="$CC" # Let the user override the test. 14580else 14581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14582for as_dir in $PATH 14583do 14584 IFS=$as_save_IFS 14585 test -z "$as_dir" && as_dir=. 14586 for ac_exec_ext in '' $ac_executable_extensions; do 14587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14588 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 14589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14590 break 2 14591 fi 14592done 14593 done 14594IFS=$as_save_IFS 14595 14596fi 14597fi 14598CC=$ac_cv_prog_CC 14599if test -n "$CC"; then 14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 14601$as_echo "$CC" >&6; } 14602else 14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14604$as_echo "no" >&6; } 14605fi 14606 14607 14608 test -n "$CC" && break 14609 done 14610fi 14611if test -z "$CC"; then 14612 ac_ct_CC=$CC 14613 for ac_prog in cl.exe 14614do 14615 # Extract the first word of "$ac_prog", so it can be a program name with args. 14616set dummy $ac_prog; ac_word=$2 14617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14618$as_echo_n "checking for $ac_word... " >&6; } 14619if ${ac_cv_prog_ac_ct_CC+:} false; then : 14620 $as_echo_n "(cached) " >&6 14621else 14622 if test -n "$ac_ct_CC"; then 14623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 14624else 14625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14626for as_dir in $PATH 14627do 14628 IFS=$as_save_IFS 14629 test -z "$as_dir" && as_dir=. 14630 for ac_exec_ext in '' $ac_executable_extensions; do 14631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14632 ac_cv_prog_ac_ct_CC="$ac_prog" 14633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14634 break 2 14635 fi 14636done 14637 done 14638IFS=$as_save_IFS 14639 14640fi 14641fi 14642ac_ct_CC=$ac_cv_prog_ac_ct_CC 14643if test -n "$ac_ct_CC"; then 14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 14645$as_echo "$ac_ct_CC" >&6; } 14646else 14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14648$as_echo "no" >&6; } 14649fi 14650 14651 14652 test -n "$ac_ct_CC" && break 14653done 14654 14655 if test "x$ac_ct_CC" = x; then 14656 CC="" 14657 else 14658 case $cross_compiling:$ac_tool_warned in 14659yes:) 14660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 14661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14662ac_tool_warned=yes ;; 14663esac 14664 CC=$ac_ct_CC 14665 fi 14666fi 14667 14668fi 14669 14670 14671test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14672$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14673as_fn_error $? "no acceptable C compiler found in \$PATH 14674See \`config.log' for more details" "$LINENO" 5; } 14675 14676# Provide some information about the compiler. 14677$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 14678set X $ac_compile 14679ac_compiler=$2 14680for ac_option in --version -v -V -qversion; do 14681 { { ac_try="$ac_compiler $ac_option >&5" 14682case "(($ac_try" in 14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14684 *) ac_try_echo=$ac_try;; 14685esac 14686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 14687$as_echo "$ac_try_echo"; } >&5 14688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 14689 ac_status=$? 14690 if test -s conftest.err; then 14691 sed '10a\ 14692... rest of stderr output deleted ... 14693 10q' conftest.err >conftest.er1 14694 cat conftest.er1 >&5 14695 fi 14696 rm -f conftest.er1 conftest.err 14697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14698 test $ac_status = 0; } 14699done 14700 14701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 14702$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 14703if ${ac_cv_c_compiler_gnu+:} false; then : 14704 $as_echo_n "(cached) " >&6 14705else 14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14707/* end confdefs.h. */ 14708 14709int 14710main () 14711{ 14712#ifndef __GNUC__ 14713 choke me 14714#endif 14715 14716 ; 14717 return 0; 14718} 14719_ACEOF 14720if ac_fn_c_try_compile "$LINENO"; then : 14721 ac_compiler_gnu=yes 14722else 14723 ac_compiler_gnu=no 14724fi 14725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14726ac_cv_c_compiler_gnu=$ac_compiler_gnu 14727 14728fi 14729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 14730$as_echo "$ac_cv_c_compiler_gnu" >&6; } 14731if test $ac_compiler_gnu = yes; then 14732 GCC=yes 14733else 14734 GCC= 14735fi 14736ac_test_CFLAGS=${CFLAGS+set} 14737ac_save_CFLAGS=$CFLAGS 14738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 14739$as_echo_n "checking whether $CC accepts -g... " >&6; } 14740if ${ac_cv_prog_cc_g+:} false; then : 14741 $as_echo_n "(cached) " >&6 14742else 14743 ac_save_c_werror_flag=$ac_c_werror_flag 14744 ac_c_werror_flag=yes 14745 ac_cv_prog_cc_g=no 14746 CFLAGS="-g" 14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14748/* end confdefs.h. */ 14749 14750int 14751main () 14752{ 14753 14754 ; 14755 return 0; 14756} 14757_ACEOF 14758if ac_fn_c_try_compile "$LINENO"; then : 14759 ac_cv_prog_cc_g=yes 14760else 14761 CFLAGS="" 14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14763/* end confdefs.h. */ 14764 14765int 14766main () 14767{ 14768 14769 ; 14770 return 0; 14771} 14772_ACEOF 14773if ac_fn_c_try_compile "$LINENO"; then : 14774 14775else 14776 ac_c_werror_flag=$ac_save_c_werror_flag 14777 CFLAGS="-g" 14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14779/* end confdefs.h. */ 14780 14781int 14782main () 14783{ 14784 14785 ; 14786 return 0; 14787} 14788_ACEOF 14789if ac_fn_c_try_compile "$LINENO"; then : 14790 ac_cv_prog_cc_g=yes 14791fi 14792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14793fi 14794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14795fi 14796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14797 ac_c_werror_flag=$ac_save_c_werror_flag 14798fi 14799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 14800$as_echo "$ac_cv_prog_cc_g" >&6; } 14801if test "$ac_test_CFLAGS" = set; then 14802 CFLAGS=$ac_save_CFLAGS 14803elif test $ac_cv_prog_cc_g = yes; then 14804 if test "$GCC" = yes; then 14805 CFLAGS="-g -O2" 14806 else 14807 CFLAGS="-g" 14808 fi 14809else 14810 if test "$GCC" = yes; then 14811 CFLAGS="-O2" 14812 else 14813 CFLAGS= 14814 fi 14815fi 14816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 14817$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 14818if ${ac_cv_prog_cc_c89+:} false; then : 14819 $as_echo_n "(cached) " >&6 14820else 14821 ac_cv_prog_cc_c89=no 14822ac_save_CC=$CC 14823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14824/* end confdefs.h. */ 14825#include <stdarg.h> 14826#include <stdio.h> 14827struct stat; 14828/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 14829struct buf { int x; }; 14830FILE * (*rcsopen) (struct buf *, struct stat *, int); 14831static char *e (p, i) 14832 char **p; 14833 int i; 14834{ 14835 return p[i]; 14836} 14837static char *f (char * (*g) (char **, int), char **p, ...) 14838{ 14839 char *s; 14840 va_list v; 14841 va_start (v,p); 14842 s = g (p, va_arg (v,int)); 14843 va_end (v); 14844 return s; 14845} 14846 14847/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 14848 function prototypes and stuff, but not '\xHH' hex character constants. 14849 These don't provoke an error unfortunately, instead are silently treated 14850 as 'x'. The following induces an error, until -std is added to get 14851 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 14852 array size at least. It's necessary to write '\x00'==0 to get something 14853 that's true only with -std. */ 14854int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 14855 14856/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 14857 inside strings and character constants. */ 14858#define FOO(x) 'x' 14859int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 14860 14861int test (int i, double x); 14862struct s1 {int (*f) (int a);}; 14863struct s2 {int (*f) (double a);}; 14864int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 14865int argc; 14866char **argv; 14867int 14868main () 14869{ 14870return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 14871 ; 14872 return 0; 14873} 14874_ACEOF 14875for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 14876 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 14877do 14878 CC="$ac_save_CC $ac_arg" 14879 if ac_fn_c_try_compile "$LINENO"; then : 14880 ac_cv_prog_cc_c89=$ac_arg 14881fi 14882rm -f core conftest.err conftest.$ac_objext 14883 test "x$ac_cv_prog_cc_c89" != "xno" && break 14884done 14885rm -f conftest.$ac_ext 14886CC=$ac_save_CC 14887 14888fi 14889# AC_CACHE_VAL 14890case "x$ac_cv_prog_cc_c89" in 14891 x) 14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 14893$as_echo "none needed" >&6; } ;; 14894 xno) 14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 14896$as_echo "unsupported" >&6; } ;; 14897 *) 14898 CC="$CC $ac_cv_prog_cc_c89" 14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 14900$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 14901esac 14902if test "x$ac_cv_prog_cc_c89" != xno; then : 14903 14904fi 14905 14906ac_ext=c 14907ac_cpp='$CPP $CPPFLAGS' 14908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14910ac_compiler_gnu=$ac_cv_c_compiler_gnu 14911 14912ac_ext=c 14913ac_cpp='$CPP $CPPFLAGS' 14914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14916ac_compiler_gnu=$ac_cv_c_compiler_gnu 14917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 14918$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 14919if ${am_cv_prog_cc_c_o+:} false; then : 14920 $as_echo_n "(cached) " >&6 14921else 14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14923/* end confdefs.h. */ 14924 14925int 14926main () 14927{ 14928 14929 ; 14930 return 0; 14931} 14932_ACEOF 14933 # Make sure it works both with $CC and with simple cc. 14934 # Following AC_PROG_CC_C_O, we do the test twice because some 14935 # compilers refuse to overwrite an existing .o file with -o, 14936 # though they will create one. 14937 am_cv_prog_cc_c_o=yes 14938 for am_i in 1 2; do 14939 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 14940 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 14941 ac_status=$? 14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14943 (exit $ac_status); } \ 14944 && test -f conftest2.$ac_objext; then 14945 : OK 14946 else 14947 am_cv_prog_cc_c_o=no 14948 break 14949 fi 14950 done 14951 rm -f core conftest* 14952 unset am_i 14953fi 14954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 14955$as_echo "$am_cv_prog_cc_c_o" >&6; } 14956if test "$am_cv_prog_cc_c_o" != yes; then 14957 # Losing compiler, so override with the script. 14958 # FIXME: It is wrong to rewrite CC. 14959 # But if we don't then we get into trouble of one sort or another. 14960 # A longer-term fix would be to have automake use am__CC in this case, 14961 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 14962 CC="$am_aux_dir/compile $CC" 14963fi 14964ac_ext=c 14965ac_cpp='$CPP $CPPFLAGS' 14966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14968ac_compiler_gnu=$ac_cv_c_compiler_gnu 14969 14970 14971depcc="$CC" am_compiler_list= 14972 14973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 14974$as_echo_n "checking dependency style of $depcc... " >&6; } 14975if ${am_cv_CC_dependencies_compiler_type+:} false; then : 14976 $as_echo_n "(cached) " >&6 14977else 14978 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 14979 # We make a subdir and do the tests there. Otherwise we can end up 14980 # making bogus files that we don't know about and never remove. For 14981 # instance it was reported that on HP-UX the gcc test will end up 14982 # making a dummy file named 'D' -- because '-MD' means "put the output 14983 # in D". 14984 rm -rf conftest.dir 14985 mkdir conftest.dir 14986 # Copy depcomp to subdir because otherwise we won't find it if we're 14987 # using a relative directory. 14988 cp "$am_depcomp" conftest.dir 14989 cd conftest.dir 14990 # We will build objects and dependencies in a subdirectory because 14991 # it helps to detect inapplicable dependency modes. For instance 14992 # both Tru64's cc and ICC support -MD to output dependencies as a 14993 # side effect of compilation, but ICC will put the dependencies in 14994 # the current directory while Tru64 will put them in the object 14995 # directory. 14996 mkdir sub 14997 14998 am_cv_CC_dependencies_compiler_type=none 14999 if test "$am_compiler_list" = ""; then 15000 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 15001 fi 15002 am__universal=false 15003 case " $depcc " in #( 15004 *\ -arch\ *\ -arch\ *) am__universal=true ;; 15005 esac 15006 15007 for depmode in $am_compiler_list; do 15008 # Setup a source with many dependencies, because some compilers 15009 # like to wrap large dependency lists on column 80 (with \), and 15010 # we should not choose a depcomp mode which is confused by this. 15011 # 15012 # We need to recreate these files for each test, as the compiler may 15013 # overwrite some of them when testing with obscure command lines. 15014 # This happens at least with the AIX C compiler. 15015 : > sub/conftest.c 15016 for i in 1 2 3 4 5 6; do 15017 echo '#include "conftst'$i'.h"' >> sub/conftest.c 15018 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 15019 # Solaris 10 /bin/sh. 15020 echo '/* dummy */' > sub/conftst$i.h 15021 done 15022 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 15023 15024 # We check with '-c' and '-o' for the sake of the "dashmstdout" 15025 # mode. It turns out that the SunPro C++ compiler does not properly 15026 # handle '-M -o', and we need to detect this. Also, some Intel 15027 # versions had trouble with output in subdirs. 15028 am__obj=sub/conftest.${OBJEXT-o} 15029 am__minus_obj="-o $am__obj" 15030 case $depmode in 15031 gcc) 15032 # This depmode causes a compiler race in universal mode. 15033 test "$am__universal" = false || continue 15034 ;; 15035 nosideeffect) 15036 # After this tag, mechanisms are not by side-effect, so they'll 15037 # only be used when explicitly requested. 15038 if test "x$enable_dependency_tracking" = xyes; then 15039 continue 15040 else 15041 break 15042 fi 15043 ;; 15044 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 15045 # This compiler won't grok '-c -o', but also, the minuso test has 15046 # not run yet. These depmodes are late enough in the game, and 15047 # so weak that their functioning should not be impacted. 15048 am__obj=conftest.${OBJEXT-o} 15049 am__minus_obj= 15050 ;; 15051 none) break ;; 15052 esac 15053 if depmode=$depmode \ 15054 source=sub/conftest.c object=$am__obj \ 15055 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 15056 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 15057 >/dev/null 2>conftest.err && 15058 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 15059 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 15060 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 15061 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 15062 # icc doesn't choke on unknown options, it will just issue warnings 15063 # or remarks (even with -Werror). So we grep stderr for any message 15064 # that says an option was ignored or not supported. 15065 # When given -MP, icc 7.0 and 7.1 complain thusly: 15066 # icc: Command line warning: ignoring option '-M'; no argument required 15067 # The diagnosis changed in icc 8.0: 15068 # icc: Command line remark: option '-MP' not supported 15069 if (grep 'ignoring option' conftest.err || 15070 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 15071 am_cv_CC_dependencies_compiler_type=$depmode 15072 break 15073 fi 15074 fi 15075 done 15076 15077 cd .. 15078 rm -rf conftest.dir 15079else 15080 am_cv_CC_dependencies_compiler_type=none 15081fi 15082 15083fi 15084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 15085$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 15086CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 15087 15088 if 15089 test "x$enable_dependency_tracking" != xno \ 15090 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 15091 am__fastdepCC_TRUE= 15092 am__fastdepCC_FALSE='#' 15093else 15094 am__fastdepCC_TRUE='#' 15095 am__fastdepCC_FALSE= 15096fi 15097 15098 15099 15100 15101 15102 15103 15104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5 15105$as_echo_n "checking for working do while(0) macros... " >&6; } 15106if ${_cv_g_support_dowhile_macros+:} false; then : 15107 $as_echo_n "(cached) " >&6 15108else 15109 15110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15111/* end confdefs.h. */ 15112 15113int 15114main () 15115{ 15116 15117 #define STMT_START do 15118 #define STMT_END while(0) 15119 #define STMT_TEST STMT_START { i = 0; } STMT_END 15120 int main(void) { int i = 1; STMT_TEST; return i; } 15121 ; 15122 return 0; 15123} 15124_ACEOF 15125if ac_fn_c_try_compile "$LINENO"; then : 15126 _cv_g_support_dowhile_macros=yes 15127else 15128 _cv_g_support_dowhile_macros=no 15129fi 15130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15131 15132fi 15133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5 15134$as_echo "$_cv_g_support_dowhile_macros" >&6; } 15135if test x$_cv_g_support_dowhile_macros = xyes; then 15136 15137$as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h 15138 15139fi 15140 15141 15142# Extract the first word of "valgrind", so it can be a program name with args. 15143set dummy valgrind; ac_word=$2 15144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15145$as_echo_n "checking for $ac_word... " >&6; } 15146if ${ac_cv_path_VALGRIND_PATH+:} false; then : 15147 $as_echo_n "(cached) " >&6 15148else 15149 case $VALGRIND_PATH in 15150 [\\/]* | ?:[\\/]*) 15151 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path. 15152 ;; 15153 *) 15154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15155for as_dir in $PATH 15156do 15157 IFS=$as_save_IFS 15158 test -z "$as_dir" && as_dir=. 15159 for ac_exec_ext in '' $ac_executable_extensions; do 15160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15161 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext" 15162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15163 break 2 15164 fi 15165done 15166 done 15167IFS=$as_save_IFS 15168 15169 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no" 15170 ;; 15171esac 15172fi 15173VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH 15174if test -n "$VALGRIND_PATH"; then 15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5 15176$as_echo "$VALGRIND_PATH" >&6; } 15177else 15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15179$as_echo "no" >&6; } 15180fi 15181 15182 15183 if test ! "x$VALGRIND_PATH" = "xno"; then 15184 HAVE_VALGRIND_TRUE= 15185 HAVE_VALGRIND_FALSE='#' 15186else 15187 HAVE_VALGRIND_TRUE='#' 15188 HAVE_VALGRIND_FALSE= 15189fi 15190 15191 15192 15193 15194 15195 # Check whether --enable-introspection was given. 15196if test "${enable_introspection+set}" = set; then : 15197 enableval=$enable_introspection; 15198else 15199 enable_introspection=auto 15200fi 15201 15202 15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 15204$as_echo_n "checking for gobject-introspection... " >&6; } 15205 15206 case $enable_introspection in #( 15207 no) : 15208 found_introspection="no (disabled, use --enable-introspection to enable)" 15209 ;; #( 15210 yes) : 15211 if test -n "$PKG_CONFIG" && \ 15212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 15213 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 15214 ac_status=$? 15215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15216 test $ac_status = 0; }; then 15217 : 15218else 15219 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 15220fi 15221 if test -n "$PKG_CONFIG" && \ 15222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5 15223 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5 15224 ac_status=$? 15225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15226 test $ac_status = 0; }; then 15227 found_introspection=yes 15228else 15229 as_fn_error $? "You need to have gobject-introspection >= 0.9.6 installed to build GStreamer Editing Services" "$LINENO" 5 15230fi 15231 ;; #( 15232 auto) : 15233 if test -n "$PKG_CONFIG" && \ 15234 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5 15235 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5 15236 ac_status=$? 15237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15238 test $ac_status = 0; }; then 15239 found_introspection=yes 15240else 15241 found_introspection=no 15242fi 15243 ;; #( 15244 *) : 15245 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 15246 ;; 15247esac 15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 15249$as_echo "$found_introspection" >&6; } 15250 15251 INTROSPECTION_SCANNER= 15252 INTROSPECTION_COMPILER= 15253 INTROSPECTION_GENERATE= 15254 INTROSPECTION_GIRDIR= 15255 INTROSPECTION_TYPELIBDIR= 15256 if test "x$found_introspection" = "xyes"; then 15257 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` 15258 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` 15259 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` 15260 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` 15261 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" 15262 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` 15263 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` 15264 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection 15265 INTROSPECTION_INIT="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" 15266 fi 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 if test "x$found_introspection" = "xyes"; then 15278 HAVE_INTROSPECTION_TRUE= 15279 HAVE_INTROSPECTION_FALSE='#' 15280else 15281 HAVE_INTROSPECTION_TRUE='#' 15282 HAVE_INTROSPECTION_FALSE= 15283fi 15284 15285 15286 15287 15288 15289 if test "x$PACKAGE_TARNAME" = "x" 15290 then 15291 as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5 15292 fi 15293 docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_API_VERSION" 15294 15295 # Check whether --enable-docbook was given. 15296if test "${enable_docbook+set}" = set; then : 15297 enableval=$enable_docbook; 15298else 15299 enable_docbook=no 15300fi 15301 15302 15303 have_docbook=no 15304 15305 if test x$enable_docbook = xyes; then 15306 15307 # Extract the first word of "docbook2ps", so it can be a program name with args. 15308set dummy docbook2ps; ac_word=$2 15309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15310$as_echo_n "checking for $ac_word... " >&6; } 15311if ${ac_cv_prog_HAVE_DOCBOOK2PS+:} false; then : 15312 $as_echo_n "(cached) " >&6 15313else 15314 if test -n "$HAVE_DOCBOOK2PS"; then 15315 ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test. 15316else 15317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15318for as_dir in $PATH 15319do 15320 IFS=$as_save_IFS 15321 test -z "$as_dir" && as_dir=. 15322 for ac_exec_ext in '' $ac_executable_extensions; do 15323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15324 ac_cv_prog_HAVE_DOCBOOK2PS="yes" 15325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15326 break 2 15327 fi 15328done 15329 done 15330IFS=$as_save_IFS 15331 15332 test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no" 15333fi 15334fi 15335HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS 15336if test -n "$HAVE_DOCBOOK2PS"; then 15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5 15338$as_echo "$HAVE_DOCBOOK2PS" >&6; } 15339else 15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15341$as_echo "no" >&6; } 15342fi 15343 15344 15345 # Extract the first word of "xsltproc", so it can be a program name with args. 15346set dummy xsltproc; ac_word=$2 15347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15348$as_echo_n "checking for $ac_word... " >&6; } 15349if ${ac_cv_prog_HAVE_XSLTPROC+:} false; then : 15350 $as_echo_n "(cached) " >&6 15351else 15352 if test -n "$HAVE_XSLTPROC"; then 15353 ac_cv_prog_HAVE_XSLTPROC="$HAVE_XSLTPROC" # Let the user override the test. 15354else 15355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15356for as_dir in $PATH 15357do 15358 IFS=$as_save_IFS 15359 test -z "$as_dir" && as_dir=. 15360 for ac_exec_ext in '' $ac_executable_extensions; do 15361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15362 ac_cv_prog_HAVE_XSLTPROC="yes" 15363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15364 break 2 15365 fi 15366done 15367 done 15368IFS=$as_save_IFS 15369 15370 test -z "$ac_cv_prog_HAVE_XSLTPROC" && ac_cv_prog_HAVE_XSLTPROC="no" 15371fi 15372fi 15373HAVE_XSLTPROC=$ac_cv_prog_HAVE_XSLTPROC 15374if test -n "$HAVE_XSLTPROC"; then 15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSLTPROC" >&5 15376$as_echo "$HAVE_XSLTPROC" >&6; } 15377else 15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15379$as_echo "no" >&6; } 15380fi 15381 15382 15383 # Extract the first word of "jadetex", so it can be a program name with args. 15384set dummy jadetex; ac_word=$2 15385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15386$as_echo_n "checking for $ac_word... " >&6; } 15387if ${ac_cv_prog_HAVE_JADETEX+:} false; then : 15388 $as_echo_n "(cached) " >&6 15389else 15390 if test -n "$HAVE_JADETEX"; then 15391 ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test. 15392else 15393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15394for as_dir in $PATH 15395do 15396 IFS=$as_save_IFS 15397 test -z "$as_dir" && as_dir=. 15398 for ac_exec_ext in '' $ac_executable_extensions; do 15399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15400 ac_cv_prog_HAVE_JADETEX="yes" 15401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15402 break 2 15403 fi 15404done 15405 done 15406IFS=$as_save_IFS 15407 15408 test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no" 15409fi 15410fi 15411HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX 15412if test -n "$HAVE_JADETEX"; then 15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5 15414$as_echo "$HAVE_JADETEX" >&6; } 15415else 15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15417$as_echo "no" >&6; } 15418fi 15419 15420 15421 # Extract the first word of "ps2pdf", so it can be a program name with args. 15422set dummy ps2pdf; ac_word=$2 15423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15424$as_echo_n "checking for $ac_word... " >&6; } 15425if ${ac_cv_prog_HAVE_PS2PDF+:} false; then : 15426 $as_echo_n "(cached) " >&6 15427else 15428 if test -n "$HAVE_PS2PDF"; then 15429 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test. 15430else 15431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15432for as_dir in $PATH 15433do 15434 IFS=$as_save_IFS 15435 test -z "$as_dir" && as_dir=. 15436 for ac_exec_ext in '' $ac_executable_extensions; do 15437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15438 ac_cv_prog_HAVE_PS2PDF="yes" 15439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15440 break 2 15441 fi 15442done 15443 done 15444IFS=$as_save_IFS 15445 15446 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no" 15447fi 15448fi 15449HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF 15450if test -n "$HAVE_PS2PDF"; then 15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5 15452$as_echo "$HAVE_PS2PDF" >&6; } 15453else 15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15455$as_echo "no" >&6; } 15456fi 15457 15458 15459 15460 15461 XSLTPROC_FLAGS=--nonet 15462 DOCBOOK_ROOT= 15463 TYPE_LC=xml 15464 TYPE_UC=XML 15465 DOCBOOK_VERSION=4.1.2 15466 15467 if test -n "$XML_CATALOG_FILES"; then 15468 oldIFS=$IFS 15469 IFS=' ' 15470 for xml_catalog_file in $XML_CATALOG_FILES; do 15471 if test -f $xml_catalog_file; then 15472 XML_CATALOG=$xml_catalog_file 15473 CAT_ENTRY_START='<!--' 15474 CAT_ENTRY_END='-->' 15475 break 15476 fi 15477 done 15478 IFS=$oldIFS 15479 elif test ! -f /etc/xml/catalog; then 15480 for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ; 15481 do 15482 if test -d "$i"; then 15483 DOCBOOK_ROOT=$i 15484 fi 15485 done 15486 else 15487 XML_CATALOG=/etc/xml/catalog 15488 CAT_ENTRY_START='<!--' 15489 CAT_ENTRY_END='-->' 15490 fi 15491 15492 # Extract the first word of "xsltproc", so it can be a program name with args. 15493set dummy xsltproc; ac_word=$2 15494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15495$as_echo_n "checking for $ac_word... " >&6; } 15496if ${ac_cv_prog_XSLTPROC+:} false; then : 15497 $as_echo_n "(cached) " >&6 15498else 15499 if test -n "$XSLTPROC"; then 15500 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test. 15501else 15502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15503for as_dir in $PATH 15504do 15505 IFS=$as_save_IFS 15506 test -z "$as_dir" && as_dir=. 15507 for ac_exec_ext in '' $ac_executable_extensions; do 15508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15509 ac_cv_prog_XSLTPROC="xsltproc" 15510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15511 break 2 15512 fi 15513done 15514 done 15515IFS=$as_save_IFS 15516 15517fi 15518fi 15519XSLTPROC=$ac_cv_prog_XSLTPROC 15520if test -n "$XSLTPROC"; then 15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 15522$as_echo "$XSLTPROC" >&6; } 15523else 15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15525$as_echo "no" >&6; } 15526fi 15527 15528 15529 XSLTPROC_WORKS=no 15530 if test -n "$XSLTPROC"; then 15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5 15532$as_echo_n "checking whether xsltproc docbook processing works... " >&6; } 15533 15534 if test -n "$XML_CATALOG"; then 15535 DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" 15536 else 15537 DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl" 15538 fi 15539 $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END 15540<?xml version="1.0" encoding='ISO-8859-1'?> 15541<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd"> 15542<book id="test"> 15543</book> 15544END 15545 if test "$?" = 0; then 15546 XSLTPROC_WORKS=yes 15547 fi 15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5 15549$as_echo "$XSLTPROC_WORKS" >&6; } 15550 fi 15551 15552 if test "x$XSLTPROC_WORKS" = "xyes"; then 15553 have_docbook=yes 15554 else 15555 have_docbook=no 15556 fi 15557 15558 15559 15560 15561 15562 15563 15564 15565 # Extract the first word of "dvips", so it can be a program name with args. 15566set dummy dvips; ac_word=$2 15567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15568$as_echo_n "checking for $ac_word... " >&6; } 15569if ${ac_cv_prog_HAVE_DVIPS+:} false; then : 15570 $as_echo_n "(cached) " >&6 15571else 15572 if test -n "$HAVE_DVIPS"; then 15573 ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test. 15574else 15575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15576for as_dir in $PATH 15577do 15578 IFS=$as_save_IFS 15579 test -z "$as_dir" && as_dir=. 15580 for ac_exec_ext in '' $ac_executable_extensions; do 15581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15582 ac_cv_prog_HAVE_DVIPS="yes" 15583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15584 break 2 15585 fi 15586done 15587 done 15588IFS=$as_save_IFS 15589 15590 test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no" 15591fi 15592fi 15593HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS 15594if test -n "$HAVE_DVIPS"; then 15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5 15596$as_echo "$HAVE_DVIPS" >&6; } 15597else 15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15599$as_echo "no" >&6; } 15600fi 15601 15602 15603 # Extract the first word of "xmllint", so it can be a program name with args. 15604set dummy xmllint; ac_word=$2 15605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15606$as_echo_n "checking for $ac_word... " >&6; } 15607if ${ac_cv_prog_HAVE_XMLLINT+:} false; then : 15608 $as_echo_n "(cached) " >&6 15609else 15610 if test -n "$HAVE_XMLLINT"; then 15611 ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test. 15612else 15613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15614for as_dir in $PATH 15615do 15616 IFS=$as_save_IFS 15617 test -z "$as_dir" && as_dir=. 15618 for ac_exec_ext in '' $ac_executable_extensions; do 15619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15620 ac_cv_prog_HAVE_XMLLINT="yes" 15621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15622 break 2 15623 fi 15624done 15625 done 15626IFS=$as_save_IFS 15627 15628 test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no" 15629fi 15630fi 15631HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT 15632if test -n "$HAVE_XMLLINT"; then 15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5 15634$as_echo "$HAVE_XMLLINT" >&6; } 15635else 15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15637$as_echo "no" >&6; } 15638fi 15639 15640 15641 15642 # Extract the first word of "pngtopnm", so it can be a program name with args. 15643set dummy pngtopnm; ac_word=$2 15644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15645$as_echo_n "checking for $ac_word... " >&6; } 15646if ${ac_cv_prog_HAVE_PNGTOPNM+:} false; then : 15647 $as_echo_n "(cached) " >&6 15648else 15649 if test -n "$HAVE_PNGTOPNM"; then 15650 ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test. 15651else 15652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15653for as_dir in $PATH 15654do 15655 IFS=$as_save_IFS 15656 test -z "$as_dir" && as_dir=. 15657 for ac_exec_ext in '' $ac_executable_extensions; do 15658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15659 ac_cv_prog_HAVE_PNGTOPNM="yes" 15660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15661 break 2 15662 fi 15663done 15664 done 15665IFS=$as_save_IFS 15666 15667 test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no" 15668fi 15669fi 15670HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM 15671if test -n "$HAVE_PNGTOPNM"; then 15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5 15673$as_echo "$HAVE_PNGTOPNM" >&6; } 15674else 15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15676$as_echo "no" >&6; } 15677fi 15678 15679 15680 # Extract the first word of "pnmtops", so it can be a program name with args. 15681set dummy pnmtops; ac_word=$2 15682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15683$as_echo_n "checking for $ac_word... " >&6; } 15684if ${ac_cv_prog_HAVE_PNMTOPS+:} false; then : 15685 $as_echo_n "(cached) " >&6 15686else 15687 if test -n "$HAVE_PNMTOPS"; then 15688 ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test. 15689else 15690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15691for as_dir in $PATH 15692do 15693 IFS=$as_save_IFS 15694 test -z "$as_dir" && as_dir=. 15695 for ac_exec_ext in '' $ac_executable_extensions; do 15696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15697 ac_cv_prog_HAVE_PNMTOPS="yes" 15698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15699 break 2 15700 fi 15701done 15702 done 15703IFS=$as_save_IFS 15704 15705 test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no" 15706fi 15707fi 15708HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS 15709if test -n "$HAVE_PNMTOPS"; then 15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5 15711$as_echo "$HAVE_PNMTOPS" >&6; } 15712else 15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15714$as_echo "no" >&6; } 15715fi 15716 15717 15718 # Extract the first word of "epstopdf", so it can be a program name with args. 15719set dummy epstopdf; ac_word=$2 15720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15721$as_echo_n "checking for $ac_word... " >&6; } 15722if ${ac_cv_prog_HAVE_EPSTOPDF+:} false; then : 15723 $as_echo_n "(cached) " >&6 15724else 15725 if test -n "$HAVE_EPSTOPDF"; then 15726 ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test. 15727else 15728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15729for as_dir in $PATH 15730do 15731 IFS=$as_save_IFS 15732 test -z "$as_dir" && as_dir=. 15733 for ac_exec_ext in '' $ac_executable_extensions; do 15734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15735 ac_cv_prog_HAVE_EPSTOPDF="yes" 15736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15737 break 2 15738 fi 15739done 15740 done 15741IFS=$as_save_IFS 15742 15743 test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no" 15744fi 15745fi 15746HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF 15747if test -n "$HAVE_EPSTOPDF"; then 15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5 15749$as_echo "$HAVE_EPSTOPDF" >&6; } 15750else 15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15752$as_echo "no" >&6; } 15753fi 15754 15755 15756 15757 if test "x$HAVE_XSLTPROC" = "xyes" && \ 15758 test "x$enable_docbook" = "xyes" && \ 15759 test "x$HAVE_XMLLINT" = "xyes"; then 15760 DOC_HTML=yes 15761 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5 15762$as_echo "$as_me: Will output HTML documentation" >&6;} 15763 else 15764 DOC_HTML=no 15765 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5 15766$as_echo "$as_me: Will not output HTML documentation" >&6;} 15767 fi 15768 15769 if test "x$HAVE_DOCBOOK2PS" = "xyes" && \ 15770 test "x$enable_docbook" = "xyes" && \ 15771 test "x$HAVE_XMLLINT" = "xyes" && \ 15772 test "x$HAVE_JADETEX" = "xyes" && \ 15773 test "x$HAVE_DVIPS" = "xyes" && \ 15774 test "x$HAVE_PNGTOPNM" = "xyes" && \ 15775 test "x$HAVE_PNMTOPS" = "xyes"; then 15776 DOC_PS=yes 15777 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5 15778$as_echo "$as_me: Will output PS documentation" >&6;} 15779 else 15780 DOC_PS=no 15781 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5 15782$as_echo "$as_me: Will not output PS documentation" >&6;} 15783 fi 15784 15785 if test "x$DOC_PS" = "xyes" && \ 15786 test "x$enable_docbook" = "xyes" && \ 15787 test "x$HAVE_XMLLINT" = "xyes" && \ 15788 test "x$HAVE_PS2PDF" = "xyes"; then 15789 DOC_PDF=yes 15790 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5 15791$as_echo "$as_me: Will output PDF documentation" >&6;} 15792 else 15793 DOC_PDF=no 15794 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5 15795$as_echo "$as_me: Will not output PDF documentation" >&6;} 15796 fi 15797 15798 if test "x$have_docbook" != "xyes"; then 15799 enable_docbook=no 15800 fi 15801 fi 15802 15803 if test "x$have_docbook" = "xyes"; then 15804 { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5 15805$as_echo "$as_me: Installing documentation in $docdir" >&6;} 15806 15807 fi 15808 15809 if test x$enable_docbook = xyes; then 15810 ENABLE_DOCBOOK_TRUE= 15811 ENABLE_DOCBOOK_FALSE='#' 15812else 15813 ENABLE_DOCBOOK_TRUE='#' 15814 ENABLE_DOCBOOK_FALSE= 15815fi 15816 15817 if test x$DOC_HTML = xyes; then 15818 DOC_HTML_TRUE= 15819 DOC_HTML_FALSE='#' 15820else 15821 DOC_HTML_TRUE='#' 15822 DOC_HTML_FALSE= 15823fi 15824 15825 if test x$DOC_PDF = xyes; then 15826 DOC_PDF_TRUE= 15827 DOC_PDF_FALSE='#' 15828else 15829 DOC_PDF_TRUE='#' 15830 DOC_PDF_FALSE= 15831fi 15832 15833 if test x$DOC_PS = xyes; then 15834 DOC_PS_TRUE= 15835 DOC_PS_FALSE='#' 15836else 15837 DOC_PS_TRUE='#' 15838 DOC_PS_FALSE= 15839fi 15840 15841 15842 15843 15844 15845 # Extract the first word of "gtkdoc-check", so it can be a program name with args. 15846set dummy gtkdoc-check; ac_word=$2 15847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15848$as_echo_n "checking for $ac_word... " >&6; } 15849if ${ac_cv_path_GTKDOC_CHECK+:} false; then : 15850 $as_echo_n "(cached) " >&6 15851else 15852 case $GTKDOC_CHECK in 15853 [\\/]* | ?:[\\/]*) 15854 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 15855 ;; 15856 *) 15857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15858for as_dir in $PATH 15859do 15860 IFS=$as_save_IFS 15861 test -z "$as_dir" && as_dir=. 15862 for ac_exec_ext in '' $ac_executable_extensions; do 15863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15864 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 15865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15866 break 2 15867 fi 15868done 15869 done 15870IFS=$as_save_IFS 15871 15872 ;; 15873esac 15874fi 15875GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 15876if test -n "$GTKDOC_CHECK"; then 15877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 15878$as_echo "$GTKDOC_CHECK" >&6; } 15879else 15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15881$as_echo "no" >&6; } 15882fi 15883 15884 15885 for ac_prog in gtkdoc-rebase 15886do 15887 # Extract the first word of "$ac_prog", so it can be a program name with args. 15888set dummy $ac_prog; ac_word=$2 15889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15890$as_echo_n "checking for $ac_word... " >&6; } 15891if ${ac_cv_path_GTKDOC_REBASE+:} false; then : 15892 $as_echo_n "(cached) " >&6 15893else 15894 case $GTKDOC_REBASE in 15895 [\\/]* | ?:[\\/]*) 15896 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 15897 ;; 15898 *) 15899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15900for as_dir in $PATH 15901do 15902 IFS=$as_save_IFS 15903 test -z "$as_dir" && as_dir=. 15904 for ac_exec_ext in '' $ac_executable_extensions; do 15905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15906 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 15907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15908 break 2 15909 fi 15910done 15911 done 15912IFS=$as_save_IFS 15913 15914 ;; 15915esac 15916fi 15917GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 15918if test -n "$GTKDOC_REBASE"; then 15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 15920$as_echo "$GTKDOC_REBASE" >&6; } 15921else 15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15923$as_echo "no" >&6; } 15924fi 15925 15926 15927 test -n "$GTKDOC_REBASE" && break 15928done 15929test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 15930 15931 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 15932set dummy gtkdoc-mkpdf; ac_word=$2 15933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15934$as_echo_n "checking for $ac_word... " >&6; } 15935if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : 15936 $as_echo_n "(cached) " >&6 15937else 15938 case $GTKDOC_MKPDF in 15939 [\\/]* | ?:[\\/]*) 15940 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 15941 ;; 15942 *) 15943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15944for as_dir in $PATH 15945do 15946 IFS=$as_save_IFS 15947 test -z "$as_dir" && as_dir=. 15948 for ac_exec_ext in '' $ac_executable_extensions; do 15949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15950 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 15951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15952 break 2 15953 fi 15954done 15955 done 15956IFS=$as_save_IFS 15957 15958 ;; 15959esac 15960fi 15961GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 15962if test -n "$GTKDOC_MKPDF"; then 15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 15964$as_echo "$GTKDOC_MKPDF" >&6; } 15965else 15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15967$as_echo "no" >&6; } 15968fi 15969 15970 15971 15972 15973# Check whether --with-html-dir was given. 15974if test "${with_html_dir+set}" = set; then : 15975 withval=$with_html_dir; 15976else 15977 with_html_dir='${datadir}/gtk-doc/html' 15978fi 15979 15980 HTML_DIR="$with_html_dir" 15981 15982 15983 # Check whether --enable-gtk-doc was given. 15984if test "${enable_gtk_doc+set}" = set; then : 15985 enableval=$enable_gtk_doc; 15986else 15987 enable_gtk_doc=no 15988fi 15989 15990 15991 if test x$enable_gtk_doc = xyes; then 15992 if test -n "$PKG_CONFIG" && \ 15993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5 15994 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5 15995 ac_status=$? 15996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15997 test $ac_status = 0; }; then 15998 : 15999else 16000 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5 16001fi 16002 if test "x$PACKAGE_NAME" != "xglib"; then 16003 16004pkg_failed=no 16005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 16006$as_echo_n "checking for GTKDOC_DEPS... " >&6; } 16007 16008if test -n "$PKG_CONFIG"; then 16009 if test -n "$GTKDOC_DEPS_CFLAGS"; then 16010 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" 16011 else 16012 if test -n "$PKG_CONFIG" && \ 16013 { { $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 16014 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 16015 ac_status=$? 16016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16017 test $ac_status = 0; }; then 16018 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 16019else 16020 pkg_failed=yes 16021fi 16022 fi 16023else 16024 pkg_failed=untried 16025fi 16026if test -n "$PKG_CONFIG"; then 16027 if test -n "$GTKDOC_DEPS_LIBS"; then 16028 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" 16029 else 16030 if test -n "$PKG_CONFIG" && \ 16031 { { $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 16032 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 16033 ac_status=$? 16034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16035 test $ac_status = 0; }; then 16036 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` 16037else 16038 pkg_failed=yes 16039fi 16040 fi 16041else 16042 pkg_failed=untried 16043fi 16044 16045 16046 16047if test $pkg_failed = yes; then 16048 16049if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16050 _pkg_short_errors_supported=yes 16051else 16052 _pkg_short_errors_supported=no 16053fi 16054 if test $_pkg_short_errors_supported = yes; then 16055 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"` 16056 else 16057 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"` 16058 fi 16059 # Put the nasty error message in config.log where it belongs 16060 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 16061 16062 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met: 16063 16064$GTKDOC_DEPS_PKG_ERRORS 16065 16066Consider adjusting the PKG_CONFIG_PATH environment variable if you 16067installed software in a non-standard prefix. 16068 16069Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS 16070and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. 16071See the pkg-config man page for more details. 16072" "$LINENO" 5 16073elif test $pkg_failed = untried; then 16074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16076as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16077is in your PATH or set the PKG_CONFIG environment variable to the full 16078path to pkg-config. 16079 16080Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS 16081and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config. 16082See the pkg-config man page for more details. 16083 16084To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16085See \`config.log' for more details" "$LINENO" 5; } 16086else 16087 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS 16088 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS 16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16090$as_echo "yes" >&6; } 16091 : 16092fi 16093 fi 16094 if test -z "$SED"; then 16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 16096$as_echo_n "checking for a sed that does not truncate output... " >&6; } 16097if ${ac_cv_path_SED+:} false; then : 16098 $as_echo_n "(cached) " >&6 16099else 16100 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 16101 for ac_i in 1 2 3 4 5 6 7; do 16102 ac_script="$ac_script$as_nl$ac_script" 16103 done 16104 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 16105 { ac_script=; unset ac_script;} 16106 if test -z "$SED"; then 16107 ac_path_SED_found=false 16108 # Loop through the user's path and test for each of PROGNAME-LIST 16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16110for as_dir in $PATH 16111do 16112 IFS=$as_save_IFS 16113 test -z "$as_dir" && as_dir=. 16114 for ac_prog in sed gsed; do 16115 for ac_exec_ext in '' $ac_executable_extensions; do 16116 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 16117 as_fn_executable_p "$ac_path_SED" || continue 16118# Check for GNU ac_path_SED and select it if it is found. 16119 # Check for GNU $ac_path_SED 16120case `"$ac_path_SED" --version 2>&1` in 16121*GNU*) 16122 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 16123*) 16124 ac_count=0 16125 $as_echo_n 0123456789 >"conftest.in" 16126 while : 16127 do 16128 cat "conftest.in" "conftest.in" >"conftest.tmp" 16129 mv "conftest.tmp" "conftest.in" 16130 cp "conftest.in" "conftest.nl" 16131 $as_echo '' >> "conftest.nl" 16132 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 16133 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 16134 as_fn_arith $ac_count + 1 && ac_count=$as_val 16135 if test $ac_count -gt ${ac_path_SED_max-0}; then 16136 # Best one so far, save it but keep looking for a better one 16137 ac_cv_path_SED="$ac_path_SED" 16138 ac_path_SED_max=$ac_count 16139 fi 16140 # 10*(2^10) chars as input seems more than enough 16141 test $ac_count -gt 10 && break 16142 done 16143 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 16144esac 16145 16146 $ac_path_SED_found && break 3 16147 done 16148 done 16149 done 16150IFS=$as_save_IFS 16151 if test -z "$ac_cv_path_SED"; then 16152 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 16153 fi 16154else 16155 ac_cv_path_SED=$SED 16156fi 16157 16158fi 16159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 16160$as_echo "$ac_cv_path_SED" >&6; } 16161 SED="$ac_cv_path_SED" 16162 rm -f conftest.sed 16163 16164 fi 16165 fi 16166 16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 16168$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 16170$as_echo "$enable_gtk_doc" >&6; } 16171 16172 # Check whether --enable-gtk-doc-html was given. 16173if test "${enable_gtk_doc_html+set}" = set; then : 16174 enableval=$enable_gtk_doc_html; 16175else 16176 enable_gtk_doc_html=yes 16177fi 16178 16179 # Check whether --enable-gtk-doc-pdf was given. 16180if test "${enable_gtk_doc_pdf+set}" = set; then : 16181 enableval=$enable_gtk_doc_pdf; 16182else 16183 enable_gtk_doc_pdf=no 16184fi 16185 16186 16187 if test -z "$GTKDOC_MKPDF"; then 16188 enable_gtk_doc_pdf=no 16189 fi 16190 16191 16192 if test x$enable_gtk_doc = xyes; then 16193 ENABLE_GTK_DOC_TRUE= 16194 ENABLE_GTK_DOC_FALSE='#' 16195else 16196 ENABLE_GTK_DOC_TRUE='#' 16197 ENABLE_GTK_DOC_FALSE= 16198fi 16199 16200 if test x$enable_gtk_doc_html = xyes; then 16201 GTK_DOC_BUILD_HTML_TRUE= 16202 GTK_DOC_BUILD_HTML_FALSE='#' 16203else 16204 GTK_DOC_BUILD_HTML_TRUE='#' 16205 GTK_DOC_BUILD_HTML_FALSE= 16206fi 16207 16208 if test x$enable_gtk_doc_pdf = xyes; then 16209 GTK_DOC_BUILD_PDF_TRUE= 16210 GTK_DOC_BUILD_PDF_FALSE='#' 16211else 16212 GTK_DOC_BUILD_PDF_TRUE='#' 16213 GTK_DOC_BUILD_PDF_FALSE= 16214fi 16215 16216 if test -n "$LIBTOOL"; then 16217 GTK_DOC_USE_LIBTOOL_TRUE= 16218 GTK_DOC_USE_LIBTOOL_FALSE='#' 16219else 16220 GTK_DOC_USE_LIBTOOL_TRUE='#' 16221 GTK_DOC_USE_LIBTOOL_FALSE= 16222fi 16223 16224 16225 16226 16227 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \ 16228 python1.6 python1.5" 16229 16230 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5 16231$as_echo "$as_me: Looking for Python version >= 2.1" >&6;} 16232 prog=" 16233import sys, string 16234minver = '2.1' 16235# split string by '.' and convert to numeric 16236minver_info = map(string.atoi, string.split(minver, '.')) 16237# we can now do comparisons on the two lists: 16238if sys.version_info >= tuple(minver_info): 16239 sys.exit(0) 16240else: 16241 sys.exit(1)" 16242 16243 python_good=false 16244 for python_candidate in $PYTHON_CANDIDATES; do 16245 unset PYTHON 16246 # Extract the first word of "$python_candidate", so it can be a program name with args. 16247set dummy $python_candidate; ac_word=$2 16248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16249$as_echo_n "checking for $ac_word... " >&6; } 16250if ${ac_cv_path_PYTHON+:} false; then : 16251 $as_echo_n "(cached) " >&6 16252else 16253 case $PYTHON in 16254 [\\/]* | ?:[\\/]*) 16255 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 16256 ;; 16257 *) 16258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16259for as_dir in $PATH 16260do 16261 IFS=$as_save_IFS 16262 test -z "$as_dir" && as_dir=. 16263 for ac_exec_ext in '' $ac_executable_extensions; do 16264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16265 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 16266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16267 break 2 16268 fi 16269done 16270 done 16271IFS=$as_save_IFS 16272 16273 ;; 16274esac 16275fi 16276PYTHON=$ac_cv_path_PYTHON 16277if test -n "$PYTHON"; then 16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 16279$as_echo "$PYTHON" >&6; } 16280else 16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16282$as_echo "no" >&6; } 16283fi 16284 16285 1> /dev/null 2> /dev/null 16286 16287 if test "x$PYTHON" = "x"; then continue; fi 16288 16289 if $PYTHON -c "$prog" 1>&5 2>&5; then 16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5 16291$as_echo_n "checking \"$PYTHON\":... " >&6; } 16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5 16293$as_echo "okay" >&6; } 16294 python_good=true 16295 break; 16296 else 16297 unset ac_cv_path_PYTHON 16298 fi 16299 done 16300 16301 16302 if test "$python_good" != "true"; then 16303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5 16304$as_echo "$as_me: WARNING: No suitable version of python found" >&2;} 16305 PYTHON= 16306 else 16307 16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5 16309$as_echo_n "checking local Python configuration... " >&6; } 16310 16311 16312 16313 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"` 16314 16315 16316 16317 16318 PYTHON_PREFIX='${prefix}' 16319 16320 16321 PYTHON_EXEC_PREFIX='${exec_prefix}' 16322 16323 16324 16325 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"` 16326 16327 16328 16329 16330 16331 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages 16332 16333 16334 16335 pkgpythondir=\${pythondir}/$PACKAGE 16336 16337 16338 16339 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages 16340 16341 16342 16343 pkgpyexecdir=\${pyexecdir}/$PACKAGE 16344 16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5 16346$as_echo "looks good" >&6; } 16347 16348 fi 16349 16350 16351 16352 16353 16354 16355 16356 # Find any Python interpreter. 16357 if test -z "$PYTHON"; then 16358 for ac_prog in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 16359do 16360 # Extract the first word of "$ac_prog", so it can be a program name with args. 16361set dummy $ac_prog; ac_word=$2 16362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16363$as_echo_n "checking for $ac_word... " >&6; } 16364if ${ac_cv_path_PYTHON+:} false; then : 16365 $as_echo_n "(cached) " >&6 16366else 16367 case $PYTHON in 16368 [\\/]* | ?:[\\/]*) 16369 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. 16370 ;; 16371 *) 16372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16373for as_dir in $PATH 16374do 16375 IFS=$as_save_IFS 16376 test -z "$as_dir" && as_dir=. 16377 for ac_exec_ext in '' $ac_executable_extensions; do 16378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16379 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 16380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16381 break 2 16382 fi 16383done 16384 done 16385IFS=$as_save_IFS 16386 16387 ;; 16388esac 16389fi 16390PYTHON=$ac_cv_path_PYTHON 16391if test -n "$PYTHON"; then 16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 16393$as_echo "$PYTHON" >&6; } 16394else 16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16396$as_echo "no" >&6; } 16397fi 16398 16399 16400 test -n "$PYTHON" && break 16401done 16402test -n "$PYTHON" || PYTHON=":" 16403 16404 fi 16405 am_display_PYTHON=python 16406 16407 16408 if test "$PYTHON" = :; then 16409 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 16410 else 16411 16412 16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 16414$as_echo_n "checking for $am_display_PYTHON version... " >&6; } 16415if ${am_cv_python_version+:} false; then : 16416 $as_echo_n "(cached) " >&6 16417else 16418 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` 16419fi 16420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 16421$as_echo "$am_cv_python_version" >&6; } 16422 PYTHON_VERSION=$am_cv_python_version 16423 16424 16425 16426 PYTHON_PREFIX='${prefix}' 16427 16428 PYTHON_EXEC_PREFIX='${exec_prefix}' 16429 16430 16431 16432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 16433$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 16434if ${am_cv_python_platform+:} false; then : 16435 $as_echo_n "(cached) " >&6 16436else 16437 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` 16438fi 16439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 16440$as_echo "$am_cv_python_platform" >&6; } 16441 PYTHON_PLATFORM=$am_cv_python_platform 16442 16443 16444 # Just factor out some code duplication. 16445 am_python_setup_sysconfig="\ 16446import sys 16447# Prefer sysconfig over distutils.sysconfig, for better compatibility 16448# with python 3.x. See automake bug#10227. 16449try: 16450 import sysconfig 16451except ImportError: 16452 can_use_sysconfig = 0 16453else: 16454 can_use_sysconfig = 1 16455# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: 16456# <https://github.com/pypa/virtualenv/issues/118> 16457try: 16458 from platform import python_implementation 16459 if python_implementation() == 'CPython' and sys.version[:3] == '2.7': 16460 can_use_sysconfig = 0 16461except ImportError: 16462 pass" 16463 16464 16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 16466$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 16467if ${am_cv_python_pythondir+:} false; then : 16468 $as_echo_n "(cached) " >&6 16469else 16470 if test "x$prefix" = xNONE 16471 then 16472 am_py_prefix=$ac_default_prefix 16473 else 16474 am_py_prefix=$prefix 16475 fi 16476 am_cv_python_pythondir=`$PYTHON -c " 16477$am_python_setup_sysconfig 16478if can_use_sysconfig: 16479 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) 16480else: 16481 from distutils import sysconfig 16482 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') 16483sys.stdout.write(sitedir)"` 16484 case $am_cv_python_pythondir in 16485 $am_py_prefix*) 16486 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` 16487 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` 16488 ;; 16489 *) 16490 case $am_py_prefix in 16491 /usr|/System*) ;; 16492 *) 16493 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages 16494 ;; 16495 esac 16496 ;; 16497 esac 16498 16499fi 16500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 16501$as_echo "$am_cv_python_pythondir" >&6; } 16502 pythondir=$am_cv_python_pythondir 16503 16504 16505 16506 pkgpythondir=\${pythondir}/$PACKAGE 16507 16508 16509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 16510$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 16511if ${am_cv_python_pyexecdir+:} false; then : 16512 $as_echo_n "(cached) " >&6 16513else 16514 if test "x$exec_prefix" = xNONE 16515 then 16516 am_py_exec_prefix=$am_py_prefix 16517 else 16518 am_py_exec_prefix=$exec_prefix 16519 fi 16520 am_cv_python_pyexecdir=`$PYTHON -c " 16521$am_python_setup_sysconfig 16522if can_use_sysconfig: 16523 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) 16524else: 16525 from distutils import sysconfig 16526 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') 16527sys.stdout.write(sitedir)"` 16528 case $am_cv_python_pyexecdir in 16529 $am_py_exec_prefix*) 16530 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` 16531 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` 16532 ;; 16533 *) 16534 case $am_py_exec_prefix in 16535 /usr|/System*) ;; 16536 *) 16537 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages 16538 ;; 16539 esac 16540 ;; 16541 esac 16542 16543fi 16544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 16545$as_echo "$am_cv_python_pyexecdir" >&6; } 16546 pyexecdir=$am_cv_python_pyexecdir 16547 16548 16549 16550 pkgpyexecdir=\${pyexecdir}/$PACKAGE 16551 16552 16553 16554 fi 16555 16556 16557 16558 16559 build_plugin_docs=no 16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5 16561$as_echo_n "checking whether to build plugin documentation... " >&6; } 16562 if test x$enable_gtk_doc = xyes; then 16563 if test x$PYTHON != x; then 16564 build_plugin_docs=yes 16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16566$as_echo "yes" >&6; } 16567 else 16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (python not found)" >&5 16569$as_echo "no (python not found)" >&6; } 16570 fi 16571 else 16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5 16573$as_echo "no (gtk-doc disabled or not available)" >&6; } 16574 fi 16575 16576 if test x$build_plugin_docs = xyes; then 16577 ENABLE_PLUGIN_DOCS_TRUE= 16578 ENABLE_PLUGIN_DOCS_FALSE='#' 16579else 16580 ENABLE_PLUGIN_DOCS_TRUE='#' 16581 ENABLE_PLUGIN_DOCS_FALSE= 16582fi 16583 16584 16585 16586PYGOBJECT_REQ=3.0 16587 16588 16589pkg_failed=no 16590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5 16591$as_echo_n "checking for PYGOBJECT... " >&6; } 16592 16593if test -n "$PKG_CONFIG"; then 16594 if test -n "$PYGOBJECT_CFLAGS"; then 16595 pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS" 16596 else 16597 if test -n "$PKG_CONFIG" && \ 16598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQ\""; } >&5 16599 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQ") 2>&5 16600 ac_status=$? 16601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16602 test $ac_status = 0; }; then 16603 pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= $PYGOBJECT_REQ" 2>/dev/null` 16604else 16605 pkg_failed=yes 16606fi 16607 fi 16608else 16609 pkg_failed=untried 16610fi 16611if test -n "$PKG_CONFIG"; then 16612 if test -n "$PYGOBJECT_LIBS"; then 16613 pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS" 16614 else 16615 if test -n "$PKG_CONFIG" && \ 16616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQ\""; } >&5 16617 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQ") 2>&5 16618 ac_status=$? 16619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16620 test $ac_status = 0; }; then 16621 pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= $PYGOBJECT_REQ" 2>/dev/null` 16622else 16623 pkg_failed=yes 16624fi 16625 fi 16626else 16627 pkg_failed=untried 16628fi 16629 16630 16631 16632if test $pkg_failed = yes; then 16633 16634if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16635 _pkg_short_errors_supported=yes 16636else 16637 _pkg_short_errors_supported=no 16638fi 16639 if test $_pkg_short_errors_supported = yes; then 16640 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-3.0 >= $PYGOBJECT_REQ"` 16641 else 16642 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-3.0 >= $PYGOBJECT_REQ"` 16643 fi 16644 # Put the nasty error message in config.log where it belongs 16645 echo "$PYGOBJECT_PKG_ERRORS" >&5 16646 16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16648$as_echo "no" >&6; } 16649 HAVE_PYGOBJECT=no 16650elif test $pkg_failed = untried; then 16651 HAVE_PYGOBJECT=no 16652else 16653 PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS 16654 PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS 16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16656$as_echo "yes" >&6; } 16657 16658 HAVE_PYGOBJECT=yes 16659 16660fi 16661 16662 if test "x$HAVE_PYGOBJECT" = "xyes"; then 16663 WITH_PYTHON_TRUE= 16664 WITH_PYTHON_FALSE='#' 16665else 16666 WITH_PYTHON_TRUE='#' 16667 WITH_PYTHON_FALSE= 16668fi 16669 16670 16671 16672pkg_failed=no 16673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_VALIDATE" >&5 16674$as_echo_n "checking for GST_VALIDATE... " >&6; } 16675 16676if test -n "$PKG_CONFIG"; then 16677 if test -n "$GST_VALIDATE_CFLAGS"; then 16678 pkg_cv_GST_VALIDATE_CFLAGS="$GST_VALIDATE_CFLAGS" 16679 else 16680 if test -n "$PKG_CONFIG" && \ 16681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gst-validate-1.0 >= 1.12.1\""; } >&5 16682 ($PKG_CONFIG --exists --print-errors "gst-validate-1.0 >= 1.12.1") 2>&5 16683 ac_status=$? 16684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16685 test $ac_status = 0; }; then 16686 pkg_cv_GST_VALIDATE_CFLAGS=`$PKG_CONFIG --cflags "gst-validate-1.0 >= 1.12.1" 2>/dev/null` 16687else 16688 pkg_failed=yes 16689fi 16690 fi 16691else 16692 pkg_failed=untried 16693fi 16694if test -n "$PKG_CONFIG"; then 16695 if test -n "$GST_VALIDATE_LIBS"; then 16696 pkg_cv_GST_VALIDATE_LIBS="$GST_VALIDATE_LIBS" 16697 else 16698 if test -n "$PKG_CONFIG" && \ 16699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gst-validate-1.0 >= 1.12.1\""; } >&5 16700 ($PKG_CONFIG --exists --print-errors "gst-validate-1.0 >= 1.12.1") 2>&5 16701 ac_status=$? 16702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16703 test $ac_status = 0; }; then 16704 pkg_cv_GST_VALIDATE_LIBS=`$PKG_CONFIG --libs "gst-validate-1.0 >= 1.12.1" 2>/dev/null` 16705else 16706 pkg_failed=yes 16707fi 16708 fi 16709else 16710 pkg_failed=untried 16711fi 16712 16713 16714 16715if test $pkg_failed = yes; then 16716 16717if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16718 _pkg_short_errors_supported=yes 16719else 16720 _pkg_short_errors_supported=no 16721fi 16722 if test $_pkg_short_errors_supported = yes; then 16723 GST_VALIDATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gst-validate-1.0 >= 1.12.1"` 16724 else 16725 GST_VALIDATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gst-validate-1.0 >= 1.12.1"` 16726 fi 16727 # Put the nasty error message in config.log where it belongs 16728 echo "$GST_VALIDATE_PKG_ERRORS" >&5 16729 16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16731$as_echo "no" >&6; } 16732 HAVE_GST_VALIDATE=no 16733elif test $pkg_failed = untried; then 16734 HAVE_GST_VALIDATE=no 16735else 16736 GST_VALIDATE_CFLAGS=$pkg_cv_GST_VALIDATE_CFLAGS 16737 GST_VALIDATE_LIBS=$pkg_cv_GST_VALIDATE_LIBS 16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16739$as_echo "yes" >&6; } 16740 16741 HAVE_GST_VALIDATE=yes 16742 16743$as_echo "#define HAVE_GST_VALIDATE 1" >>confdefs.h 16744 16745 16746fi 16747 16748 16749 16750 if test "x$HAVE_GST_VALIDATE" = "xyes"; then 16751 HAVE_GST_VALIDATE_TRUE= 16752 HAVE_GST_VALIDATE_FALSE='#' 16753else 16754 HAVE_GST_VALIDATE_TRUE='#' 16755 HAVE_GST_VALIDATE_FALSE= 16756fi 16757 16758 16759GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`" 16760 16761GST_DATADIR="$GST_PREFIX/share" 16762 16763cat >>confdefs.h <<_ACEOF 16764#define GST_DATADIR "$GST_DATADIR" 16765_ACEOF 16766 16767 16768 16769# Check whether --with-bash-completion-dir was given. 16770if test "${with_bash_completion_dir+set}" = set; then : 16771 withval=$with_bash_completion_dir; 16772else 16773 with_bash_completion_dir=yes 16774fi 16775 16776 16777if test "x$with_bash_completion_dir" = "xyes"; then 16778 16779pkg_failed=no 16780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASH_COMPLETION" >&5 16781$as_echo_n "checking for BASH_COMPLETION... " >&6; } 16782 16783if test -n "$PKG_CONFIG"; then 16784 if test -n "$BASH_COMPLETION_CFLAGS"; then 16785 pkg_cv_BASH_COMPLETION_CFLAGS="$BASH_COMPLETION_CFLAGS" 16786 else 16787 if test -n "$PKG_CONFIG" && \ 16788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bash-completion >= 2.0\""; } >&5 16789 ($PKG_CONFIG --exists --print-errors "bash-completion >= 2.0") 2>&5 16790 ac_status=$? 16791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16792 test $ac_status = 0; }; then 16793 pkg_cv_BASH_COMPLETION_CFLAGS=`$PKG_CONFIG --cflags "bash-completion >= 2.0" 2>/dev/null` 16794else 16795 pkg_failed=yes 16796fi 16797 fi 16798else 16799 pkg_failed=untried 16800fi 16801if test -n "$PKG_CONFIG"; then 16802 if test -n "$BASH_COMPLETION_LIBS"; then 16803 pkg_cv_BASH_COMPLETION_LIBS="$BASH_COMPLETION_LIBS" 16804 else 16805 if test -n "$PKG_CONFIG" && \ 16806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bash-completion >= 2.0\""; } >&5 16807 ($PKG_CONFIG --exists --print-errors "bash-completion >= 2.0") 2>&5 16808 ac_status=$? 16809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16810 test $ac_status = 0; }; then 16811 pkg_cv_BASH_COMPLETION_LIBS=`$PKG_CONFIG --libs "bash-completion >= 2.0" 2>/dev/null` 16812else 16813 pkg_failed=yes 16814fi 16815 fi 16816else 16817 pkg_failed=untried 16818fi 16819 16820 16821 16822if test $pkg_failed = yes; then 16823 16824if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16825 _pkg_short_errors_supported=yes 16826else 16827 _pkg_short_errors_supported=no 16828fi 16829 if test $_pkg_short_errors_supported = yes; then 16830 BASH_COMPLETION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "bash-completion >= 2.0"` 16831 else 16832 BASH_COMPLETION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "bash-completion >= 2.0"` 16833 fi 16834 # Put the nasty error message in config.log where it belongs 16835 echo "$BASH_COMPLETION_PKG_ERRORS" >&5 16836 16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16838$as_echo "no" >&6; } 16839 BASH_COMPLETION_DIR="$datadir/bash-completion/completions" 16840elif test $pkg_failed = untried; then 16841 BASH_COMPLETION_DIR="$datadir/bash-completion/completions" 16842else 16843 BASH_COMPLETION_CFLAGS=$pkg_cv_BASH_COMPLETION_CFLAGS 16844 BASH_COMPLETION_LIBS=$pkg_cv_BASH_COMPLETION_LIBS 16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16846$as_echo "yes" >&6; } 16847 BASH_COMPLETION_DIR="`pkg-config --variable=completionsdir bash-completion`" 16848fi 16849else 16850 BASH_COMPLETION_DIR="$with_bash_completion_dir" 16851fi 16852 16853 16854 if test "x$with_bash_completion_dir" != "xno"; then 16855 ENABLE_BASH_COMPLETION_TRUE= 16856 ENABLE_BASH_COMPLETION_FALSE='#' 16857else 16858 ENABLE_BASH_COMPLETION_TRUE='#' 16859 ENABLE_BASH_COMPLETION_FALSE= 16860fi 16861 16862 16863 16864# LT_LIB_M 16865# AC_SUBST(LIBM) 16866 16867 16868for ac_header in unistd.h 16869do : 16870 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 16871if test "x$ac_cv_header_unistd_h" = xyes; then : 16872 cat >>confdefs.h <<_ACEOF 16873#define HAVE_UNISTD_H 1 16874_ACEOF 16875 HAVE_UNISTD_H=yes 16876fi 16877 16878done 16879 16880 if test "x$HAVE_UNISTD_H" = "xyes"; then 16881 HAVE_UNISTD_H_TRUE= 16882 HAVE_UNISTD_H_FALSE='#' 16883else 16884 HAVE_UNISTD_H_TRUE='#' 16885 HAVE_UNISTD_H_FALSE= 16886fi 16887 16888 16889if test "x$HAVE_UNISTD_H" != "xyes"; then 16890 GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/festival//` 16891fi 16892 16893 16894# Extract the first word of "gst-validate-launcher", so it can be a program name with args. 16895set dummy gst-validate-launcher; ac_word=$2 16896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16897$as_echo_n "checking for $ac_word... " >&6; } 16898if ${ac_cv_prog_GST_VALIDATE_LAUNCHER+:} false; then : 16899 $as_echo_n "(cached) " >&6 16900else 16901 if test -n "$GST_VALIDATE_LAUNCHER"; then 16902 ac_cv_prog_GST_VALIDATE_LAUNCHER="$GST_VALIDATE_LAUNCHER" # Let the user override the test. 16903else 16904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16905for as_dir in $PATH 16906do 16907 IFS=$as_save_IFS 16908 test -z "$as_dir" && as_dir=. 16909 for ac_exec_ext in '' $ac_executable_extensions; do 16910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16911 ac_cv_prog_GST_VALIDATE_LAUNCHER="yes" 16912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16913 break 2 16914 fi 16915done 16916 done 16917IFS=$as_save_IFS 16918 16919fi 16920fi 16921GST_VALIDATE_LAUNCHER=$ac_cv_prog_GST_VALIDATE_LAUNCHER 16922if test -n "$GST_VALIDATE_LAUNCHER"; then 16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_VALIDATE_LAUNCHER" >&5 16924$as_echo "$GST_VALIDATE_LAUNCHER" >&6; } 16925else 16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16927$as_echo "no" >&6; } 16928fi 16929 16930 16931 if test "x$GST_VALIDATE_LAUNCHER" = "xyes"; then 16932 HAVE_GST_VALIDATE_LAUNCHER_TRUE= 16933 HAVE_GST_VALIDATE_LAUNCHER_FALSE='#' 16934else 16935 HAVE_GST_VALIDATE_LAUNCHER_TRUE='#' 16936 HAVE_GST_VALIDATE_LAUNCHER_FALSE= 16937fi 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 GLIB_REQ=2.40.0 16950 if test "x$GLIB_REQ" = "x" 16951 then 16952 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5 16953 fi 16954 16955 16956 16957 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gmodule-no-export-2.0" 16958 required="no" 16959 16960 16961pkg_failed=no 16962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 16963$as_echo_n "checking for GLIB... " >&6; } 16964 16965if test -n "$PKG_CONFIG"; then 16966 if test -n "$GLIB_CFLAGS"; then 16967 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 16968 else 16969 if test -n "$PKG_CONFIG" && \ 16970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5 16971 ($PKG_CONFIG --exists --print-errors "$which") 2>&5 16972 ac_status=$? 16973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16974 test $ac_status = 0; }; then 16975 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null` 16976else 16977 pkg_failed=yes 16978fi 16979 fi 16980else 16981 pkg_failed=untried 16982fi 16983if test -n "$PKG_CONFIG"; then 16984 if test -n "$GLIB_LIBS"; then 16985 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 16986 else 16987 if test -n "$PKG_CONFIG" && \ 16988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5 16989 ($PKG_CONFIG --exists --print-errors "$which") 2>&5 16990 ac_status=$? 16991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16992 test $ac_status = 0; }; then 16993 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null` 16994else 16995 pkg_failed=yes 16996fi 16997 fi 16998else 16999 pkg_failed=untried 17000fi 17001 17002 17003 17004if test $pkg_failed = yes; then 17005 17006if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17007 _pkg_short_errors_supported=yes 17008else 17009 _pkg_short_errors_supported=no 17010fi 17011 if test $_pkg_short_errors_supported = yes; then 17012 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"` 17013 else 17014 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"` 17015 fi 17016 # Put the nasty error message in config.log where it belongs 17017 echo "$GLIB_PKG_ERRORS" >&5 17018 17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17020$as_echo "no" >&6; } 17021 17022 HAVE_GLIB="no" 17023 if test "x$required" = "xyes"; then 17024 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5 17025 else 17026 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5 17027$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;} 17028 fi 17029 17030elif test $pkg_failed = untried; then 17031 17032 HAVE_GLIB="no" 17033 if test "x$required" = "xyes"; then 17034 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5 17035 else 17036 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5 17037$as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;} 17038 fi 17039 17040else 17041 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 17042 GLIB_LIBS=$pkg_cv_GLIB_LIBS 17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17044$as_echo "yes" >&6; } 17045 17046 HAVE_GLIB="yes" 17047 17048fi 17049 17050 17051 17052 if test "x$HAVE_GLIB" = "xno"; then 17053 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5 17054 fi 17055 17056 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY" 17057 17058 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then 17059 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED" 17060 fi 17061 17062 # Check whether --enable-gobject-cast-checks was given. 17063if test "${enable_gobject_cast_checks+set}" = set; then : 17064 enableval=$enable_gobject_cast_checks; enable_gobject_cast_checks=$enableval 17065else 17066 enable_gobject_cast_checks=auto 17067fi 17068 17069 17070 if test "x$enable_gobject_cast_checks" = "xauto"; then 17071 if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then 17072 enable_gobject_cast_checks=yes 17073 else 17074 enable_gobject_cast_checks=no 17075 fi 17076 fi 17077 17078 if test "x$enable_gobject_cast_checks" = "xno"; then 17079 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS" 17080 fi 17081 17082 # Check whether --enable-glib-asserts was given. 17083if test "${enable_glib_asserts+set}" = set; then : 17084 enableval=$enable_glib_asserts; enable_glib_assertions=$enableval 17085else 17086 enable_glib_assertions=yes 17087fi 17088 17089 17090 if test "x$enable_glib_assertions" = "xno"; then 17091 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT" 17092 fi 17093 17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-genmarshal" >&5 17095$as_echo_n "checking for glib-genmarshal... " >&6; } 17096 if test "x$GLIB_GENMARSHAL" != "x"; then 17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from environment)" >&5 17098$as_echo "$GLIB_GENMARSHAL (from environment)" >&6; } 17099 else 17100 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` 17101 if $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then 17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from pkg-config path)" >&5 17103$as_echo "$GLIB_GENMARSHAL (from pkg-config path)" >&6; } 17104 else 17105 # Extract the first word of "glib-genmarshal", so it can be a program name with args. 17106set dummy glib-genmarshal; ac_word=$2 17107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17108$as_echo_n "checking for $ac_word... " >&6; } 17109if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then : 17110 $as_echo_n "(cached) " >&6 17111else 17112 case $GLIB_GENMARSHAL in 17113 [\\/]* | ?:[\\/]*) 17114 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path. 17115 ;; 17116 *) 17117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17118for as_dir in $PATH 17119do 17120 IFS=$as_save_IFS 17121 test -z "$as_dir" && as_dir=. 17122 for ac_exec_ext in '' $ac_executable_extensions; do 17123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17124 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext" 17125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17126 break 2 17127 fi 17128done 17129 done 17130IFS=$as_save_IFS 17131 17132 test -z "$ac_cv_path_GLIB_GENMARSHAL" && ac_cv_path_GLIB_GENMARSHAL="glib-genmarshal" 17133 ;; 17134esac 17135fi 17136GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL 17137if test -n "$GLIB_GENMARSHAL"; then 17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5 17139$as_echo "$GLIB_GENMARSHAL" >&6; } 17140else 17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17142$as_echo "no" >&6; } 17143fi 17144 17145 17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5 17147$as_echo "$GLIB_GENMARSHAL" >&6; } 17148 fi 17149 fi 17150 if ! $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then 17151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&5 17152$as_echo "$as_me: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&2;} 17153 fi 17154 17155 17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-mkenums" >&5 17157$as_echo_n "checking for glib-mkenums... " >&6; } 17158 if test "x$GLIB_MKENUMS" != "x"; then 17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS (from environment)" >&5 17160$as_echo "$GLIB_MKENUMS (from environment)" >&6; } 17161 else 17162 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` 17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5 17164$as_echo "$GLIB_MKENUMS" >&6; } 17165 fi 17166 if ! $GLIB_MKENUMS --version 2>/dev/null >/dev/null; then 17167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_MKENUMS does not seem to work!" >&5 17168$as_echo "$as_me: WARNING: $GLIB_MKENUMS does not seem to work!" >&2;} 17169 fi 17170 17171 17172 17173 17174 17175pkg_failed=no 17176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 17177$as_echo_n "checking for GIO... " >&6; } 17178 17179if test -n "$PKG_CONFIG"; then 17180 if test -n "$GIO_CFLAGS"; then 17181 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" 17182 else 17183 if test -n "$PKG_CONFIG" && \ 17184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5 17185 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5 17186 ac_status=$? 17187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17188 test $ac_status = 0; }; then 17189 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQ" 2>/dev/null` 17190else 17191 pkg_failed=yes 17192fi 17193 fi 17194else 17195 pkg_failed=untried 17196fi 17197if test -n "$PKG_CONFIG"; then 17198 if test -n "$GIO_LIBS"; then 17199 pkg_cv_GIO_LIBS="$GIO_LIBS" 17200 else 17201 if test -n "$PKG_CONFIG" && \ 17202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5 17203 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5 17204 ac_status=$? 17205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17206 test $ac_status = 0; }; then 17207 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQ" 2>/dev/null` 17208else 17209 pkg_failed=yes 17210fi 17211 fi 17212else 17213 pkg_failed=untried 17214fi 17215 17216 17217 17218if test $pkg_failed = yes; then 17219 17220if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17221 _pkg_short_errors_supported=yes 17222else 17223 _pkg_short_errors_supported=no 17224fi 17225 if test $_pkg_short_errors_supported = yes; then 17226 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"` 17227 else 17228 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"` 17229 fi 17230 # Put the nasty error message in config.log where it belongs 17231 echo "$GIO_PKG_ERRORS" >&5 17232 17233 as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQ) were not met: 17234 17235$GIO_PKG_ERRORS 17236 17237Consider adjusting the PKG_CONFIG_PATH environment variable if you 17238installed software in a non-standard prefix. 17239 17240Alternatively, you may set the environment variables GIO_CFLAGS 17241and GIO_LIBS to avoid the need to call pkg-config. 17242See the pkg-config man page for more details. 17243" "$LINENO" 5 17244elif test $pkg_failed = untried; then 17245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17247as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 17248is in your PATH or set the PKG_CONFIG environment variable to the full 17249path to pkg-config. 17250 17251Alternatively, you may set the environment variables GIO_CFLAGS 17252and GIO_LIBS to avoid the need to call pkg-config. 17253See the pkg-config man page for more details. 17254 17255To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17256See \`config.log' for more details" "$LINENO" 5; } 17257else 17258 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS 17259 GIO_LIBS=$pkg_cv_GIO_LIBS 17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17261$as_echo "yes" >&6; } 17262 : 17263fi 17264 if test "x$HAVE_GIO" = "xno"; then 17265 as_fn_error $? "This package requires GIO >= $GLIB_REQ to compile." "$LINENO" 5 17266 fi 17267 17268 GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`" 17269 17270cat >>confdefs.h <<_ACEOF 17271#define GIO_MODULE_DIR "$GIO_MODULE_DIR" 17272_ACEOF 17273 17274 GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`" 17275 17276cat >>confdefs.h <<_ACEOF 17277#define GIO_LIBDIR "$GIO_LIBDIR" 17278_ACEOF 17279 17280 GIO_PREFIX="`$PKG_CONFIG --variable=prefix gio-2.0`" 17281 17282cat >>confdefs.h <<_ACEOF 17283#define GIO_PREFIX "$GIO_PREFIX" 17284_ACEOF 17285 17286 17287 17288 17289 17290 17291 17292 17293pkg_failed=no 17294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 17295$as_echo_n "checking for GIO... " >&6; } 17296 17297if test -n "$PKG_CONFIG"; then 17298 if test -n "$GIO_CFLAGS"; then 17299 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" 17300 else 17301 if test -n "$PKG_CONFIG" && \ 17302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5 17303 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5 17304 ac_status=$? 17305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17306 test $ac_status = 0; }; then 17307 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null` 17308else 17309 pkg_failed=yes 17310fi 17311 fi 17312else 17313 pkg_failed=untried 17314fi 17315if test -n "$PKG_CONFIG"; then 17316 if test -n "$GIO_LIBS"; then 17317 pkg_cv_GIO_LIBS="$GIO_LIBS" 17318 else 17319 if test -n "$PKG_CONFIG" && \ 17320 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5 17321 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5 17322 ac_status=$? 17323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17324 test $ac_status = 0; }; then 17325 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null` 17326else 17327 pkg_failed=yes 17328fi 17329 fi 17330else 17331 pkg_failed=untried 17332fi 17333 17334 17335 17336if test $pkg_failed = yes; then 17337 17338if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17339 _pkg_short_errors_supported=yes 17340else 17341 _pkg_short_errors_supported=no 17342fi 17343 if test $_pkg_short_errors_supported = yes; then 17344 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.16"` 17345 else 17346 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.16"` 17347 fi 17348 # Put the nasty error message in config.log where it belongs 17349 echo "$GIO_PKG_ERRORS" >&5 17350 17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17352$as_echo "no" >&6; } 17353 HAVE_GIO=no 17354elif test $pkg_failed = untried; then 17355 HAVE_GIO=no 17356else 17357 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS 17358 GIO_LIBS=$pkg_cv_GIO_LIBS 17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17360$as_echo "yes" >&6; } 17361 HAVE_GIO=yes 17362fi 17363 17364 17365 17366 17367 17368 module=gstreamer-$GST_API_VERSION 17369 minver=$GST_REQ 17370 name="GStreamer" 17371 required=yes 17372 17373pkg_failed=no 17374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 17375$as_echo_n "checking for GST... " >&6; } 17376 17377if test -n "$PKG_CONFIG"; then 17378 if test -n "$GST_CFLAGS"; then 17379 pkg_cv_GST_CFLAGS="$GST_CFLAGS" 17380 else 17381 if test -n "$PKG_CONFIG" && \ 17382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17383 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17384 ac_status=$? 17385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17386 test $ac_status = 0; }; then 17387 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 17388else 17389 pkg_failed=yes 17390fi 17391 fi 17392else 17393 pkg_failed=untried 17394fi 17395if test -n "$PKG_CONFIG"; then 17396 if test -n "$GST_LIBS"; then 17397 pkg_cv_GST_LIBS="$GST_LIBS" 17398 else 17399 if test -n "$PKG_CONFIG" && \ 17400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17401 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17402 ac_status=$? 17403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17404 test $ac_status = 0; }; then 17405 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 17406else 17407 pkg_failed=yes 17408fi 17409 fi 17410else 17411 pkg_failed=untried 17412fi 17413 17414 17415 17416if test $pkg_failed = yes; then 17417 17418if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17419 _pkg_short_errors_supported=yes 17420else 17421 _pkg_short_errors_supported=no 17422fi 17423 if test $_pkg_short_errors_supported = yes; then 17424 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 17425 else 17426 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 17427 fi 17428 # Put the nasty error message in config.log where it belongs 17429 echo "$GST_PKG_ERRORS" >&5 17430 17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17432$as_echo "no" >&6; } 17433 17434 HAVE_GST="no" 17435 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5 17436$as_echo "$as_me: $GST_PKG_ERRORS" >&6;} 17437 if test "x$required" = "xyes"; then 17438 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17439 else 17440 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17441$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17442 fi 17443 17444elif test $pkg_failed = untried; then 17445 17446 HAVE_GST="no" 17447 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5 17448$as_echo "$as_me: $GST_PKG_ERRORS" >&6;} 17449 if test "x$required" = "xyes"; then 17450 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17451 else 17452 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17453$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17454 fi 17455 17456else 17457 GST_CFLAGS=$pkg_cv_GST_CFLAGS 17458 GST_LIBS=$pkg_cv_GST_LIBS 17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17460$as_echo "yes" >&6; } 17461 17462 HAVE_GST="yes" 17463 17464fi 17465 17466 17467 if test -z $GST_TOOLS_DIR; then 17468 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION` 17469 if test -z $GST_TOOLS_DIR; then 17470 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5 17471 fi 17472 fi 17473 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5 17474$as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;} 17475 17476 17477 if test -z $GST_PLUGINS_DIR; then 17478 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_API_VERSION` 17479 if test -z $GST_PLUGINS_DIR; then 17480 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5 17481 fi 17482 fi 17483 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5 17484$as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;} 17485 17486 17487 17488 17489 module=gstreamer-base-$GST_API_VERSION 17490 minver=$GST_REQ 17491 name="GStreamer Base Libraries" 17492 required=yes 17493 17494pkg_failed=no 17495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5 17496$as_echo_n "checking for GST_BASE... " >&6; } 17497 17498if test -n "$PKG_CONFIG"; then 17499 if test -n "$GST_BASE_CFLAGS"; then 17500 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS" 17501 else 17502 if test -n "$PKG_CONFIG" && \ 17503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17504 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17505 ac_status=$? 17506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17507 test $ac_status = 0; }; then 17508 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 17509else 17510 pkg_failed=yes 17511fi 17512 fi 17513else 17514 pkg_failed=untried 17515fi 17516if test -n "$PKG_CONFIG"; then 17517 if test -n "$GST_BASE_LIBS"; then 17518 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS" 17519 else 17520 if test -n "$PKG_CONFIG" && \ 17521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17522 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17523 ac_status=$? 17524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17525 test $ac_status = 0; }; then 17526 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 17527else 17528 pkg_failed=yes 17529fi 17530 fi 17531else 17532 pkg_failed=untried 17533fi 17534 17535 17536 17537if test $pkg_failed = yes; then 17538 17539if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17540 _pkg_short_errors_supported=yes 17541else 17542 _pkg_short_errors_supported=no 17543fi 17544 if test $_pkg_short_errors_supported = yes; then 17545 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 17546 else 17547 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 17548 fi 17549 # Put the nasty error message in config.log where it belongs 17550 echo "$GST_BASE_PKG_ERRORS" >&5 17551 17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17553$as_echo "no" >&6; } 17554 17555 HAVE_GST_BASE="no" 17556 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5 17557$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;} 17558 if test "x$required" = "xyes"; then 17559 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17560 else 17561 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17562$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17563 fi 17564 17565elif test $pkg_failed = untried; then 17566 17567 HAVE_GST_BASE="no" 17568 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5 17569$as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;} 17570 if test "x$required" = "xyes"; then 17571 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17572 else 17573 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17574$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17575 fi 17576 17577else 17578 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS 17579 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS 17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17581$as_echo "yes" >&6; } 17582 17583 HAVE_GST_BASE="yes" 17584 17585fi 17586 17587 17588 17589#AG_GST_CHECK_GST_GDP($GST_API_VERSION, [$GST_REQ], yes) 17590 17591 17592 module=gstreamer-check-$GST_API_VERSION 17593 minver=$GST_REQ 17594 name="GStreamer Check unittest Library" 17595 required=no 17596 17597pkg_failed=no 17598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5 17599$as_echo_n "checking for GST_CHECK... " >&6; } 17600 17601if test -n "$PKG_CONFIG"; then 17602 if test -n "$GST_CHECK_CFLAGS"; then 17603 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS" 17604 else 17605 if test -n "$PKG_CONFIG" && \ 17606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17607 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17608 ac_status=$? 17609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17610 test $ac_status = 0; }; then 17611 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 17612else 17613 pkg_failed=yes 17614fi 17615 fi 17616else 17617 pkg_failed=untried 17618fi 17619if test -n "$PKG_CONFIG"; then 17620 if test -n "$GST_CHECK_LIBS"; then 17621 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS" 17622 else 17623 if test -n "$PKG_CONFIG" && \ 17624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17625 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17626 ac_status=$? 17627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17628 test $ac_status = 0; }; then 17629 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 17630else 17631 pkg_failed=yes 17632fi 17633 fi 17634else 17635 pkg_failed=untried 17636fi 17637 17638 17639 17640if test $pkg_failed = yes; then 17641 17642if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17643 _pkg_short_errors_supported=yes 17644else 17645 _pkg_short_errors_supported=no 17646fi 17647 if test $_pkg_short_errors_supported = yes; then 17648 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 17649 else 17650 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 17651 fi 17652 # Put the nasty error message in config.log where it belongs 17653 echo "$GST_CHECK_PKG_ERRORS" >&5 17654 17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17656$as_echo "no" >&6; } 17657 17658 HAVE_GST_CHECK="no" 17659 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5 17660$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;} 17661 if test "x$required" = "xyes"; then 17662 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17663 else 17664 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17665$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17666 fi 17667 17668elif test $pkg_failed = untried; then 17669 17670 HAVE_GST_CHECK="no" 17671 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5 17672$as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;} 17673 if test "x$required" = "xyes"; then 17674 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17675 else 17676 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17677$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17678 fi 17679 17680else 17681 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS 17682 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS 17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17684$as_echo "yes" >&6; } 17685 17686 HAVE_GST_CHECK="yes" 17687 17688fi 17689 17690 17691 17692 17693 17694 module=gstreamer-controller-$GST_API_VERSION 17695 minver=$GST_REQ 17696 name="GStreamer Controller Library" 17697 required=yes 17698 17699pkg_failed=no 17700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5 17701$as_echo_n "checking for GST_CONTROLLER... " >&6; } 17702 17703if test -n "$PKG_CONFIG"; then 17704 if test -n "$GST_CONTROLLER_CFLAGS"; then 17705 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS" 17706 else 17707 if test -n "$PKG_CONFIG" && \ 17708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17709 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17710 ac_status=$? 17711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17712 test $ac_status = 0; }; then 17713 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 17714else 17715 pkg_failed=yes 17716fi 17717 fi 17718else 17719 pkg_failed=untried 17720fi 17721if test -n "$PKG_CONFIG"; then 17722 if test -n "$GST_CONTROLLER_LIBS"; then 17723 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS" 17724 else 17725 if test -n "$PKG_CONFIG" && \ 17726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17727 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17728 ac_status=$? 17729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17730 test $ac_status = 0; }; then 17731 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 17732else 17733 pkg_failed=yes 17734fi 17735 fi 17736else 17737 pkg_failed=untried 17738fi 17739 17740 17741 17742if test $pkg_failed = yes; then 17743 17744if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17745 _pkg_short_errors_supported=yes 17746else 17747 _pkg_short_errors_supported=no 17748fi 17749 if test $_pkg_short_errors_supported = yes; then 17750 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 17751 else 17752 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 17753 fi 17754 # Put the nasty error message in config.log where it belongs 17755 echo "$GST_CONTROLLER_PKG_ERRORS" >&5 17756 17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17758$as_echo "no" >&6; } 17759 17760 HAVE_GST_CONTROLLER="no" 17761 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5 17762$as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;} 17763 if test "x$required" = "xyes"; then 17764 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17765 else 17766 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17767$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17768 fi 17769 17770elif test $pkg_failed = untried; then 17771 17772 HAVE_GST_CONTROLLER="no" 17773 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5 17774$as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;} 17775 if test "x$required" = "xyes"; then 17776 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17777 else 17778 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17779$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17780 fi 17781 17782else 17783 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS 17784 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS 17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17786$as_echo "yes" >&6; } 17787 17788 HAVE_GST_CONTROLLER="yes" 17789 17790fi 17791 17792 17793 17794 17795 17796 module=gstreamer-plugins-base-$GST_API_VERSION 17797 minver=$GSTPB_REQ 17798 name="GStreamer Base Plugins" 17799 required=yes 17800 17801pkg_failed=no 17802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5 17803$as_echo_n "checking for GST_PLUGINS_BASE... " >&6; } 17804 17805if test -n "$PKG_CONFIG"; then 17806 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then 17807 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS" 17808 else 17809 if test -n "$PKG_CONFIG" && \ 17810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17811 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17812 ac_status=$? 17813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17814 test $ac_status = 0; }; then 17815 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 17816else 17817 pkg_failed=yes 17818fi 17819 fi 17820else 17821 pkg_failed=untried 17822fi 17823if test -n "$PKG_CONFIG"; then 17824 if test -n "$GST_PLUGINS_BASE_LIBS"; then 17825 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS" 17826 else 17827 if test -n "$PKG_CONFIG" && \ 17828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17829 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17830 ac_status=$? 17831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17832 test $ac_status = 0; }; then 17833 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 17834else 17835 pkg_failed=yes 17836fi 17837 fi 17838else 17839 pkg_failed=untried 17840fi 17841 17842 17843 17844if test $pkg_failed = yes; then 17845 17846if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17847 _pkg_short_errors_supported=yes 17848else 17849 _pkg_short_errors_supported=no 17850fi 17851 if test $_pkg_short_errors_supported = yes; then 17852 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 17853 else 17854 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 17855 fi 17856 # Put the nasty error message in config.log where it belongs 17857 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5 17858 17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17860$as_echo "no" >&6; } 17861 17862 HAVE_GST_PLUGINS_BASE="no" 17863 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 17864$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;} 17865 if test "x$required" = "xyes"; then 17866 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17867 else 17868 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17869$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17870 fi 17871 17872elif test $pkg_failed = untried; then 17873 17874 HAVE_GST_PLUGINS_BASE="no" 17875 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 17876$as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;} 17877 if test "x$required" = "xyes"; then 17878 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17879 else 17880 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17881$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17882 fi 17883 17884else 17885 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS 17886 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS 17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17888$as_echo "yes" >&6; } 17889 17890 HAVE_GST_PLUGINS_BASE="yes" 17891 17892fi 17893 17894 17895 17896 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then 17897 if test -z $GSTPB_PLUGINS_DIR; then 17898 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_API_VERSION` 17899 if test -z $GSTPB_PLUGINS_DIR; then 17900 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5 17901 fi 17902 fi 17903 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5 17904$as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;} 17905 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext" 17906 17907 17908 fi 17909 17910 17911 17912 module=gstreamer-plugins-bad-$GST_API_VERSION 17913 minver=$GST_REQ 17914 name="GStreamer Bad Plugins" 17915 required=no 17916 17917pkg_failed=no 17918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BAD" >&5 17919$as_echo_n "checking for GST_PLUGINS_BAD... " >&6; } 17920 17921if test -n "$PKG_CONFIG"; then 17922 if test -n "$GST_PLUGINS_BAD_CFLAGS"; then 17923 pkg_cv_GST_PLUGINS_BAD_CFLAGS="$GST_PLUGINS_BAD_CFLAGS" 17924 else 17925 if test -n "$PKG_CONFIG" && \ 17926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17927 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17928 ac_status=$? 17929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17930 test $ac_status = 0; }; then 17931 pkg_cv_GST_PLUGINS_BAD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 17932else 17933 pkg_failed=yes 17934fi 17935 fi 17936else 17937 pkg_failed=untried 17938fi 17939if test -n "$PKG_CONFIG"; then 17940 if test -n "$GST_PLUGINS_BAD_LIBS"; then 17941 pkg_cv_GST_PLUGINS_BAD_LIBS="$GST_PLUGINS_BAD_LIBS" 17942 else 17943 if test -n "$PKG_CONFIG" && \ 17944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 17945 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 17946 ac_status=$? 17947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17948 test $ac_status = 0; }; then 17949 pkg_cv_GST_PLUGINS_BAD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 17950else 17951 pkg_failed=yes 17952fi 17953 fi 17954else 17955 pkg_failed=untried 17956fi 17957 17958 17959 17960if test $pkg_failed = yes; then 17961 17962if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17963 _pkg_short_errors_supported=yes 17964else 17965 _pkg_short_errors_supported=no 17966fi 17967 if test $_pkg_short_errors_supported = yes; then 17968 GST_PLUGINS_BAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 17969 else 17970 GST_PLUGINS_BAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 17971 fi 17972 # Put the nasty error message in config.log where it belongs 17973 echo "$GST_PLUGINS_BAD_PKG_ERRORS" >&5 17974 17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17976$as_echo "no" >&6; } 17977 17978 HAVE_GST_PLUGINS_BAD="no" 17979 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BAD_PKG_ERRORS" >&5 17980$as_echo "$as_me: $GST_PLUGINS_BAD_PKG_ERRORS" >&6;} 17981 if test "x$required" = "xyes"; then 17982 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17983 else 17984 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17985$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17986 fi 17987 17988elif test $pkg_failed = untried; then 17989 17990 HAVE_GST_PLUGINS_BAD="no" 17991 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BAD_PKG_ERRORS" >&5 17992$as_echo "$as_me: $GST_PLUGINS_BAD_PKG_ERRORS" >&6;} 17993 if test "x$required" = "xyes"; then 17994 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 17995 else 17996 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 17997$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 17998 fi 17999 18000else 18001 GST_PLUGINS_BAD_CFLAGS=$pkg_cv_GST_PLUGINS_BAD_CFLAGS 18002 GST_PLUGINS_BAD_LIBS=$pkg_cv_GST_PLUGINS_BAD_LIBS 18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18004$as_echo "yes" >&6; } 18005 18006 HAVE_GST_PLUGINS_BAD="yes" 18007 18008fi 18009 18010 18011 18012 if test "x$HAVE_GST_PLUGINS_BAD" = "xyes"; then 18013 if test -z $GST_PLUGINS_BAD_DIR; then 18014 GST_PLUGINS_BAD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-bad-$GST_API_VERSION` 18015 if test -z $GST_PLUGINS_BAD_DIR; then 18016 as_fn_error $? "no pluginsdir set in GStreamer Bad Plugins pkg-config file" "$LINENO" 5 18017 fi 18018 fi 18019 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Bad Plugins in $GST_PLUGINS_BAD_DIR" >&5 18020$as_echo "$as_me: using GStreamer Bad Plugins in $GST_PLUGINS_BAD_DIR" >&6;} 18021 GST_PLUGINS_BAD_DIR="$GST_PLUGINS_BAD_DIR/gst:$GST_PLUGINS_BAD_DIR/sys:$GST_PLUGINS_BAD_DIR/ext" 18022 18023 fi 18024 18025 18026 18027 module=gstreamer-plugins-good-$GST_API_VERSION 18028 minver=$GST_REQ 18029 name="GStreamer Good Plugins" 18030 required=no 18031 18032pkg_failed=no 18033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_GOOD" >&5 18034$as_echo_n "checking for GST_PLUGINS_GOOD... " >&6; } 18035 18036if test -n "$PKG_CONFIG"; then 18037 if test -n "$GST_PLUGINS_GOOD_CFLAGS"; then 18038 pkg_cv_GST_PLUGINS_GOOD_CFLAGS="$GST_PLUGINS_GOOD_CFLAGS" 18039 else 18040 if test -n "$PKG_CONFIG" && \ 18041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 18042 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 18043 ac_status=$? 18044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18045 test $ac_status = 0; }; then 18046 pkg_cv_GST_PLUGINS_GOOD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` 18047else 18048 pkg_failed=yes 18049fi 18050 fi 18051else 18052 pkg_failed=untried 18053fi 18054if test -n "$PKG_CONFIG"; then 18055 if test -n "$GST_PLUGINS_GOOD_LIBS"; then 18056 pkg_cv_GST_PLUGINS_GOOD_LIBS="$GST_PLUGINS_GOOD_LIBS" 18057 else 18058 if test -n "$PKG_CONFIG" && \ 18059 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 18060 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 18061 ac_status=$? 18062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18063 test $ac_status = 0; }; then 18064 pkg_cv_GST_PLUGINS_GOOD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` 18065else 18066 pkg_failed=yes 18067fi 18068 fi 18069else 18070 pkg_failed=untried 18071fi 18072 18073 18074 18075if test $pkg_failed = yes; then 18076 18077if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18078 _pkg_short_errors_supported=yes 18079else 18080 _pkg_short_errors_supported=no 18081fi 18082 if test $_pkg_short_errors_supported = yes; then 18083 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"` 18084 else 18085 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"` 18086 fi 18087 # Put the nasty error message in config.log where it belongs 18088 echo "$GST_PLUGINS_GOOD_PKG_ERRORS" >&5 18089 18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18091$as_echo "no" >&6; } 18092 18093 HAVE_GST_PLUGINS_GOOD="no" 18094 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5 18095$as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;} 18096 if test "x$required" = "xyes"; then 18097 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 18098 else 18099 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 18100$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 18101 fi 18102 18103elif test $pkg_failed = untried; then 18104 18105 HAVE_GST_PLUGINS_GOOD="no" 18106 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5 18107$as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;} 18108 if test "x$required" = "xyes"; then 18109 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5 18110 else 18111 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 18112$as_echo "$as_me: no $module >= $minver ($name) found" >&6;} 18113 fi 18114 18115else 18116 GST_PLUGINS_GOOD_CFLAGS=$pkg_cv_GST_PLUGINS_GOOD_CFLAGS 18117 GST_PLUGINS_GOOD_LIBS=$pkg_cv_GST_PLUGINS_GOOD_LIBS 18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18119$as_echo "yes" >&6; } 18120 18121 HAVE_GST_PLUGINS_GOOD="yes" 18122 18123fi 18124 18125 18126 18127 if test "x$HAVE_GST_PLUGINS_GOOD" = "xyes"; then 18128 if test -z $GST_PLUGINS_GOOD_DIR; then 18129 GST_PLUGINS_GOOD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-good-$GST_API_VERSION` 18130 if test -z $GST_PLUGINS_GOOD_DIR; then 18131 as_fn_error $? "no pluginsdir set in GStreamer Good Plugins pkg-config file" "$LINENO" 5 18132 fi 18133 fi 18134 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&5 18135$as_echo "$as_me: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&6;} 18136 GST_PLUGINS_GOOD_DIR="$GST_PLUGINS_GOOD_DIR/gst:$GST_PLUGINS_GOOD_DIR/sys:$GST_PLUGINS_GOOD_DIR/ext" 18137 18138 fi 18139 18140 if test "x$HAVE_GST_CHECK" = "xyes"; then 18141 HAVE_GST_CHECK_TRUE= 18142 HAVE_GST_CHECK_FALSE='#' 18143else 18144 HAVE_GST_CHECK_TRUE='#' 18145 HAVE_GST_CHECK_FALSE= 18146fi 18147 18148 18149 18150 18151# Check whether --with-plugins was given. 18152if test "${with_plugins+set}" = set; then : 18153 withval=$with_plugins; WITH_PLUGINS=$withval 18154else 18155 WITH_PLUGINS= 18156fi 18157 18158 18159 GST_PLUGINS_ALL="" 18160 GST_PLUGINS_SELECTED="" 18161 GST_PLUGINS_NONPORTED="" 18162 18163 18164 18165 18166 18167 18168 GST_PLUGINS_ALL="$GST_PLUGINS_ALL plugins" 18169 18170 18171 18172 # Check whether --enable-plugins was given. 18173if test "${enable_plugins+set}" = set; then : 18174 enableval=$enable_plugins; 18175 case "${enableval}" in 18176 yes) gst_use_plugins=yes ;; 18177 no) gst_use_plugins=no ;; 18178 *) as_fn_error $? "bad value ${enableval} for --enable-plugins" "$LINENO" 5 ;; 18179 esac 18180 18181else 18182 gst_use_plugins=yes 18183fi 18184 18185 if test x$gst_use_plugins = xno; then 18186 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin plugins" >&5 18187$as_echo "$as_me: disabling dependency-less plugin plugins" >&6;} 18188 WITHOUT_PLUGINS="$WITHOUT_PLUGINS plugins" 18189 fi 18190 18191 18192 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " plugins " > /dev/null; then 18193 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED plugins" 18194 fi 18195 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " plugins " > /dev/null; then 18196 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ plugins / /'` 18197 fi 18198 if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " plugins " > /dev/null; then 18199 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ plugins / /'` 18200 fi 18201 if echo " $GST_PLUGINS_SELECTED " | grep -i " plugins " > /dev/null; then 18202 USE_PLUGIN_PLUGINS_TRUE= 18203 USE_PLUGIN_PLUGINS_FALSE='#' 18204else 18205 USE_PLUGIN_PLUGINS_TRUE='#' 18206 USE_PLUGIN_PLUGINS_FALSE= 18207fi 18208 18209 18210 18211 18212 18213 EXP_VAR=PLUGINDIR 18214 FROM_VAR=${libdir}/gstreamer-$GST_API_VERSION 18215 18216 prefix_save=$prefix 18217 exec_prefix_save=$exec_prefix 18218 18219 if test "x$prefix" = "xNONE"; then 18220 prefix="$ac_default_prefix" 18221 fi 18222 if test "x$exec_prefix" = "xNONE"; then 18223 exec_prefix=$prefix 18224 fi 18225 18226 full_var="$FROM_VAR" 18227 while true; do 18228 new_full_var="`eval echo $full_var`" 18229 if test "x$new_full_var" = "x$full_var"; then break; fi 18230 full_var=$new_full_var 18231 done 18232 18233 full_var=$new_full_var 18234 PLUGINDIR="$full_var" 18235 18236 18237 prefix=$prefix_save 18238 exec_prefix=$exec_prefix_save 18239 18240 18241cat >>confdefs.h <<_ACEOF 18242#define PLUGINDIR "$PLUGINDIR" 18243_ACEOF 18244 18245 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5 18246$as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;} 18247 18248 plugindir="\$(libdir)/gstreamer-$GST_API_VERSION" 18249 18250 18251 18252GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_API_VERSION --variable pluginsdir` 18253 18254{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5 18255$as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;} 18256 18257 18258pkg_failed=no 18259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBUTILS" >&5 18260$as_echo_n "checking for GST_PBUTILS... " >&6; } 18261 18262if test -n "$PKG_CONFIG"; then 18263 if test -n "$GST_PBUTILS_CFLAGS"; then 18264 pkg_cv_GST_PBUTILS_CFLAGS="$GST_PBUTILS_CFLAGS" 18265 else 18266 if test -n "$PKG_CONFIG" && \ 18267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_API_VERSION\""; } >&5 18268 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_API_VERSION") 2>&5 18269 ac_status=$? 18270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18271 test $ac_status = 0; }; then 18272 pkg_cv_GST_PBUTILS_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-$GST_API_VERSION" 2>/dev/null` 18273else 18274 pkg_failed=yes 18275fi 18276 fi 18277else 18278 pkg_failed=untried 18279fi 18280if test -n "$PKG_CONFIG"; then 18281 if test -n "$GST_PBUTILS_LIBS"; then 18282 pkg_cv_GST_PBUTILS_LIBS="$GST_PBUTILS_LIBS" 18283 else 18284 if test -n "$PKG_CONFIG" && \ 18285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_API_VERSION\""; } >&5 18286 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_API_VERSION") 2>&5 18287 ac_status=$? 18288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18289 test $ac_status = 0; }; then 18290 pkg_cv_GST_PBUTILS_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-$GST_API_VERSION" 2>/dev/null` 18291else 18292 pkg_failed=yes 18293fi 18294 fi 18295else 18296 pkg_failed=untried 18297fi 18298 18299 18300 18301if test $pkg_failed = yes; then 18302 18303if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18304 _pkg_short_errors_supported=yes 18305else 18306 _pkg_short_errors_supported=no 18307fi 18308 if test $_pkg_short_errors_supported = yes; then 18309 GST_PBUTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-pbutils-$GST_API_VERSION"` 18310 else 18311 GST_PBUTILS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-pbutils-$GST_API_VERSION"` 18312 fi 18313 # Put the nasty error message in config.log where it belongs 18314 echo "$GST_PBUTILS_PKG_ERRORS" >&5 18315 18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18317$as_echo "no" >&6; } 18318 HAVE_GST_PBUTILS="no" 18319elif test $pkg_failed = untried; then 18320 HAVE_GST_PBUTILS="no" 18321else 18322 GST_PBUTILS_CFLAGS=$pkg_cv_GST_PBUTILS_CFLAGS 18323 GST_PBUTILS_LIBS=$pkg_cv_GST_PBUTILS_LIBS 18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18325$as_echo "yes" >&6; } 18326 HAVE_GST_PBUTILS="yes" 18327fi 18328if test "x$HAVE_GST_PBUTILS" != "xyes"; then 18329 as_fn_error $? "gst-pbutils is required for rendering support" "$LINENO" 5 18330fi 18331 18332 18333 18334 18335pkg_failed=no 18336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5 18337$as_echo_n "checking for GST_CONTROLLER... " >&6; } 18338 18339if test -n "$PKG_CONFIG"; then 18340 if test -n "$GST_CONTROLLER_CFLAGS"; then 18341 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS" 18342 else 18343 if test -n "$PKG_CONFIG" && \ 18344 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_API_VERSION\""; } >&5 18345 ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_API_VERSION") 2>&5 18346 ac_status=$? 18347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18348 test $ac_status = 0; }; then 18349 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-controller-$GST_API_VERSION" 2>/dev/null` 18350else 18351 pkg_failed=yes 18352fi 18353 fi 18354else 18355 pkg_failed=untried 18356fi 18357if test -n "$PKG_CONFIG"; then 18358 if test -n "$GST_CONTROLLER_LIBS"; then 18359 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS" 18360 else 18361 if test -n "$PKG_CONFIG" && \ 18362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_API_VERSION\""; } >&5 18363 ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_API_VERSION") 2>&5 18364 ac_status=$? 18365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18366 test $ac_status = 0; }; then 18367 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "gstreamer-controller-$GST_API_VERSION" 2>/dev/null` 18368else 18369 pkg_failed=yes 18370fi 18371 fi 18372else 18373 pkg_failed=untried 18374fi 18375 18376 18377 18378if test $pkg_failed = yes; then 18379 18380if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18381 _pkg_short_errors_supported=yes 18382else 18383 _pkg_short_errors_supported=no 18384fi 18385 if test $_pkg_short_errors_supported = yes; then 18386 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-controller-$GST_API_VERSION"` 18387 else 18388 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-controller-$GST_API_VERSION"` 18389 fi 18390 # Put the nasty error message in config.log where it belongs 18391 echo "$GST_CONTROLLER_PKG_ERRORS" >&5 18392 18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18394$as_echo "no" >&6; } 18395 HAVE_GST_CONROLLER="no" 18396elif test $pkg_failed = untried; then 18397 HAVE_GST_CONROLLER="no" 18398else 18399 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS 18400 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS 18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18402$as_echo "yes" >&6; } 18403 HAVE_GST_CONTROLLER="yes" 18404fi 18405if test "x$HAVE_GST_CONTROLLER" != "xyes"; then 18406 as_fn_error $? "gst-controller is required for transition support" "$LINENO" 5 18407fi 18408 18409 18410 18411 18412pkg_failed=no 18413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_VIDEO" >&5 18414$as_echo_n "checking for GST_VIDEO... " >&6; } 18415 18416if test -n "$PKG_CONFIG"; then 18417 if test -n "$GST_VIDEO_CFLAGS"; then 18418 pkg_cv_GST_VIDEO_CFLAGS="$GST_VIDEO_CFLAGS" 18419 else 18420 if test -n "$PKG_CONFIG" && \ 18421 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-\$GST_API_VERSION\""; } >&5 18422 ($PKG_CONFIG --exists --print-errors "gstreamer-video-$GST_API_VERSION") 2>&5 18423 ac_status=$? 18424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18425 test $ac_status = 0; }; then 18426 pkg_cv_GST_VIDEO_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-video-$GST_API_VERSION" 2>/dev/null` 18427else 18428 pkg_failed=yes 18429fi 18430 fi 18431else 18432 pkg_failed=untried 18433fi 18434if test -n "$PKG_CONFIG"; then 18435 if test -n "$GST_VIDEO_LIBS"; then 18436 pkg_cv_GST_VIDEO_LIBS="$GST_VIDEO_LIBS" 18437 else 18438 if test -n "$PKG_CONFIG" && \ 18439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-\$GST_API_VERSION\""; } >&5 18440 ($PKG_CONFIG --exists --print-errors "gstreamer-video-$GST_API_VERSION") 2>&5 18441 ac_status=$? 18442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18443 test $ac_status = 0; }; then 18444 pkg_cv_GST_VIDEO_LIBS=`$PKG_CONFIG --libs "gstreamer-video-$GST_API_VERSION" 2>/dev/null` 18445else 18446 pkg_failed=yes 18447fi 18448 fi 18449else 18450 pkg_failed=untried 18451fi 18452 18453 18454 18455if test $pkg_failed = yes; then 18456 18457if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18458 _pkg_short_errors_supported=yes 18459else 18460 _pkg_short_errors_supported=no 18461fi 18462 if test $_pkg_short_errors_supported = yes; then 18463 GST_VIDEO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-video-$GST_API_VERSION"` 18464 else 18465 GST_VIDEO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-video-$GST_API_VERSION"` 18466 fi 18467 # Put the nasty error message in config.log where it belongs 18468 echo "$GST_VIDEO_PKG_ERRORS" >&5 18469 18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18471$as_echo "no" >&6; } 18472 HAVE_GST_CONROLLER="no" 18473elif test $pkg_failed = untried; then 18474 HAVE_GST_CONROLLER="no" 18475else 18476 GST_VIDEO_CFLAGS=$pkg_cv_GST_VIDEO_CFLAGS 18477 GST_VIDEO_LIBS=$pkg_cv_GST_VIDEO_LIBS 18478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18479$as_echo "yes" >&6; } 18480 HAVE_GST_VIDEO="yes" 18481fi 18482if test "x$HAVE_GST_VIDEO" != "xyes"; then 18483 as_fn_error $? "gst-video is required for transition support" "$LINENO" 5 18484fi 18485 18486 18487 18488GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" 18489GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`" 18490GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`" 18491 18492 18493 18494 18495 18496pkg_failed=no 18497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5 18498$as_echo_n "checking for XML... " >&6; } 18499 18500if test -n "$PKG_CONFIG"; then 18501 if test -n "$XML_CFLAGS"; then 18502 pkg_cv_XML_CFLAGS="$XML_CFLAGS" 18503 else 18504 if test -n "$PKG_CONFIG" && \ 18505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5 18506 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5 18507 ac_status=$? 18508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18509 test $ac_status = 0; }; then 18510 pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null` 18511else 18512 pkg_failed=yes 18513fi 18514 fi 18515else 18516 pkg_failed=untried 18517fi 18518if test -n "$PKG_CONFIG"; then 18519 if test -n "$XML_LIBS"; then 18520 pkg_cv_XML_LIBS="$XML_LIBS" 18521 else 18522 if test -n "$PKG_CONFIG" && \ 18523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5 18524 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5 18525 ac_status=$? 18526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18527 test $ac_status = 0; }; then 18528 pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null` 18529else 18530 pkg_failed=yes 18531fi 18532 fi 18533else 18534 pkg_failed=untried 18535fi 18536 18537 18538 18539if test $pkg_failed = yes; then 18540 18541if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18542 _pkg_short_errors_supported=yes 18543else 18544 _pkg_short_errors_supported=no 18545fi 18546 if test $_pkg_short_errors_supported = yes; then 18547 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0"` 18548 else 18549 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0"` 18550 fi 18551 # Put the nasty error message in config.log where it belongs 18552 echo "$XML_PKG_ERRORS" >&5 18553 18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18555$as_echo "no" >&6; } 18556 HAVE_LIBXML="no" 18557elif test $pkg_failed = untried; then 18558 HAVE_LIBXML="no" 18559else 18560 XML_CFLAGS=$pkg_cv_XML_CFLAGS 18561 XML_LIBS=$pkg_cv_XML_LIBS 18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18563$as_echo "yes" >&6; } 18564 HAVE_LIBXML="yes" 18565fi 18566if test "x$HAVE_LIBXML" != "xyes"; then 18567 as_fn_error $? "libxml2 is required" "$LINENO" 5 18568fi 18569 18570 18571 18572HAVE_GTK=no 18573HAVE_GTK_X11=no 18574GTK_REQ=3.0.0 18575if test "x$BUILD_EXAMPLES" = "xyes"; then 18576 18577pkg_failed=no 18578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 18579$as_echo_n "checking for GTK... " >&6; } 18580 18581if test -n "$PKG_CONFIG"; then 18582 if test -n "$GTK_CFLAGS"; then 18583 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 18584 else 18585 if test -n "$PKG_CONFIG" && \ 18586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5 18587 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5 18588 ac_status=$? 18589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18590 test $ac_status = 0; }; then 18591 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQ" 2>/dev/null` 18592else 18593 pkg_failed=yes 18594fi 18595 fi 18596else 18597 pkg_failed=untried 18598fi 18599if test -n "$PKG_CONFIG"; then 18600 if test -n "$GTK_LIBS"; then 18601 pkg_cv_GTK_LIBS="$GTK_LIBS" 18602 else 18603 if test -n "$PKG_CONFIG" && \ 18604 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5 18605 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5 18606 ac_status=$? 18607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18608 test $ac_status = 0; }; then 18609 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQ" 2>/dev/null` 18610else 18611 pkg_failed=yes 18612fi 18613 fi 18614else 18615 pkg_failed=untried 18616fi 18617 18618 18619 18620if test $pkg_failed = yes; then 18621 18622if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18623 _pkg_short_errors_supported=yes 18624else 18625 _pkg_short_errors_supported=no 18626fi 18627 if test $_pkg_short_errors_supported = yes; then 18628 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"` 18629 else 18630 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"` 18631 fi 18632 # Put the nasty error message in config.log where it belongs 18633 echo "$GTK_PKG_ERRORS" >&5 18634 18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18636$as_echo "no" >&6; } 18637 HAVE_GTK=no 18638elif test $pkg_failed = untried; then 18639 HAVE_GTK=no 18640else 18641 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 18642 GTK_LIBS=$pkg_cv_GTK_LIBS 18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18644$as_echo "yes" >&6; } 18645 HAVE_GTK=yes 18646fi 18647 18648pkg_failed=no 18649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5 18650$as_echo_n "checking for GTK_X11... " >&6; } 18651 18652if test -n "$PKG_CONFIG"; then 18653 if test -n "$GTK_X11_CFLAGS"; then 18654 pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS" 18655 else 18656 if test -n "$PKG_CONFIG" && \ 18657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5 18658 ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5 18659 ac_status=$? 18660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18661 test $ac_status = 0; }; then 18662 pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null` 18663else 18664 pkg_failed=yes 18665fi 18666 fi 18667else 18668 pkg_failed=untried 18669fi 18670if test -n "$PKG_CONFIG"; then 18671 if test -n "$GTK_X11_LIBS"; then 18672 pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS" 18673 else 18674 if test -n "$PKG_CONFIG" && \ 18675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5 18676 ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5 18677 ac_status=$? 18678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18679 test $ac_status = 0; }; then 18680 pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null` 18681else 18682 pkg_failed=yes 18683fi 18684 fi 18685else 18686 pkg_failed=untried 18687fi 18688 18689 18690 18691if test $pkg_failed = yes; then 18692 18693if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18694 _pkg_short_errors_supported=yes 18695else 18696 _pkg_short_errors_supported=no 18697fi 18698 if test $_pkg_short_errors_supported = yes; then 18699 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"` 18700 else 18701 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"` 18702 fi 18703 # Put the nasty error message in config.log where it belongs 18704 echo "$GTK_X11_PKG_ERRORS" >&5 18705 18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18707$as_echo "no" >&6; } 18708 HAVE_GTK_X11=no 18709elif test $pkg_failed = untried; then 18710 HAVE_GTK_X11=no 18711else 18712 GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS 18713 GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS 18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18715$as_echo "yes" >&6; } 18716 HAVE_GTK_X11=yes 18717fi 18718 18719 18720fi 18721 if test "x$HAVE_GTK" = "xyes"; then 18722 HAVE_GTK_TRUE= 18723 HAVE_GTK_FALSE='#' 18724else 18725 HAVE_GTK_TRUE='#' 18726 HAVE_GTK_FALSE= 18727fi 18728 18729 if test "x$HAVE_GTK_X11" = "xyes"; then 18730 HAVE_GTK_X11_TRUE= 18731 HAVE_GTK_X11_FALSE='#' 18732else 18733 HAVE_GTK_X11_TRUE='#' 18734 HAVE_GTK_X11_FALSE= 18735fi 18736 18737 18738# Check whether --enable-Bsymbolic was given. 18739if test "${enable_Bsymbolic+set}" = set; then : 18740 enableval=$enable_Bsymbolic; 18741else 18742 SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}" 18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5 18744$as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; } 18745 LDFLAGS=-Wl,-Bsymbolic-functions 18746 LIBS= 18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18748/* end confdefs.h. */ 18749 18750int 18751main () 18752{ 18753return 0 18754 ; 18755 return 0; 18756} 18757_ACEOF 18758if ac_fn_c_try_link "$LINENO"; then : 18759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18760$as_echo "yes" >&6; } 18761 enable_Bsymbolic=yes 18762else 18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18764$as_echo "no" >&6; } 18765 enable_Bsymbolic=no 18766fi 18767rm -f core conftest.err conftest.$ac_objext \ 18768 conftest$ac_exeext conftest.$ac_ext 18769 LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}" 18770fi 18771 18772 18773# Check whether --enable-benchmarks was given. 18774if test "${enable_benchmarks+set}" = set; then : 18775 enableval=$enable_benchmarks; 18776 case "${enableval}" in 18777 yes) BUILD_BENCHMARKS=yes ;; 18778 no) BUILD_BENCHMARKS=no ;; 18779 *) as_fn_error $? "bad value ${enableval} for --disable-benchmarks" "$LINENO" 5 ;; 18780 esac 18781 18782else 18783 BUILD_BENCHMARKS=yes 18784fi 18785 if test "x$BUILD_BENCHMARKS" = "xyes"; then 18786 BUILD_BENCHMARKS_TRUE= 18787 BUILD_BENCHMARKS_FALSE='#' 18788else 18789 BUILD_BENCHMARKS_TRUE='#' 18790 BUILD_BENCHMARKS_FALSE= 18791fi 18792 18793 18794GST_LICENSE="LGPL" 18795 18796cat >>confdefs.h <<_ACEOF 18797#define GST_LICENSE "$GST_LICENSE" 18798_ACEOF 18799 18800 18801 18802 18803 EXP_VAR=LIBDIR 18804 FROM_VAR=$libdir 18805 18806 prefix_save=$prefix 18807 exec_prefix_save=$exec_prefix 18808 18809 if test "x$prefix" = "xNONE"; then 18810 prefix="$ac_default_prefix" 18811 fi 18812 if test "x$exec_prefix" = "xNONE"; then 18813 exec_prefix=$prefix 18814 fi 18815 18816 full_var="$FROM_VAR" 18817 while true; do 18818 new_full_var="`eval echo $full_var`" 18819 if test "x$new_full_var" = "x$full_var"; then break; fi 18820 full_var=$new_full_var 18821 done 18822 18823 full_var=$new_full_var 18824 LIBDIR="$full_var" 18825 18826 18827 prefix=$prefix_save 18828 exec_prefix=$exec_prefix_save 18829 18830 18831cat >>confdefs.h <<_ACEOF 18832#define LIBDIR "$LIBDIR" 18833_ACEOF 18834 18835 18836 18837 18838 EXP_VAR=PLUGINDIR 18839 FROM_VAR=${libdir}/gstreamer-$GST_API_VERSION 18840 18841 prefix_save=$prefix 18842 exec_prefix_save=$exec_prefix 18843 18844 if test "x$prefix" = "xNONE"; then 18845 prefix="$ac_default_prefix" 18846 fi 18847 if test "x$exec_prefix" = "xNONE"; then 18848 exec_prefix=$prefix 18849 fi 18850 18851 full_var="$FROM_VAR" 18852 while true; do 18853 new_full_var="`eval echo $full_var`" 18854 if test "x$new_full_var" = "x$full_var"; then break; fi 18855 full_var=$new_full_var 18856 done 18857 18858 full_var=$new_full_var 18859 PLUGINDIR="$full_var" 18860 18861 18862 prefix=$prefix_save 18863 exec_prefix=$exec_prefix_save 18864 18865 18866cat >>confdefs.h <<_ACEOF 18867#define PLUGINDIR "$PLUGINDIR" 18868_ACEOF 18869 18870 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5 18871$as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;} 18872 18873 plugindir="\$(libdir)/gstreamer-$GST_API_VERSION" 18874 18875 18876 18877 18878 18879 18880 18881 WARNING_CFLAGS="" 18882 ERROR_CFLAGS="" 18883 18884 18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5 18886$as_echo_n "checking to see if compiler understands -Wall... " >&6; } 18887 18888 save_CFLAGS="$CFLAGS" 18889 CFLAGS="$CFLAGS -Wall" 18890 18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18892/* end confdefs.h. */ 18893 18894int 18895main () 18896{ 18897 18898 ; 18899 return 0; 18900} 18901_ACEOF 18902if ac_fn_c_try_compile "$LINENO"; then : 18903 flag_ok=yes 18904else 18905 flag_ok=no 18906fi 18907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18908 CFLAGS="$save_CFLAGS" 18909 18910 if test "X$flag_ok" = Xyes ; then 18911 WARNING_CFLAGS="$WARNING_CFLAGS -Wall" 18912 true 18913 else 18914 18915 true 18916 fi 18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 18918$as_echo "$flag_ok" >&6; } 18919 18920 18921 18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5 18923$as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; } 18924 18925 save_CFLAGS="$CFLAGS" 18926 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 18927 18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18929/* end confdefs.h. */ 18930 18931int 18932main () 18933{ 18934 18935 ; 18936 return 0; 18937} 18938_ACEOF 18939if ac_fn_c_try_compile "$LINENO"; then : 18940 flag_ok=yes 18941else 18942 flag_ok=no 18943fi 18944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18945 CFLAGS="$save_CFLAGS" 18946 18947 if test "X$flag_ok" = Xyes ; then 18948 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement" 18949 true 18950 else 18951 18952 true 18953 fi 18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 18955$as_echo "$flag_ok" >&6; } 18956 18957 18958 18959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5 18960$as_echo_n "checking to see if compiler understands -Wvla... " >&6; } 18961 18962 save_CFLAGS="$CFLAGS" 18963 CFLAGS="$CFLAGS -Wvla" 18964 18965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18966/* end confdefs.h. */ 18967 18968int 18969main () 18970{ 18971 18972 ; 18973 return 0; 18974} 18975_ACEOF 18976if ac_fn_c_try_compile "$LINENO"; then : 18977 flag_ok=yes 18978else 18979 flag_ok=no 18980fi 18981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18982 CFLAGS="$save_CFLAGS" 18983 18984 if test "X$flag_ok" = Xyes ; then 18985 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla" 18986 true 18987 else 18988 18989 true 18990 fi 18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 18992$as_echo "$flag_ok" >&6; } 18993 18994 18995 18996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5 18997$as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; } 18998 18999 save_CFLAGS="$CFLAGS" 19000 CFLAGS="$CFLAGS -Wpointer-arith" 19001 19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19003/* end confdefs.h. */ 19004 19005int 19006main () 19007{ 19008 19009 ; 19010 return 0; 19011} 19012_ACEOF 19013if ac_fn_c_try_compile "$LINENO"; then : 19014 flag_ok=yes 19015else 19016 flag_ok=no 19017fi 19018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19019 CFLAGS="$save_CFLAGS" 19020 19021 if test "X$flag_ok" = Xyes ; then 19022 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith" 19023 true 19024 else 19025 19026 true 19027 fi 19028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 19029$as_echo "$flag_ok" >&6; } 19030 19031 19032 if test "x$GST_GIT" != "xno" 19033 then 19034 19035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5 19036$as_echo_n "checking to see if compiler understands -Werror... " >&6; } 19037 19038 save_CFLAGS="$CFLAGS" 19039 CFLAGS="$CFLAGS -Werror" 19040 19041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19042/* end confdefs.h. */ 19043 19044int 19045main () 19046{ 19047 19048 ; 19049 return 0; 19050} 19051_ACEOF 19052if ac_fn_c_try_compile "$LINENO"; then : 19053 flag_ok=yes 19054else 19055 flag_ok=no 19056fi 19057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19058 CFLAGS="$save_CFLAGS" 19059 19060 if test "X$flag_ok" = Xyes ; then 19061 ERROR_CFLAGS="$ERROR_CFLAGS -Werror" 19062 true 19063 else 19064 19065 true 19066 fi 19067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 19068$as_echo "$flag_ok" >&6; } 19069 19070 fi 19071 19072 if test "x-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef \ 19073 -Wwrite-strings -Wformat-security -Wold-style-definition \ 19074 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar \ 19075 -Wnested-externs" != "x" 19076 then 19077 UNSUPPORTED="" 19078 list="-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef \ 19079 -Wwrite-strings -Wformat-security -Wold-style-definition \ 19080 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar \ 19081 -Wnested-externs" 19082 for each in $list 19083 do 19084 19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5 19086$as_echo_n "checking to see if compiler understands $each... " >&6; } 19087 19088 save_CFLAGS="$CFLAGS" 19089 CFLAGS="$CFLAGS $each" 19090 19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19092/* end confdefs.h. */ 19093 19094int 19095main () 19096{ 19097 19098 ; 19099 return 0; 19100} 19101_ACEOF 19102if ac_fn_c_try_compile "$LINENO"; then : 19103 flag_ok=yes 19104else 19105 flag_ok=no 19106fi 19107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19108 CFLAGS="$save_CFLAGS" 19109 19110 if test "X$flag_ok" = Xyes ; then 19111 WARNING_CFLAGS="$WARNING_CFLAGS $each" 19112 true 19113 else 19114 UNSUPPORTED="$UNSUPPORTED $each" 19115 true 19116 fi 19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 19118$as_echo "$flag_ok" >&6; } 19119 19120 done 19121 if test "X$UNSUPPORTED" != X ; then 19122 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5 19123$as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;} 19124 fi 19125 fi 19126 19127 19128 19129 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5 19130$as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;} 19131 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5 19132$as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;} 19133 19134 19135 19136 if test "x$GST_GIT" = "xyes"; then 19137 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR 19138 else 19139 GST_LEVEL_DEFAULT=GST_LEVEL_NONE 19140 fi 19141 19142cat >>confdefs.h <<_ACEOF 19143#define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT 19144_ACEOF 19145 19146 19147 19148 19149 19150 19151if test "x$USE_DEBUG" = xyes; then 19152 PROFILE_CFLAGS="-g" 19153fi 19154 19155 19156if test "x$PACKAGE_VERSION_NANO" = "x1"; then 19157 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED" 19158else 19159 DEPRECATED_CFLAGS="" 19160fi 19161 19162 19163VISIBILITY_CFLAGS="" 19164 19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fvisibility=hidden" >&5 19166$as_echo_n "checking to see if compiler understands -fvisibility=hidden... " >&6; } 19167 19168 save_CFLAGS="$CFLAGS" 19169 CFLAGS="$CFLAGS -fvisibility=hidden" 19170 19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19172/* end confdefs.h. */ 19173 19174int 19175main () 19176{ 19177 19178 ; 19179 return 0; 19180} 19181_ACEOF 19182if ac_fn_c_try_compile "$LINENO"; then : 19183 flag_ok=yes 19184else 19185 flag_ok=no 19186fi 19187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19188 CFLAGS="$save_CFLAGS" 19189 19190 if test "X$flag_ok" = Xyes ; then 19191 19192 VISIBILITY_CFLAGS="-fvisibility=hidden" 19193 19194$as_echo "#define GST_API_EXPORT extern __attribute__ ((visibility (\"default\")))" >>confdefs.h 19195 19196 19197 true 19198 else 19199 19200 VISIBILITY_CFLAGS="" 19201 19202$as_echo "#define GST_API_EXPORT extern" >>confdefs.h 19203 19204 19205 true 19206 fi 19207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 19208$as_echo "$flag_ok" >&6; } 19209 19210 19211 19212 19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5 19214$as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; } 19215 19216 save_CFLAGS="$CFLAGS" 19217 CFLAGS="$CFLAGS -fno-strict-aliasing" 19218 19219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19220/* end confdefs.h. */ 19221 19222int 19223main () 19224{ 19225 19226 ; 19227 return 0; 19228} 19229_ACEOF 19230if ac_fn_c_try_compile "$LINENO"; then : 19231 flag_ok=yes 19232else 19233 flag_ok=no 19234fi 19235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19236 CFLAGS="$save_CFLAGS" 19237 19238 if test "X$flag_ok" = Xyes ; then 19239 EXTRA_CFLAGS="-fno-strict-aliasing" 19240 true 19241 else 19242 19243 true 19244 fi 19245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 19246$as_echo "$flag_ok" >&6; } 19247 19248 19249 19250GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)" 19251 19252 19253GST_CFLAGS="$GST_CFLAGS $EXTRA_CFLAGS \$(GST_OPTION_CFLAGS) \$(ERROR_CFLAGS) \$(VISIBILITY_CFLAGS) -DGST_USE_UNSTABLE_API" 19254 19255 19256 19257GST_ALL_LDFLAGS="-no-undefined" 19258if test "x${enable_Bsymbolic}" = "xyes"; then 19259 GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions" 19260fi 19261 19262 19263GST_LIB_LDFLAGS="" 19264 19265 19266GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS" 19267 19268 19269 19270 19271ac_config_files="$ac_config_files Makefile ges/ges-version.h common/Makefile common/m4/Makefile m4/Makefile ges/Makefile tests/Makefile tests/check/Makefile tests/benchmarks/Makefile examples/Makefile examples/c/Makefile tests/validate/Makefile tests/validate/scenarios/Makefile tools/Makefile docs/Makefile docs/version.entities docs/libs/Makefile pkgconfig/Makefile pkgconfig/gst-editing-services.pc pkgconfig/gst-editing-services-uninstalled.pc plugins/Makefile plugins/ges/Makefile plugins/nle/Makefile bindings/Makefile bindings/python/Makefile bindings/python/gi/Makefile bindings/python/gi/overrides/Makefile" 19272 19273cat >confcache <<\_ACEOF 19274# This file is a shell script that caches the results of configure 19275# tests run on this system so they can be shared between configure 19276# scripts and configure runs, see configure's option --config-cache. 19277# It is not useful on other systems. If it contains results you don't 19278# want to keep, you may remove or edit it. 19279# 19280# config.status only pays attention to the cache file if you give it 19281# the --recheck option to rerun configure. 19282# 19283# `ac_cv_env_foo' variables (set or unset) will be overridden when 19284# loading this file, other *unset* `ac_cv_foo' will be assigned the 19285# following values. 19286 19287_ACEOF 19288 19289# The following way of writing the cache mishandles newlines in values, 19290# but we know of no workaround that is simple, portable, and efficient. 19291# So, we kill variables containing newlines. 19292# Ultrix sh set writes to stderr and can't be redirected directly, 19293# and sets the high bit in the cache file unless we assign to the vars. 19294( 19295 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 19296 eval ac_val=\$$ac_var 19297 case $ac_val in #( 19298 *${as_nl}*) 19299 case $ac_var in #( 19300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 19301$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 19302 esac 19303 case $ac_var in #( 19304 _ | IFS | as_nl) ;; #( 19305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 19306 *) { eval $ac_var=; unset $ac_var;} ;; 19307 esac ;; 19308 esac 19309 done 19310 19311 (set) 2>&1 | 19312 case $as_nl`(ac_space=' '; set) 2>&1` in #( 19313 *${as_nl}ac_space=\ *) 19314 # `set' does not quote correctly, so add quotes: double-quote 19315 # substitution turns \\\\ into \\, and sed turns \\ into \. 19316 sed -n \ 19317 "s/'/'\\\\''/g; 19318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 19319 ;; #( 19320 *) 19321 # `set' quotes correctly as required by POSIX, so do not add quotes. 19322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 19323 ;; 19324 esac | 19325 sort 19326) | 19327 sed ' 19328 /^ac_cv_env_/b end 19329 t clear 19330 :clear 19331 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 19332 t end 19333 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 19334 :end' >>confcache 19335if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 19336 if test -w "$cache_file"; then 19337 if test "x$cache_file" != "x/dev/null"; then 19338 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 19339$as_echo "$as_me: updating cache $cache_file" >&6;} 19340 if test ! -f "$cache_file" || test -h "$cache_file"; then 19341 cat confcache >"$cache_file" 19342 else 19343 case $cache_file in #( 19344 */* | ?:*) 19345 mv -f confcache "$cache_file"$$ && 19346 mv -f "$cache_file"$$ "$cache_file" ;; #( 19347 *) 19348 mv -f confcache "$cache_file" ;; 19349 esac 19350 fi 19351 fi 19352 else 19353 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 19354$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 19355 fi 19356fi 19357rm -f confcache 19358 19359test "x$prefix" = xNONE && prefix=$ac_default_prefix 19360# Let make expand exec_prefix. 19361test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 19362 19363DEFS=-DHAVE_CONFIG_H 19364 19365ac_libobjs= 19366ac_ltlibobjs= 19367U= 19368for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 19369 # 1. Remove the extension, and $U if already installed. 19370 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 19371 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 19372 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 19373 # will be set to the directory where LIBOBJS objects are built. 19374 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 19375 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 19376done 19377LIBOBJS=$ac_libobjs 19378 19379LTLIBOBJS=$ac_ltlibobjs 19380 19381 19382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 19383$as_echo_n "checking that generated files are newer than configure... " >&6; } 19384 if test -n "$am_sleep_pid"; then 19385 # Hide warnings about reused PIDs. 19386 wait $am_sleep_pid 2>/dev/null 19387 fi 19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 19389$as_echo "done" >&6; } 19390 if test -n "$EXEEXT"; then 19391 am__EXEEXT_TRUE= 19392 am__EXEEXT_FALSE='#' 19393else 19394 am__EXEEXT_TRUE='#' 19395 am__EXEEXT_FALSE= 19396fi 19397 19398if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 19399 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 19400Usually this means the macro was only invoked conditionally." "$LINENO" 5 19401fi 19402if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 19403 as_fn_error $? "conditional \"AMDEP\" was never defined. 19404Usually this means the macro was only invoked conditionally." "$LINENO" 5 19405fi 19406if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 19407 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 19408Usually this means the macro was only invoked conditionally." "$LINENO" 5 19409fi 19410if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then 19411 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined. 19412Usually this means the macro was only invoked conditionally." "$LINENO" 5 19413fi 19414if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then 19415 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined. 19416Usually this means the macro was only invoked conditionally." "$LINENO" 5 19417fi 19418 19419if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then 19420 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined. 19421Usually this means the macro was only invoked conditionally." "$LINENO" 5 19422fi 19423if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then 19424 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined. 19425Usually this means the macro was only invoked conditionally." "$LINENO" 5 19426fi 19427if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then 19428 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined. 19429Usually this means the macro was only invoked conditionally." "$LINENO" 5 19430fi 19431if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then 19432 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined. 19433Usually this means the macro was only invoked conditionally." "$LINENO" 5 19434fi 19435if test -z "${HAVE_CPU_ARC_TRUE}" && test -z "${HAVE_CPU_ARC_FALSE}"; then 19436 as_fn_error $? "conditional \"HAVE_CPU_ARC\" was never defined. 19437Usually this means the macro was only invoked conditionally." "$LINENO" 5 19438fi 19439if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then 19440 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined. 19441Usually this means the macro was only invoked conditionally." "$LINENO" 5 19442fi 19443if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then 19444 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined. 19445Usually this means the macro was only invoked conditionally." "$LINENO" 5 19446fi 19447if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then 19448 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined. 19449Usually this means the macro was only invoked conditionally." "$LINENO" 5 19450fi 19451if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then 19452 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined. 19453Usually this means the macro was only invoked conditionally." "$LINENO" 5 19454fi 19455if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then 19456 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined. 19457Usually this means the macro was only invoked conditionally." "$LINENO" 5 19458fi 19459if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then 19460 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined. 19461Usually this means the macro was only invoked conditionally." "$LINENO" 5 19462fi 19463if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then 19464 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined. 19465Usually this means the macro was only invoked conditionally." "$LINENO" 5 19466fi 19467if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then 19468 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined. 19469Usually this means the macro was only invoked conditionally." "$LINENO" 5 19470fi 19471if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then 19472 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined. 19473Usually this means the macro was only invoked conditionally." "$LINENO" 5 19474fi 19475if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then 19476 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined. 19477Usually this means the macro was only invoked conditionally." "$LINENO" 5 19478fi 19479 19480if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 19481 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 19482Usually this means the macro was only invoked conditionally." "$LINENO" 5 19483fi 19484if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then 19485 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined. 19486Usually this means the macro was only invoked conditionally." "$LINENO" 5 19487fi 19488if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then 19489 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. 19490Usually this means the macro was only invoked conditionally." "$LINENO" 5 19491fi 19492if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then 19493 as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined. 19494Usually this means the macro was only invoked conditionally." "$LINENO" 5 19495fi 19496if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then 19497 as_fn_error $? "conditional \"DOC_HTML\" was never defined. 19498Usually this means the macro was only invoked conditionally." "$LINENO" 5 19499fi 19500if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then 19501 as_fn_error $? "conditional \"DOC_PDF\" was never defined. 19502Usually this means the macro was only invoked conditionally." "$LINENO" 5 19503fi 19504if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then 19505 as_fn_error $? "conditional \"DOC_PS\" was never defined. 19506Usually this means the macro was only invoked conditionally." "$LINENO" 5 19507fi 19508if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then 19509 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. 19510Usually this means the macro was only invoked conditionally." "$LINENO" 5 19511fi 19512if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 19513 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 19514Usually this means the macro was only invoked conditionally." "$LINENO" 5 19515fi 19516if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 19517 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 19518Usually this means the macro was only invoked conditionally." "$LINENO" 5 19519fi 19520if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 19521 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 19522Usually this means the macro was only invoked conditionally." "$LINENO" 5 19523fi 19524if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then 19525 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined. 19526Usually this means the macro was only invoked conditionally." "$LINENO" 5 19527fi 19528if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then 19529 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined. 19530Usually this means the macro was only invoked conditionally." "$LINENO" 5 19531fi 19532if test -z "${HAVE_GST_VALIDATE_TRUE}" && test -z "${HAVE_GST_VALIDATE_FALSE}"; then 19533 as_fn_error $? "conditional \"HAVE_GST_VALIDATE\" was never defined. 19534Usually this means the macro was only invoked conditionally." "$LINENO" 5 19535fi 19536if test -z "${ENABLE_BASH_COMPLETION_TRUE}" && test -z "${ENABLE_BASH_COMPLETION_FALSE}"; then 19537 as_fn_error $? "conditional \"ENABLE_BASH_COMPLETION\" was never defined. 19538Usually this means the macro was only invoked conditionally." "$LINENO" 5 19539fi 19540if test -z "${HAVE_UNISTD_H_TRUE}" && test -z "${HAVE_UNISTD_H_FALSE}"; then 19541 as_fn_error $? "conditional \"HAVE_UNISTD_H\" was never defined. 19542Usually this means the macro was only invoked conditionally." "$LINENO" 5 19543fi 19544if test -z "${HAVE_GST_VALIDATE_LAUNCHER_TRUE}" && test -z "${HAVE_GST_VALIDATE_LAUNCHER_FALSE}"; then 19545 as_fn_error $? "conditional \"HAVE_GST_VALIDATE_LAUNCHER\" was never defined. 19546Usually this means the macro was only invoked conditionally." "$LINENO" 5 19547fi 19548if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then 19549 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined. 19550Usually this means the macro was only invoked conditionally." "$LINENO" 5 19551fi 19552if test -z "${USE_PLUGIN_PLUGINS_TRUE}" && test -z "${USE_PLUGIN_PLUGINS_FALSE}"; then 19553 as_fn_error $? "conditional \"USE_PLUGIN_PLUGINS\" was never defined. 19554Usually this means the macro was only invoked conditionally." "$LINENO" 5 19555fi 19556if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then 19557 as_fn_error $? "conditional \"HAVE_GTK\" was never defined. 19558Usually this means the macro was only invoked conditionally." "$LINENO" 5 19559fi 19560if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then 19561 as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined. 19562Usually this means the macro was only invoked conditionally." "$LINENO" 5 19563fi 19564if test -z "${BUILD_BENCHMARKS_TRUE}" && test -z "${BUILD_BENCHMARKS_FALSE}"; then 19565 as_fn_error $? "conditional \"BUILD_BENCHMARKS\" was never defined. 19566Usually this means the macro was only invoked conditionally." "$LINENO" 5 19567fi 19568 19569: "${CONFIG_STATUS=./config.status}" 19570ac_write_fail=0 19571ac_clean_files_save=$ac_clean_files 19572ac_clean_files="$ac_clean_files $CONFIG_STATUS" 19573{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 19574$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 19575as_write_fail=0 19576cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 19577#! $SHELL 19578# Generated by $as_me. 19579# Run this file to recreate the current configuration. 19580# Compiler output produced by configure, useful for debugging 19581# configure, is in config.log if it exists. 19582 19583debug=false 19584ac_cs_recheck=false 19585ac_cs_silent=false 19586 19587SHELL=\${CONFIG_SHELL-$SHELL} 19588export SHELL 19589_ASEOF 19590cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 19591## -------------------- ## 19592## M4sh Initialization. ## 19593## -------------------- ## 19594 19595# Be more Bourne compatible 19596DUALCASE=1; export DUALCASE # for MKS sh 19597if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19598 emulate sh 19599 NULLCMD=: 19600 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19601 # is contrary to our usage. Disable this feature. 19602 alias -g '${1+"$@"}'='"$@"' 19603 setopt NO_GLOB_SUBST 19604else 19605 case `(set -o) 2>/dev/null` in #( 19606 *posix*) : 19607 set -o posix ;; #( 19608 *) : 19609 ;; 19610esac 19611fi 19612 19613 19614as_nl=' 19615' 19616export as_nl 19617# Printing a long string crashes Solaris 7 /usr/bin/printf. 19618as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 19619as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 19620as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 19621# Prefer a ksh shell builtin over an external printf program on Solaris, 19622# but without wasting forks for bash or zsh. 19623if test -z "$BASH_VERSION$ZSH_VERSION" \ 19624 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 19625 as_echo='print -r --' 19626 as_echo_n='print -rn --' 19627elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 19628 as_echo='printf %s\n' 19629 as_echo_n='printf %s' 19630else 19631 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 19632 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 19633 as_echo_n='/usr/ucb/echo -n' 19634 else 19635 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 19636 as_echo_n_body='eval 19637 arg=$1; 19638 case $arg in #( 19639 *"$as_nl"*) 19640 expr "X$arg" : "X\\(.*\\)$as_nl"; 19641 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 19642 esac; 19643 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 19644 ' 19645 export as_echo_n_body 19646 as_echo_n='sh -c $as_echo_n_body as_echo' 19647 fi 19648 export as_echo_body 19649 as_echo='sh -c $as_echo_body as_echo' 19650fi 19651 19652# The user is always right. 19653if test "${PATH_SEPARATOR+set}" != set; then 19654 PATH_SEPARATOR=: 19655 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 19656 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 19657 PATH_SEPARATOR=';' 19658 } 19659fi 19660 19661 19662# IFS 19663# We need space, tab and new line, in precisely that order. Quoting is 19664# there to prevent editors from complaining about space-tab. 19665# (If _AS_PATH_WALK were called with IFS unset, it would disable word 19666# splitting by setting IFS to empty value.) 19667IFS=" "" $as_nl" 19668 19669# Find who we are. Look in the path if we contain no directory separator. 19670as_myself= 19671case $0 in #(( 19672 *[\\/]* ) as_myself=$0 ;; 19673 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19674for as_dir in $PATH 19675do 19676 IFS=$as_save_IFS 19677 test -z "$as_dir" && as_dir=. 19678 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 19679 done 19680IFS=$as_save_IFS 19681 19682 ;; 19683esac 19684# We did not find ourselves, most probably we were run as `sh COMMAND' 19685# in which case we are not to be found in the path. 19686if test "x$as_myself" = x; then 19687 as_myself=$0 19688fi 19689if test ! -f "$as_myself"; then 19690 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 19691 exit 1 19692fi 19693 19694# Unset variables that we do not need and which cause bugs (e.g. in 19695# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 19696# suppresses any "Segmentation fault" message there. '((' could 19697# trigger a bug in pdksh 5.2.14. 19698for as_var in BASH_ENV ENV MAIL MAILPATH 19699do eval test x\${$as_var+set} = xset \ 19700 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 19701done 19702PS1='$ ' 19703PS2='> ' 19704PS4='+ ' 19705 19706# NLS nuisances. 19707LC_ALL=C 19708export LC_ALL 19709LANGUAGE=C 19710export LANGUAGE 19711 19712# CDPATH. 19713(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19714 19715 19716# as_fn_error STATUS ERROR [LINENO LOG_FD] 19717# ---------------------------------------- 19718# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 19719# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 19720# script with STATUS, using 1 if that was 0. 19721as_fn_error () 19722{ 19723 as_status=$1; test $as_status -eq 0 && as_status=1 19724 if test "$4"; then 19725 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 19726 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 19727 fi 19728 $as_echo "$as_me: error: $2" >&2 19729 as_fn_exit $as_status 19730} # as_fn_error 19731 19732 19733# as_fn_set_status STATUS 19734# ----------------------- 19735# Set $? to STATUS, without forking. 19736as_fn_set_status () 19737{ 19738 return $1 19739} # as_fn_set_status 19740 19741# as_fn_exit STATUS 19742# ----------------- 19743# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 19744as_fn_exit () 19745{ 19746 set +e 19747 as_fn_set_status $1 19748 exit $1 19749} # as_fn_exit 19750 19751# as_fn_unset VAR 19752# --------------- 19753# Portably unset VAR. 19754as_fn_unset () 19755{ 19756 { eval $1=; unset $1;} 19757} 19758as_unset=as_fn_unset 19759# as_fn_append VAR VALUE 19760# ---------------------- 19761# Append the text in VALUE to the end of the definition contained in VAR. Take 19762# advantage of any shell optimizations that allow amortized linear growth over 19763# repeated appends, instead of the typical quadratic growth present in naive 19764# implementations. 19765if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 19766 eval 'as_fn_append () 19767 { 19768 eval $1+=\$2 19769 }' 19770else 19771 as_fn_append () 19772 { 19773 eval $1=\$$1\$2 19774 } 19775fi # as_fn_append 19776 19777# as_fn_arith ARG... 19778# ------------------ 19779# Perform arithmetic evaluation on the ARGs, and store the result in the 19780# global $as_val. Take advantage of shells that can avoid forks. The arguments 19781# must be portable across $(()) and expr. 19782if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 19783 eval 'as_fn_arith () 19784 { 19785 as_val=$(( $* )) 19786 }' 19787else 19788 as_fn_arith () 19789 { 19790 as_val=`expr "$@" || test $? -eq 1` 19791 } 19792fi # as_fn_arith 19793 19794 19795if expr a : '\(a\)' >/dev/null 2>&1 && 19796 test "X`expr 00001 : '.*\(...\)'`" = X001; then 19797 as_expr=expr 19798else 19799 as_expr=false 19800fi 19801 19802if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 19803 as_basename=basename 19804else 19805 as_basename=false 19806fi 19807 19808if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 19809 as_dirname=dirname 19810else 19811 as_dirname=false 19812fi 19813 19814as_me=`$as_basename -- "$0" || 19815$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 19816 X"$0" : 'X\(//\)$' \| \ 19817 X"$0" : 'X\(/\)' \| . 2>/dev/null || 19818$as_echo X/"$0" | 19819 sed '/^.*\/\([^/][^/]*\)\/*$/{ 19820 s//\1/ 19821 q 19822 } 19823 /^X\/\(\/\/\)$/{ 19824 s//\1/ 19825 q 19826 } 19827 /^X\/\(\/\).*/{ 19828 s//\1/ 19829 q 19830 } 19831 s/.*/./; q'` 19832 19833# Avoid depending upon Character Ranges. 19834as_cr_letters='abcdefghijklmnopqrstuvwxyz' 19835as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 19836as_cr_Letters=$as_cr_letters$as_cr_LETTERS 19837as_cr_digits='0123456789' 19838as_cr_alnum=$as_cr_Letters$as_cr_digits 19839 19840ECHO_C= ECHO_N= ECHO_T= 19841case `echo -n x` in #((((( 19842-n*) 19843 case `echo 'xy\c'` in 19844 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 19845 xy) ECHO_C='\c';; 19846 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 19847 ECHO_T=' ';; 19848 esac;; 19849*) 19850 ECHO_N='-n';; 19851esac 19852 19853rm -f conf$$ conf$$.exe conf$$.file 19854if test -d conf$$.dir; then 19855 rm -f conf$$.dir/conf$$.file 19856else 19857 rm -f conf$$.dir 19858 mkdir conf$$.dir 2>/dev/null 19859fi 19860if (echo >conf$$.file) 2>/dev/null; then 19861 if ln -s conf$$.file conf$$ 2>/dev/null; then 19862 as_ln_s='ln -s' 19863 # ... but there are two gotchas: 19864 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 19865 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 19866 # In both cases, we have to default to `cp -pR'. 19867 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 19868 as_ln_s='cp -pR' 19869 elif ln conf$$.file conf$$ 2>/dev/null; then 19870 as_ln_s=ln 19871 else 19872 as_ln_s='cp -pR' 19873 fi 19874else 19875 as_ln_s='cp -pR' 19876fi 19877rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 19878rmdir conf$$.dir 2>/dev/null 19879 19880 19881# as_fn_mkdir_p 19882# ------------- 19883# Create "$as_dir" as a directory, including parents if necessary. 19884as_fn_mkdir_p () 19885{ 19886 19887 case $as_dir in #( 19888 -*) as_dir=./$as_dir;; 19889 esac 19890 test -d "$as_dir" || eval $as_mkdir_p || { 19891 as_dirs= 19892 while :; do 19893 case $as_dir in #( 19894 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 19895 *) as_qdir=$as_dir;; 19896 esac 19897 as_dirs="'$as_qdir' $as_dirs" 19898 as_dir=`$as_dirname -- "$as_dir" || 19899$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19900 X"$as_dir" : 'X\(//\)[^/]' \| \ 19901 X"$as_dir" : 'X\(//\)$' \| \ 19902 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 19903$as_echo X"$as_dir" | 19904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19905 s//\1/ 19906 q 19907 } 19908 /^X\(\/\/\)[^/].*/{ 19909 s//\1/ 19910 q 19911 } 19912 /^X\(\/\/\)$/{ 19913 s//\1/ 19914 q 19915 } 19916 /^X\(\/\).*/{ 19917 s//\1/ 19918 q 19919 } 19920 s/.*/./; q'` 19921 test -d "$as_dir" && break 19922 done 19923 test -z "$as_dirs" || eval "mkdir $as_dirs" 19924 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 19925 19926 19927} # as_fn_mkdir_p 19928if mkdir -p . 2>/dev/null; then 19929 as_mkdir_p='mkdir -p "$as_dir"' 19930else 19931 test -d ./-p && rmdir ./-p 19932 as_mkdir_p=false 19933fi 19934 19935 19936# as_fn_executable_p FILE 19937# ----------------------- 19938# Test if FILE is an executable regular file. 19939as_fn_executable_p () 19940{ 19941 test -f "$1" && test -x "$1" 19942} # as_fn_executable_p 19943as_test_x='test -x' 19944as_executable_p=as_fn_executable_p 19945 19946# Sed expression to map a string onto a valid CPP name. 19947as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 19948 19949# Sed expression to map a string onto a valid variable name. 19950as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 19951 19952 19953exec 6>&1 19954## ----------------------------------- ## 19955## Main body of $CONFIG_STATUS script. ## 19956## ----------------------------------- ## 19957_ASEOF 19958test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 19959 19960cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19961# Save the log message, to keep $0 and so on meaningful, and to 19962# report actual input values of CONFIG_FILES etc. instead of their 19963# values after options handling. 19964ac_log=" 19965This file was extended by GStreamer Editing Services $as_me 1.16.2, which was 19966generated by GNU Autoconf 2.69. Invocation command line was 19967 19968 CONFIG_FILES = $CONFIG_FILES 19969 CONFIG_HEADERS = $CONFIG_HEADERS 19970 CONFIG_LINKS = $CONFIG_LINKS 19971 CONFIG_COMMANDS = $CONFIG_COMMANDS 19972 $ $0 $@ 19973 19974on `(hostname || uname -n) 2>/dev/null | sed 1q` 19975" 19976 19977_ACEOF 19978 19979case $ac_config_files in *" 19980"*) set x $ac_config_files; shift; ac_config_files=$*;; 19981esac 19982 19983case $ac_config_headers in *" 19984"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 19985esac 19986 19987 19988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19989# Files that config.status was made for. 19990config_files="$ac_config_files" 19991config_headers="$ac_config_headers" 19992config_commands="$ac_config_commands" 19993 19994_ACEOF 19995 19996cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19997ac_cs_usage="\ 19998\`$as_me' instantiates files and other configuration actions 19999from templates according to the current configuration. Unless the files 20000and actions are specified as TAGs, all are instantiated by default. 20001 20002Usage: $0 [OPTION]... [TAG]... 20003 20004 -h, --help print this help, then exit 20005 -V, --version print version number and configuration settings, then exit 20006 --config print configuration, then exit 20007 -q, --quiet, --silent 20008 do not print progress messages 20009 -d, --debug don't remove temporary files 20010 --recheck update $as_me by reconfiguring in the same conditions 20011 --file=FILE[:TEMPLATE] 20012 instantiate the configuration file FILE 20013 --header=FILE[:TEMPLATE] 20014 instantiate the configuration header FILE 20015 20016Configuration files: 20017$config_files 20018 20019Configuration headers: 20020$config_headers 20021 20022Configuration commands: 20023$config_commands 20024 20025Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>." 20026 20027_ACEOF 20028cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20029ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 20030ac_cs_version="\\ 20031GStreamer Editing Services config.status 1.16.2 20032configured by $0, generated by GNU Autoconf 2.69, 20033 with options \\"\$ac_cs_config\\" 20034 20035Copyright (C) 2012 Free Software Foundation, Inc. 20036This config.status script is free software; the Free Software Foundation 20037gives unlimited permission to copy, distribute and modify it." 20038 20039ac_pwd='$ac_pwd' 20040srcdir='$srcdir' 20041INSTALL='$INSTALL' 20042MKDIR_P='$MKDIR_P' 20043AWK='$AWK' 20044test -n "\$AWK" || AWK=awk 20045_ACEOF 20046 20047cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20048# The default lists apply if the user does not specify any file. 20049ac_need_defaults=: 20050while test $# != 0 20051do 20052 case $1 in 20053 --*=?*) 20054 ac_option=`expr "X$1" : 'X\([^=]*\)='` 20055 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 20056 ac_shift=: 20057 ;; 20058 --*=) 20059 ac_option=`expr "X$1" : 'X\([^=]*\)='` 20060 ac_optarg= 20061 ac_shift=: 20062 ;; 20063 *) 20064 ac_option=$1 20065 ac_optarg=$2 20066 ac_shift=shift 20067 ;; 20068 esac 20069 20070 case $ac_option in 20071 # Handling of the options. 20072 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 20073 ac_cs_recheck=: ;; 20074 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 20075 $as_echo "$ac_cs_version"; exit ;; 20076 --config | --confi | --conf | --con | --co | --c ) 20077 $as_echo "$ac_cs_config"; exit ;; 20078 --debug | --debu | --deb | --de | --d | -d ) 20079 debug=: ;; 20080 --file | --fil | --fi | --f ) 20081 $ac_shift 20082 case $ac_optarg in 20083 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 20084 '') as_fn_error $? "missing file argument" ;; 20085 esac 20086 as_fn_append CONFIG_FILES " '$ac_optarg'" 20087 ac_need_defaults=false;; 20088 --header | --heade | --head | --hea ) 20089 $ac_shift 20090 case $ac_optarg in 20091 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 20092 esac 20093 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 20094 ac_need_defaults=false;; 20095 --he | --h) 20096 # Conflict between --help and --header 20097 as_fn_error $? "ambiguous option: \`$1' 20098Try \`$0 --help' for more information.";; 20099 --help | --hel | -h ) 20100 $as_echo "$ac_cs_usage"; exit ;; 20101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 20102 | -silent | --silent | --silen | --sile | --sil | --si | --s) 20103 ac_cs_silent=: ;; 20104 20105 # This is an error. 20106 -*) as_fn_error $? "unrecognized option: \`$1' 20107Try \`$0 --help' for more information." ;; 20108 20109 *) as_fn_append ac_config_targets " $1" 20110 ac_need_defaults=false ;; 20111 20112 esac 20113 shift 20114done 20115 20116ac_configure_extra_args= 20117 20118if $ac_cs_silent; then 20119 exec 6>/dev/null 20120 ac_configure_extra_args="$ac_configure_extra_args --silent" 20121fi 20122 20123_ACEOF 20124cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20125if \$ac_cs_recheck; then 20126 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 20127 shift 20128 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 20129 CONFIG_SHELL='$SHELL' 20130 export CONFIG_SHELL 20131 exec "\$@" 20132fi 20133 20134_ACEOF 20135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20136exec 5>>config.log 20137{ 20138 echo 20139 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 20140## Running $as_me. ## 20141_ASBOX 20142 $as_echo "$ac_log" 20143} >&5 20144 20145_ACEOF 20146cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20147# 20148# INIT-COMMANDS 20149# 20150AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 20151 20152 20153# The HP-UX ksh and POSIX shell print the target directory to stdout 20154# if CDPATH is set. 20155(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 20156 20157sed_quote_subst='$sed_quote_subst' 20158double_quote_subst='$double_quote_subst' 20159delay_variable_subst='$delay_variable_subst' 20160macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 20161macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 20162AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 20163DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 20164OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 20165enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 20166enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 20167pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 20168enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 20169shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 20170SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 20171ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 20172PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 20173host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 20174host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 20175host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 20176build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 20177build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 20178build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 20179SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 20180Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 20181GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 20182EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 20183FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 20184LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 20185NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 20186LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 20187max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 20188ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 20189exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 20190lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 20191lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 20192lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 20193lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 20194lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 20195reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 20196reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 20197deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 20198file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 20199file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 20200want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 20201sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 20202AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 20203AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 20204archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 20205STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 20206RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 20207old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20208old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20209old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 20210lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 20211CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 20212CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 20213compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 20214GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 20215lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 20216lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 20217lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 20218lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 20219lt_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"`' 20220lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 20221nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 20222lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 20223lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 20224objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 20225MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 20226lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 20227lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 20228lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 20229lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 20230lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 20231need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 20232MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 20233DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 20234NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 20235LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 20236OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 20237OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 20238libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 20239shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 20240extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20241archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 20242enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 20243export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 20244whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 20245compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 20246old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 20247old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 20248archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 20249archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20250module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 20251module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 20252with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 20253allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 20254no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 20255hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 20256hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 20257hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 20258hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 20259hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 20260hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 20261hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 20262inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 20263link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 20264always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 20265export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 20266exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 20267include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 20268prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 20269postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 20270file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 20271variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 20272need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 20273need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 20274version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 20275runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 20276shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 20277shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 20278libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 20279library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 20280soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 20281install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 20282postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 20283postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 20284finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 20285finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 20286hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 20287sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 20288configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 20289configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 20290hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 20291enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 20292enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 20293enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 20294old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 20295striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 20296 20297LTCC='$LTCC' 20298LTCFLAGS='$LTCFLAGS' 20299compiler='$compiler_DEFAULT' 20300 20301# A function that is used when there is no print builtin or printf. 20302func_fallback_echo () 20303{ 20304 eval 'cat <<_LTECHO_EOF 20305\$1 20306_LTECHO_EOF' 20307} 20308 20309# Quote evaled strings. 20310for var in AS \ 20311DLLTOOL \ 20312OBJDUMP \ 20313SHELL \ 20314ECHO \ 20315PATH_SEPARATOR \ 20316SED \ 20317GREP \ 20318EGREP \ 20319FGREP \ 20320LD \ 20321NM \ 20322LN_S \ 20323lt_SP2NL \ 20324lt_NL2SP \ 20325reload_flag \ 20326deplibs_check_method \ 20327file_magic_cmd \ 20328file_magic_glob \ 20329want_nocaseglob \ 20330sharedlib_from_linklib_cmd \ 20331AR \ 20332AR_FLAGS \ 20333archiver_list_spec \ 20334STRIP \ 20335RANLIB \ 20336CC \ 20337CFLAGS \ 20338compiler \ 20339lt_cv_sys_global_symbol_pipe \ 20340lt_cv_sys_global_symbol_to_cdecl \ 20341lt_cv_sys_global_symbol_to_import \ 20342lt_cv_sys_global_symbol_to_c_name_address \ 20343lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 20344lt_cv_nm_interface \ 20345nm_file_list_spec \ 20346lt_cv_truncate_bin \ 20347lt_prog_compiler_no_builtin_flag \ 20348lt_prog_compiler_pic \ 20349lt_prog_compiler_wl \ 20350lt_prog_compiler_static \ 20351lt_cv_prog_compiler_c_o \ 20352need_locks \ 20353MANIFEST_TOOL \ 20354DSYMUTIL \ 20355NMEDIT \ 20356LIPO \ 20357OTOOL \ 20358OTOOL64 \ 20359shrext_cmds \ 20360export_dynamic_flag_spec \ 20361whole_archive_flag_spec \ 20362compiler_needs_object \ 20363with_gnu_ld \ 20364allow_undefined_flag \ 20365no_undefined_flag \ 20366hardcode_libdir_flag_spec \ 20367hardcode_libdir_separator \ 20368exclude_expsyms \ 20369include_expsyms \ 20370file_list_spec \ 20371variables_saved_for_relink \ 20372libname_spec \ 20373library_names_spec \ 20374soname_spec \ 20375install_override_mode \ 20376finish_eval \ 20377old_striplib \ 20378striplib; do 20379 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20380 *[\\\\\\\`\\"\\\$]*) 20381 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 20382 ;; 20383 *) 20384 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20385 ;; 20386 esac 20387done 20388 20389# Double-quote double-evaled strings. 20390for var in reload_cmds \ 20391old_postinstall_cmds \ 20392old_postuninstall_cmds \ 20393old_archive_cmds \ 20394extract_expsyms_cmds \ 20395old_archive_from_new_cmds \ 20396old_archive_from_expsyms_cmds \ 20397archive_cmds \ 20398archive_expsym_cmds \ 20399module_cmds \ 20400module_expsym_cmds \ 20401export_symbols_cmds \ 20402prelink_cmds \ 20403postlink_cmds \ 20404postinstall_cmds \ 20405postuninstall_cmds \ 20406finish_cmds \ 20407sys_lib_search_path_spec \ 20408configure_time_dlsearch_path \ 20409configure_time_lt_sys_library_path; do 20410 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 20411 *[\\\\\\\`\\"\\\$]*) 20412 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 20413 ;; 20414 *) 20415 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 20416 ;; 20417 esac 20418done 20419 20420ac_aux_dir='$ac_aux_dir' 20421 20422# See if we are running on zsh, and set the options that allow our 20423# commands through without removal of \ escapes INIT. 20424if test -n "\${ZSH_VERSION+set}"; then 20425 setopt NO_GLOB_SUBST 20426fi 20427 20428 20429 PACKAGE='$PACKAGE' 20430 VERSION='$VERSION' 20431 RM='$RM' 20432 ofile='$ofile' 20433 20434 20435 20436 20437_ACEOF 20438 20439cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20440 20441# Handling of arguments. 20442for ac_config_target in $ac_config_targets 20443do 20444 case $ac_config_target in 20445 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 20446 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 20447 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 20448 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20449 "ges/ges-version.h") CONFIG_FILES="$CONFIG_FILES ges/ges-version.h" ;; 20450 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 20451 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;; 20452 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 20453 "ges/Makefile") CONFIG_FILES="$CONFIG_FILES ges/Makefile" ;; 20454 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 20455 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;; 20456 "tests/benchmarks/Makefile") CONFIG_FILES="$CONFIG_FILES tests/benchmarks/Makefile" ;; 20457 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 20458 "examples/c/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c/Makefile" ;; 20459 "tests/validate/Makefile") CONFIG_FILES="$CONFIG_FILES tests/validate/Makefile" ;; 20460 "tests/validate/scenarios/Makefile") CONFIG_FILES="$CONFIG_FILES tests/validate/scenarios/Makefile" ;; 20461 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 20462 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 20463 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;; 20464 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;; 20465 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;; 20466 "pkgconfig/gst-editing-services.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-editing-services.pc" ;; 20467 "pkgconfig/gst-editing-services-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-editing-services-uninstalled.pc" ;; 20468 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; 20469 "plugins/ges/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ges/Makefile" ;; 20470 "plugins/nle/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/nle/Makefile" ;; 20471 "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;; 20472 "bindings/python/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;; 20473 "bindings/python/gi/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/gi/Makefile" ;; 20474 "bindings/python/gi/overrides/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/python/gi/overrides/Makefile" ;; 20475 20476 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 20477 esac 20478done 20479 20480 20481# If the user did not use the arguments to specify the items to instantiate, 20482# then the envvar interface is used. Set only those that are not. 20483# We use the long form for the default assignment because of an extremely 20484# bizarre bug on SunOS 4.1.3. 20485if $ac_need_defaults; then 20486 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 20487 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 20488 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 20489fi 20490 20491# Have a temporary directory for convenience. Make it in the build tree 20492# simply because there is no reason against having it here, and in addition, 20493# creating and moving files from /tmp can sometimes cause problems. 20494# Hook for its removal unless debugging. 20495# Note that there is a small window in which the directory will not be cleaned: 20496# after its creation but before its name has been assigned to `$tmp'. 20497$debug || 20498{ 20499 tmp= ac_tmp= 20500 trap 'exit_status=$? 20501 : "${ac_tmp:=$tmp}" 20502 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 20503' 0 20504 trap 'as_fn_exit 1' 1 2 13 15 20505} 20506# Create a (secure) tmp directory for tmp files. 20507 20508{ 20509 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 20510 test -d "$tmp" 20511} || 20512{ 20513 tmp=./conf$$-$RANDOM 20514 (umask 077 && mkdir "$tmp") 20515} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 20516ac_tmp=$tmp 20517 20518# Set up the scripts for CONFIG_FILES section. 20519# No need to generate them if there are no CONFIG_FILES. 20520# This happens for instance with `./config.status config.h'. 20521if test -n "$CONFIG_FILES"; then 20522 20523 20524ac_cr=`echo X | tr X '\015'` 20525# On cygwin, bash can eat \r inside `` if the user requested igncr. 20526# But we know of no other shell where ac_cr would be empty at this 20527# point, so we can use a bashism as a fallback. 20528if test "x$ac_cr" = x; then 20529 eval ac_cr=\$\'\\r\' 20530fi 20531ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 20532if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 20533 ac_cs_awk_cr='\\r' 20534else 20535 ac_cs_awk_cr=$ac_cr 20536fi 20537 20538echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 20539_ACEOF 20540 20541 20542{ 20543 echo "cat >conf$$subs.awk <<_ACEOF" && 20544 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 20545 echo "_ACEOF" 20546} >conf$$subs.sh || 20547 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20548ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 20549ac_delim='%!_!# ' 20550for ac_last_try in false false false false false :; do 20551 . ./conf$$subs.sh || 20552 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20553 20554 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 20555 if test $ac_delim_n = $ac_delim_num; then 20556 break 20557 elif $ac_last_try; then 20558 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 20559 else 20560 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20561 fi 20562done 20563rm -f conf$$subs.sh 20564 20565cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20566cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 20567_ACEOF 20568sed -n ' 20569h 20570s/^/S["/; s/!.*/"]=/ 20571p 20572g 20573s/^[^!]*!// 20574:repl 20575t repl 20576s/'"$ac_delim"'$// 20577t delim 20578:nl 20579h 20580s/\(.\{148\}\)..*/\1/ 20581t more1 20582s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 20583p 20584n 20585b repl 20586:more1 20587s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20588p 20589g 20590s/.\{148\}// 20591t nl 20592:delim 20593h 20594s/\(.\{148\}\)..*/\1/ 20595t more2 20596s/["\\]/\\&/g; s/^/"/; s/$/"/ 20597p 20598b 20599:more2 20600s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20601p 20602g 20603s/.\{148\}// 20604t delim 20605' <conf$$subs.awk | sed ' 20606/^[^""]/{ 20607 N 20608 s/\n// 20609} 20610' >>$CONFIG_STATUS || ac_write_fail=1 20611rm -f conf$$subs.awk 20612cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20613_ACAWK 20614cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 20615 for (key in S) S_is_set[key] = 1 20616 FS = "" 20617 20618} 20619{ 20620 line = $ 0 20621 nfields = split(line, field, "@") 20622 substed = 0 20623 len = length(field[1]) 20624 for (i = 2; i < nfields; i++) { 20625 key = field[i] 20626 keylen = length(key) 20627 if (S_is_set[key]) { 20628 value = S[key] 20629 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 20630 len += length(value) + length(field[++i]) 20631 substed = 1 20632 } else 20633 len += 1 + keylen 20634 } 20635 20636 print line 20637} 20638 20639_ACAWK 20640_ACEOF 20641cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20642if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 20643 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 20644else 20645 cat 20646fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 20647 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 20648_ACEOF 20649 20650# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 20651# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 20652# trailing colons and then remove the whole line if VPATH becomes empty 20653# (actually we leave an empty line to preserve line numbers). 20654if test "x$srcdir" = x.; then 20655 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 20656h 20657s/// 20658s/^/:/ 20659s/[ ]*$/:/ 20660s/:\$(srcdir):/:/g 20661s/:\${srcdir}:/:/g 20662s/:@srcdir@:/:/g 20663s/^:*// 20664s/:*$// 20665x 20666s/\(=[ ]*\).*/\1/ 20667G 20668s/\n// 20669s/^[^=]*=[ ]*$// 20670}' 20671fi 20672 20673cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20674fi # test -n "$CONFIG_FILES" 20675 20676# Set up the scripts for CONFIG_HEADERS section. 20677# No need to generate them if there are no CONFIG_HEADERS. 20678# This happens for instance with `./config.status Makefile'. 20679if test -n "$CONFIG_HEADERS"; then 20680cat >"$ac_tmp/defines.awk" <<\_ACAWK || 20681BEGIN { 20682_ACEOF 20683 20684# Transform confdefs.h into an awk script `defines.awk', embedded as 20685# here-document in config.status, that substitutes the proper values into 20686# config.h.in to produce config.h. 20687 20688# Create a delimiter string that does not exist in confdefs.h, to ease 20689# handling of long lines. 20690ac_delim='%!_!# ' 20691for ac_last_try in false false :; do 20692 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 20693 if test -z "$ac_tt"; then 20694 break 20695 elif $ac_last_try; then 20696 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 20697 else 20698 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20699 fi 20700done 20701 20702# For the awk script, D is an array of macro values keyed by name, 20703# likewise P contains macro parameters if any. Preserve backslash 20704# newline sequences. 20705 20706ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 20707sed -n ' 20708s/.\{148\}/&'"$ac_delim"'/g 20709t rset 20710:rset 20711s/^[ ]*#[ ]*define[ ][ ]*/ / 20712t def 20713d 20714:def 20715s/\\$// 20716t bsnl 20717s/["\\]/\\&/g 20718s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20719D["\1"]=" \3"/p 20720s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 20721d 20722:bsnl 20723s/["\\]/\\&/g 20724s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 20725D["\1"]=" \3\\\\\\n"\\/p 20726t cont 20727s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 20728t cont 20729d 20730:cont 20731n 20732s/.\{148\}/&'"$ac_delim"'/g 20733t clear 20734:clear 20735s/\\$// 20736t bsnlc 20737s/["\\]/\\&/g; s/^/"/; s/$/"/p 20738d 20739:bsnlc 20740s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 20741b cont 20742' <confdefs.h | sed ' 20743s/'"$ac_delim"'/"\\\ 20744"/g' >>$CONFIG_STATUS || ac_write_fail=1 20745 20746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20747 for (key in D) D_is_set[key] = 1 20748 FS = "" 20749} 20750/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 20751 line = \$ 0 20752 split(line, arg, " ") 20753 if (arg[1] == "#") { 20754 defundef = arg[2] 20755 mac1 = arg[3] 20756 } else { 20757 defundef = substr(arg[1], 2) 20758 mac1 = arg[2] 20759 } 20760 split(mac1, mac2, "(") #) 20761 macro = mac2[1] 20762 prefix = substr(line, 1, index(line, defundef) - 1) 20763 if (D_is_set[macro]) { 20764 # Preserve the white space surrounding the "#". 20765 print prefix "define", macro P[macro] D[macro] 20766 next 20767 } else { 20768 # Replace #undef with comments. This is necessary, for example, 20769 # in the case of _POSIX_SOURCE, which is predefined and required 20770 # on some systems where configure will not decide to define it. 20771 if (defundef == "undef") { 20772 print "/*", prefix defundef, macro, "*/" 20773 next 20774 } 20775 } 20776} 20777{ print } 20778_ACAWK 20779_ACEOF 20780cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20781 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 20782fi # test -n "$CONFIG_HEADERS" 20783 20784 20785eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 20786shift 20787for ac_tag 20788do 20789 case $ac_tag in 20790 :[FHLC]) ac_mode=$ac_tag; continue;; 20791 esac 20792 case $ac_mode$ac_tag in 20793 :[FHL]*:*);; 20794 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 20795 :[FH]-) ac_tag=-:-;; 20796 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 20797 esac 20798 ac_save_IFS=$IFS 20799 IFS=: 20800 set x $ac_tag 20801 IFS=$ac_save_IFS 20802 shift 20803 ac_file=$1 20804 shift 20805 20806 case $ac_mode in 20807 :L) ac_source=$1;; 20808 :[FH]) 20809 ac_file_inputs= 20810 for ac_f 20811 do 20812 case $ac_f in 20813 -) ac_f="$ac_tmp/stdin";; 20814 *) # Look for the file first in the build tree, then in the source tree 20815 # (if the path is not absolute). The absolute path cannot be DOS-style, 20816 # because $ac_f cannot contain `:'. 20817 test -f "$ac_f" || 20818 case $ac_f in 20819 [\\/$]*) false;; 20820 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 20821 esac || 20822 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 20823 esac 20824 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20825 as_fn_append ac_file_inputs " '$ac_f'" 20826 done 20827 20828 # Let's still pretend it is `configure' which instantiates (i.e., don't 20829 # use $as_me), people would be surprised to read: 20830 # /* config.h. Generated by config.status. */ 20831 configure_input='Generated from '` 20832 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 20833 `' by configure.' 20834 if test x"$ac_file" != x-; then 20835 configure_input="$ac_file. $configure_input" 20836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 20837$as_echo "$as_me: creating $ac_file" >&6;} 20838 fi 20839 # Neutralize special characters interpreted by sed in replacement strings. 20840 case $configure_input in #( 20841 *\&* | *\|* | *\\* ) 20842 ac_sed_conf_input=`$as_echo "$configure_input" | 20843 sed 's/[\\\\&|]/\\\\&/g'`;; #( 20844 *) ac_sed_conf_input=$configure_input;; 20845 esac 20846 20847 case $ac_tag in 20848 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 20849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 20850 esac 20851 ;; 20852 esac 20853 20854 ac_dir=`$as_dirname -- "$ac_file" || 20855$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20856 X"$ac_file" : 'X\(//\)[^/]' \| \ 20857 X"$ac_file" : 'X\(//\)$' \| \ 20858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 20859$as_echo X"$ac_file" | 20860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20861 s//\1/ 20862 q 20863 } 20864 /^X\(\/\/\)[^/].*/{ 20865 s//\1/ 20866 q 20867 } 20868 /^X\(\/\/\)$/{ 20869 s//\1/ 20870 q 20871 } 20872 /^X\(\/\).*/{ 20873 s//\1/ 20874 q 20875 } 20876 s/.*/./; q'` 20877 as_dir="$ac_dir"; as_fn_mkdir_p 20878 ac_builddir=. 20879 20880case "$ac_dir" in 20881.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 20882*) 20883 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 20884 # A ".." for each directory in $ac_dir_suffix. 20885 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 20886 case $ac_top_builddir_sub in 20887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 20888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 20889 esac ;; 20890esac 20891ac_abs_top_builddir=$ac_pwd 20892ac_abs_builddir=$ac_pwd$ac_dir_suffix 20893# for backward compatibility: 20894ac_top_builddir=$ac_top_build_prefix 20895 20896case $srcdir in 20897 .) # We are building in place. 20898 ac_srcdir=. 20899 ac_top_srcdir=$ac_top_builddir_sub 20900 ac_abs_top_srcdir=$ac_pwd ;; 20901 [\\/]* | ?:[\\/]* ) # Absolute name. 20902 ac_srcdir=$srcdir$ac_dir_suffix; 20903 ac_top_srcdir=$srcdir 20904 ac_abs_top_srcdir=$srcdir ;; 20905 *) # Relative name. 20906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 20907 ac_top_srcdir=$ac_top_build_prefix$srcdir 20908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 20909esac 20910ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 20911 20912 20913 case $ac_mode in 20914 :F) 20915 # 20916 # CONFIG_FILE 20917 # 20918 20919 case $INSTALL in 20920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 20921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 20922 esac 20923 ac_MKDIR_P=$MKDIR_P 20924 case $MKDIR_P in 20925 [\\/$]* | ?:[\\/]* ) ;; 20926 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 20927 esac 20928_ACEOF 20929 20930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20931# If the template does not know about datarootdir, expand it. 20932# FIXME: This hack should be removed a few years after 2.60. 20933ac_datarootdir_hack=; ac_datarootdir_seen= 20934ac_sed_dataroot=' 20935/datarootdir/ { 20936 p 20937 q 20938} 20939/@datadir@/p 20940/@docdir@/p 20941/@infodir@/p 20942/@localedir@/p 20943/@mandir@/p' 20944case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 20945*datarootdir*) ac_datarootdir_seen=yes;; 20946*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 20947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20948$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20949_ACEOF 20950cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20951 ac_datarootdir_hack=' 20952 s&@datadir@&$datadir&g 20953 s&@docdir@&$docdir&g 20954 s&@infodir@&$infodir&g 20955 s&@localedir@&$localedir&g 20956 s&@mandir@&$mandir&g 20957 s&\\\${datarootdir}&$datarootdir&g' ;; 20958esac 20959_ACEOF 20960 20961# Neutralize VPATH when `$srcdir' = `.'. 20962# Shell code in configure.ac might set extrasub. 20963# FIXME: do we really want to maintain this feature? 20964cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20965ac_sed_extra="$ac_vpsub 20966$extrasub 20967_ACEOF 20968cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20969:t 20970/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 20971s|@configure_input@|$ac_sed_conf_input|;t t 20972s&@top_builddir@&$ac_top_builddir_sub&;t t 20973s&@top_build_prefix@&$ac_top_build_prefix&;t t 20974s&@srcdir@&$ac_srcdir&;t t 20975s&@abs_srcdir@&$ac_abs_srcdir&;t t 20976s&@top_srcdir@&$ac_top_srcdir&;t t 20977s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 20978s&@builddir@&$ac_builddir&;t t 20979s&@abs_builddir@&$ac_abs_builddir&;t t 20980s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 20981s&@INSTALL@&$ac_INSTALL&;t t 20982s&@MKDIR_P@&$ac_MKDIR_P&;t t 20983$ac_datarootdir_hack 20984" 20985eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 20986 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 20987 20988test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 20989 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 20990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 20991 "$ac_tmp/out"`; test -z "$ac_out"; } && 20992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20993which seems to be undefined. Please make sure it is defined" >&5 20994$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20995which seems to be undefined. Please make sure it is defined" >&2;} 20996 20997 rm -f "$ac_tmp/stdin" 20998 case $ac_file in 20999 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 21000 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 21001 esac \ 21002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21003 ;; 21004 :H) 21005 # 21006 # CONFIG_HEADER 21007 # 21008 if test x"$ac_file" != x-; then 21009 { 21010 $as_echo "/* $configure_input */" \ 21011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 21012 } >"$ac_tmp/config.h" \ 21013 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21014 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 21015 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 21016$as_echo "$as_me: $ac_file is unchanged" >&6;} 21017 else 21018 rm -f "$ac_file" 21019 mv "$ac_tmp/config.h" "$ac_file" \ 21020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 21021 fi 21022 else 21023 $as_echo "/* $configure_input */" \ 21024 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 21025 || as_fn_error $? "could not create -" "$LINENO" 5 21026 fi 21027# Compute "$ac_file"'s index in $config_headers. 21028_am_arg="$ac_file" 21029_am_stamp_count=1 21030for _am_header in $config_headers :; do 21031 case $_am_header in 21032 $_am_arg | $_am_arg:* ) 21033 break ;; 21034 * ) 21035 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 21036 esac 21037done 21038echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 21039$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21040 X"$_am_arg" : 'X\(//\)[^/]' \| \ 21041 X"$_am_arg" : 'X\(//\)$' \| \ 21042 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 21043$as_echo X"$_am_arg" | 21044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21045 s//\1/ 21046 q 21047 } 21048 /^X\(\/\/\)[^/].*/{ 21049 s//\1/ 21050 q 21051 } 21052 /^X\(\/\/\)$/{ 21053 s//\1/ 21054 q 21055 } 21056 /^X\(\/\).*/{ 21057 s//\1/ 21058 q 21059 } 21060 s/.*/./; q'`/stamp-h$_am_stamp_count 21061 ;; 21062 21063 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 21064$as_echo "$as_me: executing $ac_file commands" >&6;} 21065 ;; 21066 esac 21067 21068 21069 case $ac_file$ac_mode in 21070 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 21071 # Older Autoconf quotes --file arguments for eval, but not when files 21072 # are listed without --file. Let's play safe and only enable the eval 21073 # if we detect the quoting. 21074 # TODO: see whether this extra hack can be removed once we start 21075 # requiring Autoconf 2.70 or later. 21076 case $CONFIG_FILES in #( 21077 *\'*) : 21078 eval set x "$CONFIG_FILES" ;; #( 21079 *) : 21080 set x $CONFIG_FILES ;; #( 21081 *) : 21082 ;; 21083esac 21084 shift 21085 # Used to flag and report bootstrapping failures. 21086 am_rc=0 21087 for am_mf 21088 do 21089 # Strip MF so we end up with the name of the file. 21090 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 21091 # Check whether this is an Automake generated Makefile which includes 21092 # dependency-tracking related rules and includes. 21093 # Grep'ing the whole file directly is not great: AIX grep has a line 21094 # limit of 2048, but all sed's we know have understand at least 4000. 21095 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 21096 || continue 21097 am_dirpart=`$as_dirname -- "$am_mf" || 21098$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 21099 X"$am_mf" : 'X\(//\)[^/]' \| \ 21100 X"$am_mf" : 'X\(//\)$' \| \ 21101 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 21102$as_echo X"$am_mf" | 21103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 21104 s//\1/ 21105 q 21106 } 21107 /^X\(\/\/\)[^/].*/{ 21108 s//\1/ 21109 q 21110 } 21111 /^X\(\/\/\)$/{ 21112 s//\1/ 21113 q 21114 } 21115 /^X\(\/\).*/{ 21116 s//\1/ 21117 q 21118 } 21119 s/.*/./; q'` 21120 am_filepart=`$as_basename -- "$am_mf" || 21121$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 21122 X"$am_mf" : 'X\(//\)$' \| \ 21123 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 21124$as_echo X/"$am_mf" | 21125 sed '/^.*\/\([^/][^/]*\)\/*$/{ 21126 s//\1/ 21127 q 21128 } 21129 /^X\/\(\/\/\)$/{ 21130 s//\1/ 21131 q 21132 } 21133 /^X\/\(\/\).*/{ 21134 s//\1/ 21135 q 21136 } 21137 s/.*/./; q'` 21138 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 21139 && sed -e '/# am--include-marker/d' "$am_filepart" \ 21140 | $MAKE -f - am--depfiles" >&5 21141 (cd "$am_dirpart" \ 21142 && sed -e '/# am--include-marker/d' "$am_filepart" \ 21143 | $MAKE -f - am--depfiles) >&5 2>&5 21144 ac_status=$? 21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21146 (exit $ac_status); } || am_rc=$? 21147 done 21148 if test $am_rc -ne 0; then 21149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21150$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21151as_fn_error $? "Something went wrong bootstrapping makefile fragments 21152 for automatic dependency tracking. Try re-running configure with the 21153 '--disable-dependency-tracking' option to at least be able to build 21154 the package (albeit without support for automatic dependency tracking). 21155See \`config.log' for more details" "$LINENO" 5; } 21156 fi 21157 { am_dirpart=; unset am_dirpart;} 21158 { am_filepart=; unset am_filepart;} 21159 { am_mf=; unset am_mf;} 21160 { am_rc=; unset am_rc;} 21161 rm -f conftest-deps.mk 21162} 21163 ;; 21164 "libtool":C) 21165 21166 # See if we are running on zsh, and set the options that allow our 21167 # commands through without removal of \ escapes. 21168 if test -n "${ZSH_VERSION+set}"; then 21169 setopt NO_GLOB_SUBST 21170 fi 21171 21172 cfgfile=${ofile}T 21173 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 21174 $RM "$cfgfile" 21175 21176 cat <<_LT_EOF >> "$cfgfile" 21177#! $SHELL 21178# Generated automatically by $as_me ($PACKAGE) $VERSION 21179# NOTE: Changes made to this file will be lost: look at ltmain.sh. 21180 21181# Provide generalized library-building support services. 21182# Written by Gordon Matzigkeit, 1996 21183 21184# Copyright (C) 2014 Free Software Foundation, Inc. 21185# This is free software; see the source for copying conditions. There is NO 21186# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 21187 21188# GNU Libtool is free software; you can redistribute it and/or modify 21189# it under the terms of the GNU General Public License as published by 21190# the Free Software Foundation; either version 2 of of the License, or 21191# (at your option) any later version. 21192# 21193# As a special exception to the GNU General Public License, if you 21194# distribute this file as part of a program or library that is built 21195# using GNU Libtool, you may include this file under the same 21196# distribution terms that you use for the rest of that program. 21197# 21198# GNU Libtool is distributed in the hope that it will be useful, but 21199# WITHOUT ANY WARRANTY; without even the implied warranty of 21200# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21201# GNU General Public License for more details. 21202# 21203# You should have received a copy of the GNU General Public License 21204# along with this program. If not, see <http://www.gnu.org/licenses/>. 21205 21206 21207# The names of the tagged configurations supported by this script. 21208available_tags='' 21209 21210# Configured defaults for sys_lib_dlsearch_path munging. 21211: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 21212 21213# ### BEGIN LIBTOOL CONFIG 21214 21215# Which release of libtool.m4 was used? 21216macro_version=$macro_version 21217macro_revision=$macro_revision 21218 21219# Assembler program. 21220AS=$lt_AS 21221 21222# DLL creation program. 21223DLLTOOL=$lt_DLLTOOL 21224 21225# Object dumper program. 21226OBJDUMP=$lt_OBJDUMP 21227 21228# Whether or not to build static libraries. 21229build_old_libs=$enable_static 21230 21231# Whether or not to build shared libraries. 21232build_libtool_libs=$enable_shared 21233 21234# What type of objects to build. 21235pic_mode=$pic_mode 21236 21237# Whether or not to optimize for fast installation. 21238fast_install=$enable_fast_install 21239 21240# Shared archive member basename,for filename based shared library versioning on AIX. 21241shared_archive_member_spec=$shared_archive_member_spec 21242 21243# Shell to use when invoking shell scripts. 21244SHELL=$lt_SHELL 21245 21246# An echo program that protects backslashes. 21247ECHO=$lt_ECHO 21248 21249# The PATH separator for the build system. 21250PATH_SEPARATOR=$lt_PATH_SEPARATOR 21251 21252# The host system. 21253host_alias=$host_alias 21254host=$host 21255host_os=$host_os 21256 21257# The build system. 21258build_alias=$build_alias 21259build=$build 21260build_os=$build_os 21261 21262# A sed program that does not truncate output. 21263SED=$lt_SED 21264 21265# Sed that helps us avoid accidentally triggering echo(1) options like -n. 21266Xsed="\$SED -e 1s/^X//" 21267 21268# A grep program that handles long lines. 21269GREP=$lt_GREP 21270 21271# An ERE matcher. 21272EGREP=$lt_EGREP 21273 21274# A literal string matcher. 21275FGREP=$lt_FGREP 21276 21277# A BSD- or MS-compatible name lister. 21278NM=$lt_NM 21279 21280# Whether we need soft or hard links. 21281LN_S=$lt_LN_S 21282 21283# What is the maximum length of a command? 21284max_cmd_len=$max_cmd_len 21285 21286# Object file suffix (normally "o"). 21287objext=$ac_objext 21288 21289# Executable file suffix (normally ""). 21290exeext=$exeext 21291 21292# whether the shell understands "unset". 21293lt_unset=$lt_unset 21294 21295# turn spaces into newlines. 21296SP2NL=$lt_lt_SP2NL 21297 21298# turn newlines into spaces. 21299NL2SP=$lt_lt_NL2SP 21300 21301# convert \$build file names to \$host format. 21302to_host_file_cmd=$lt_cv_to_host_file_cmd 21303 21304# convert \$build files to toolchain format. 21305to_tool_file_cmd=$lt_cv_to_tool_file_cmd 21306 21307# Method to check whether dependent libraries are shared objects. 21308deplibs_check_method=$lt_deplibs_check_method 21309 21310# Command to use when deplibs_check_method = "file_magic". 21311file_magic_cmd=$lt_file_magic_cmd 21312 21313# How to find potential files when deplibs_check_method = "file_magic". 21314file_magic_glob=$lt_file_magic_glob 21315 21316# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 21317want_nocaseglob=$lt_want_nocaseglob 21318 21319# Command to associate shared and link libraries. 21320sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 21321 21322# The archiver. 21323AR=$lt_AR 21324 21325# Flags to create an archive. 21326AR_FLAGS=$lt_AR_FLAGS 21327 21328# How to feed a file listing to the archiver. 21329archiver_list_spec=$lt_archiver_list_spec 21330 21331# A symbol stripping program. 21332STRIP=$lt_STRIP 21333 21334# Commands used to install an old-style archive. 21335RANLIB=$lt_RANLIB 21336old_postinstall_cmds=$lt_old_postinstall_cmds 21337old_postuninstall_cmds=$lt_old_postuninstall_cmds 21338 21339# Whether to use a lock for old archive extraction. 21340lock_old_archive_extraction=$lock_old_archive_extraction 21341 21342# A C compiler. 21343LTCC=$lt_CC 21344 21345# LTCC compiler flags. 21346LTCFLAGS=$lt_CFLAGS 21347 21348# Take the output of nm and produce a listing of raw symbols and C names. 21349global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 21350 21351# Transform the output of nm in a proper C declaration. 21352global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 21353 21354# Transform the output of nm into a list of symbols to manually relocate. 21355global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 21356 21357# Transform the output of nm in a C name address pair. 21358global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 21359 21360# Transform the output of nm in a C name address pair when lib prefix is needed. 21361global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 21362 21363# The name lister interface. 21364nm_interface=$lt_lt_cv_nm_interface 21365 21366# Specify filename containing input files for \$NM. 21367nm_file_list_spec=$lt_nm_file_list_spec 21368 21369# The root where to search for dependent libraries,and where our libraries should be installed. 21370lt_sysroot=$lt_sysroot 21371 21372# Command to truncate a binary pipe. 21373lt_truncate_bin=$lt_lt_cv_truncate_bin 21374 21375# The name of the directory that contains temporary libtool files. 21376objdir=$objdir 21377 21378# Used to examine libraries when file_magic_cmd begins with "file". 21379MAGIC_CMD=$MAGIC_CMD 21380 21381# Must we lock files when doing compilation? 21382need_locks=$lt_need_locks 21383 21384# Manifest tool. 21385MANIFEST_TOOL=$lt_MANIFEST_TOOL 21386 21387# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 21388DSYMUTIL=$lt_DSYMUTIL 21389 21390# Tool to change global to local symbols on Mac OS X. 21391NMEDIT=$lt_NMEDIT 21392 21393# Tool to manipulate fat objects and archives on Mac OS X. 21394LIPO=$lt_LIPO 21395 21396# ldd/readelf like tool for Mach-O binaries on Mac OS X. 21397OTOOL=$lt_OTOOL 21398 21399# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 21400OTOOL64=$lt_OTOOL64 21401 21402# Old archive suffix (normally "a"). 21403libext=$libext 21404 21405# Shared library suffix (normally ".so"). 21406shrext_cmds=$lt_shrext_cmds 21407 21408# The commands to extract the exported symbol list from a shared archive. 21409extract_expsyms_cmds=$lt_extract_expsyms_cmds 21410 21411# Variables whose values should be saved in libtool wrapper scripts and 21412# restored at link time. 21413variables_saved_for_relink=$lt_variables_saved_for_relink 21414 21415# Do we need the "lib" prefix for modules? 21416need_lib_prefix=$need_lib_prefix 21417 21418# Do we need a version for libraries? 21419need_version=$need_version 21420 21421# Library versioning type. 21422version_type=$version_type 21423 21424# Shared library runtime path variable. 21425runpath_var=$runpath_var 21426 21427# Shared library path variable. 21428shlibpath_var=$shlibpath_var 21429 21430# Is shlibpath searched before the hard-coded library search path? 21431shlibpath_overrides_runpath=$shlibpath_overrides_runpath 21432 21433# Format of library name prefix. 21434libname_spec=$lt_libname_spec 21435 21436# List of archive names. First name is the real one, the rest are links. 21437# The last name is the one that the linker finds with -lNAME 21438library_names_spec=$lt_library_names_spec 21439 21440# The coded name of the library, if different from the real name. 21441soname_spec=$lt_soname_spec 21442 21443# Permission mode override for installation of shared libraries. 21444install_override_mode=$lt_install_override_mode 21445 21446# Command to use after installation of a shared archive. 21447postinstall_cmds=$lt_postinstall_cmds 21448 21449# Command to use after uninstallation of a shared archive. 21450postuninstall_cmds=$lt_postuninstall_cmds 21451 21452# Commands used to finish a libtool library installation in a directory. 21453finish_cmds=$lt_finish_cmds 21454 21455# As "finish_cmds", except a single script fragment to be evaled but 21456# not shown. 21457finish_eval=$lt_finish_eval 21458 21459# Whether we should hardcode library paths into libraries. 21460hardcode_into_libs=$hardcode_into_libs 21461 21462# Compile-time system search path for libraries. 21463sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 21464 21465# Detected run-time system search path for libraries. 21466sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 21467 21468# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 21469configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 21470 21471# Whether dlopen is supported. 21472dlopen_support=$enable_dlopen 21473 21474# Whether dlopen of programs is supported. 21475dlopen_self=$enable_dlopen_self 21476 21477# Whether dlopen of statically linked programs is supported. 21478dlopen_self_static=$enable_dlopen_self_static 21479 21480# Commands to strip libraries. 21481old_striplib=$lt_old_striplib 21482striplib=$lt_striplib 21483 21484 21485# The linker used to build libraries. 21486LD=$lt_LD 21487 21488# How to create reloadable object files. 21489reload_flag=$lt_reload_flag 21490reload_cmds=$lt_reload_cmds 21491 21492# Commands used to build an old-style archive. 21493old_archive_cmds=$lt_old_archive_cmds 21494 21495# A language specific compiler. 21496CC=$lt_compiler 21497 21498# Is the compiler the GNU compiler? 21499with_gcc=$GCC 21500 21501# Compiler flag to turn off builtin functions. 21502no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 21503 21504# Additional compiler flags for building library objects. 21505pic_flag=$lt_lt_prog_compiler_pic 21506 21507# How to pass a linker flag through the compiler. 21508wl=$lt_lt_prog_compiler_wl 21509 21510# Compiler flag to prevent dynamic linking. 21511link_static_flag=$lt_lt_prog_compiler_static 21512 21513# Does compiler simultaneously support -c and -o options? 21514compiler_c_o=$lt_lt_cv_prog_compiler_c_o 21515 21516# Whether or not to add -lc for building shared libraries. 21517build_libtool_need_lc=$archive_cmds_need_lc 21518 21519# Whether or not to disallow shared libs when runtime libs are static. 21520allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 21521 21522# Compiler flag to allow reflexive dlopens. 21523export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 21524 21525# Compiler flag to generate shared objects directly from archives. 21526whole_archive_flag_spec=$lt_whole_archive_flag_spec 21527 21528# Whether the compiler copes with passing no objects directly. 21529compiler_needs_object=$lt_compiler_needs_object 21530 21531# Create an old-style archive from a shared archive. 21532old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 21533 21534# Create a temporary old-style archive to link instead of a shared archive. 21535old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 21536 21537# Commands used to build a shared archive. 21538archive_cmds=$lt_archive_cmds 21539archive_expsym_cmds=$lt_archive_expsym_cmds 21540 21541# Commands used to build a loadable module if different from building 21542# a shared archive. 21543module_cmds=$lt_module_cmds 21544module_expsym_cmds=$lt_module_expsym_cmds 21545 21546# Whether we are building with GNU ld or not. 21547with_gnu_ld=$lt_with_gnu_ld 21548 21549# Flag that allows shared libraries with undefined symbols to be built. 21550allow_undefined_flag=$lt_allow_undefined_flag 21551 21552# Flag that enforces no undefined symbols. 21553no_undefined_flag=$lt_no_undefined_flag 21554 21555# Flag to hardcode \$libdir into a binary during linking. 21556# This must work even if \$libdir does not exist 21557hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 21558 21559# Whether we need a single "-rpath" flag with a separated argument. 21560hardcode_libdir_separator=$lt_hardcode_libdir_separator 21561 21562# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 21563# DIR into the resulting binary. 21564hardcode_direct=$hardcode_direct 21565 21566# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 21567# DIR into the resulting binary and the resulting library dependency is 21568# "absolute",i.e impossible to change by setting \$shlibpath_var if the 21569# library is relocated. 21570hardcode_direct_absolute=$hardcode_direct_absolute 21571 21572# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 21573# into the resulting binary. 21574hardcode_minus_L=$hardcode_minus_L 21575 21576# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 21577# into the resulting binary. 21578hardcode_shlibpath_var=$hardcode_shlibpath_var 21579 21580# Set to "yes" if building a shared library automatically hardcodes DIR 21581# into the library and all subsequent libraries and executables linked 21582# against it. 21583hardcode_automatic=$hardcode_automatic 21584 21585# Set to yes if linker adds runtime paths of dependent libraries 21586# to runtime path list. 21587inherit_rpath=$inherit_rpath 21588 21589# Whether libtool must link a program against all its dependency libraries. 21590link_all_deplibs=$link_all_deplibs 21591 21592# Set to "yes" if exported symbols are required. 21593always_export_symbols=$always_export_symbols 21594 21595# The commands to list exported symbols. 21596export_symbols_cmds=$lt_export_symbols_cmds 21597 21598# Symbols that should not be listed in the preloaded symbols. 21599exclude_expsyms=$lt_exclude_expsyms 21600 21601# Symbols that must always be exported. 21602include_expsyms=$lt_include_expsyms 21603 21604# Commands necessary for linking programs (against libraries) with templates. 21605prelink_cmds=$lt_prelink_cmds 21606 21607# Commands necessary for finishing linking programs. 21608postlink_cmds=$lt_postlink_cmds 21609 21610# Specify filename containing input files. 21611file_list_spec=$lt_file_list_spec 21612 21613# How to hardcode a shared library path into an executable. 21614hardcode_action=$hardcode_action 21615 21616# ### END LIBTOOL CONFIG 21617 21618_LT_EOF 21619 21620 cat <<'_LT_EOF' >> "$cfgfile" 21621 21622# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 21623 21624# func_munge_path_list VARIABLE PATH 21625# ----------------------------------- 21626# VARIABLE is name of variable containing _space_ separated list of 21627# directories to be munged by the contents of PATH, which is string 21628# having a format: 21629# "DIR[:DIR]:" 21630# string "DIR[ DIR]" will be prepended to VARIABLE 21631# ":DIR[:DIR]" 21632# string "DIR[ DIR]" will be appended to VARIABLE 21633# "DIRP[:DIRP]::[DIRA:]DIRA" 21634# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 21635# "DIRA[ DIRA]" will be appended to VARIABLE 21636# "DIR[:DIR]" 21637# VARIABLE will be replaced by "DIR[ DIR]" 21638func_munge_path_list () 21639{ 21640 case x$2 in 21641 x) 21642 ;; 21643 *:) 21644 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 21645 ;; 21646 x:*) 21647 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 21648 ;; 21649 *::*) 21650 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 21651 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 21652 ;; 21653 *) 21654 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 21655 ;; 21656 esac 21657} 21658 21659 21660# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 21661func_cc_basename () 21662{ 21663 for cc_temp in $*""; do 21664 case $cc_temp in 21665 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 21666 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 21667 \-*) ;; 21668 *) break;; 21669 esac 21670 done 21671 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 21672} 21673 21674 21675# ### END FUNCTIONS SHARED WITH CONFIGURE 21676 21677_LT_EOF 21678 21679 case $host_os in 21680 aix3*) 21681 cat <<\_LT_EOF >> "$cfgfile" 21682# AIX sometimes has problems with the GCC collect2 program. For some 21683# reason, if we set the COLLECT_NAMES environment variable, the problems 21684# vanish in a puff of smoke. 21685if test set != "${COLLECT_NAMES+set}"; then 21686 COLLECT_NAMES= 21687 export COLLECT_NAMES 21688fi 21689_LT_EOF 21690 ;; 21691 esac 21692 21693 21694ltmain=$ac_aux_dir/ltmain.sh 21695 21696 21697 # We use sed instead of cat because bash on DJGPP gets confused if 21698 # if finds mixed CR/LF and LF-only lines. Since sed operates in 21699 # text mode, it properly converts lines to CR/LF. This bash problem 21700 # is reportedly fixed, but why not run on old versions too? 21701 sed '$q' "$ltmain" >> "$cfgfile" \ 21702 || (rm -f "$cfgfile"; exit 1) 21703 21704 mv -f "$cfgfile" "$ofile" || 21705 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 21706 chmod +x "$ofile" 21707 21708 ;; 21709 21710 esac 21711done # for ac_tag 21712 21713 21714as_fn_exit 0 21715_ACEOF 21716ac_clean_files=$ac_clean_files_save 21717 21718test $ac_write_fail = 0 || 21719 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 21720 21721 21722# configure is writing to config.log, and then calls config.status. 21723# config.status does its own redirection, appending to config.log. 21724# Unfortunately, on DOS this fails, as config.log is still kept open 21725# by configure, so config.status won't be able to write to it; its 21726# output is simply discarded. So we exec the FD to /dev/null, 21727# effectively closing config.log, so it can be properly (re)opened and 21728# appended to by config.status. When coming back to configure, we 21729# need to make the FD available again. 21730if test "$no_create" != yes; then 21731 ac_cs_success=: 21732 ac_config_status_args= 21733 test "$silent" = yes && 21734 ac_config_status_args="$ac_config_status_args --quiet" 21735 exec 5>/dev/null 21736 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 21737 exec 5>>config.log 21738 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 21739 # would make configure fail if this is the last instruction. 21740 $ac_cs_success || as_fn_exit 1 21741fi 21742if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 21743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21744$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21745fi 21746 21747