1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for gst123 0.3.3. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# 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 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177else 178 as_have_required=no 179fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184as_found=false 185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200fi 201fi 202 done;; 203 esac 204 as_found=false 205done 206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209fi; } 210IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 # Preserve -v and -x to the replacement shell. 218 BASH_ENV=/dev/null 219 ENV=/dev/null 220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 221 export CONFIG_SHELL 222 case $- in # (((( 223 *v*x* | *x*v* ) as_opts=-vx ;; 224 *v* ) as_opts=-v ;; 225 *x* ) as_opts=-x ;; 226 * ) as_opts= ;; 227 esac 228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 229fi 230 231 if test x$as_have_required = xno; then : 232 $as_echo "$0: This script requires a shell more modern than all" 233 $as_echo "$0: the shells that I found on your system." 234 if test x${ZSH_VERSION+set} = xset ; then 235 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 236 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 237 else 238 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 239$0: including any error possibly output before this 240$0: message. Then install a modern shell, or manually run 241$0: the script under such a shell if you do have one." 242 fi 243 exit 1 244fi 245fi 246fi 247SHELL=${CONFIG_SHELL-/bin/sh} 248export SHELL 249# Unset more variables known to interfere with behavior of common tools. 250CLICOLOR_FORCE= GREP_OPTIONS= 251unset CLICOLOR_FORCE GREP_OPTIONS 252 253## --------------------- ## 254## M4sh Shell Functions. ## 255## --------------------- ## 256# as_fn_unset VAR 257# --------------- 258# Portably unset VAR. 259as_fn_unset () 260{ 261 { eval $1=; unset $1;} 262} 263as_unset=as_fn_unset 264 265# as_fn_set_status STATUS 266# ----------------------- 267# Set $? to STATUS, without forking. 268as_fn_set_status () 269{ 270 return $1 271} # as_fn_set_status 272 273# as_fn_exit STATUS 274# ----------------- 275# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 276as_fn_exit () 277{ 278 set +e 279 as_fn_set_status $1 280 exit $1 281} # as_fn_exit 282 283# as_fn_mkdir_p 284# ------------- 285# Create "$as_dir" as a directory, including parents if necessary. 286as_fn_mkdir_p () 287{ 288 289 case $as_dir in #( 290 -*) as_dir=./$as_dir;; 291 esac 292 test -d "$as_dir" || eval $as_mkdir_p || { 293 as_dirs= 294 while :; do 295 case $as_dir in #( 296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 297 *) as_qdir=$as_dir;; 298 esac 299 as_dirs="'$as_qdir' $as_dirs" 300 as_dir=`$as_dirname -- "$as_dir" || 301$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 302 X"$as_dir" : 'X\(//\)[^/]' \| \ 303 X"$as_dir" : 'X\(//\)$' \| \ 304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 305$as_echo X"$as_dir" | 306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)[^/].*/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)$/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\).*/{ 319 s//\1/ 320 q 321 } 322 s/.*/./; q'` 323 test -d "$as_dir" && break 324 done 325 test -z "$as_dirs" || eval "mkdir $as_dirs" 326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 327 328 329} # as_fn_mkdir_p 330# as_fn_append VAR VALUE 331# ---------------------- 332# Append the text in VALUE to the end of the definition contained in VAR. Take 333# advantage of any shell optimizations that allow amortized linear growth over 334# repeated appends, instead of the typical quadratic growth present in naive 335# implementations. 336if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 337 eval 'as_fn_append () 338 { 339 eval $1+=\$2 340 }' 341else 342 as_fn_append () 343 { 344 eval $1=\$$1\$2 345 } 346fi # as_fn_append 347 348# as_fn_arith ARG... 349# ------------------ 350# Perform arithmetic evaluation on the ARGs, and store the result in the 351# global $as_val. Take advantage of shells that can avoid forks. The arguments 352# must be portable across $(()) and expr. 353if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 354 eval 'as_fn_arith () 355 { 356 as_val=$(( $* )) 357 }' 358else 359 as_fn_arith () 360 { 361 as_val=`expr "$@" || test $? -eq 1` 362 } 363fi # as_fn_arith 364 365 366# as_fn_error STATUS ERROR [LINENO LOG_FD] 367# ---------------------------------------- 368# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 369# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 370# script with STATUS, using 1 if that was 0. 371as_fn_error () 372{ 373 as_status=$1; test $as_status -eq 0 && as_status=1 374 if test "$4"; then 375 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 377 fi 378 $as_echo "$as_me: error: $2" >&2 379 as_fn_exit $as_status 380} # as_fn_error 381 382if expr a : '\(a\)' >/dev/null 2>&1 && 383 test "X`expr 00001 : '.*\(...\)'`" = X001; then 384 as_expr=expr 385else 386 as_expr=false 387fi 388 389if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 390 as_basename=basename 391else 392 as_basename=false 393fi 394 395if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 396 as_dirname=dirname 397else 398 as_dirname=false 399fi 400 401as_me=`$as_basename -- "$0" || 402$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 403 X"$0" : 'X\(//\)$' \| \ 404 X"$0" : 'X\(/\)' \| . 2>/dev/null || 405$as_echo X/"$0" | 406 sed '/^.*\/\([^/][^/]*\)\/*$/{ 407 s//\1/ 408 q 409 } 410 /^X\/\(\/\/\)$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\).*/{ 415 s//\1/ 416 q 417 } 418 s/.*/./; q'` 419 420# Avoid depending upon Character Ranges. 421as_cr_letters='abcdefghijklmnopqrstuvwxyz' 422as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 423as_cr_Letters=$as_cr_letters$as_cr_LETTERS 424as_cr_digits='0123456789' 425as_cr_alnum=$as_cr_Letters$as_cr_digits 426 427 428 as_lineno_1=$LINENO as_lineno_1a=$LINENO 429 as_lineno_2=$LINENO as_lineno_2a=$LINENO 430 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 431 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 432 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 433 sed -n ' 434 p 435 /[$]LINENO/= 436 ' <$as_myself | 437 sed ' 438 s/[$]LINENO.*/&-/ 439 t lineno 440 b 441 :lineno 442 N 443 :loop 444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 445 t loop 446 s/-\n.*// 447 ' >$as_me.lineno && 448 chmod +x "$as_me.lineno" || 449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 450 451 # Don't try to exec as it changes $[0], causing all sort of problems 452 # (the dirname of $[0] is not the place where we might find the 453 # original and so on. Autoconf is especially sensitive to this). 454 . "./$as_me.lineno" 455 # Exit status is that of the last command. 456 exit 457} 458 459ECHO_C= ECHO_N= ECHO_T= 460case `echo -n x` in #((((( 461-n*) 462 case `echo 'xy\c'` in 463 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 464 xy) ECHO_C='\c';; 465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 466 ECHO_T=' ';; 467 esac;; 468*) 469 ECHO_N='-n';; 470esac 471 472rm -f conf$$ conf$$.exe conf$$.file 473if test -d conf$$.dir; then 474 rm -f conf$$.dir/conf$$.file 475else 476 rm -f conf$$.dir 477 mkdir conf$$.dir 2>/dev/null 478fi 479if (echo >conf$$.file) 2>/dev/null; then 480 if ln -s conf$$.file conf$$ 2>/dev/null; then 481 as_ln_s='ln -s' 482 # ... but there are two gotchas: 483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 485 # In both cases, we have to default to `cp -p'. 486 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 487 as_ln_s='cp -p' 488 elif ln conf$$.file conf$$ 2>/dev/null; then 489 as_ln_s=ln 490 else 491 as_ln_s='cp -p' 492 fi 493else 494 as_ln_s='cp -p' 495fi 496rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 497rmdir conf$$.dir 2>/dev/null 498 499if mkdir -p . 2>/dev/null; then 500 as_mkdir_p='mkdir -p "$as_dir"' 501else 502 test -d ./-p && rmdir ./-p 503 as_mkdir_p=false 504fi 505 506if test -x / >/dev/null 2>&1; then 507 as_test_x='test -x' 508else 509 if ls -dL / >/dev/null 2>&1; then 510 as_ls_L_option=L 511 else 512 as_ls_L_option= 513 fi 514 as_test_x=' 515 eval sh -c '\'' 516 if test -d "$1"; then 517 test -d "$1/."; 518 else 519 case $1 in #( 520 -*)set "./$1";; 521 esac; 522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 523 ???[sx]*):;;*)false;;esac;fi 524 '\'' sh 525 ' 526fi 527as_executable_p=$as_test_x 528 529# Sed expression to map a string onto a valid CPP name. 530as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 531 532# Sed expression to map a string onto a valid variable name. 533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 534 535 536test -n "$DJDIR" || exec 7<&0 </dev/null 537exec 6>&1 538 539# Name of the host. 540# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 541# so uname gets run too. 542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543 544# 545# Initializations. 546# 547ac_default_prefix=/usr/local 548ac_clean_files= 549ac_config_libobj_dir=. 550LIBOBJS= 551cross_compiling=no 552subdirs= 553MFLAGS= 554MAKEFLAGS= 555 556# Identity of this package. 557PACKAGE_NAME='gst123' 558PACKAGE_TARNAME='gst123' 559PACKAGE_VERSION='0.3.3' 560PACKAGE_STRING='gst123 0.3.3' 561PACKAGE_BUGREPORT='' 562PACKAGE_URL='' 563 564ac_unique_file="src/gst123.cc" 565ac_subst_vars='am__EXEEXT_FALSE 566am__EXEEXT_TRUE 567LTLIBOBJS 568LIBOBJS 569IFAGING 570IFMAN 571GROFF 572WIKIHTML2MAN 573NCURSES_LIBS 574NCURSES_CFLAGS 575NCURSES5_CONFIG 576X11_LIBS 577GSTREAMER_GTKLIBS 578GSTREAMER_GTK_LIBS 579GSTREAMER_GTK_CFLAGS 580GSTREAMER_0_10_LIBS 581GSTREAMER_0_10_CFLAGS 582GSTREAMER_LIBS 583GSTREAMER_CFLAGS 584GSTREAMER_1_0_LIBS 585GSTREAMER_1_0_CFLAGS 586PKG_CONFIG_LIBDIR 587PKG_CONFIG_PATH 588PKG_CONFIG 589AM_BACKSLASH 590AM_DEFAULT_VERBOSITY 591AM_DEFAULT_V 592AM_V 593MAINT 594MAINTAINER_MODE_FALSE 595MAINTAINER_MODE_TRUE 596am__fastdepCC_FALSE 597am__fastdepCC_TRUE 598CCDEPMODE 599ac_ct_CC 600CFLAGS 601CC 602am__fastdepCXX_FALSE 603am__fastdepCXX_TRUE 604CXXDEPMODE 605am__nodep 606AMDEPBACKSLASH 607AMDEP_FALSE 608AMDEP_TRUE 609am__quote 610am__include 611DEPDIR 612OBJEXT 613EXEEXT 614ac_ct_CXX 615CPPFLAGS 616LDFLAGS 617CXXFLAGS 618CXX 619am__untar 620am__tar 621AMTAR 622am__leading_dot 623SET_MAKE 624AWK 625mkdir_p 626MKDIR_P 627INSTALL_STRIP_PROGRAM 628STRIP 629install_sh 630MAKEINFO 631AUTOHEADER 632AUTOMAKE 633AUTOCONF 634ACLOCAL 635VERSION 636PACKAGE 637CYGPATH_W 638am__isrc 639INSTALL_DATA 640INSTALL_SCRIPT 641INSTALL_PROGRAM 642target_alias 643host_alias 644build_alias 645LIBS 646ECHO_T 647ECHO_N 648ECHO_C 649DEFS 650mandir 651localedir 652libdir 653psdir 654pdfdir 655dvidir 656htmldir 657infodir 658docdir 659oldincludedir 660includedir 661localstatedir 662sharedstatedir 663sysconfdir 664datadir 665datarootdir 666libexecdir 667sbindir 668bindir 669program_transform_name 670prefix 671exec_prefix 672PACKAGE_URL 673PACKAGE_BUGREPORT 674PACKAGE_STRING 675PACKAGE_VERSION 676PACKAGE_TARNAME 677PACKAGE_NAME 678PATH_SEPARATOR 679SHELL' 680ac_subst_files='' 681ac_user_opts=' 682enable_option_checking 683enable_debug 684enable_dependency_tracking 685enable_maintainer_mode 686enable_silent_rules 687enable_debug_cxx 688' 689 ac_precious_vars='build_alias 690host_alias 691target_alias 692CXX 693CXXFLAGS 694LDFLAGS 695LIBS 696CPPFLAGS 697CCC 698CC 699CFLAGS 700PKG_CONFIG 701PKG_CONFIG_PATH 702PKG_CONFIG_LIBDIR 703GSTREAMER_1_0_CFLAGS 704GSTREAMER_1_0_LIBS 705GSTREAMER_CFLAGS 706GSTREAMER_LIBS 707GSTREAMER_0_10_CFLAGS 708GSTREAMER_0_10_LIBS 709GSTREAMER_GTK_CFLAGS 710GSTREAMER_GTK_LIBS' 711 712 713# Initialize some variables set by options. 714ac_init_help= 715ac_init_version=false 716ac_unrecognized_opts= 717ac_unrecognized_sep= 718# The variables have the same names as the options, with 719# dashes changed to underlines. 720cache_file=/dev/null 721exec_prefix=NONE 722no_create= 723no_recursion= 724prefix=NONE 725program_prefix=NONE 726program_suffix=NONE 727program_transform_name=s,x,x, 728silent= 729site= 730srcdir= 731verbose= 732x_includes=NONE 733x_libraries=NONE 734 735# Installation directory options. 736# These are left unexpanded so users can "make install exec_prefix=/foo" 737# and all the variables that are supposed to be based on exec_prefix 738# by default will actually change. 739# Use braces instead of parens because sh, perl, etc. also accept them. 740# (The list follows the same order as the GNU Coding Standards.) 741bindir='${exec_prefix}/bin' 742sbindir='${exec_prefix}/sbin' 743libexecdir='${exec_prefix}/libexec' 744datarootdir='${prefix}/share' 745datadir='${datarootdir}' 746sysconfdir='${prefix}/etc' 747sharedstatedir='${prefix}/com' 748localstatedir='${prefix}/var' 749includedir='${prefix}/include' 750oldincludedir='/usr/include' 751docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 752infodir='${datarootdir}/info' 753htmldir='${docdir}' 754dvidir='${docdir}' 755pdfdir='${docdir}' 756psdir='${docdir}' 757libdir='${exec_prefix}/lib' 758localedir='${datarootdir}/locale' 759mandir='${datarootdir}/man' 760 761ac_prev= 762ac_dashdash= 763for ac_option 764do 765 # If the previous option needs an argument, assign it. 766 if test -n "$ac_prev"; then 767 eval $ac_prev=\$ac_option 768 ac_prev= 769 continue 770 fi 771 772 case $ac_option in 773 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 774 *=) ac_optarg= ;; 775 *) ac_optarg=yes ;; 776 esac 777 778 # Accept the important Cygnus configure options, so we can diagnose typos. 779 780 case $ac_dashdash$ac_option in 781 --) 782 ac_dashdash=yes ;; 783 784 -bindir | --bindir | --bindi | --bind | --bin | --bi) 785 ac_prev=bindir ;; 786 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 787 bindir=$ac_optarg ;; 788 789 -build | --build | --buil | --bui | --bu) 790 ac_prev=build_alias ;; 791 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 792 build_alias=$ac_optarg ;; 793 794 -cache-file | --cache-file | --cache-fil | --cache-fi \ 795 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 796 ac_prev=cache_file ;; 797 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 798 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 799 cache_file=$ac_optarg ;; 800 801 --config-cache | -C) 802 cache_file=config.cache ;; 803 804 -datadir | --datadir | --datadi | --datad) 805 ac_prev=datadir ;; 806 -datadir=* | --datadir=* | --datadi=* | --datad=*) 807 datadir=$ac_optarg ;; 808 809 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 810 | --dataroo | --dataro | --datar) 811 ac_prev=datarootdir ;; 812 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 813 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 814 datarootdir=$ac_optarg ;; 815 816 -disable-* | --disable-*) 817 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 818 # Reject names that are not valid shell variable names. 819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 820 as_fn_error $? "invalid feature name: $ac_useropt" 821 ac_useropt_orig=$ac_useropt 822 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 823 case $ac_user_opts in 824 *" 825"enable_$ac_useropt" 826"*) ;; 827 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 828 ac_unrecognized_sep=', ';; 829 esac 830 eval enable_$ac_useropt=no ;; 831 832 -docdir | --docdir | --docdi | --doc | --do) 833 ac_prev=docdir ;; 834 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 835 docdir=$ac_optarg ;; 836 837 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 838 ac_prev=dvidir ;; 839 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 840 dvidir=$ac_optarg ;; 841 842 -enable-* | --enable-*) 843 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 844 # Reject names that are not valid shell variable names. 845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 846 as_fn_error $? "invalid feature name: $ac_useropt" 847 ac_useropt_orig=$ac_useropt 848 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 849 case $ac_user_opts in 850 *" 851"enable_$ac_useropt" 852"*) ;; 853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 854 ac_unrecognized_sep=', ';; 855 esac 856 eval enable_$ac_useropt=\$ac_optarg ;; 857 858 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 859 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 860 | --exec | --exe | --ex) 861 ac_prev=exec_prefix ;; 862 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 863 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 864 | --exec=* | --exe=* | --ex=*) 865 exec_prefix=$ac_optarg ;; 866 867 -gas | --gas | --ga | --g) 868 # Obsolete; use --with-gas. 869 with_gas=yes ;; 870 871 -help | --help | --hel | --he | -h) 872 ac_init_help=long ;; 873 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 874 ac_init_help=recursive ;; 875 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 876 ac_init_help=short ;; 877 878 -host | --host | --hos | --ho) 879 ac_prev=host_alias ;; 880 -host=* | --host=* | --hos=* | --ho=*) 881 host_alias=$ac_optarg ;; 882 883 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 884 ac_prev=htmldir ;; 885 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 886 | --ht=*) 887 htmldir=$ac_optarg ;; 888 889 -includedir | --includedir | --includedi | --included | --include \ 890 | --includ | --inclu | --incl | --inc) 891 ac_prev=includedir ;; 892 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 893 | --includ=* | --inclu=* | --incl=* | --inc=*) 894 includedir=$ac_optarg ;; 895 896 -infodir | --infodir | --infodi | --infod | --info | --inf) 897 ac_prev=infodir ;; 898 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 899 infodir=$ac_optarg ;; 900 901 -libdir | --libdir | --libdi | --libd) 902 ac_prev=libdir ;; 903 -libdir=* | --libdir=* | --libdi=* | --libd=*) 904 libdir=$ac_optarg ;; 905 906 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 907 | --libexe | --libex | --libe) 908 ac_prev=libexecdir ;; 909 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 910 | --libexe=* | --libex=* | --libe=*) 911 libexecdir=$ac_optarg ;; 912 913 -localedir | --localedir | --localedi | --localed | --locale) 914 ac_prev=localedir ;; 915 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 916 localedir=$ac_optarg ;; 917 918 -localstatedir | --localstatedir | --localstatedi | --localstated \ 919 | --localstate | --localstat | --localsta | --localst | --locals) 920 ac_prev=localstatedir ;; 921 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 922 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 923 localstatedir=$ac_optarg ;; 924 925 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 926 ac_prev=mandir ;; 927 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 928 mandir=$ac_optarg ;; 929 930 -nfp | --nfp | --nf) 931 # Obsolete; use --without-fp. 932 with_fp=no ;; 933 934 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 935 | --no-cr | --no-c | -n) 936 no_create=yes ;; 937 938 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 939 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 940 no_recursion=yes ;; 941 942 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 943 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 944 | --oldin | --oldi | --old | --ol | --o) 945 ac_prev=oldincludedir ;; 946 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 947 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 948 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 949 oldincludedir=$ac_optarg ;; 950 951 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 952 ac_prev=prefix ;; 953 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 954 prefix=$ac_optarg ;; 955 956 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 957 | --program-pre | --program-pr | --program-p) 958 ac_prev=program_prefix ;; 959 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 960 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 961 program_prefix=$ac_optarg ;; 962 963 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 964 | --program-suf | --program-su | --program-s) 965 ac_prev=program_suffix ;; 966 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 967 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 968 program_suffix=$ac_optarg ;; 969 970 -program-transform-name | --program-transform-name \ 971 | --program-transform-nam | --program-transform-na \ 972 | --program-transform-n | --program-transform- \ 973 | --program-transform | --program-transfor \ 974 | --program-transfo | --program-transf \ 975 | --program-trans | --program-tran \ 976 | --progr-tra | --program-tr | --program-t) 977 ac_prev=program_transform_name ;; 978 -program-transform-name=* | --program-transform-name=* \ 979 | --program-transform-nam=* | --program-transform-na=* \ 980 | --program-transform-n=* | --program-transform-=* \ 981 | --program-transform=* | --program-transfor=* \ 982 | --program-transfo=* | --program-transf=* \ 983 | --program-trans=* | --program-tran=* \ 984 | --progr-tra=* | --program-tr=* | --program-t=*) 985 program_transform_name=$ac_optarg ;; 986 987 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 988 ac_prev=pdfdir ;; 989 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 990 pdfdir=$ac_optarg ;; 991 992 -psdir | --psdir | --psdi | --psd | --ps) 993 ac_prev=psdir ;; 994 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 995 psdir=$ac_optarg ;; 996 997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 998 | -silent | --silent | --silen | --sile | --sil) 999 silent=yes ;; 1000 1001 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1002 ac_prev=sbindir ;; 1003 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1004 | --sbi=* | --sb=*) 1005 sbindir=$ac_optarg ;; 1006 1007 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1008 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1009 | --sharedst | --shareds | --shared | --share | --shar \ 1010 | --sha | --sh) 1011 ac_prev=sharedstatedir ;; 1012 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1013 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1014 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1015 | --sha=* | --sh=*) 1016 sharedstatedir=$ac_optarg ;; 1017 1018 -site | --site | --sit) 1019 ac_prev=site ;; 1020 -site=* | --site=* | --sit=*) 1021 site=$ac_optarg ;; 1022 1023 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1024 ac_prev=srcdir ;; 1025 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1026 srcdir=$ac_optarg ;; 1027 1028 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1029 | --syscon | --sysco | --sysc | --sys | --sy) 1030 ac_prev=sysconfdir ;; 1031 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1032 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1033 sysconfdir=$ac_optarg ;; 1034 1035 -target | --target | --targe | --targ | --tar | --ta | --t) 1036 ac_prev=target_alias ;; 1037 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1038 target_alias=$ac_optarg ;; 1039 1040 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1041 verbose=yes ;; 1042 1043 -version | --version | --versio | --versi | --vers | -V) 1044 ac_init_version=: ;; 1045 1046 -with-* | --with-*) 1047 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1048 # Reject names that are not valid shell variable names. 1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1050 as_fn_error $? "invalid package name: $ac_useropt" 1051 ac_useropt_orig=$ac_useropt 1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1053 case $ac_user_opts in 1054 *" 1055"with_$ac_useropt" 1056"*) ;; 1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1058 ac_unrecognized_sep=', ';; 1059 esac 1060 eval with_$ac_useropt=\$ac_optarg ;; 1061 1062 -without-* | --without-*) 1063 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1064 # Reject names that are not valid shell variable names. 1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1066 as_fn_error $? "invalid package name: $ac_useropt" 1067 ac_useropt_orig=$ac_useropt 1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1069 case $ac_user_opts in 1070 *" 1071"with_$ac_useropt" 1072"*) ;; 1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1074 ac_unrecognized_sep=', ';; 1075 esac 1076 eval with_$ac_useropt=no ;; 1077 1078 --x) 1079 # Obsolete; use --with-x. 1080 with_x=yes ;; 1081 1082 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1083 | --x-incl | --x-inc | --x-in | --x-i) 1084 ac_prev=x_includes ;; 1085 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1086 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1087 x_includes=$ac_optarg ;; 1088 1089 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1090 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1091 ac_prev=x_libraries ;; 1092 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1093 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1094 x_libraries=$ac_optarg ;; 1095 1096 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1097Try \`$0 --help' for more information" 1098 ;; 1099 1100 *=*) 1101 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1102 # Reject names that are not valid shell variable names. 1103 case $ac_envvar in #( 1104 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1105 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1106 esac 1107 eval $ac_envvar=\$ac_optarg 1108 export $ac_envvar ;; 1109 1110 *) 1111 # FIXME: should be removed in autoconf 3.0. 1112 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1114 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1115 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1116 ;; 1117 1118 esac 1119done 1120 1121if test -n "$ac_prev"; then 1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1123 as_fn_error $? "missing argument to $ac_option" 1124fi 1125 1126if test -n "$ac_unrecognized_opts"; then 1127 case $enable_option_checking in 1128 no) ;; 1129 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1130 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1131 esac 1132fi 1133 1134# Check all directory arguments for consistency. 1135for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1136 datadir sysconfdir sharedstatedir localstatedir includedir \ 1137 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1138 libdir localedir mandir 1139do 1140 eval ac_val=\$$ac_var 1141 # Remove trailing slashes. 1142 case $ac_val in 1143 */ ) 1144 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1145 eval $ac_var=\$ac_val;; 1146 esac 1147 # Be sure to have absolute directory names. 1148 case $ac_val in 1149 [\\/$]* | ?:[\\/]* ) continue;; 1150 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1151 esac 1152 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1153done 1154 1155# There might be people who depend on the old broken behavior: `$host' 1156# used to hold the argument of --host etc. 1157# FIXME: To remove some day. 1158build=$build_alias 1159host=$host_alias 1160target=$target_alias 1161 1162# FIXME: To remove some day. 1163if test "x$host_alias" != x; then 1164 if test "x$build_alias" = x; then 1165 cross_compiling=maybe 1166 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1167 If a cross compiler is detected then cross compile mode will be used" >&2 1168 elif test "x$build_alias" != "x$host_alias"; then 1169 cross_compiling=yes 1170 fi 1171fi 1172 1173ac_tool_prefix= 1174test -n "$host_alias" && ac_tool_prefix=$host_alias- 1175 1176test "$silent" = yes && exec 6>/dev/null 1177 1178 1179ac_pwd=`pwd` && test -n "$ac_pwd" && 1180ac_ls_di=`ls -di .` && 1181ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1182 as_fn_error $? "working directory cannot be determined" 1183test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1184 as_fn_error $? "pwd does not report name of working directory" 1185 1186 1187# Find the source files, if location was not specified. 1188if test -z "$srcdir"; then 1189 ac_srcdir_defaulted=yes 1190 # Try the directory containing this script, then the parent directory. 1191 ac_confdir=`$as_dirname -- "$as_myself" || 1192$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1193 X"$as_myself" : 'X\(//\)[^/]' \| \ 1194 X"$as_myself" : 'X\(//\)$' \| \ 1195 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1196$as_echo X"$as_myself" | 1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1198 s//\1/ 1199 q 1200 } 1201 /^X\(\/\/\)[^/].*/{ 1202 s//\1/ 1203 q 1204 } 1205 /^X\(\/\/\)$/{ 1206 s//\1/ 1207 q 1208 } 1209 /^X\(\/\).*/{ 1210 s//\1/ 1211 q 1212 } 1213 s/.*/./; q'` 1214 srcdir=$ac_confdir 1215 if test ! -r "$srcdir/$ac_unique_file"; then 1216 srcdir=.. 1217 fi 1218else 1219 ac_srcdir_defaulted=no 1220fi 1221if test ! -r "$srcdir/$ac_unique_file"; then 1222 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1223 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1224fi 1225ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1226ac_abs_confdir=`( 1227 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1228 pwd)` 1229# When building in place, set srcdir=. 1230if test "$ac_abs_confdir" = "$ac_pwd"; then 1231 srcdir=. 1232fi 1233# Remove unnecessary trailing slashes from srcdir. 1234# Double slashes in file names in object file debugging info 1235# mess up M-x gdb in Emacs. 1236case $srcdir in 1237*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1238esac 1239for ac_var in $ac_precious_vars; do 1240 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1241 eval ac_env_${ac_var}_value=\$${ac_var} 1242 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1243 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1244done 1245 1246# 1247# Report the --help message. 1248# 1249if test "$ac_init_help" = "long"; then 1250 # Omit some internal or obsolete options to make the list less imposing. 1251 # This message is too long to be a string in the A/UX 3.1 sh. 1252 cat <<_ACEOF 1253\`configure' configures gst123 0.3.3 to adapt to many kinds of systems. 1254 1255Usage: $0 [OPTION]... [VAR=VALUE]... 1256 1257To assign environment variables (e.g., CC, CFLAGS...), specify them as 1258VAR=VALUE. See below for descriptions of some of the useful variables. 1259 1260Defaults for the options are specified in brackets. 1261 1262Configuration: 1263 -h, --help display this help and exit 1264 --help=short display options specific to this package 1265 --help=recursive display the short help of all the included packages 1266 -V, --version display version information and exit 1267 -q, --quiet, --silent do not print \`checking ...' messages 1268 --cache-file=FILE cache test results in FILE [disabled] 1269 -C, --config-cache alias for \`--cache-file=config.cache' 1270 -n, --no-create do not create output files 1271 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1272 1273Installation directories: 1274 --prefix=PREFIX install architecture-independent files in PREFIX 1275 [$ac_default_prefix] 1276 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1277 [PREFIX] 1278 1279By default, \`make install' will install all the files in 1280\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1281an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1282for instance \`--prefix=\$HOME'. 1283 1284For better control, use the options below. 1285 1286Fine tuning of the installation directories: 1287 --bindir=DIR user executables [EPREFIX/bin] 1288 --sbindir=DIR system admin executables [EPREFIX/sbin] 1289 --libexecdir=DIR program executables [EPREFIX/libexec] 1290 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1291 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1292 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1293 --libdir=DIR object code libraries [EPREFIX/lib] 1294 --includedir=DIR C header files [PREFIX/include] 1295 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1296 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1297 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1298 --infodir=DIR info documentation [DATAROOTDIR/info] 1299 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1300 --mandir=DIR man documentation [DATAROOTDIR/man] 1301 --docdir=DIR documentation root [DATAROOTDIR/doc/gst123] 1302 --htmldir=DIR html documentation [DOCDIR] 1303 --dvidir=DIR dvi documentation [DOCDIR] 1304 --pdfdir=DIR pdf documentation [DOCDIR] 1305 --psdir=DIR ps documentation [DOCDIR] 1306_ACEOF 1307 1308 cat <<\_ACEOF 1309 1310Program names: 1311 --program-prefix=PREFIX prepend PREFIX to installed program names 1312 --program-suffix=SUFFIX append SUFFIX to installed program names 1313 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1314_ACEOF 1315fi 1316 1317if test -n "$ac_init_help"; then 1318 case $ac_init_help in 1319 short | recursive ) echo "Configuration of gst123 0.3.3:";; 1320 esac 1321 cat <<\_ACEOF 1322 1323Optional Features: 1324 --disable-option-checking ignore unrecognized --enable/--with options 1325 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1326 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1327 --enable-debug enable debugging (default=no) 1328 --disable-dependency-tracking speeds up one-time build 1329 --enable-dependency-tracking do not reject slow dependency extractors 1330 --enable-maintainer-mode enable make rules and dependencies not useful 1331 (and sometimes confusing) to the casual installer 1332 --enable-silent-rules less verbose build output (undo: `make V=1') 1333 --disable-silent-rules verbose build output (undo: `make V=0') 1334 --enable-debug-cxx setup compiler flags to do C++ STL debug checks 1335 1336Some influential environment variables: 1337 CXX C++ compiler command 1338 CXXFLAGS C++ compiler flags 1339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1340 nonstandard directory <lib dir> 1341 LIBS libraries to pass to the linker, e.g. -l<library> 1342 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1343 you have headers in a nonstandard directory <include dir> 1344 CC C compiler command 1345 CFLAGS C compiler flags 1346 PKG_CONFIG path to pkg-config utility 1347 PKG_CONFIG_PATH 1348 directories to add to pkg-config's search path 1349 PKG_CONFIG_LIBDIR 1350 path overriding pkg-config's built-in search path 1351 GSTREAMER_1_0_CFLAGS 1352 C compiler flags for GSTREAMER_1_0, overriding pkg-config 1353 GSTREAMER_1_0_LIBS 1354 linker flags for GSTREAMER_1_0, overriding pkg-config 1355 GSTREAMER_CFLAGS 1356 C compiler flags for GSTREAMER, overriding pkg-config 1357 GSTREAMER_LIBS 1358 linker flags for GSTREAMER, overriding pkg-config 1359 GSTREAMER_0_10_CFLAGS 1360 C compiler flags for GSTREAMER_0_10, overriding pkg-config 1361 GSTREAMER_0_10_LIBS 1362 linker flags for GSTREAMER_0_10, overriding pkg-config 1363 GSTREAMER_GTK_CFLAGS 1364 C compiler flags for GSTREAMER_GTK, overriding pkg-config 1365 GSTREAMER_GTK_LIBS 1366 linker flags for GSTREAMER_GTK, overriding pkg-config 1367 1368Use these variables to override the choices made by `configure' or to help 1369it to find libraries and programs with nonstandard names/locations. 1370 1371Report bugs to the package provider. 1372_ACEOF 1373ac_status=$? 1374fi 1375 1376if test "$ac_init_help" = "recursive"; then 1377 # If there are subdirs, report their specific --help. 1378 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1379 test -d "$ac_dir" || 1380 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1381 continue 1382 ac_builddir=. 1383 1384case "$ac_dir" in 1385.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1386*) 1387 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1388 # A ".." for each directory in $ac_dir_suffix. 1389 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1390 case $ac_top_builddir_sub in 1391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1393 esac ;; 1394esac 1395ac_abs_top_builddir=$ac_pwd 1396ac_abs_builddir=$ac_pwd$ac_dir_suffix 1397# for backward compatibility: 1398ac_top_builddir=$ac_top_build_prefix 1399 1400case $srcdir in 1401 .) # We are building in place. 1402 ac_srcdir=. 1403 ac_top_srcdir=$ac_top_builddir_sub 1404 ac_abs_top_srcdir=$ac_pwd ;; 1405 [\\/]* | ?:[\\/]* ) # Absolute name. 1406 ac_srcdir=$srcdir$ac_dir_suffix; 1407 ac_top_srcdir=$srcdir 1408 ac_abs_top_srcdir=$srcdir ;; 1409 *) # Relative name. 1410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1411 ac_top_srcdir=$ac_top_build_prefix$srcdir 1412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1413esac 1414ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1415 1416 cd "$ac_dir" || { ac_status=$?; continue; } 1417 # Check for guested configure. 1418 if test -f "$ac_srcdir/configure.gnu"; then 1419 echo && 1420 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1421 elif test -f "$ac_srcdir/configure"; then 1422 echo && 1423 $SHELL "$ac_srcdir/configure" --help=recursive 1424 else 1425 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1426 fi || ac_status=$? 1427 cd "$ac_pwd" || { ac_status=$?; break; } 1428 done 1429fi 1430 1431test -n "$ac_init_help" && exit $ac_status 1432if $ac_init_version; then 1433 cat <<\_ACEOF 1434gst123 configure 0.3.3 1435generated by GNU Autoconf 2.68 1436 1437Copyright (C) 2010 Free Software Foundation, Inc. 1438This configure script is free software; the Free Software Foundation 1439gives unlimited permission to copy, distribute and modify it. 1440_ACEOF 1441 exit 1442fi 1443 1444## ------------------------ ## 1445## Autoconf initialization. ## 1446## ------------------------ ## 1447 1448# ac_fn_cxx_try_compile LINENO 1449# ---------------------------- 1450# Try to compile conftest.$ac_ext, and return whether this succeeded. 1451ac_fn_cxx_try_compile () 1452{ 1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1454 rm -f conftest.$ac_objext 1455 if { { ac_try="$ac_compile" 1456case "(($ac_try" in 1457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1458 *) ac_try_echo=$ac_try;; 1459esac 1460eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1461$as_echo "$ac_try_echo"; } >&5 1462 (eval "$ac_compile") 2>conftest.err 1463 ac_status=$? 1464 if test -s conftest.err; then 1465 grep -v '^ *+' conftest.err >conftest.er1 1466 cat conftest.er1 >&5 1467 mv -f conftest.er1 conftest.err 1468 fi 1469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1470 test $ac_status = 0; } && { 1471 test -z "$ac_cxx_werror_flag" || 1472 test ! -s conftest.err 1473 } && test -s conftest.$ac_objext; then : 1474 ac_retval=0 1475else 1476 $as_echo "$as_me: failed program was:" >&5 1477sed 's/^/| /' conftest.$ac_ext >&5 1478 1479 ac_retval=1 1480fi 1481 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1482 as_fn_set_status $ac_retval 1483 1484} # ac_fn_cxx_try_compile 1485 1486# ac_fn_c_try_compile LINENO 1487# -------------------------- 1488# Try to compile conftest.$ac_ext, and return whether this succeeded. 1489ac_fn_c_try_compile () 1490{ 1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1492 rm -f conftest.$ac_objext 1493 if { { ac_try="$ac_compile" 1494case "(($ac_try" in 1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1496 *) ac_try_echo=$ac_try;; 1497esac 1498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1499$as_echo "$ac_try_echo"; } >&5 1500 (eval "$ac_compile") 2>conftest.err 1501 ac_status=$? 1502 if test -s conftest.err; then 1503 grep -v '^ *+' conftest.err >conftest.er1 1504 cat conftest.er1 >&5 1505 mv -f conftest.er1 conftest.err 1506 fi 1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1508 test $ac_status = 0; } && { 1509 test -z "$ac_c_werror_flag" || 1510 test ! -s conftest.err 1511 } && test -s conftest.$ac_objext; then : 1512 ac_retval=0 1513else 1514 $as_echo "$as_me: failed program was:" >&5 1515sed 's/^/| /' conftest.$ac_ext >&5 1516 1517 ac_retval=1 1518fi 1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1520 as_fn_set_status $ac_retval 1521 1522} # ac_fn_c_try_compile 1523 1524# ac_fn_c_try_link LINENO 1525# ----------------------- 1526# Try to link conftest.$ac_ext, and return whether this succeeded. 1527ac_fn_c_try_link () 1528{ 1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1530 rm -f conftest.$ac_objext conftest$ac_exeext 1531 if { { ac_try="$ac_link" 1532case "(($ac_try" in 1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1534 *) ac_try_echo=$ac_try;; 1535esac 1536eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1537$as_echo "$ac_try_echo"; } >&5 1538 (eval "$ac_link") 2>conftest.err 1539 ac_status=$? 1540 if test -s conftest.err; then 1541 grep -v '^ *+' conftest.err >conftest.er1 1542 cat conftest.er1 >&5 1543 mv -f conftest.er1 conftest.err 1544 fi 1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1546 test $ac_status = 0; } && { 1547 test -z "$ac_c_werror_flag" || 1548 test ! -s conftest.err 1549 } && test -s conftest$ac_exeext && { 1550 test "$cross_compiling" = yes || 1551 $as_test_x conftest$ac_exeext 1552 }; then : 1553 ac_retval=0 1554else 1555 $as_echo "$as_me: failed program was:" >&5 1556sed 's/^/| /' conftest.$ac_ext >&5 1557 1558 ac_retval=1 1559fi 1560 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1561 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1562 # interfere with the next link command; also delete a directory that is 1563 # left behind by Apple's compiler. We do this before executing the actions. 1564 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1566 as_fn_set_status $ac_retval 1567 1568} # ac_fn_c_try_link 1569cat >config.log <<_ACEOF 1570This file contains any messages produced by compilers while 1571running configure, to aid debugging if configure makes a mistake. 1572 1573It was created by gst123 $as_me 0.3.3, which was 1574generated by GNU Autoconf 2.68. Invocation command line was 1575 1576 $ $0 $@ 1577 1578_ACEOF 1579exec 5>>config.log 1580{ 1581cat <<_ASUNAME 1582## --------- ## 1583## Platform. ## 1584## --------- ## 1585 1586hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1587uname -m = `(uname -m) 2>/dev/null || echo unknown` 1588uname -r = `(uname -r) 2>/dev/null || echo unknown` 1589uname -s = `(uname -s) 2>/dev/null || echo unknown` 1590uname -v = `(uname -v) 2>/dev/null || echo unknown` 1591 1592/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1593/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1594 1595/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1596/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1597/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1598/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1599/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1600/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1601/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1602 1603_ASUNAME 1604 1605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1606for as_dir in $PATH 1607do 1608 IFS=$as_save_IFS 1609 test -z "$as_dir" && as_dir=. 1610 $as_echo "PATH: $as_dir" 1611 done 1612IFS=$as_save_IFS 1613 1614} >&5 1615 1616cat >&5 <<_ACEOF 1617 1618 1619## ----------- ## 1620## Core tests. ## 1621## ----------- ## 1622 1623_ACEOF 1624 1625 1626# Keep a trace of the command line. 1627# Strip out --no-create and --no-recursion so they do not pile up. 1628# Strip out --silent because we don't want to record it for future runs. 1629# Also quote any args containing shell meta-characters. 1630# Make two passes to allow for proper duplicate-argument suppression. 1631ac_configure_args= 1632ac_configure_args0= 1633ac_configure_args1= 1634ac_must_keep_next=false 1635for ac_pass in 1 2 1636do 1637 for ac_arg 1638 do 1639 case $ac_arg in 1640 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1642 | -silent | --silent | --silen | --sile | --sil) 1643 continue ;; 1644 *\'*) 1645 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1646 esac 1647 case $ac_pass in 1648 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1649 2) 1650 as_fn_append ac_configure_args1 " '$ac_arg'" 1651 if test $ac_must_keep_next = true; then 1652 ac_must_keep_next=false # Got value, back to normal. 1653 else 1654 case $ac_arg in 1655 *=* | --config-cache | -C | -disable-* | --disable-* \ 1656 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1657 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1658 | -with-* | --with-* | -without-* | --without-* | --x) 1659 case "$ac_configure_args0 " in 1660 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1661 esac 1662 ;; 1663 -* ) ac_must_keep_next=true ;; 1664 esac 1665 fi 1666 as_fn_append ac_configure_args " '$ac_arg'" 1667 ;; 1668 esac 1669 done 1670done 1671{ ac_configure_args0=; unset ac_configure_args0;} 1672{ ac_configure_args1=; unset ac_configure_args1;} 1673 1674# When interrupted or exit'd, cleanup temporary files, and complete 1675# config.log. We remove comments because anyway the quotes in there 1676# would cause problems or look ugly. 1677# WARNING: Use '\'' to represent an apostrophe within the trap. 1678# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1679trap 'exit_status=$? 1680 # Save into config.log some information that might help in debugging. 1681 { 1682 echo 1683 1684 $as_echo "## ---------------- ## 1685## Cache variables. ## 1686## ---------------- ##" 1687 echo 1688 # The following way of writing the cache mishandles newlines in values, 1689( 1690 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1691 eval ac_val=\$$ac_var 1692 case $ac_val in #( 1693 *${as_nl}*) 1694 case $ac_var in #( 1695 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1696$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1697 esac 1698 case $ac_var in #( 1699 _ | IFS | as_nl) ;; #( 1700 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1701 *) { eval $ac_var=; unset $ac_var;} ;; 1702 esac ;; 1703 esac 1704 done 1705 (set) 2>&1 | 1706 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1707 *${as_nl}ac_space=\ *) 1708 sed -n \ 1709 "s/'\''/'\''\\\\'\'''\''/g; 1710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1711 ;; #( 1712 *) 1713 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1714 ;; 1715 esac | 1716 sort 1717) 1718 echo 1719 1720 $as_echo "## ----------------- ## 1721## Output variables. ## 1722## ----------------- ##" 1723 echo 1724 for ac_var in $ac_subst_vars 1725 do 1726 eval ac_val=\$$ac_var 1727 case $ac_val in 1728 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1729 esac 1730 $as_echo "$ac_var='\''$ac_val'\''" 1731 done | sort 1732 echo 1733 1734 if test -n "$ac_subst_files"; then 1735 $as_echo "## ------------------- ## 1736## File substitutions. ## 1737## ------------------- ##" 1738 echo 1739 for ac_var in $ac_subst_files 1740 do 1741 eval ac_val=\$$ac_var 1742 case $ac_val in 1743 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1744 esac 1745 $as_echo "$ac_var='\''$ac_val'\''" 1746 done | sort 1747 echo 1748 fi 1749 1750 if test -s confdefs.h; then 1751 $as_echo "## ----------- ## 1752## confdefs.h. ## 1753## ----------- ##" 1754 echo 1755 cat confdefs.h 1756 echo 1757 fi 1758 test "$ac_signal" != 0 && 1759 $as_echo "$as_me: caught signal $ac_signal" 1760 $as_echo "$as_me: exit $exit_status" 1761 } >&5 1762 rm -f core *.core core.conftest.* && 1763 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1764 exit $exit_status 1765' 0 1766for ac_signal in 1 2 13 15; do 1767 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1768done 1769ac_signal=0 1770 1771# confdefs.h avoids OS command line length limits that DEFS can exceed. 1772rm -f -r conftest* confdefs.h 1773 1774$as_echo "/* confdefs.h */" > confdefs.h 1775 1776# Predefined preprocessor variables. 1777 1778cat >>confdefs.h <<_ACEOF 1779#define PACKAGE_NAME "$PACKAGE_NAME" 1780_ACEOF 1781 1782cat >>confdefs.h <<_ACEOF 1783#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1784_ACEOF 1785 1786cat >>confdefs.h <<_ACEOF 1787#define PACKAGE_VERSION "$PACKAGE_VERSION" 1788_ACEOF 1789 1790cat >>confdefs.h <<_ACEOF 1791#define PACKAGE_STRING "$PACKAGE_STRING" 1792_ACEOF 1793 1794cat >>confdefs.h <<_ACEOF 1795#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1796_ACEOF 1797 1798cat >>confdefs.h <<_ACEOF 1799#define PACKAGE_URL "$PACKAGE_URL" 1800_ACEOF 1801 1802 1803# Let the site file select an alternate cache file if it wants to. 1804# Prefer an explicitly selected file to automatically selected ones. 1805ac_site_file1=NONE 1806ac_site_file2=NONE 1807if test -n "$CONFIG_SITE"; then 1808 # We do not want a PATH search for config.site. 1809 case $CONFIG_SITE in #(( 1810 -*) ac_site_file1=./$CONFIG_SITE;; 1811 */*) ac_site_file1=$CONFIG_SITE;; 1812 *) ac_site_file1=./$CONFIG_SITE;; 1813 esac 1814elif test "x$prefix" != xNONE; then 1815 ac_site_file1=$prefix/share/config.site 1816 ac_site_file2=$prefix/etc/config.site 1817else 1818 ac_site_file1=$ac_default_prefix/share/config.site 1819 ac_site_file2=$ac_default_prefix/etc/config.site 1820fi 1821for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1822do 1823 test "x$ac_site_file" = xNONE && continue 1824 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1826$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1827 sed 's/^/| /' "$ac_site_file" >&5 1828 . "$ac_site_file" \ 1829 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1830$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1831as_fn_error $? "failed to load site script $ac_site_file 1832See \`config.log' for more details" "$LINENO" 5; } 1833 fi 1834done 1835 1836if test -r "$cache_file"; then 1837 # Some versions of bash will fail to source /dev/null (special files 1838 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1839 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1841$as_echo "$as_me: loading cache $cache_file" >&6;} 1842 case $cache_file in 1843 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1844 *) . "./$cache_file";; 1845 esac 1846 fi 1847else 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1849$as_echo "$as_me: creating cache $cache_file" >&6;} 1850 >$cache_file 1851fi 1852 1853# Check that the precious variables saved in the cache have kept the same 1854# value. 1855ac_cache_corrupted=false 1856for ac_var in $ac_precious_vars; do 1857 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1858 eval ac_new_set=\$ac_env_${ac_var}_set 1859 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1860 eval ac_new_val=\$ac_env_${ac_var}_value 1861 case $ac_old_set,$ac_new_set in 1862 set,) 1863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1864$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1865 ac_cache_corrupted=: ;; 1866 ,set) 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1868$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1869 ac_cache_corrupted=: ;; 1870 ,);; 1871 *) 1872 if test "x$ac_old_val" != "x$ac_new_val"; then 1873 # differences in whitespace do not lead to failure. 1874 ac_old_val_w=`echo x $ac_old_val` 1875 ac_new_val_w=`echo x $ac_new_val` 1876 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1878$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1879 ac_cache_corrupted=: 1880 else 1881 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1882$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1883 eval $ac_var=\$ac_old_val 1884 fi 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1886$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1888$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1889 fi;; 1890 esac 1891 # Pass precious variables to config.status. 1892 if test "$ac_new_set" = set; then 1893 case $ac_new_val in 1894 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1895 *) ac_arg=$ac_var=$ac_new_val ;; 1896 esac 1897 case " $ac_configure_args " in 1898 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1899 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1900 esac 1901 fi 1902done 1903if $ac_cache_corrupted; then 1904 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1907$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1908 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1909fi 1910## -------------------- ## 1911## Main body of script. ## 1912## -------------------- ## 1913 1914ac_ext=c 1915ac_cpp='$CPP $CPPFLAGS' 1916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1918ac_compiler_gnu=$ac_cv_c_compiler_gnu 1919 1920 1921 1922ac_config_headers="$ac_config_headers config.h" 1923 1924ac_aux_dir= 1925for ac_dir in build-aux "$srcdir"/build-aux; do 1926 if test -f "$ac_dir/install-sh"; then 1927 ac_aux_dir=$ac_dir 1928 ac_install_sh="$ac_aux_dir/install-sh -c" 1929 break 1930 elif test -f "$ac_dir/install.sh"; then 1931 ac_aux_dir=$ac_dir 1932 ac_install_sh="$ac_aux_dir/install.sh -c" 1933 break 1934 elif test -f "$ac_dir/shtool"; then 1935 ac_aux_dir=$ac_dir 1936 ac_install_sh="$ac_aux_dir/shtool install -c" 1937 break 1938 fi 1939done 1940if test -z "$ac_aux_dir"; then 1941 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 1942fi 1943 1944# These three variables are undocumented and unsupported, 1945# and are intended to be withdrawn in a future Autoconf release. 1946# They can cause serious problems if a builder's source tree is in a directory 1947# whose full name contains unusual characters. 1948ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1949ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1950ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1951 1952 1953am__api_version='1.11' 1954 1955# Find a good install program. We prefer a C program (faster), 1956# so one script is as good as another. But avoid the broken or 1957# incompatible versions: 1958# SysV /etc/install, /usr/sbin/install 1959# SunOS /usr/etc/install 1960# IRIX /sbin/install 1961# AIX /bin/install 1962# AmigaOS /C/install, which installs bootblocks on floppy discs 1963# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1964# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1965# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1966# OS/2's system install, which has a completely different semantic 1967# ./install, which can be erroneously created by make from ./install.sh. 1968# Reject install programs that cannot install multiple files. 1969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1970$as_echo_n "checking for a BSD-compatible install... " >&6; } 1971if test -z "$INSTALL"; then 1972if ${ac_cv_path_install+:} false; then : 1973 $as_echo_n "(cached) " >&6 1974else 1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1976for as_dir in $PATH 1977do 1978 IFS=$as_save_IFS 1979 test -z "$as_dir" && as_dir=. 1980 # Account for people who put trailing slashes in PATH elements. 1981case $as_dir/ in #(( 1982 ./ | .// | /[cC]/* | \ 1983 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1984 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1985 /usr/ucb/* ) ;; 1986 *) 1987 # OSF1 and SCO ODT 3.0 have their own names for install. 1988 # Don't use installbsd from OSF since it installs stuff as root 1989 # by default. 1990 for ac_prog in ginstall scoinst install; do 1991 for ac_exec_ext in '' $ac_executable_extensions; do 1992 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1993 if test $ac_prog = install && 1994 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1995 # AIX install. It has an incompatible calling convention. 1996 : 1997 elif test $ac_prog = install && 1998 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1999 # program-specific install script used by HP pwplus--don't use. 2000 : 2001 else 2002 rm -rf conftest.one conftest.two conftest.dir 2003 echo one > conftest.one 2004 echo two > conftest.two 2005 mkdir conftest.dir 2006 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2007 test -s conftest.one && test -s conftest.two && 2008 test -s conftest.dir/conftest.one && 2009 test -s conftest.dir/conftest.two 2010 then 2011 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2012 break 3 2013 fi 2014 fi 2015 fi 2016 done 2017 done 2018 ;; 2019esac 2020 2021 done 2022IFS=$as_save_IFS 2023 2024rm -rf conftest.one conftest.two conftest.dir 2025 2026fi 2027 if test "${ac_cv_path_install+set}" = set; then 2028 INSTALL=$ac_cv_path_install 2029 else 2030 # As a last resort, use the slow shell script. Don't cache a 2031 # value for INSTALL within a source directory, because that will 2032 # break other packages using the cache if that directory is 2033 # removed, or if the value is a relative name. 2034 INSTALL=$ac_install_sh 2035 fi 2036fi 2037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2038$as_echo "$INSTALL" >&6; } 2039 2040# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2041# It thinks the first close brace ends the variable substitution. 2042test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2043 2044test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2045 2046test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2047 2048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2049$as_echo_n "checking whether build environment is sane... " >&6; } 2050# Just in case 2051sleep 1 2052echo timestamp > conftest.file 2053# Reject unsafe characters in $srcdir or the absolute working directory 2054# name. Accept space and tab only in the latter. 2055am_lf=' 2056' 2057case `pwd` in 2058 *[\\\"\#\$\&\'\`$am_lf]*) 2059 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2060esac 2061case $srcdir in 2062 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2063 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2064esac 2065 2066# Do `set' in a subshell so we don't clobber the current shell's 2067# arguments. Must try -L first in case configure is actually a 2068# symlink; some systems play weird games with the mod time of symlinks 2069# (eg FreeBSD returns the mod time of the symlink's containing 2070# directory). 2071if ( 2072 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2073 if test "$*" = "X"; then 2074 # -L didn't work. 2075 set X `ls -t "$srcdir/configure" conftest.file` 2076 fi 2077 rm -f conftest.file 2078 if test "$*" != "X $srcdir/configure conftest.file" \ 2079 && test "$*" != "X conftest.file $srcdir/configure"; then 2080 2081 # If neither matched, then we have a broken ls. This can happen 2082 # if, for instance, CONFIG_SHELL is bash and it inherits a 2083 # broken ls alias from the environment. This has actually 2084 # happened. Such a system could not be considered "sane". 2085 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2086alias in your environment" "$LINENO" 5 2087 fi 2088 2089 test "$2" = conftest.file 2090 ) 2091then 2092 # Ok. 2093 : 2094else 2095 as_fn_error $? "newly created file is older than distributed files! 2096Check your system clock" "$LINENO" 5 2097fi 2098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2099$as_echo "yes" >&6; } 2100test "$program_prefix" != NONE && 2101 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2102# Use a double $ so make ignores it. 2103test "$program_suffix" != NONE && 2104 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2105# Double any \ or $. 2106# By default was `s,x,x', remove it if useless. 2107ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2108program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2109 2110# expand $ac_aux_dir to an absolute path 2111am_aux_dir=`cd $ac_aux_dir && pwd` 2112 2113if test x"${MISSING+set}" != xset; then 2114 case $am_aux_dir in 2115 *\ * | *\ *) 2116 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2117 *) 2118 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2119 esac 2120fi 2121# Use eval to expand $SHELL 2122if eval "$MISSING --run true"; then 2123 am_missing_run="$MISSING --run " 2124else 2125 am_missing_run= 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2127$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2128fi 2129 2130if test x"${install_sh}" != xset; then 2131 case $am_aux_dir in 2132 *\ * | *\ *) 2133 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2134 *) 2135 install_sh="\${SHELL} $am_aux_dir/install-sh" 2136 esac 2137fi 2138 2139# Installed binaries are usually stripped using `strip' when the user 2140# run `make install-strip'. However `strip' might not be the right 2141# tool to use in cross-compilation environments, therefore Automake 2142# will honor the `STRIP' environment variable to overrule this program. 2143if test "$cross_compiling" != no; then 2144 if test -n "$ac_tool_prefix"; then 2145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2146set dummy ${ac_tool_prefix}strip; ac_word=$2 2147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2148$as_echo_n "checking for $ac_word... " >&6; } 2149if ${ac_cv_prog_STRIP+:} false; then : 2150 $as_echo_n "(cached) " >&6 2151else 2152 if test -n "$STRIP"; then 2153 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2154else 2155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2156for as_dir in $PATH 2157do 2158 IFS=$as_save_IFS 2159 test -z "$as_dir" && as_dir=. 2160 for ac_exec_ext in '' $ac_executable_extensions; do 2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2162 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2164 break 2 2165 fi 2166done 2167 done 2168IFS=$as_save_IFS 2169 2170fi 2171fi 2172STRIP=$ac_cv_prog_STRIP 2173if test -n "$STRIP"; then 2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2175$as_echo "$STRIP" >&6; } 2176else 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2178$as_echo "no" >&6; } 2179fi 2180 2181 2182fi 2183if test -z "$ac_cv_prog_STRIP"; then 2184 ac_ct_STRIP=$STRIP 2185 # Extract the first word of "strip", so it can be a program name with args. 2186set dummy strip; ac_word=$2 2187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2188$as_echo_n "checking for $ac_word... " >&6; } 2189if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2190 $as_echo_n "(cached) " >&6 2191else 2192 if test -n "$ac_ct_STRIP"; then 2193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2194else 2195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2196for as_dir in $PATH 2197do 2198 IFS=$as_save_IFS 2199 test -z "$as_dir" && as_dir=. 2200 for ac_exec_ext in '' $ac_executable_extensions; do 2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2202 ac_cv_prog_ac_ct_STRIP="strip" 2203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2204 break 2 2205 fi 2206done 2207 done 2208IFS=$as_save_IFS 2209 2210fi 2211fi 2212ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2213if test -n "$ac_ct_STRIP"; then 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2215$as_echo "$ac_ct_STRIP" >&6; } 2216else 2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2218$as_echo "no" >&6; } 2219fi 2220 2221 if test "x$ac_ct_STRIP" = x; then 2222 STRIP=":" 2223 else 2224 case $cross_compiling:$ac_tool_warned in 2225yes:) 2226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2228ac_tool_warned=yes ;; 2229esac 2230 STRIP=$ac_ct_STRIP 2231 fi 2232else 2233 STRIP="$ac_cv_prog_STRIP" 2234fi 2235 2236fi 2237INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2238 2239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2240$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2241if test -z "$MKDIR_P"; then 2242 if ${ac_cv_path_mkdir+:} false; then : 2243 $as_echo_n "(cached) " >&6 2244else 2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2246for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2247do 2248 IFS=$as_save_IFS 2249 test -z "$as_dir" && as_dir=. 2250 for ac_prog in mkdir gmkdir; do 2251 for ac_exec_ext in '' $ac_executable_extensions; do 2252 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2253 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2254 'mkdir (GNU coreutils) '* | \ 2255 'mkdir (coreutils) '* | \ 2256 'mkdir (fileutils) '4.1*) 2257 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2258 break 3;; 2259 esac 2260 done 2261 done 2262 done 2263IFS=$as_save_IFS 2264 2265fi 2266 2267 test -d ./--version && rmdir ./--version 2268 if test "${ac_cv_path_mkdir+set}" = set; then 2269 MKDIR_P="$ac_cv_path_mkdir -p" 2270 else 2271 # As a last resort, use the slow shell script. Don't cache a 2272 # value for MKDIR_P within a source directory, because that will 2273 # break other packages using the cache if that directory is 2274 # removed, or if the value is a relative name. 2275 MKDIR_P="$ac_install_sh -d" 2276 fi 2277fi 2278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2279$as_echo "$MKDIR_P" >&6; } 2280 2281mkdir_p="$MKDIR_P" 2282case $mkdir_p in 2283 [\\/$]* | ?:[\\/]*) ;; 2284 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2285esac 2286 2287for ac_prog in gawk mawk nawk awk 2288do 2289 # Extract the first word of "$ac_prog", so it can be a program name with args. 2290set dummy $ac_prog; ac_word=$2 2291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2292$as_echo_n "checking for $ac_word... " >&6; } 2293if ${ac_cv_prog_AWK+:} false; then : 2294 $as_echo_n "(cached) " >&6 2295else 2296 if test -n "$AWK"; then 2297 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2298else 2299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2300for as_dir in $PATH 2301do 2302 IFS=$as_save_IFS 2303 test -z "$as_dir" && as_dir=. 2304 for ac_exec_ext in '' $ac_executable_extensions; do 2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2306 ac_cv_prog_AWK="$ac_prog" 2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2308 break 2 2309 fi 2310done 2311 done 2312IFS=$as_save_IFS 2313 2314fi 2315fi 2316AWK=$ac_cv_prog_AWK 2317if test -n "$AWK"; then 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2319$as_echo "$AWK" >&6; } 2320else 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2322$as_echo "no" >&6; } 2323fi 2324 2325 2326 test -n "$AWK" && break 2327done 2328 2329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2330$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2331set x ${MAKE-make} 2332ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2333if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2334 $as_echo_n "(cached) " >&6 2335else 2336 cat >conftest.make <<\_ACEOF 2337SHELL = /bin/sh 2338all: 2339 @echo '@@@%%%=$(MAKE)=@@@%%%' 2340_ACEOF 2341# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2342case `${MAKE-make} -f conftest.make 2>/dev/null` in 2343 *@@@%%%=?*=@@@%%%*) 2344 eval ac_cv_prog_make_${ac_make}_set=yes;; 2345 *) 2346 eval ac_cv_prog_make_${ac_make}_set=no;; 2347esac 2348rm -f conftest.make 2349fi 2350if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2352$as_echo "yes" >&6; } 2353 SET_MAKE= 2354else 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2356$as_echo "no" >&6; } 2357 SET_MAKE="MAKE=${MAKE-make}" 2358fi 2359 2360rm -rf .tst 2>/dev/null 2361mkdir .tst 2>/dev/null 2362if test -d .tst; then 2363 am__leading_dot=. 2364else 2365 am__leading_dot=_ 2366fi 2367rmdir .tst 2>/dev/null 2368 2369if test "`cd $srcdir && pwd`" != "`pwd`"; then 2370 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2371 # is not polluted with repeated "-I." 2372 am__isrc=' -I$(srcdir)' 2373 # test to see if srcdir already configured 2374 if test -f $srcdir/config.status; then 2375 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2376 fi 2377fi 2378 2379# test whether we have cygpath 2380if test -z "$CYGPATH_W"; then 2381 if (cygpath --version) >/dev/null 2>/dev/null; then 2382 CYGPATH_W='cygpath -w' 2383 else 2384 CYGPATH_W=echo 2385 fi 2386fi 2387 2388 2389# Define the identity of the package. 2390 PACKAGE='gst123' 2391 VERSION='0.3.3' 2392 2393 2394cat >>confdefs.h <<_ACEOF 2395#define PACKAGE "$PACKAGE" 2396_ACEOF 2397 2398 2399cat >>confdefs.h <<_ACEOF 2400#define VERSION "$VERSION" 2401_ACEOF 2402 2403# Some tools Automake needs. 2404 2405ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2406 2407 2408AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2409 2410 2411AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2412 2413 2414AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2415 2416 2417MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2418 2419# We need awk for the "check" target. The system "awk" is bad on 2420# some platforms. 2421# Always define AMTAR for backward compatibility. Yes, it's still used 2422# in the wild :-( We should find a proper way to deprecate it ... 2423AMTAR='$${TAR-tar}' 2424 2425am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2426 2427 2428 2429 2430 2431 2432 2433# debug builds 2434# Check whether --enable-debug was given. 2435if test "${enable_debug+set}" = set; then : 2436 enableval=$enable_debug; ENABLE_DEBUG=$enableval 2437fi 2438 2439DEBUG_FLAGS="" 2440if test "$ENABLE_DEBUG" = "yes"; then 2441 2442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} supports -g" >&5 2443$as_echo_n "checking whether ${CC-cc} supports -g... " >&6; } 2444echo >conftest.c; 2445if ${CC-cc} -g -c $CFLAGS conftest.c >/dev/null 2>&1 ; then 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2447$as_echo "yes" >&6; } 2448 DEBUG_FLAGS="-g" 2449else 2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2451$as_echo "no" >&6; } 2452 2453fi 2454rm -fr conftest* 2455 2456fi 2457 2458if test -z "$CFLAGS"; then 2459 CFLAGS="$DEBUG_FLAGS" 2460else 2461 CFLAGS="$CFLAGS $DEBUG_FLAGS" 2462fi 2463if test -z "$CXXFLAGS"; then 2464 CXXFLAGS="$DEBUG_FLAGS" 2465else 2466 CXXFLAGS="$CXXFLAGS $DEBUG_FLAGS" 2467fi 2468 2469# optimizer settings 2470 2471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} supports -O2" >&5 2472$as_echo_n "checking whether ${CC-cc} supports -O2... " >&6; } 2473echo >conftest.c; 2474if ${CC-cc} -O2 -c $CFLAGS conftest.c >/dev/null 2>&1 ; then 2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2476$as_echo "yes" >&6; } 2477 2478 CFLAGS="$CFLAGS -O2" 2479 CXXFLAGS="$CXXFLAGS -O2" 2480 2481else 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2483$as_echo "no" >&6; } 2484 2485fi 2486rm -fr conftest* 2487 2488 2489ac_ext=cpp 2490ac_cpp='$CXXCPP $CPPFLAGS' 2491ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2492ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2493ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2494if test -z "$CXX"; then 2495 if test -n "$CCC"; then 2496 CXX=$CCC 2497 else 2498 if test -n "$ac_tool_prefix"; then 2499 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2500 do 2501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2502set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2504$as_echo_n "checking for $ac_word... " >&6; } 2505if ${ac_cv_prog_CXX+:} false; then : 2506 $as_echo_n "(cached) " >&6 2507else 2508 if test -n "$CXX"; then 2509 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2510else 2511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2512for as_dir in $PATH 2513do 2514 IFS=$as_save_IFS 2515 test -z "$as_dir" && as_dir=. 2516 for ac_exec_ext in '' $ac_executable_extensions; do 2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2518 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2520 break 2 2521 fi 2522done 2523 done 2524IFS=$as_save_IFS 2525 2526fi 2527fi 2528CXX=$ac_cv_prog_CXX 2529if test -n "$CXX"; then 2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2531$as_echo "$CXX" >&6; } 2532else 2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2534$as_echo "no" >&6; } 2535fi 2536 2537 2538 test -n "$CXX" && break 2539 done 2540fi 2541if test -z "$CXX"; then 2542 ac_ct_CXX=$CXX 2543 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2544do 2545 # Extract the first word of "$ac_prog", so it can be a program name with args. 2546set dummy $ac_prog; ac_word=$2 2547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2548$as_echo_n "checking for $ac_word... " >&6; } 2549if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2550 $as_echo_n "(cached) " >&6 2551else 2552 if test -n "$ac_ct_CXX"; then 2553 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2554else 2555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2556for as_dir in $PATH 2557do 2558 IFS=$as_save_IFS 2559 test -z "$as_dir" && as_dir=. 2560 for ac_exec_ext in '' $ac_executable_extensions; do 2561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2562 ac_cv_prog_ac_ct_CXX="$ac_prog" 2563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2564 break 2 2565 fi 2566done 2567 done 2568IFS=$as_save_IFS 2569 2570fi 2571fi 2572ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2573if test -n "$ac_ct_CXX"; then 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2575$as_echo "$ac_ct_CXX" >&6; } 2576else 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2578$as_echo "no" >&6; } 2579fi 2580 2581 2582 test -n "$ac_ct_CXX" && break 2583done 2584 2585 if test "x$ac_ct_CXX" = x; then 2586 CXX="g++" 2587 else 2588 case $cross_compiling:$ac_tool_warned in 2589yes:) 2590{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2591$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2592ac_tool_warned=yes ;; 2593esac 2594 CXX=$ac_ct_CXX 2595 fi 2596fi 2597 2598 fi 2599fi 2600# Provide some information about the compiler. 2601$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2602set X $ac_compile 2603ac_compiler=$2 2604for ac_option in --version -v -V -qversion; do 2605 { { ac_try="$ac_compiler $ac_option >&5" 2606case "(($ac_try" in 2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2608 *) ac_try_echo=$ac_try;; 2609esac 2610eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2611$as_echo "$ac_try_echo"; } >&5 2612 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2613 ac_status=$? 2614 if test -s conftest.err; then 2615 sed '10a\ 2616... rest of stderr output deleted ... 2617 10q' conftest.err >conftest.er1 2618 cat conftest.er1 >&5 2619 fi 2620 rm -f conftest.er1 conftest.err 2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2622 test $ac_status = 0; } 2623done 2624 2625cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2626/* end confdefs.h. */ 2627 2628int 2629main () 2630{ 2631 2632 ; 2633 return 0; 2634} 2635_ACEOF 2636ac_clean_files_save=$ac_clean_files 2637ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2638# Try to create an executable without -o first, disregard a.out. 2639# It will help us diagnose broken compilers, and finding out an intuition 2640# of exeext. 2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2642$as_echo_n "checking whether the C++ compiler works... " >&6; } 2643ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2644 2645# The possible output files: 2646ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2647 2648ac_rmfiles= 2649for ac_file in $ac_files 2650do 2651 case $ac_file in 2652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2653 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2654 esac 2655done 2656rm -f $ac_rmfiles 2657 2658if { { ac_try="$ac_link_default" 2659case "(($ac_try" in 2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2661 *) ac_try_echo=$ac_try;; 2662esac 2663eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2664$as_echo "$ac_try_echo"; } >&5 2665 (eval "$ac_link_default") 2>&5 2666 ac_status=$? 2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2668 test $ac_status = 0; }; then : 2669 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2670# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2671# in a Makefile. We should not override ac_cv_exeext if it was cached, 2672# so that the user can short-circuit this test for compilers unknown to 2673# Autoconf. 2674for ac_file in $ac_files '' 2675do 2676 test -f "$ac_file" || continue 2677 case $ac_file in 2678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2679 ;; 2680 [ab].out ) 2681 # We found the default executable, but exeext='' is most 2682 # certainly right. 2683 break;; 2684 *.* ) 2685 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2686 then :; else 2687 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2688 fi 2689 # We set ac_cv_exeext here because the later test for it is not 2690 # safe: cross compilers may not add the suffix if given an `-o' 2691 # argument, so we may need to know it at that point already. 2692 # Even if this section looks crufty: it has the advantage of 2693 # actually working. 2694 break;; 2695 * ) 2696 break;; 2697 esac 2698done 2699test "$ac_cv_exeext" = no && ac_cv_exeext= 2700 2701else 2702 ac_file='' 2703fi 2704if test -z "$ac_file"; then : 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2706$as_echo "no" >&6; } 2707$as_echo "$as_me: failed program was:" >&5 2708sed 's/^/| /' conftest.$ac_ext >&5 2709 2710{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2711$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2712as_fn_error 77 "C++ compiler cannot create executables 2713See \`config.log' for more details" "$LINENO" 5; } 2714else 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2716$as_echo "yes" >&6; } 2717fi 2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2719$as_echo_n "checking for C++ compiler default output file name... " >&6; } 2720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2721$as_echo "$ac_file" >&6; } 2722ac_exeext=$ac_cv_exeext 2723 2724rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2725ac_clean_files=$ac_clean_files_save 2726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2727$as_echo_n "checking for suffix of executables... " >&6; } 2728if { { ac_try="$ac_link" 2729case "(($ac_try" in 2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2731 *) ac_try_echo=$ac_try;; 2732esac 2733eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2734$as_echo "$ac_try_echo"; } >&5 2735 (eval "$ac_link") 2>&5 2736 ac_status=$? 2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2738 test $ac_status = 0; }; then : 2739 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2740# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2741# work properly (i.e., refer to `conftest.exe'), while it won't with 2742# `rm'. 2743for ac_file in conftest.exe conftest conftest.*; do 2744 test -f "$ac_file" || continue 2745 case $ac_file in 2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2747 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2748 break;; 2749 * ) break;; 2750 esac 2751done 2752else 2753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2755as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2756See \`config.log' for more details" "$LINENO" 5; } 2757fi 2758rm -f conftest conftest$ac_cv_exeext 2759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2760$as_echo "$ac_cv_exeext" >&6; } 2761 2762rm -f conftest.$ac_ext 2763EXEEXT=$ac_cv_exeext 2764ac_exeext=$EXEEXT 2765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2766/* end confdefs.h. */ 2767#include <stdio.h> 2768int 2769main () 2770{ 2771FILE *f = fopen ("conftest.out", "w"); 2772 return ferror (f) || fclose (f) != 0; 2773 2774 ; 2775 return 0; 2776} 2777_ACEOF 2778ac_clean_files="$ac_clean_files conftest.out" 2779# Check that the compiler produces executables we can run. If not, either 2780# the compiler is broken, or we cross compile. 2781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2782$as_echo_n "checking whether we are cross compiling... " >&6; } 2783if test "$cross_compiling" != yes; then 2784 { { ac_try="$ac_link" 2785case "(($ac_try" in 2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2787 *) ac_try_echo=$ac_try;; 2788esac 2789eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2790$as_echo "$ac_try_echo"; } >&5 2791 (eval "$ac_link") 2>&5 2792 ac_status=$? 2793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2794 test $ac_status = 0; } 2795 if { ac_try='./conftest$ac_cv_exeext' 2796 { { case "(($ac_try" in 2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2798 *) ac_try_echo=$ac_try;; 2799esac 2800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2801$as_echo "$ac_try_echo"; } >&5 2802 (eval "$ac_try") 2>&5 2803 ac_status=$? 2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2805 test $ac_status = 0; }; }; then 2806 cross_compiling=no 2807 else 2808 if test "$cross_compiling" = maybe; then 2809 cross_compiling=yes 2810 else 2811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2813as_fn_error $? "cannot run C++ compiled programs. 2814If you meant to cross compile, use \`--host'. 2815See \`config.log' for more details" "$LINENO" 5; } 2816 fi 2817 fi 2818fi 2819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2820$as_echo "$cross_compiling" >&6; } 2821 2822rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2823ac_clean_files=$ac_clean_files_save 2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2825$as_echo_n "checking for suffix of object files... " >&6; } 2826if ${ac_cv_objext+:} false; then : 2827 $as_echo_n "(cached) " >&6 2828else 2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2830/* end confdefs.h. */ 2831 2832int 2833main () 2834{ 2835 2836 ; 2837 return 0; 2838} 2839_ACEOF 2840rm -f conftest.o conftest.obj 2841if { { ac_try="$ac_compile" 2842case "(($ac_try" in 2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2844 *) ac_try_echo=$ac_try;; 2845esac 2846eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2847$as_echo "$ac_try_echo"; } >&5 2848 (eval "$ac_compile") 2>&5 2849 ac_status=$? 2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2851 test $ac_status = 0; }; then : 2852 for ac_file in conftest.o conftest.obj conftest.*; do 2853 test -f "$ac_file" || continue; 2854 case $ac_file in 2855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2856 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2857 break;; 2858 esac 2859done 2860else 2861 $as_echo "$as_me: failed program was:" >&5 2862sed 's/^/| /' conftest.$ac_ext >&5 2863 2864{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2865$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2866as_fn_error $? "cannot compute suffix of object files: cannot compile 2867See \`config.log' for more details" "$LINENO" 5; } 2868fi 2869rm -f conftest.$ac_cv_objext conftest.$ac_ext 2870fi 2871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2872$as_echo "$ac_cv_objext" >&6; } 2873OBJEXT=$ac_cv_objext 2874ac_objext=$OBJEXT 2875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2876$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2877if ${ac_cv_cxx_compiler_gnu+:} false; then : 2878 $as_echo_n "(cached) " >&6 2879else 2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2881/* end confdefs.h. */ 2882 2883int 2884main () 2885{ 2886#ifndef __GNUC__ 2887 choke me 2888#endif 2889 2890 ; 2891 return 0; 2892} 2893_ACEOF 2894if ac_fn_cxx_try_compile "$LINENO"; then : 2895 ac_compiler_gnu=yes 2896else 2897 ac_compiler_gnu=no 2898fi 2899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2900ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2901 2902fi 2903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 2904$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2905if test $ac_compiler_gnu = yes; then 2906 GXX=yes 2907else 2908 GXX= 2909fi 2910ac_test_CXXFLAGS=${CXXFLAGS+set} 2911ac_save_CXXFLAGS=$CXXFLAGS 2912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2913$as_echo_n "checking whether $CXX accepts -g... " >&6; } 2914if ${ac_cv_prog_cxx_g+:} false; then : 2915 $as_echo_n "(cached) " >&6 2916else 2917 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2918 ac_cxx_werror_flag=yes 2919 ac_cv_prog_cxx_g=no 2920 CXXFLAGS="-g" 2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2922/* end confdefs.h. */ 2923 2924int 2925main () 2926{ 2927 2928 ; 2929 return 0; 2930} 2931_ACEOF 2932if ac_fn_cxx_try_compile "$LINENO"; then : 2933 ac_cv_prog_cxx_g=yes 2934else 2935 CXXFLAGS="" 2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2937/* end confdefs.h. */ 2938 2939int 2940main () 2941{ 2942 2943 ; 2944 return 0; 2945} 2946_ACEOF 2947if ac_fn_cxx_try_compile "$LINENO"; then : 2948 2949else 2950 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2951 CXXFLAGS="-g" 2952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2953/* end confdefs.h. */ 2954 2955int 2956main () 2957{ 2958 2959 ; 2960 return 0; 2961} 2962_ACEOF 2963if ac_fn_cxx_try_compile "$LINENO"; then : 2964 ac_cv_prog_cxx_g=yes 2965fi 2966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2967fi 2968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2969fi 2970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2971 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2972fi 2973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 2974$as_echo "$ac_cv_prog_cxx_g" >&6; } 2975if test "$ac_test_CXXFLAGS" = set; then 2976 CXXFLAGS=$ac_save_CXXFLAGS 2977elif test $ac_cv_prog_cxx_g = yes; then 2978 if test "$GXX" = yes; then 2979 CXXFLAGS="-g -O2" 2980 else 2981 CXXFLAGS="-g" 2982 fi 2983else 2984 if test "$GXX" = yes; then 2985 CXXFLAGS="-O2" 2986 else 2987 CXXFLAGS= 2988 fi 2989fi 2990ac_ext=c 2991ac_cpp='$CPP $CPPFLAGS' 2992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2994ac_compiler_gnu=$ac_cv_c_compiler_gnu 2995DEPDIR="${am__leading_dot}deps" 2996 2997ac_config_commands="$ac_config_commands depfiles" 2998 2999 3000am_make=${MAKE-make} 3001cat > confinc << 'END' 3002am__doit: 3003 @echo this is the am__doit target 3004.PHONY: am__doit 3005END 3006# If we don't find an include directive, just comment out the code. 3007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3008$as_echo_n "checking for style of include used by $am_make... " >&6; } 3009am__include="#" 3010am__quote= 3011_am_result=none 3012# First try GNU make style include. 3013echo "include confinc" > confmf 3014# Ignore all kinds of additional output from `make'. 3015case `$am_make -s -f confmf 2> /dev/null` in #( 3016*the\ am__doit\ target*) 3017 am__include=include 3018 am__quote= 3019 _am_result=GNU 3020 ;; 3021esac 3022# Now try BSD make style include. 3023if test "$am__include" = "#"; then 3024 echo '.include "confinc"' > confmf 3025 case `$am_make -s -f confmf 2> /dev/null` in #( 3026 *the\ am__doit\ target*) 3027 am__include=.include 3028 am__quote="\"" 3029 _am_result=BSD 3030 ;; 3031 esac 3032fi 3033 3034 3035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3036$as_echo "$_am_result" >&6; } 3037rm -f confinc confmf 3038 3039# Check whether --enable-dependency-tracking was given. 3040if test "${enable_dependency_tracking+set}" = set; then : 3041 enableval=$enable_dependency_tracking; 3042fi 3043 3044if test "x$enable_dependency_tracking" != xno; then 3045 am_depcomp="$ac_aux_dir/depcomp" 3046 AMDEPBACKSLASH='\' 3047 am__nodep='_no' 3048fi 3049 if test "x$enable_dependency_tracking" != xno; then 3050 AMDEP_TRUE= 3051 AMDEP_FALSE='#' 3052else 3053 AMDEP_TRUE='#' 3054 AMDEP_FALSE= 3055fi 3056 3057 3058 3059depcc="$CXX" am_compiler_list= 3060 3061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3062$as_echo_n "checking dependency style of $depcc... " >&6; } 3063if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3064 $as_echo_n "(cached) " >&6 3065else 3066 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3067 # We make a subdir and do the tests there. Otherwise we can end up 3068 # making bogus files that we don't know about and never remove. For 3069 # instance it was reported that on HP-UX the gcc test will end up 3070 # making a dummy file named `D' -- because `-MD' means `put the output 3071 # in D'. 3072 rm -rf conftest.dir 3073 mkdir conftest.dir 3074 # Copy depcomp to subdir because otherwise we won't find it if we're 3075 # using a relative directory. 3076 cp "$am_depcomp" conftest.dir 3077 cd conftest.dir 3078 # We will build objects and dependencies in a subdirectory because 3079 # it helps to detect inapplicable dependency modes. For instance 3080 # both Tru64's cc and ICC support -MD to output dependencies as a 3081 # side effect of compilation, but ICC will put the dependencies in 3082 # the current directory while Tru64 will put them in the object 3083 # directory. 3084 mkdir sub 3085 3086 am_cv_CXX_dependencies_compiler_type=none 3087 if test "$am_compiler_list" = ""; then 3088 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3089 fi 3090 am__universal=false 3091 case " $depcc " in #( 3092 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3093 esac 3094 3095 for depmode in $am_compiler_list; do 3096 # Setup a source with many dependencies, because some compilers 3097 # like to wrap large dependency lists on column 80 (with \), and 3098 # we should not choose a depcomp mode which is confused by this. 3099 # 3100 # We need to recreate these files for each test, as the compiler may 3101 # overwrite some of them when testing with obscure command lines. 3102 # This happens at least with the AIX C compiler. 3103 : > sub/conftest.c 3104 for i in 1 2 3 4 5 6; do 3105 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3106 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3107 # Solaris 8's {/usr,}/bin/sh. 3108 touch sub/conftst$i.h 3109 done 3110 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3111 3112 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3113 # mode. It turns out that the SunPro C++ compiler does not properly 3114 # handle `-M -o', and we need to detect this. Also, some Intel 3115 # versions had trouble with output in subdirs 3116 am__obj=sub/conftest.${OBJEXT-o} 3117 am__minus_obj="-o $am__obj" 3118 case $depmode in 3119 gcc) 3120 # This depmode causes a compiler race in universal mode. 3121 test "$am__universal" = false || continue 3122 ;; 3123 nosideeffect) 3124 # after this tag, mechanisms are not by side-effect, so they'll 3125 # only be used when explicitly requested 3126 if test "x$enable_dependency_tracking" = xyes; then 3127 continue 3128 else 3129 break 3130 fi 3131 ;; 3132 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3133 # This compiler won't grok `-c -o', but also, the minuso test has 3134 # not run yet. These depmodes are late enough in the game, and 3135 # so weak that their functioning should not be impacted. 3136 am__obj=conftest.${OBJEXT-o} 3137 am__minus_obj= 3138 ;; 3139 none) break ;; 3140 esac 3141 if depmode=$depmode \ 3142 source=sub/conftest.c object=$am__obj \ 3143 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3144 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3145 >/dev/null 2>conftest.err && 3146 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3147 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3148 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3149 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3150 # icc doesn't choke on unknown options, it will just issue warnings 3151 # or remarks (even with -Werror). So we grep stderr for any message 3152 # that says an option was ignored or not supported. 3153 # When given -MP, icc 7.0 and 7.1 complain thusly: 3154 # icc: Command line warning: ignoring option '-M'; no argument required 3155 # The diagnosis changed in icc 8.0: 3156 # icc: Command line remark: option '-MP' not supported 3157 if (grep 'ignoring option' conftest.err || 3158 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3159 am_cv_CXX_dependencies_compiler_type=$depmode 3160 break 3161 fi 3162 fi 3163 done 3164 3165 cd .. 3166 rm -rf conftest.dir 3167else 3168 am_cv_CXX_dependencies_compiler_type=none 3169fi 3170 3171fi 3172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3173$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3174CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3175 3176 if 3177 test "x$enable_dependency_tracking" != xno \ 3178 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3179 am__fastdepCXX_TRUE= 3180 am__fastdepCXX_FALSE='#' 3181else 3182 am__fastdepCXX_TRUE='#' 3183 am__fastdepCXX_FALSE= 3184fi 3185 3186 3187ac_ext=c 3188ac_cpp='$CPP $CPPFLAGS' 3189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3191ac_compiler_gnu=$ac_cv_c_compiler_gnu 3192if test -n "$ac_tool_prefix"; then 3193 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3194set dummy ${ac_tool_prefix}gcc; ac_word=$2 3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3196$as_echo_n "checking for $ac_word... " >&6; } 3197if ${ac_cv_prog_CC+:} false; then : 3198 $as_echo_n "(cached) " >&6 3199else 3200 if test -n "$CC"; then 3201 ac_cv_prog_CC="$CC" # Let the user override the test. 3202else 3203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3204for as_dir in $PATH 3205do 3206 IFS=$as_save_IFS 3207 test -z "$as_dir" && as_dir=. 3208 for ac_exec_ext in '' $ac_executable_extensions; do 3209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3210 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3212 break 2 3213 fi 3214done 3215 done 3216IFS=$as_save_IFS 3217 3218fi 3219fi 3220CC=$ac_cv_prog_CC 3221if test -n "$CC"; then 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3223$as_echo "$CC" >&6; } 3224else 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3226$as_echo "no" >&6; } 3227fi 3228 3229 3230fi 3231if test -z "$ac_cv_prog_CC"; then 3232 ac_ct_CC=$CC 3233 # Extract the first word of "gcc", so it can be a program name with args. 3234set dummy gcc; ac_word=$2 3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3236$as_echo_n "checking for $ac_word... " >&6; } 3237if ${ac_cv_prog_ac_ct_CC+:} false; then : 3238 $as_echo_n "(cached) " >&6 3239else 3240 if test -n "$ac_ct_CC"; then 3241 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3242else 3243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3244for as_dir in $PATH 3245do 3246 IFS=$as_save_IFS 3247 test -z "$as_dir" && as_dir=. 3248 for ac_exec_ext in '' $ac_executable_extensions; do 3249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3250 ac_cv_prog_ac_ct_CC="gcc" 3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3252 break 2 3253 fi 3254done 3255 done 3256IFS=$as_save_IFS 3257 3258fi 3259fi 3260ac_ct_CC=$ac_cv_prog_ac_ct_CC 3261if test -n "$ac_ct_CC"; then 3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3263$as_echo "$ac_ct_CC" >&6; } 3264else 3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3266$as_echo "no" >&6; } 3267fi 3268 3269 if test "x$ac_ct_CC" = x; then 3270 CC="" 3271 else 3272 case $cross_compiling:$ac_tool_warned in 3273yes:) 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3276ac_tool_warned=yes ;; 3277esac 3278 CC=$ac_ct_CC 3279 fi 3280else 3281 CC="$ac_cv_prog_CC" 3282fi 3283 3284if test -z "$CC"; then 3285 if test -n "$ac_tool_prefix"; then 3286 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3287set dummy ${ac_tool_prefix}cc; ac_word=$2 3288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3289$as_echo_n "checking for $ac_word... " >&6; } 3290if ${ac_cv_prog_CC+:} false; then : 3291 $as_echo_n "(cached) " >&6 3292else 3293 if test -n "$CC"; then 3294 ac_cv_prog_CC="$CC" # Let the user override the test. 3295else 3296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3297for as_dir in $PATH 3298do 3299 IFS=$as_save_IFS 3300 test -z "$as_dir" && as_dir=. 3301 for ac_exec_ext in '' $ac_executable_extensions; do 3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3303 ac_cv_prog_CC="${ac_tool_prefix}cc" 3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3305 break 2 3306 fi 3307done 3308 done 3309IFS=$as_save_IFS 3310 3311fi 3312fi 3313CC=$ac_cv_prog_CC 3314if test -n "$CC"; then 3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3316$as_echo "$CC" >&6; } 3317else 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3319$as_echo "no" >&6; } 3320fi 3321 3322 3323 fi 3324fi 3325if test -z "$CC"; then 3326 # Extract the first word of "cc", so it can be a program name with args. 3327set dummy cc; ac_word=$2 3328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3329$as_echo_n "checking for $ac_word... " >&6; } 3330if ${ac_cv_prog_CC+:} false; then : 3331 $as_echo_n "(cached) " >&6 3332else 3333 if test -n "$CC"; then 3334 ac_cv_prog_CC="$CC" # Let the user override the test. 3335else 3336 ac_prog_rejected=no 3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3338for as_dir in $PATH 3339do 3340 IFS=$as_save_IFS 3341 test -z "$as_dir" && as_dir=. 3342 for ac_exec_ext in '' $ac_executable_extensions; do 3343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3344 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3345 ac_prog_rejected=yes 3346 continue 3347 fi 3348 ac_cv_prog_CC="cc" 3349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3350 break 2 3351 fi 3352done 3353 done 3354IFS=$as_save_IFS 3355 3356if test $ac_prog_rejected = yes; then 3357 # We found a bogon in the path, so make sure we never use it. 3358 set dummy $ac_cv_prog_CC 3359 shift 3360 if test $# != 0; then 3361 # We chose a different compiler from the bogus one. 3362 # However, it has the same basename, so the bogon will be chosen 3363 # first if we set CC to just the basename; use the full file name. 3364 shift 3365 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3366 fi 3367fi 3368fi 3369fi 3370CC=$ac_cv_prog_CC 3371if test -n "$CC"; then 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3373$as_echo "$CC" >&6; } 3374else 3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3376$as_echo "no" >&6; } 3377fi 3378 3379 3380fi 3381if test -z "$CC"; then 3382 if test -n "$ac_tool_prefix"; then 3383 for ac_prog in cl.exe 3384 do 3385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3386set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3388$as_echo_n "checking for $ac_word... " >&6; } 3389if ${ac_cv_prog_CC+:} false; then : 3390 $as_echo_n "(cached) " >&6 3391else 3392 if test -n "$CC"; then 3393 ac_cv_prog_CC="$CC" # Let the user override the test. 3394else 3395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3396for as_dir in $PATH 3397do 3398 IFS=$as_save_IFS 3399 test -z "$as_dir" && as_dir=. 3400 for ac_exec_ext in '' $ac_executable_extensions; do 3401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3402 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3404 break 2 3405 fi 3406done 3407 done 3408IFS=$as_save_IFS 3409 3410fi 3411fi 3412CC=$ac_cv_prog_CC 3413if test -n "$CC"; then 3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3415$as_echo "$CC" >&6; } 3416else 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3418$as_echo "no" >&6; } 3419fi 3420 3421 3422 test -n "$CC" && break 3423 done 3424fi 3425if test -z "$CC"; then 3426 ac_ct_CC=$CC 3427 for ac_prog in cl.exe 3428do 3429 # Extract the first word of "$ac_prog", so it can be a program name with args. 3430set dummy $ac_prog; ac_word=$2 3431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3432$as_echo_n "checking for $ac_word... " >&6; } 3433if ${ac_cv_prog_ac_ct_CC+:} false; then : 3434 $as_echo_n "(cached) " >&6 3435else 3436 if test -n "$ac_ct_CC"; then 3437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3438else 3439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3440for as_dir in $PATH 3441do 3442 IFS=$as_save_IFS 3443 test -z "$as_dir" && as_dir=. 3444 for ac_exec_ext in '' $ac_executable_extensions; do 3445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3446 ac_cv_prog_ac_ct_CC="$ac_prog" 3447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3448 break 2 3449 fi 3450done 3451 done 3452IFS=$as_save_IFS 3453 3454fi 3455fi 3456ac_ct_CC=$ac_cv_prog_ac_ct_CC 3457if test -n "$ac_ct_CC"; then 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3459$as_echo "$ac_ct_CC" >&6; } 3460else 3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3462$as_echo "no" >&6; } 3463fi 3464 3465 3466 test -n "$ac_ct_CC" && break 3467done 3468 3469 if test "x$ac_ct_CC" = x; then 3470 CC="" 3471 else 3472 case $cross_compiling:$ac_tool_warned in 3473yes:) 3474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3476ac_tool_warned=yes ;; 3477esac 3478 CC=$ac_ct_CC 3479 fi 3480fi 3481 3482fi 3483 3484 3485test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3487as_fn_error $? "no acceptable C compiler found in \$PATH 3488See \`config.log' for more details" "$LINENO" 5; } 3489 3490# Provide some information about the compiler. 3491$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3492set X $ac_compile 3493ac_compiler=$2 3494for ac_option in --version -v -V -qversion; do 3495 { { ac_try="$ac_compiler $ac_option >&5" 3496case "(($ac_try" in 3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3498 *) ac_try_echo=$ac_try;; 3499esac 3500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3501$as_echo "$ac_try_echo"; } >&5 3502 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3503 ac_status=$? 3504 if test -s conftest.err; then 3505 sed '10a\ 3506... rest of stderr output deleted ... 3507 10q' conftest.err >conftest.er1 3508 cat conftest.er1 >&5 3509 fi 3510 rm -f conftest.er1 conftest.err 3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3512 test $ac_status = 0; } 3513done 3514 3515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3516$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3517if ${ac_cv_c_compiler_gnu+:} false; then : 3518 $as_echo_n "(cached) " >&6 3519else 3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3521/* end confdefs.h. */ 3522 3523int 3524main () 3525{ 3526#ifndef __GNUC__ 3527 choke me 3528#endif 3529 3530 ; 3531 return 0; 3532} 3533_ACEOF 3534if ac_fn_c_try_compile "$LINENO"; then : 3535 ac_compiler_gnu=yes 3536else 3537 ac_compiler_gnu=no 3538fi 3539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3540ac_cv_c_compiler_gnu=$ac_compiler_gnu 3541 3542fi 3543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3544$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3545if test $ac_compiler_gnu = yes; then 3546 GCC=yes 3547else 3548 GCC= 3549fi 3550ac_test_CFLAGS=${CFLAGS+set} 3551ac_save_CFLAGS=$CFLAGS 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3553$as_echo_n "checking whether $CC accepts -g... " >&6; } 3554if ${ac_cv_prog_cc_g+:} false; then : 3555 $as_echo_n "(cached) " >&6 3556else 3557 ac_save_c_werror_flag=$ac_c_werror_flag 3558 ac_c_werror_flag=yes 3559 ac_cv_prog_cc_g=no 3560 CFLAGS="-g" 3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3562/* end confdefs.h. */ 3563 3564int 3565main () 3566{ 3567 3568 ; 3569 return 0; 3570} 3571_ACEOF 3572if ac_fn_c_try_compile "$LINENO"; then : 3573 ac_cv_prog_cc_g=yes 3574else 3575 CFLAGS="" 3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3577/* end confdefs.h. */ 3578 3579int 3580main () 3581{ 3582 3583 ; 3584 return 0; 3585} 3586_ACEOF 3587if ac_fn_c_try_compile "$LINENO"; then : 3588 3589else 3590 ac_c_werror_flag=$ac_save_c_werror_flag 3591 CFLAGS="-g" 3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3593/* end confdefs.h. */ 3594 3595int 3596main () 3597{ 3598 3599 ; 3600 return 0; 3601} 3602_ACEOF 3603if ac_fn_c_try_compile "$LINENO"; then : 3604 ac_cv_prog_cc_g=yes 3605fi 3606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3607fi 3608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3609fi 3610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3611 ac_c_werror_flag=$ac_save_c_werror_flag 3612fi 3613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3614$as_echo "$ac_cv_prog_cc_g" >&6; } 3615if test "$ac_test_CFLAGS" = set; then 3616 CFLAGS=$ac_save_CFLAGS 3617elif test $ac_cv_prog_cc_g = yes; then 3618 if test "$GCC" = yes; then 3619 CFLAGS="-g -O2" 3620 else 3621 CFLAGS="-g" 3622 fi 3623else 3624 if test "$GCC" = yes; then 3625 CFLAGS="-O2" 3626 else 3627 CFLAGS= 3628 fi 3629fi 3630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3631$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3632if ${ac_cv_prog_cc_c89+:} false; then : 3633 $as_echo_n "(cached) " >&6 3634else 3635 ac_cv_prog_cc_c89=no 3636ac_save_CC=$CC 3637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3638/* end confdefs.h. */ 3639#include <stdarg.h> 3640#include <stdio.h> 3641#include <sys/types.h> 3642#include <sys/stat.h> 3643/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3644struct buf { int x; }; 3645FILE * (*rcsopen) (struct buf *, struct stat *, int); 3646static char *e (p, i) 3647 char **p; 3648 int i; 3649{ 3650 return p[i]; 3651} 3652static char *f (char * (*g) (char **, int), char **p, ...) 3653{ 3654 char *s; 3655 va_list v; 3656 va_start (v,p); 3657 s = g (p, va_arg (v,int)); 3658 va_end (v); 3659 return s; 3660} 3661 3662/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3663 function prototypes and stuff, but not '\xHH' hex character constants. 3664 These don't provoke an error unfortunately, instead are silently treated 3665 as 'x'. The following induces an error, until -std is added to get 3666 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3667 array size at least. It's necessary to write '\x00'==0 to get something 3668 that's true only with -std. */ 3669int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3670 3671/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3672 inside strings and character constants. */ 3673#define FOO(x) 'x' 3674int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3675 3676int test (int i, double x); 3677struct s1 {int (*f) (int a);}; 3678struct s2 {int (*f) (double a);}; 3679int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3680int argc; 3681char **argv; 3682int 3683main () 3684{ 3685return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3686 ; 3687 return 0; 3688} 3689_ACEOF 3690for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3691 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3692do 3693 CC="$ac_save_CC $ac_arg" 3694 if ac_fn_c_try_compile "$LINENO"; then : 3695 ac_cv_prog_cc_c89=$ac_arg 3696fi 3697rm -f core conftest.err conftest.$ac_objext 3698 test "x$ac_cv_prog_cc_c89" != "xno" && break 3699done 3700rm -f conftest.$ac_ext 3701CC=$ac_save_CC 3702 3703fi 3704# AC_CACHE_VAL 3705case "x$ac_cv_prog_cc_c89" in 3706 x) 3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3708$as_echo "none needed" >&6; } ;; 3709 xno) 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3711$as_echo "unsupported" >&6; } ;; 3712 *) 3713 CC="$CC $ac_cv_prog_cc_c89" 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3715$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3716esac 3717if test "x$ac_cv_prog_cc_c89" != xno; then : 3718 3719fi 3720 3721ac_ext=c 3722ac_cpp='$CPP $CPPFLAGS' 3723ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3724ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3725ac_compiler_gnu=$ac_cv_c_compiler_gnu 3726 3727depcc="$CC" am_compiler_list= 3728 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3730$as_echo_n "checking dependency style of $depcc... " >&6; } 3731if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3732 $as_echo_n "(cached) " >&6 3733else 3734 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3735 # We make a subdir and do the tests there. Otherwise we can end up 3736 # making bogus files that we don't know about and never remove. For 3737 # instance it was reported that on HP-UX the gcc test will end up 3738 # making a dummy file named `D' -- because `-MD' means `put the output 3739 # in D'. 3740 rm -rf conftest.dir 3741 mkdir conftest.dir 3742 # Copy depcomp to subdir because otherwise we won't find it if we're 3743 # using a relative directory. 3744 cp "$am_depcomp" conftest.dir 3745 cd conftest.dir 3746 # We will build objects and dependencies in a subdirectory because 3747 # it helps to detect inapplicable dependency modes. For instance 3748 # both Tru64's cc and ICC support -MD to output dependencies as a 3749 # side effect of compilation, but ICC will put the dependencies in 3750 # the current directory while Tru64 will put them in the object 3751 # directory. 3752 mkdir sub 3753 3754 am_cv_CC_dependencies_compiler_type=none 3755 if test "$am_compiler_list" = ""; then 3756 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3757 fi 3758 am__universal=false 3759 case " $depcc " in #( 3760 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3761 esac 3762 3763 for depmode in $am_compiler_list; do 3764 # Setup a source with many dependencies, because some compilers 3765 # like to wrap large dependency lists on column 80 (with \), and 3766 # we should not choose a depcomp mode which is confused by this. 3767 # 3768 # We need to recreate these files for each test, as the compiler may 3769 # overwrite some of them when testing with obscure command lines. 3770 # This happens at least with the AIX C compiler. 3771 : > sub/conftest.c 3772 for i in 1 2 3 4 5 6; do 3773 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3774 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3775 # Solaris 8's {/usr,}/bin/sh. 3776 touch sub/conftst$i.h 3777 done 3778 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3779 3780 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3781 # mode. It turns out that the SunPro C++ compiler does not properly 3782 # handle `-M -o', and we need to detect this. Also, some Intel 3783 # versions had trouble with output in subdirs 3784 am__obj=sub/conftest.${OBJEXT-o} 3785 am__minus_obj="-o $am__obj" 3786 case $depmode in 3787 gcc) 3788 # This depmode causes a compiler race in universal mode. 3789 test "$am__universal" = false || continue 3790 ;; 3791 nosideeffect) 3792 # after this tag, mechanisms are not by side-effect, so they'll 3793 # only be used when explicitly requested 3794 if test "x$enable_dependency_tracking" = xyes; then 3795 continue 3796 else 3797 break 3798 fi 3799 ;; 3800 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3801 # This compiler won't grok `-c -o', but also, the minuso test has 3802 # not run yet. These depmodes are late enough in the game, and 3803 # so weak that their functioning should not be impacted. 3804 am__obj=conftest.${OBJEXT-o} 3805 am__minus_obj= 3806 ;; 3807 none) break ;; 3808 esac 3809 if depmode=$depmode \ 3810 source=sub/conftest.c object=$am__obj \ 3811 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3812 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3813 >/dev/null 2>conftest.err && 3814 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3815 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3816 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3817 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3818 # icc doesn't choke on unknown options, it will just issue warnings 3819 # or remarks (even with -Werror). So we grep stderr for any message 3820 # that says an option was ignored or not supported. 3821 # When given -MP, icc 7.0 and 7.1 complain thusly: 3822 # icc: Command line warning: ignoring option '-M'; no argument required 3823 # The diagnosis changed in icc 8.0: 3824 # icc: Command line remark: option '-MP' not supported 3825 if (grep 'ignoring option' conftest.err || 3826 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3827 am_cv_CC_dependencies_compiler_type=$depmode 3828 break 3829 fi 3830 fi 3831 done 3832 3833 cd .. 3834 rm -rf conftest.dir 3835else 3836 am_cv_CC_dependencies_compiler_type=none 3837fi 3838 3839fi 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3841$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3842CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3843 3844 if 3845 test "x$enable_dependency_tracking" != xno \ 3846 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3847 am__fastdepCC_TRUE= 3848 am__fastdepCC_FALSE='#' 3849else 3850 am__fastdepCC_TRUE='#' 3851 am__fastdepCC_FALSE= 3852fi 3853 3854 3855# disable automatic maintainer mode 3856 3857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3858$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3859 # Check whether --enable-maintainer-mode was given. 3860if test "${enable_maintainer_mode+set}" = set; then : 3861 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3862else 3863 USE_MAINTAINER_MODE=no 3864fi 3865 3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3867$as_echo "$USE_MAINTAINER_MODE" >&6; } 3868 if test $USE_MAINTAINER_MODE = yes; then 3869 MAINTAINER_MODE_TRUE= 3870 MAINTAINER_MODE_FALSE='#' 3871else 3872 MAINTAINER_MODE_TRUE='#' 3873 MAINTAINER_MODE_FALSE= 3874fi 3875 3876 MAINT=$MAINTAINER_MODE_TRUE 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891# Less cluttered build output 3892# Check whether --enable-silent-rules was given. 3893if test "${enable_silent_rules+set}" = set; then : 3894 enableval=$enable_silent_rules; 3895fi 3896 3897case $enable_silent_rules in 3898yes) AM_DEFAULT_VERBOSITY=0;; 3899no) AM_DEFAULT_VERBOSITY=1;; 3900*) AM_DEFAULT_VERBOSITY=0;; 3901esac 3902am_make=${MAKE-make} 3903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3904$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3905if ${am_cv_make_support_nested_variables+:} false; then : 3906 $as_echo_n "(cached) " >&6 3907else 3908 if $as_echo 'TRUE=$(BAR$(V)) 3909BAR0=false 3910BAR1=true 3911V=1 3912am__doit: 3913 @$(TRUE) 3914.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3915 am_cv_make_support_nested_variables=yes 3916else 3917 am_cv_make_support_nested_variables=no 3918fi 3919fi 3920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3921$as_echo "$am_cv_make_support_nested_variables" >&6; } 3922if test $am_cv_make_support_nested_variables = yes; then 3923 AM_V='$(V)' 3924 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3925else 3926 AM_V=$AM_DEFAULT_VERBOSITY 3927 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3928fi 3929AM_BACKSLASH='\' 3930 3931 3932# Check requirement sets 3933 3934 3935 3936 3937 3938 3939 3940if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3941 if test -n "$ac_tool_prefix"; then 3942 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3943set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3945$as_echo_n "checking for $ac_word... " >&6; } 3946if ${ac_cv_path_PKG_CONFIG+:} false; then : 3947 $as_echo_n "(cached) " >&6 3948else 3949 case $PKG_CONFIG in 3950 [\\/]* | ?:[\\/]*) 3951 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3952 ;; 3953 *) 3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3955for as_dir in $PATH 3956do 3957 IFS=$as_save_IFS 3958 test -z "$as_dir" && as_dir=. 3959 for ac_exec_ext in '' $ac_executable_extensions; do 3960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3961 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3963 break 2 3964 fi 3965done 3966 done 3967IFS=$as_save_IFS 3968 3969 ;; 3970esac 3971fi 3972PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3973if test -n "$PKG_CONFIG"; then 3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 3975$as_echo "$PKG_CONFIG" >&6; } 3976else 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3978$as_echo "no" >&6; } 3979fi 3980 3981 3982fi 3983if test -z "$ac_cv_path_PKG_CONFIG"; then 3984 ac_pt_PKG_CONFIG=$PKG_CONFIG 3985 # Extract the first word of "pkg-config", so it can be a program name with args. 3986set dummy pkg-config; ac_word=$2 3987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3988$as_echo_n "checking for $ac_word... " >&6; } 3989if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 3990 $as_echo_n "(cached) " >&6 3991else 3992 case $ac_pt_PKG_CONFIG in 3993 [\\/]* | ?:[\\/]*) 3994 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3995 ;; 3996 *) 3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3998for as_dir in $PATH 3999do 4000 IFS=$as_save_IFS 4001 test -z "$as_dir" && as_dir=. 4002 for ac_exec_ext in '' $ac_executable_extensions; do 4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4004 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4006 break 2 4007 fi 4008done 4009 done 4010IFS=$as_save_IFS 4011 4012 ;; 4013esac 4014fi 4015ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4016if test -n "$ac_pt_PKG_CONFIG"; then 4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4018$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4019else 4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4021$as_echo "no" >&6; } 4022fi 4023 4024 if test "x$ac_pt_PKG_CONFIG" = x; then 4025 PKG_CONFIG="" 4026 else 4027 case $cross_compiling:$ac_tool_warned in 4028yes:) 4029{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4031ac_tool_warned=yes ;; 4032esac 4033 PKG_CONFIG=$ac_pt_PKG_CONFIG 4034 fi 4035else 4036 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4037fi 4038 4039fi 4040if test -n "$PKG_CONFIG"; then 4041 _pkg_min_version=0.9.0 4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4043$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4044 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4046$as_echo "yes" >&6; } 4047 else 4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4049$as_echo "no" >&6; } 4050 PKG_CONFIG="" 4051 fi 4052fi 4053 4054 4055pkg_failed=no 4056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_1_0" >&5 4057$as_echo_n "checking for GSTREAMER_1_0... " >&6; } 4058 4059if test -n "$GSTREAMER_1_0_CFLAGS"; then 4060 pkg_cv_GSTREAMER_1_0_CFLAGS="$GSTREAMER_1_0_CFLAGS" 4061 elif test -n "$PKG_CONFIG"; then 4062 if test -n "$PKG_CONFIG" && \ 4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5 4064 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5 4065 ac_status=$? 4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4067 test $ac_status = 0; }; then 4068 pkg_cv_GSTREAMER_1_0_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0" 2>/dev/null` 4069 test "x$?" != "x0" && pkg_failed=yes 4070else 4071 pkg_failed=yes 4072fi 4073 else 4074 pkg_failed=untried 4075fi 4076if test -n "$GSTREAMER_1_0_LIBS"; then 4077 pkg_cv_GSTREAMER_1_0_LIBS="$GSTREAMER_1_0_LIBS" 4078 elif test -n "$PKG_CONFIG"; then 4079 if test -n "$PKG_CONFIG" && \ 4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5 4081 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5 4082 ac_status=$? 4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4084 test $ac_status = 0; }; then 4085 pkg_cv_GSTREAMER_1_0_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0" 2>/dev/null` 4086 test "x$?" != "x0" && pkg_failed=yes 4087else 4088 pkg_failed=yes 4089fi 4090 else 4091 pkg_failed=untried 4092fi 4093 4094 4095 4096if test $pkg_failed = yes; then 4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4098$as_echo "no" >&6; } 4099 4100if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4101 _pkg_short_errors_supported=yes 4102else 4103 _pkg_short_errors_supported=no 4104fi 4105 if test $_pkg_short_errors_supported = yes; then 4106 GSTREAMER_1_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0" 2>&1` 4107 else 4108 GSTREAMER_1_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0" 2>&1` 4109 fi 4110 # Put the nasty error message in config.log where it belongs 4111 echo "$GSTREAMER_1_0_PKG_ERRORS" >&5 4112 4113 GST_1_0=0 4114elif test $pkg_failed = untried; then 4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4116$as_echo "no" >&6; } 4117 GST_1_0=0 4118else 4119 GSTREAMER_1_0_CFLAGS=$pkg_cv_GSTREAMER_1_0_CFLAGS 4120 GSTREAMER_1_0_LIBS=$pkg_cv_GSTREAMER_1_0_LIBS 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4122$as_echo "yes" >&6; } 4123 GST_1_0=1 4124fi 4125 4126 if test x$GST_1_0 = x1; then 4127 { $as_echo "$as_me:${as_lineno-$LINENO}: Building gst123 using gstreamer version 1.0" >&5 4128$as_echo "$as_me: Building gst123 using gstreamer version 1.0" >&6;} 4129 4130 4131pkg_failed=no 4132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5 4133$as_echo_n "checking for GSTREAMER... " >&6; } 4134 4135if test -n "$GSTREAMER_CFLAGS"; then 4136 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" 4137 elif test -n "$PKG_CONFIG"; then 4138 if test -n "$PKG_CONFIG" && \ 4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0\""; } >&5 4140 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0") 2>&5 4141 ac_status=$? 4142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4143 test $ac_status = 0; }; then 4144 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0" 2>/dev/null` 4145 test "x$?" != "x0" && pkg_failed=yes 4146else 4147 pkg_failed=yes 4148fi 4149 else 4150 pkg_failed=untried 4151fi 4152if test -n "$GSTREAMER_LIBS"; then 4153 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" 4154 elif test -n "$PKG_CONFIG"; then 4155 if test -n "$PKG_CONFIG" && \ 4156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0\""; } >&5 4157 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0") 2>&5 4158 ac_status=$? 4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4160 test $ac_status = 0; }; then 4161 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0" 2>/dev/null` 4162 test "x$?" != "x0" && pkg_failed=yes 4163else 4164 pkg_failed=yes 4165fi 4166 else 4167 pkg_failed=untried 4168fi 4169 4170 4171 4172if test $pkg_failed = yes; then 4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4174$as_echo "no" >&6; } 4175 4176if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4177 _pkg_short_errors_supported=yes 4178else 4179 _pkg_short_errors_supported=no 4180fi 4181 if test $_pkg_short_errors_supported = yes; then 4182 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0" 2>&1` 4183 else 4184 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0" 2>&1` 4185 fi 4186 # Put the nasty error message in config.log where it belongs 4187 echo "$GSTREAMER_PKG_ERRORS" >&5 4188 4189 as_fn_error $? "Package requirements (gstreamer-1.0 gstreamer-base-1.0 gstreamer-video-1.0) were not met: 4190 4191$GSTREAMER_PKG_ERRORS 4192 4193Consider adjusting the PKG_CONFIG_PATH environment variable if you 4194installed software in a non-standard prefix. 4195 4196Alternatively, you may set the environment variables GSTREAMER_CFLAGS 4197and GSTREAMER_LIBS to avoid the need to call pkg-config. 4198See the pkg-config man page for more details." "$LINENO" 5 4199elif test $pkg_failed = untried; then 4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4201$as_echo "no" >&6; } 4202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4203$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4204as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 4205is in your PATH or set the PKG_CONFIG environment variable to the full 4206path to pkg-config. 4207 4208Alternatively, you may set the environment variables GSTREAMER_CFLAGS 4209and GSTREAMER_LIBS to avoid the need to call pkg-config. 4210See the pkg-config man page for more details. 4211 4212To get pkg-config, see <http://pkg-config.freedesktop.org/>. 4213See \`config.log' for more details" "$LINENO" 5; } 4214else 4215 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS 4216 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS 4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4218$as_echo "yes" >&6; } 4219 4220fi 4221 else 4222 4223pkg_failed=no 4224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_0_10" >&5 4225$as_echo_n "checking for GSTREAMER_0_10... " >&6; } 4226 4227if test -n "$GSTREAMER_0_10_CFLAGS"; then 4228 pkg_cv_GSTREAMER_0_10_CFLAGS="$GSTREAMER_0_10_CFLAGS" 4229 elif test -n "$PKG_CONFIG"; then 4230 if test -n "$PKG_CONFIG" && \ 4231 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5 4232 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5 4233 ac_status=$? 4234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4235 test $ac_status = 0; }; then 4236 pkg_cv_GSTREAMER_0_10_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null` 4237 test "x$?" != "x0" && pkg_failed=yes 4238else 4239 pkg_failed=yes 4240fi 4241 else 4242 pkg_failed=untried 4243fi 4244if test -n "$GSTREAMER_0_10_LIBS"; then 4245 pkg_cv_GSTREAMER_0_10_LIBS="$GSTREAMER_0_10_LIBS" 4246 elif test -n "$PKG_CONFIG"; then 4247 if test -n "$PKG_CONFIG" && \ 4248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5 4249 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5 4250 ac_status=$? 4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4252 test $ac_status = 0; }; then 4253 pkg_cv_GSTREAMER_0_10_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null` 4254 test "x$?" != "x0" && pkg_failed=yes 4255else 4256 pkg_failed=yes 4257fi 4258 else 4259 pkg_failed=untried 4260fi 4261 4262 4263 4264if test $pkg_failed = yes; then 4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4266$as_echo "no" >&6; } 4267 4268if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4269 _pkg_short_errors_supported=yes 4270else 4271 _pkg_short_errors_supported=no 4272fi 4273 if test $_pkg_short_errors_supported = yes; then 4274 GSTREAMER_0_10_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10" 2>&1` 4275 else 4276 GSTREAMER_0_10_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10" 2>&1` 4277 fi 4278 # Put the nasty error message in config.log where it belongs 4279 echo "$GSTREAMER_0_10_PKG_ERRORS" >&5 4280 4281 GST_0_10=0 4282elif test $pkg_failed = untried; then 4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4284$as_echo "no" >&6; } 4285 GST_0_10=0 4286else 4287 GSTREAMER_0_10_CFLAGS=$pkg_cv_GSTREAMER_0_10_CFLAGS 4288 GSTREAMER_0_10_LIBS=$pkg_cv_GSTREAMER_0_10_LIBS 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4290$as_echo "yes" >&6; } 4291 GST_0_10=1 4292fi 4293 4294 if test x$GST_0_10 = x1; then 4295 { $as_echo "$as_me:${as_lineno-$LINENO}: Building gst123 using gstreamer version 0.10" >&5 4296$as_echo "$as_me: Building gst123 using gstreamer version 0.10" >&6;} 4297 4298pkg_failed=no 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5 4300$as_echo_n "checking for GSTREAMER... " >&6; } 4301 4302if test -n "$GSTREAMER_CFLAGS"; then 4303 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" 4304 elif test -n "$PKG_CONFIG"; then 4305 if test -n "$PKG_CONFIG" && \ 4306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10\""; } >&5 4307 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10") 2>&5 4308 ac_status=$? 4309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4310 test $ac_status = 0; }; then 4311 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10" 2>/dev/null` 4312 test "x$?" != "x0" && pkg_failed=yes 4313else 4314 pkg_failed=yes 4315fi 4316 else 4317 pkg_failed=untried 4318fi 4319if test -n "$GSTREAMER_LIBS"; then 4320 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" 4321 elif test -n "$PKG_CONFIG"; then 4322 if test -n "$PKG_CONFIG" && \ 4323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10\""; } >&5 4324 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10") 2>&5 4325 ac_status=$? 4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4327 test $ac_status = 0; }; then 4328 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10" 2>/dev/null` 4329 test "x$?" != "x0" && pkg_failed=yes 4330else 4331 pkg_failed=yes 4332fi 4333 else 4334 pkg_failed=untried 4335fi 4336 4337 4338 4339if test $pkg_failed = yes; then 4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4341$as_echo "no" >&6; } 4342 4343if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4344 _pkg_short_errors_supported=yes 4345else 4346 _pkg_short_errors_supported=no 4347fi 4348 if test $_pkg_short_errors_supported = yes; then 4349 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10" 2>&1` 4350 else 4351 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10" 2>&1` 4352 fi 4353 # Put the nasty error message in config.log where it belongs 4354 echo "$GSTREAMER_PKG_ERRORS" >&5 4355 4356 as_fn_error $? "Package requirements (gstreamer-0.10 gstreamer-base-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10) were not met: 4357 4358$GSTREAMER_PKG_ERRORS 4359 4360Consider adjusting the PKG_CONFIG_PATH environment variable if you 4361installed software in a non-standard prefix. 4362 4363Alternatively, you may set the environment variables GSTREAMER_CFLAGS 4364and GSTREAMER_LIBS to avoid the need to call pkg-config. 4365See the pkg-config man page for more details." "$LINENO" 5 4366elif test $pkg_failed = untried; then 4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4368$as_echo "no" >&6; } 4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4371as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 4372is in your PATH or set the PKG_CONFIG environment variable to the full 4373path to pkg-config. 4374 4375Alternatively, you may set the environment variables GSTREAMER_CFLAGS 4376and GSTREAMER_LIBS to avoid the need to call pkg-config. 4377See the pkg-config man page for more details. 4378 4379To get pkg-config, see <http://pkg-config.freedesktop.org/>. 4380See \`config.log' for more details" "$LINENO" 5; } 4381else 4382 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS 4383 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS 4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4385$as_echo "yes" >&6; } 4386 4387fi 4388 else 4389 as_fn_error $? "Neither gstreamer-0.10 nor gstreamer-1.0 was found using pkg-config." "$LINENO" 5 4390 fi 4391 fi 4392 4393 4394 4395 4396 4397pkg_failed=no 4398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_GTK" >&5 4399$as_echo_n "checking for GSTREAMER_GTK... " >&6; } 4400 4401if test -n "$GSTREAMER_GTK_CFLAGS"; then 4402 pkg_cv_GSTREAMER_GTK_CFLAGS="$GSTREAMER_GTK_CFLAGS" 4403 elif test -n "$PKG_CONFIG"; then 4404 if test -n "$PKG_CONFIG" && \ 4405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 4406 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 4407 ac_status=$? 4408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4409 test $ac_status = 0; }; then 4410 pkg_cv_GSTREAMER_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` 4411 test "x$?" != "x0" && pkg_failed=yes 4412else 4413 pkg_failed=yes 4414fi 4415 else 4416 pkg_failed=untried 4417fi 4418if test -n "$GSTREAMER_GTK_LIBS"; then 4419 pkg_cv_GSTREAMER_GTK_LIBS="$GSTREAMER_GTK_LIBS" 4420 elif test -n "$PKG_CONFIG"; then 4421 if test -n "$PKG_CONFIG" && \ 4422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 4423 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 4424 ac_status=$? 4425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4426 test $ac_status = 0; }; then 4427 pkg_cv_GSTREAMER_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null` 4428 test "x$?" != "x0" && pkg_failed=yes 4429else 4430 pkg_failed=yes 4431fi 4432 else 4433 pkg_failed=untried 4434fi 4435 4436 4437 4438if test $pkg_failed = yes; then 4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4440$as_echo "no" >&6; } 4441 4442if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4443 _pkg_short_errors_supported=yes 4444else 4445 _pkg_short_errors_supported=no 4446fi 4447 if test $_pkg_short_errors_supported = yes; then 4448 GSTREAMER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1` 4449 else 4450 GSTREAMER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1` 4451 fi 4452 # Put the nasty error message in config.log where it belongs 4453 echo "$GSTREAMER_GTK_PKG_ERRORS" >&5 4454 4455 as_fn_error $? "Package requirements (gtk+-2.0) were not met: 4456 4457$GSTREAMER_GTK_PKG_ERRORS 4458 4459Consider adjusting the PKG_CONFIG_PATH environment variable if you 4460installed software in a non-standard prefix. 4461 4462Alternatively, you may set the environment variables GSTREAMER_GTK_CFLAGS 4463and GSTREAMER_GTK_LIBS to avoid the need to call pkg-config. 4464See the pkg-config man page for more details." "$LINENO" 5 4465elif test $pkg_failed = untried; then 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4467$as_echo "no" >&6; } 4468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4469$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4470as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 4471is in your PATH or set the PKG_CONFIG environment variable to the full 4472path to pkg-config. 4473 4474Alternatively, you may set the environment variables GSTREAMER_GTK_CFLAGS 4475and GSTREAMER_GTK_LIBS to avoid the need to call pkg-config. 4476See the pkg-config man page for more details. 4477 4478To get pkg-config, see <http://pkg-config.freedesktop.org/>. 4479See \`config.log' for more details" "$LINENO" 5; } 4480else 4481 GSTREAMER_GTK_CFLAGS=$pkg_cv_GSTREAMER_GTK_CFLAGS 4482 GSTREAMER_GTK_LIBS=$pkg_cv_GSTREAMER_GTK_LIBS 4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4484$as_echo "yes" >&6; } 4485 4486fi 4487 4488 4489 4490 4491 4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5 4493$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; } 4494if ${ac_cv_lib_X11_XOpenDisplay+:} false; then : 4495 $as_echo_n "(cached) " >&6 4496else 4497 ac_check_lib_save_LIBS=$LIBS 4498LIBS="-lX11 $LIBS" 4499cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4500/* end confdefs.h. */ 4501 4502/* Override any GCC internal prototype to avoid an error. 4503 Use char because int might match the return type of a GCC 4504 builtin and then its argument prototype would still apply. */ 4505#ifdef __cplusplus 4506extern "C" 4507#endif 4508char XOpenDisplay (); 4509int 4510main () 4511{ 4512return XOpenDisplay (); 4513 ; 4514 return 0; 4515} 4516_ACEOF 4517if ac_fn_c_try_link "$LINENO"; then : 4518 ac_cv_lib_X11_XOpenDisplay=yes 4519else 4520 ac_cv_lib_X11_XOpenDisplay=no 4521fi 4522rm -f core conftest.err conftest.$ac_objext \ 4523 conftest$ac_exeext conftest.$ac_ext 4524LIBS=$ac_check_lib_save_LIBS 4525fi 4526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5 4527$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; } 4528if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then : 4529 cat >>confdefs.h <<_ACEOF 4530#define HAVE_LIBX11 1 4531_ACEOF 4532 4533 LIBS="-lX11 $LIBS" 4534 4535fi 4536 4537 X11_LIBS='-lX11' 4538 4539 4540 4541 # Extract the first word of "ncurses5-config", so it can be a program name with args. 4542set dummy ncurses5-config; ac_word=$2 4543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4544$as_echo_n "checking for $ac_word... " >&6; } 4545if ${ac_cv_path_NCURSES5_CONFIG+:} false; then : 4546 $as_echo_n "(cached) " >&6 4547else 4548 case $NCURSES5_CONFIG in 4549 [\\/]* | ?:[\\/]*) 4550 ac_cv_path_NCURSES5_CONFIG="$NCURSES5_CONFIG" # Let the user override the test with a path. 4551 ;; 4552 *) 4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4554for as_dir in $PATH 4555do 4556 IFS=$as_save_IFS 4557 test -z "$as_dir" && as_dir=. 4558 for ac_exec_ext in '' $ac_executable_extensions; do 4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4560 ac_cv_path_NCURSES5_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4562 break 2 4563 fi 4564done 4565 done 4566IFS=$as_save_IFS 4567 4568 test -z "$ac_cv_path_NCURSES5_CONFIG" && ac_cv_path_NCURSES5_CONFIG="no" 4569 ;; 4570esac 4571fi 4572NCURSES5_CONFIG=$ac_cv_path_NCURSES5_CONFIG 4573if test -n "$NCURSES5_CONFIG"; then 4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSES5_CONFIG" >&5 4575$as_echo "$NCURSES5_CONFIG" >&6; } 4576else 4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4578$as_echo "no" >&6; } 4579fi 4580 4581 4582 if test "$NCURSES5_CONFIG" = "no"; then 4583 as_fn_error $? "You need to have ncurses5-config installed to build this package. 4584 4585Debian users: aptitude install libncurses-dev 4586" "$LINENO" 5 4587 fi 4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 4589$as_echo_n "checking for initscr in -lncurses... " >&6; } 4590if ${ac_cv_lib_ncurses_initscr+:} false; then : 4591 $as_echo_n "(cached) " >&6 4592else 4593 ac_check_lib_save_LIBS=$LIBS 4594LIBS="-lncurses $LIBS" 4595cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4596/* end confdefs.h. */ 4597 4598/* Override any GCC internal prototype to avoid an error. 4599 Use char because int might match the return type of a GCC 4600 builtin and then its argument prototype would still apply. */ 4601#ifdef __cplusplus 4602extern "C" 4603#endif 4604char initscr (); 4605int 4606main () 4607{ 4608return initscr (); 4609 ; 4610 return 0; 4611} 4612_ACEOF 4613if ac_fn_c_try_link "$LINENO"; then : 4614 ac_cv_lib_ncurses_initscr=yes 4615else 4616 ac_cv_lib_ncurses_initscr=no 4617fi 4618rm -f core conftest.err conftest.$ac_objext \ 4619 conftest$ac_exeext conftest.$ac_ext 4620LIBS=$ac_check_lib_save_LIBS 4621fi 4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 4623$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } 4624if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : 4625 : 4626else 4627 4628 as_fn_error $? "You need libncurses to build this package. 4629 4630Debian users: aptitude install libncurses-dev 4631" "$LINENO" 5 4632 4633fi 4634 4635 NCURSES_CFLAGS="`$NCURSES5_CONFIG --cflags`" 4636 NCURSES_LIBS="`$NCURSES5_CONFIG --libs`" 4637 4638 4639 4640 4641 for ac_prog in wikihtml2man wikihtml2man.py 4642do 4643 # Extract the first word of "$ac_prog", so it can be a program name with args. 4644set dummy $ac_prog; ac_word=$2 4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4646$as_echo_n "checking for $ac_word... " >&6; } 4647if ${ac_cv_path_WIKIHTML2MAN+:} false; then : 4648 $as_echo_n "(cached) " >&6 4649else 4650 case $WIKIHTML2MAN in 4651 [\\/]* | ?:[\\/]*) 4652 ac_cv_path_WIKIHTML2MAN="$WIKIHTML2MAN" # Let the user override the test with a path. 4653 ;; 4654 *) 4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4656for as_dir in $PATH 4657do 4658 IFS=$as_save_IFS 4659 test -z "$as_dir" && as_dir=. 4660 for ac_exec_ext in '' $ac_executable_extensions; do 4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4662 ac_cv_path_WIKIHTML2MAN="$as_dir/$ac_word$ac_exec_ext" 4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4664 break 2 4665 fi 4666done 4667 done 4668IFS=$as_save_IFS 4669 4670 ;; 4671esac 4672fi 4673WIKIHTML2MAN=$ac_cv_path_WIKIHTML2MAN 4674if test -n "$WIKIHTML2MAN"; then 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIKIHTML2MAN" >&5 4676$as_echo "$WIKIHTML2MAN" >&6; } 4677else 4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4679$as_echo "no" >&6; } 4680fi 4681 4682 4683 test -n "$WIKIHTML2MAN" && break 4684done 4685test -n "$WIKIHTML2MAN" || WIKIHTML2MAN="false" 4686 4687 # Extract the first word of "groff", so it can be a program name with args. 4688set dummy groff; ac_word=$2 4689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4690$as_echo_n "checking for $ac_word... " >&6; } 4691if ${ac_cv_path_GROFF+:} false; then : 4692 $as_echo_n "(cached) " >&6 4693else 4694 case $GROFF in 4695 [\\/]* | ?:[\\/]*) 4696 ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path. 4697 ;; 4698 *) 4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4700for as_dir in $PATH 4701do 4702 IFS=$as_save_IFS 4703 test -z "$as_dir" && as_dir=. 4704 for ac_exec_ext in '' $ac_executable_extensions; do 4705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4706 ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext" 4707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4708 break 2 4709 fi 4710done 4711 done 4712IFS=$as_save_IFS 4713 4714 test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF="false" 4715 ;; 4716esac 4717fi 4718GROFF=$ac_cv_path_GROFF 4719if test -n "$GROFF"; then 4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROFF" >&5 4721$as_echo "$GROFF" >&6; } 4722else 4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4724$as_echo "no" >&6; } 4725fi 4726 4727 4728 IFMAN= 4729 IFAGING= 4730 if test x"$enable_maintainer_mode" = xyes ; then 4731 test x"$WIKIHTML2MAN" = xfalse && { 4732 as_fn_error $? "This package requires the wikihtml2man.py tool for maintainer builds" "$LINENO" 5 4733 } 4734 echo "" | $GROFF -mandoc -Thtml 2>/dev/null | grep -Fq HTML || { 4735 as_fn_error $? "Failed to test-build HTML manual page via groff" "$LINENO" 5 4736 } 4737 else 4738 IFMAN="#" 4739 IFAGING="#" 4740 fi 4741 4742 4743 4744 4745 4746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} supports -Wall" >&5 4747$as_echo_n "checking whether ${CC-cc} supports -Wall... " >&6; } 4748echo >conftest.c; 4749if ${CC-cc} -Wall -c $CFLAGS conftest.c >/dev/null 2>&1 ; then 4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4751$as_echo "yes" >&6; } 4752 4753 CFLAGS="$CFLAGS -Wall" 4754 CXXFLAGS="$CXXFLAGS -Wall" 4755 4756else 4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4758$as_echo "no" >&6; } 4759 4760fi 4761rm -fr conftest* 4762 4763 4764# Check whether --enable-debug-cxx was given. 4765if test "${enable_debug_cxx+set}" = set; then : 4766 enableval=$enable_debug_cxx; 4767 CFLAGS="$CFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC" 4768 CXXFLAGS="$CXXFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC" 4769 4770fi 4771 4772 4773ac_config_files="$ac_config_files Makefile src/Makefile docs/Makefile" 4774 4775cat >confcache <<\_ACEOF 4776# This file is a shell script that caches the results of configure 4777# tests run on this system so they can be shared between configure 4778# scripts and configure runs, see configure's option --config-cache. 4779# It is not useful on other systems. If it contains results you don't 4780# want to keep, you may remove or edit it. 4781# 4782# config.status only pays attention to the cache file if you give it 4783# the --recheck option to rerun configure. 4784# 4785# `ac_cv_env_foo' variables (set or unset) will be overridden when 4786# loading this file, other *unset* `ac_cv_foo' will be assigned the 4787# following values. 4788 4789_ACEOF 4790 4791# The following way of writing the cache mishandles newlines in values, 4792# but we know of no workaround that is simple, portable, and efficient. 4793# So, we kill variables containing newlines. 4794# Ultrix sh set writes to stderr and can't be redirected directly, 4795# and sets the high bit in the cache file unless we assign to the vars. 4796( 4797 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4798 eval ac_val=\$$ac_var 4799 case $ac_val in #( 4800 *${as_nl}*) 4801 case $ac_var in #( 4802 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4803$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4804 esac 4805 case $ac_var in #( 4806 _ | IFS | as_nl) ;; #( 4807 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4808 *) { eval $ac_var=; unset $ac_var;} ;; 4809 esac ;; 4810 esac 4811 done 4812 4813 (set) 2>&1 | 4814 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4815 *${as_nl}ac_space=\ *) 4816 # `set' does not quote correctly, so add quotes: double-quote 4817 # substitution turns \\\\ into \\, and sed turns \\ into \. 4818 sed -n \ 4819 "s/'/'\\\\''/g; 4820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4821 ;; #( 4822 *) 4823 # `set' quotes correctly as required by POSIX, so do not add quotes. 4824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4825 ;; 4826 esac | 4827 sort 4828) | 4829 sed ' 4830 /^ac_cv_env_/b end 4831 t clear 4832 :clear 4833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4834 t end 4835 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4836 :end' >>confcache 4837if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4838 if test -w "$cache_file"; then 4839 if test "x$cache_file" != "x/dev/null"; then 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4841$as_echo "$as_me: updating cache $cache_file" >&6;} 4842 if test ! -f "$cache_file" || test -h "$cache_file"; then 4843 cat confcache >"$cache_file" 4844 else 4845 case $cache_file in #( 4846 */* | ?:*) 4847 mv -f confcache "$cache_file"$$ && 4848 mv -f "$cache_file"$$ "$cache_file" ;; #( 4849 *) 4850 mv -f confcache "$cache_file" ;; 4851 esac 4852 fi 4853 fi 4854 else 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4856$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4857 fi 4858fi 4859rm -f confcache 4860 4861test "x$prefix" = xNONE && prefix=$ac_default_prefix 4862# Let make expand exec_prefix. 4863test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4864 4865DEFS=-DHAVE_CONFIG_H 4866 4867ac_libobjs= 4868ac_ltlibobjs= 4869U= 4870for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4871 # 1. Remove the extension, and $U if already installed. 4872 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4873 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4874 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4875 # will be set to the directory where LIBOBJS objects are built. 4876 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4877 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4878done 4879LIBOBJS=$ac_libobjs 4880 4881LTLIBOBJS=$ac_ltlibobjs 4882 4883 4884 if test -n "$EXEEXT"; then 4885 am__EXEEXT_TRUE= 4886 am__EXEEXT_FALSE='#' 4887else 4888 am__EXEEXT_TRUE='#' 4889 am__EXEEXT_FALSE= 4890fi 4891 4892if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4893 as_fn_error $? "conditional \"AMDEP\" was never defined. 4894Usually this means the macro was only invoked conditionally." "$LINENO" 5 4895fi 4896if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 4897 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 4898Usually this means the macro was only invoked conditionally." "$LINENO" 5 4899fi 4900if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4901 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4902Usually this means the macro was only invoked conditionally." "$LINENO" 5 4903fi 4904if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4905 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 4906Usually this means the macro was only invoked conditionally." "$LINENO" 5 4907fi 4908 4909: "${CONFIG_STATUS=./config.status}" 4910ac_write_fail=0 4911ac_clean_files_save=$ac_clean_files 4912ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4913{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4914$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4915as_write_fail=0 4916cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4917#! $SHELL 4918# Generated by $as_me. 4919# Run this file to recreate the current configuration. 4920# Compiler output produced by configure, useful for debugging 4921# configure, is in config.log if it exists. 4922 4923debug=false 4924ac_cs_recheck=false 4925ac_cs_silent=false 4926 4927SHELL=\${CONFIG_SHELL-$SHELL} 4928export SHELL 4929_ASEOF 4930cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4931## -------------------- ## 4932## M4sh Initialization. ## 4933## -------------------- ## 4934 4935# Be more Bourne compatible 4936DUALCASE=1; export DUALCASE # for MKS sh 4937if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4938 emulate sh 4939 NULLCMD=: 4940 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4941 # is contrary to our usage. Disable this feature. 4942 alias -g '${1+"$@"}'='"$@"' 4943 setopt NO_GLOB_SUBST 4944else 4945 case `(set -o) 2>/dev/null` in #( 4946 *posix*) : 4947 set -o posix ;; #( 4948 *) : 4949 ;; 4950esac 4951fi 4952 4953 4954as_nl=' 4955' 4956export as_nl 4957# Printing a long string crashes Solaris 7 /usr/bin/printf. 4958as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4959as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4960as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4961# Prefer a ksh shell builtin over an external printf program on Solaris, 4962# but without wasting forks for bash or zsh. 4963if test -z "$BASH_VERSION$ZSH_VERSION" \ 4964 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4965 as_echo='print -r --' 4966 as_echo_n='print -rn --' 4967elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4968 as_echo='printf %s\n' 4969 as_echo_n='printf %s' 4970else 4971 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4972 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4973 as_echo_n='/usr/ucb/echo -n' 4974 else 4975 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4976 as_echo_n_body='eval 4977 arg=$1; 4978 case $arg in #( 4979 *"$as_nl"*) 4980 expr "X$arg" : "X\\(.*\\)$as_nl"; 4981 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4982 esac; 4983 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4984 ' 4985 export as_echo_n_body 4986 as_echo_n='sh -c $as_echo_n_body as_echo' 4987 fi 4988 export as_echo_body 4989 as_echo='sh -c $as_echo_body as_echo' 4990fi 4991 4992# The user is always right. 4993if test "${PATH_SEPARATOR+set}" != set; then 4994 PATH_SEPARATOR=: 4995 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4996 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4997 PATH_SEPARATOR=';' 4998 } 4999fi 5000 5001 5002# IFS 5003# We need space, tab and new line, in precisely that order. Quoting is 5004# there to prevent editors from complaining about space-tab. 5005# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5006# splitting by setting IFS to empty value.) 5007IFS=" "" $as_nl" 5008 5009# Find who we are. Look in the path if we contain no directory separator. 5010as_myself= 5011case $0 in #(( 5012 *[\\/]* ) as_myself=$0 ;; 5013 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5014for as_dir in $PATH 5015do 5016 IFS=$as_save_IFS 5017 test -z "$as_dir" && as_dir=. 5018 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5019 done 5020IFS=$as_save_IFS 5021 5022 ;; 5023esac 5024# We did not find ourselves, most probably we were run as `sh COMMAND' 5025# in which case we are not to be found in the path. 5026if test "x$as_myself" = x; then 5027 as_myself=$0 5028fi 5029if test ! -f "$as_myself"; then 5030 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5031 exit 1 5032fi 5033 5034# Unset variables that we do not need and which cause bugs (e.g. in 5035# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5036# suppresses any "Segmentation fault" message there. '((' could 5037# trigger a bug in pdksh 5.2.14. 5038for as_var in BASH_ENV ENV MAIL MAILPATH 5039do eval test x\${$as_var+set} = xset \ 5040 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5041done 5042PS1='$ ' 5043PS2='> ' 5044PS4='+ ' 5045 5046# NLS nuisances. 5047LC_ALL=C 5048export LC_ALL 5049LANGUAGE=C 5050export LANGUAGE 5051 5052# CDPATH. 5053(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5054 5055 5056# as_fn_error STATUS ERROR [LINENO LOG_FD] 5057# ---------------------------------------- 5058# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5059# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5060# script with STATUS, using 1 if that was 0. 5061as_fn_error () 5062{ 5063 as_status=$1; test $as_status -eq 0 && as_status=1 5064 if test "$4"; then 5065 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5066 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5067 fi 5068 $as_echo "$as_me: error: $2" >&2 5069 as_fn_exit $as_status 5070} # as_fn_error 5071 5072 5073# as_fn_set_status STATUS 5074# ----------------------- 5075# Set $? to STATUS, without forking. 5076as_fn_set_status () 5077{ 5078 return $1 5079} # as_fn_set_status 5080 5081# as_fn_exit STATUS 5082# ----------------- 5083# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5084as_fn_exit () 5085{ 5086 set +e 5087 as_fn_set_status $1 5088 exit $1 5089} # as_fn_exit 5090 5091# as_fn_unset VAR 5092# --------------- 5093# Portably unset VAR. 5094as_fn_unset () 5095{ 5096 { eval $1=; unset $1;} 5097} 5098as_unset=as_fn_unset 5099# as_fn_append VAR VALUE 5100# ---------------------- 5101# Append the text in VALUE to the end of the definition contained in VAR. Take 5102# advantage of any shell optimizations that allow amortized linear growth over 5103# repeated appends, instead of the typical quadratic growth present in naive 5104# implementations. 5105if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5106 eval 'as_fn_append () 5107 { 5108 eval $1+=\$2 5109 }' 5110else 5111 as_fn_append () 5112 { 5113 eval $1=\$$1\$2 5114 } 5115fi # as_fn_append 5116 5117# as_fn_arith ARG... 5118# ------------------ 5119# Perform arithmetic evaluation on the ARGs, and store the result in the 5120# global $as_val. Take advantage of shells that can avoid forks. The arguments 5121# must be portable across $(()) and expr. 5122if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5123 eval 'as_fn_arith () 5124 { 5125 as_val=$(( $* )) 5126 }' 5127else 5128 as_fn_arith () 5129 { 5130 as_val=`expr "$@" || test $? -eq 1` 5131 } 5132fi # as_fn_arith 5133 5134 5135if expr a : '\(a\)' >/dev/null 2>&1 && 5136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5137 as_expr=expr 5138else 5139 as_expr=false 5140fi 5141 5142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5143 as_basename=basename 5144else 5145 as_basename=false 5146fi 5147 5148if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5149 as_dirname=dirname 5150else 5151 as_dirname=false 5152fi 5153 5154as_me=`$as_basename -- "$0" || 5155$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5156 X"$0" : 'X\(//\)$' \| \ 5157 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5158$as_echo X/"$0" | 5159 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5160 s//\1/ 5161 q 5162 } 5163 /^X\/\(\/\/\)$/{ 5164 s//\1/ 5165 q 5166 } 5167 /^X\/\(\/\).*/{ 5168 s//\1/ 5169 q 5170 } 5171 s/.*/./; q'` 5172 5173# Avoid depending upon Character Ranges. 5174as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5175as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5176as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5177as_cr_digits='0123456789' 5178as_cr_alnum=$as_cr_Letters$as_cr_digits 5179 5180ECHO_C= ECHO_N= ECHO_T= 5181case `echo -n x` in #((((( 5182-n*) 5183 case `echo 'xy\c'` in 5184 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5185 xy) ECHO_C='\c';; 5186 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5187 ECHO_T=' ';; 5188 esac;; 5189*) 5190 ECHO_N='-n';; 5191esac 5192 5193rm -f conf$$ conf$$.exe conf$$.file 5194if test -d conf$$.dir; then 5195 rm -f conf$$.dir/conf$$.file 5196else 5197 rm -f conf$$.dir 5198 mkdir conf$$.dir 2>/dev/null 5199fi 5200if (echo >conf$$.file) 2>/dev/null; then 5201 if ln -s conf$$.file conf$$ 2>/dev/null; then 5202 as_ln_s='ln -s' 5203 # ... but there are two gotchas: 5204 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5205 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5206 # In both cases, we have to default to `cp -p'. 5207 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5208 as_ln_s='cp -p' 5209 elif ln conf$$.file conf$$ 2>/dev/null; then 5210 as_ln_s=ln 5211 else 5212 as_ln_s='cp -p' 5213 fi 5214else 5215 as_ln_s='cp -p' 5216fi 5217rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5218rmdir conf$$.dir 2>/dev/null 5219 5220 5221# as_fn_mkdir_p 5222# ------------- 5223# Create "$as_dir" as a directory, including parents if necessary. 5224as_fn_mkdir_p () 5225{ 5226 5227 case $as_dir in #( 5228 -*) as_dir=./$as_dir;; 5229 esac 5230 test -d "$as_dir" || eval $as_mkdir_p || { 5231 as_dirs= 5232 while :; do 5233 case $as_dir in #( 5234 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5235 *) as_qdir=$as_dir;; 5236 esac 5237 as_dirs="'$as_qdir' $as_dirs" 5238 as_dir=`$as_dirname -- "$as_dir" || 5239$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5240 X"$as_dir" : 'X\(//\)[^/]' \| \ 5241 X"$as_dir" : 'X\(//\)$' \| \ 5242 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5243$as_echo X"$as_dir" | 5244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5245 s//\1/ 5246 q 5247 } 5248 /^X\(\/\/\)[^/].*/{ 5249 s//\1/ 5250 q 5251 } 5252 /^X\(\/\/\)$/{ 5253 s//\1/ 5254 q 5255 } 5256 /^X\(\/\).*/{ 5257 s//\1/ 5258 q 5259 } 5260 s/.*/./; q'` 5261 test -d "$as_dir" && break 5262 done 5263 test -z "$as_dirs" || eval "mkdir $as_dirs" 5264 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5265 5266 5267} # as_fn_mkdir_p 5268if mkdir -p . 2>/dev/null; then 5269 as_mkdir_p='mkdir -p "$as_dir"' 5270else 5271 test -d ./-p && rmdir ./-p 5272 as_mkdir_p=false 5273fi 5274 5275if test -x / >/dev/null 2>&1; then 5276 as_test_x='test -x' 5277else 5278 if ls -dL / >/dev/null 2>&1; then 5279 as_ls_L_option=L 5280 else 5281 as_ls_L_option= 5282 fi 5283 as_test_x=' 5284 eval sh -c '\'' 5285 if test -d "$1"; then 5286 test -d "$1/."; 5287 else 5288 case $1 in #( 5289 -*)set "./$1";; 5290 esac; 5291 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5292 ???[sx]*):;;*)false;;esac;fi 5293 '\'' sh 5294 ' 5295fi 5296as_executable_p=$as_test_x 5297 5298# Sed expression to map a string onto a valid CPP name. 5299as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5300 5301# Sed expression to map a string onto a valid variable name. 5302as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5303 5304 5305exec 6>&1 5306## ----------------------------------- ## 5307## Main body of $CONFIG_STATUS script. ## 5308## ----------------------------------- ## 5309_ASEOF 5310test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5311 5312cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5313# Save the log message, to keep $0 and so on meaningful, and to 5314# report actual input values of CONFIG_FILES etc. instead of their 5315# values after options handling. 5316ac_log=" 5317This file was extended by gst123 $as_me 0.3.3, which was 5318generated by GNU Autoconf 2.68. Invocation command line was 5319 5320 CONFIG_FILES = $CONFIG_FILES 5321 CONFIG_HEADERS = $CONFIG_HEADERS 5322 CONFIG_LINKS = $CONFIG_LINKS 5323 CONFIG_COMMANDS = $CONFIG_COMMANDS 5324 $ $0 $@ 5325 5326on `(hostname || uname -n) 2>/dev/null | sed 1q` 5327" 5328 5329_ACEOF 5330 5331case $ac_config_files in *" 5332"*) set x $ac_config_files; shift; ac_config_files=$*;; 5333esac 5334 5335case $ac_config_headers in *" 5336"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5337esac 5338 5339 5340cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5341# Files that config.status was made for. 5342config_files="$ac_config_files" 5343config_headers="$ac_config_headers" 5344config_commands="$ac_config_commands" 5345 5346_ACEOF 5347 5348cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5349ac_cs_usage="\ 5350\`$as_me' instantiates files and other configuration actions 5351from templates according to the current configuration. Unless the files 5352and actions are specified as TAGs, all are instantiated by default. 5353 5354Usage: $0 [OPTION]... [TAG]... 5355 5356 -h, --help print this help, then exit 5357 -V, --version print version number and configuration settings, then exit 5358 --config print configuration, then exit 5359 -q, --quiet, --silent 5360 do not print progress messages 5361 -d, --debug don't remove temporary files 5362 --recheck update $as_me by reconfiguring in the same conditions 5363 --file=FILE[:TEMPLATE] 5364 instantiate the configuration file FILE 5365 --header=FILE[:TEMPLATE] 5366 instantiate the configuration header FILE 5367 5368Configuration files: 5369$config_files 5370 5371Configuration headers: 5372$config_headers 5373 5374Configuration commands: 5375$config_commands 5376 5377Report bugs to the package provider." 5378 5379_ACEOF 5380cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5381ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5382ac_cs_version="\\ 5383gst123 config.status 0.3.3 5384configured by $0, generated by GNU Autoconf 2.68, 5385 with options \\"\$ac_cs_config\\" 5386 5387Copyright (C) 2010 Free Software Foundation, Inc. 5388This config.status script is free software; the Free Software Foundation 5389gives unlimited permission to copy, distribute and modify it." 5390 5391ac_pwd='$ac_pwd' 5392srcdir='$srcdir' 5393INSTALL='$INSTALL' 5394MKDIR_P='$MKDIR_P' 5395AWK='$AWK' 5396test -n "\$AWK" || AWK=awk 5397_ACEOF 5398 5399cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5400# The default lists apply if the user does not specify any file. 5401ac_need_defaults=: 5402while test $# != 0 5403do 5404 case $1 in 5405 --*=?*) 5406 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5407 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5408 ac_shift=: 5409 ;; 5410 --*=) 5411 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5412 ac_optarg= 5413 ac_shift=: 5414 ;; 5415 *) 5416 ac_option=$1 5417 ac_optarg=$2 5418 ac_shift=shift 5419 ;; 5420 esac 5421 5422 case $ac_option in 5423 # Handling of the options. 5424 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5425 ac_cs_recheck=: ;; 5426 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5427 $as_echo "$ac_cs_version"; exit ;; 5428 --config | --confi | --conf | --con | --co | --c ) 5429 $as_echo "$ac_cs_config"; exit ;; 5430 --debug | --debu | --deb | --de | --d | -d ) 5431 debug=: ;; 5432 --file | --fil | --fi | --f ) 5433 $ac_shift 5434 case $ac_optarg in 5435 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5436 '') as_fn_error $? "missing file argument" ;; 5437 esac 5438 as_fn_append CONFIG_FILES " '$ac_optarg'" 5439 ac_need_defaults=false;; 5440 --header | --heade | --head | --hea ) 5441 $ac_shift 5442 case $ac_optarg in 5443 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5444 esac 5445 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5446 ac_need_defaults=false;; 5447 --he | --h) 5448 # Conflict between --help and --header 5449 as_fn_error $? "ambiguous option: \`$1' 5450Try \`$0 --help' for more information.";; 5451 --help | --hel | -h ) 5452 $as_echo "$ac_cs_usage"; exit ;; 5453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5454 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5455 ac_cs_silent=: ;; 5456 5457 # This is an error. 5458 -*) as_fn_error $? "unrecognized option: \`$1' 5459Try \`$0 --help' for more information." ;; 5460 5461 *) as_fn_append ac_config_targets " $1" 5462 ac_need_defaults=false ;; 5463 5464 esac 5465 shift 5466done 5467 5468ac_configure_extra_args= 5469 5470if $ac_cs_silent; then 5471 exec 6>/dev/null 5472 ac_configure_extra_args="$ac_configure_extra_args --silent" 5473fi 5474 5475_ACEOF 5476cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5477if \$ac_cs_recheck; then 5478 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5479 shift 5480 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5481 CONFIG_SHELL='$SHELL' 5482 export CONFIG_SHELL 5483 exec "\$@" 5484fi 5485 5486_ACEOF 5487cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5488exec 5>>config.log 5489{ 5490 echo 5491 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5492## Running $as_me. ## 5493_ASBOX 5494 $as_echo "$ac_log" 5495} >&5 5496 5497_ACEOF 5498cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5499# 5500# INIT-COMMANDS 5501# 5502AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5503 5504_ACEOF 5505 5506cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5507 5508# Handling of arguments. 5509for ac_config_target in $ac_config_targets 5510do 5511 case $ac_config_target in 5512 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5513 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5514 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5515 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 5516 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 5517 5518 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5519 esac 5520done 5521 5522 5523# If the user did not use the arguments to specify the items to instantiate, 5524# then the envvar interface is used. Set only those that are not. 5525# We use the long form for the default assignment because of an extremely 5526# bizarre bug on SunOS 4.1.3. 5527if $ac_need_defaults; then 5528 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5529 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5530 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5531fi 5532 5533# Have a temporary directory for convenience. Make it in the build tree 5534# simply because there is no reason against having it here, and in addition, 5535# creating and moving files from /tmp can sometimes cause problems. 5536# Hook for its removal unless debugging. 5537# Note that there is a small window in which the directory will not be cleaned: 5538# after its creation but before its name has been assigned to `$tmp'. 5539$debug || 5540{ 5541 tmp= ac_tmp= 5542 trap 'exit_status=$? 5543 : "${ac_tmp:=$tmp}" 5544 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5545' 0 5546 trap 'as_fn_exit 1' 1 2 13 15 5547} 5548# Create a (secure) tmp directory for tmp files. 5549 5550{ 5551 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5552 test -d "$tmp" 5553} || 5554{ 5555 tmp=./conf$$-$RANDOM 5556 (umask 077 && mkdir "$tmp") 5557} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5558ac_tmp=$tmp 5559 5560# Set up the scripts for CONFIG_FILES section. 5561# No need to generate them if there are no CONFIG_FILES. 5562# This happens for instance with `./config.status config.h'. 5563if test -n "$CONFIG_FILES"; then 5564 5565 5566ac_cr=`echo X | tr X '\015'` 5567# On cygwin, bash can eat \r inside `` if the user requested igncr. 5568# But we know of no other shell where ac_cr would be empty at this 5569# point, so we can use a bashism as a fallback. 5570if test "x$ac_cr" = x; then 5571 eval ac_cr=\$\'\\r\' 5572fi 5573ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5574if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5575 ac_cs_awk_cr='\\r' 5576else 5577 ac_cs_awk_cr=$ac_cr 5578fi 5579 5580echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5581_ACEOF 5582 5583 5584{ 5585 echo "cat >conf$$subs.awk <<_ACEOF" && 5586 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5587 echo "_ACEOF" 5588} >conf$$subs.sh || 5589 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5590ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5591ac_delim='%!_!# ' 5592for ac_last_try in false false false false false :; do 5593 . ./conf$$subs.sh || 5594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5595 5596 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5597 if test $ac_delim_n = $ac_delim_num; then 5598 break 5599 elif $ac_last_try; then 5600 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5601 else 5602 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5603 fi 5604done 5605rm -f conf$$subs.sh 5606 5607cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5608cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5609_ACEOF 5610sed -n ' 5611h 5612s/^/S["/; s/!.*/"]=/ 5613p 5614g 5615s/^[^!]*!// 5616:repl 5617t repl 5618s/'"$ac_delim"'$// 5619t delim 5620:nl 5621h 5622s/\(.\{148\}\)..*/\1/ 5623t more1 5624s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5625p 5626n 5627b repl 5628:more1 5629s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5630p 5631g 5632s/.\{148\}// 5633t nl 5634:delim 5635h 5636s/\(.\{148\}\)..*/\1/ 5637t more2 5638s/["\\]/\\&/g; s/^/"/; s/$/"/ 5639p 5640b 5641:more2 5642s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5643p 5644g 5645s/.\{148\}// 5646t delim 5647' <conf$$subs.awk | sed ' 5648/^[^""]/{ 5649 N 5650 s/\n// 5651} 5652' >>$CONFIG_STATUS || ac_write_fail=1 5653rm -f conf$$subs.awk 5654cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5655_ACAWK 5656cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5657 for (key in S) S_is_set[key] = 1 5658 FS = "" 5659 5660} 5661{ 5662 line = $ 0 5663 nfields = split(line, field, "@") 5664 substed = 0 5665 len = length(field[1]) 5666 for (i = 2; i < nfields; i++) { 5667 key = field[i] 5668 keylen = length(key) 5669 if (S_is_set[key]) { 5670 value = S[key] 5671 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5672 len += length(value) + length(field[++i]) 5673 substed = 1 5674 } else 5675 len += 1 + keylen 5676 } 5677 5678 print line 5679} 5680 5681_ACAWK 5682_ACEOF 5683cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5684if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5685 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5686else 5687 cat 5688fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5689 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5690_ACEOF 5691 5692# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5693# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5694# trailing colons and then remove the whole line if VPATH becomes empty 5695# (actually we leave an empty line to preserve line numbers). 5696if test "x$srcdir" = x.; then 5697 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5698h 5699s/// 5700s/^/:/ 5701s/[ ]*$/:/ 5702s/:\$(srcdir):/:/g 5703s/:\${srcdir}:/:/g 5704s/:@srcdir@:/:/g 5705s/^:*// 5706s/:*$// 5707x 5708s/\(=[ ]*\).*/\1/ 5709G 5710s/\n// 5711s/^[^=]*=[ ]*$// 5712}' 5713fi 5714 5715cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5716fi # test -n "$CONFIG_FILES" 5717 5718# Set up the scripts for CONFIG_HEADERS section. 5719# No need to generate them if there are no CONFIG_HEADERS. 5720# This happens for instance with `./config.status Makefile'. 5721if test -n "$CONFIG_HEADERS"; then 5722cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5723BEGIN { 5724_ACEOF 5725 5726# Transform confdefs.h into an awk script `defines.awk', embedded as 5727# here-document in config.status, that substitutes the proper values into 5728# config.h.in to produce config.h. 5729 5730# Create a delimiter string that does not exist in confdefs.h, to ease 5731# handling of long lines. 5732ac_delim='%!_!# ' 5733for ac_last_try in false false :; do 5734 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5735 if test -z "$ac_tt"; then 5736 break 5737 elif $ac_last_try; then 5738 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5739 else 5740 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5741 fi 5742done 5743 5744# For the awk script, D is an array of macro values keyed by name, 5745# likewise P contains macro parameters if any. Preserve backslash 5746# newline sequences. 5747 5748ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5749sed -n ' 5750s/.\{148\}/&'"$ac_delim"'/g 5751t rset 5752:rset 5753s/^[ ]*#[ ]*define[ ][ ]*/ / 5754t def 5755d 5756:def 5757s/\\$// 5758t bsnl 5759s/["\\]/\\&/g 5760s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5761D["\1"]=" \3"/p 5762s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5763d 5764:bsnl 5765s/["\\]/\\&/g 5766s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5767D["\1"]=" \3\\\\\\n"\\/p 5768t cont 5769s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5770t cont 5771d 5772:cont 5773n 5774s/.\{148\}/&'"$ac_delim"'/g 5775t clear 5776:clear 5777s/\\$// 5778t bsnlc 5779s/["\\]/\\&/g; s/^/"/; s/$/"/p 5780d 5781:bsnlc 5782s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5783b cont 5784' <confdefs.h | sed ' 5785s/'"$ac_delim"'/"\\\ 5786"/g' >>$CONFIG_STATUS || ac_write_fail=1 5787 5788cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5789 for (key in D) D_is_set[key] = 1 5790 FS = "" 5791} 5792/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5793 line = \$ 0 5794 split(line, arg, " ") 5795 if (arg[1] == "#") { 5796 defundef = arg[2] 5797 mac1 = arg[3] 5798 } else { 5799 defundef = substr(arg[1], 2) 5800 mac1 = arg[2] 5801 } 5802 split(mac1, mac2, "(") #) 5803 macro = mac2[1] 5804 prefix = substr(line, 1, index(line, defundef) - 1) 5805 if (D_is_set[macro]) { 5806 # Preserve the white space surrounding the "#". 5807 print prefix "define", macro P[macro] D[macro] 5808 next 5809 } else { 5810 # Replace #undef with comments. This is necessary, for example, 5811 # in the case of _POSIX_SOURCE, which is predefined and required 5812 # on some systems where configure will not decide to define it. 5813 if (defundef == "undef") { 5814 print "/*", prefix defundef, macro, "*/" 5815 next 5816 } 5817 } 5818} 5819{ print } 5820_ACAWK 5821_ACEOF 5822cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5823 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5824fi # test -n "$CONFIG_HEADERS" 5825 5826 5827eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 5828shift 5829for ac_tag 5830do 5831 case $ac_tag in 5832 :[FHLC]) ac_mode=$ac_tag; continue;; 5833 esac 5834 case $ac_mode$ac_tag in 5835 :[FHL]*:*);; 5836 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5837 :[FH]-) ac_tag=-:-;; 5838 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5839 esac 5840 ac_save_IFS=$IFS 5841 IFS=: 5842 set x $ac_tag 5843 IFS=$ac_save_IFS 5844 shift 5845 ac_file=$1 5846 shift 5847 5848 case $ac_mode in 5849 :L) ac_source=$1;; 5850 :[FH]) 5851 ac_file_inputs= 5852 for ac_f 5853 do 5854 case $ac_f in 5855 -) ac_f="$ac_tmp/stdin";; 5856 *) # Look for the file first in the build tree, then in the source tree 5857 # (if the path is not absolute). The absolute path cannot be DOS-style, 5858 # because $ac_f cannot contain `:'. 5859 test -f "$ac_f" || 5860 case $ac_f in 5861 [\\/$]*) false;; 5862 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5863 esac || 5864 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5865 esac 5866 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5867 as_fn_append ac_file_inputs " '$ac_f'" 5868 done 5869 5870 # Let's still pretend it is `configure' which instantiates (i.e., don't 5871 # use $as_me), people would be surprised to read: 5872 # /* config.h. Generated by config.status. */ 5873 configure_input='Generated from '` 5874 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5875 `' by configure.' 5876 if test x"$ac_file" != x-; then 5877 configure_input="$ac_file. $configure_input" 5878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5879$as_echo "$as_me: creating $ac_file" >&6;} 5880 fi 5881 # Neutralize special characters interpreted by sed in replacement strings. 5882 case $configure_input in #( 5883 *\&* | *\|* | *\\* ) 5884 ac_sed_conf_input=`$as_echo "$configure_input" | 5885 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5886 *) ac_sed_conf_input=$configure_input;; 5887 esac 5888 5889 case $ac_tag in 5890 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5892 esac 5893 ;; 5894 esac 5895 5896 ac_dir=`$as_dirname -- "$ac_file" || 5897$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5898 X"$ac_file" : 'X\(//\)[^/]' \| \ 5899 X"$ac_file" : 'X\(//\)$' \| \ 5900 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5901$as_echo X"$ac_file" | 5902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5903 s//\1/ 5904 q 5905 } 5906 /^X\(\/\/\)[^/].*/{ 5907 s//\1/ 5908 q 5909 } 5910 /^X\(\/\/\)$/{ 5911 s//\1/ 5912 q 5913 } 5914 /^X\(\/\).*/{ 5915 s//\1/ 5916 q 5917 } 5918 s/.*/./; q'` 5919 as_dir="$ac_dir"; as_fn_mkdir_p 5920 ac_builddir=. 5921 5922case "$ac_dir" in 5923.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5924*) 5925 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5926 # A ".." for each directory in $ac_dir_suffix. 5927 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5928 case $ac_top_builddir_sub in 5929 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5930 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5931 esac ;; 5932esac 5933ac_abs_top_builddir=$ac_pwd 5934ac_abs_builddir=$ac_pwd$ac_dir_suffix 5935# for backward compatibility: 5936ac_top_builddir=$ac_top_build_prefix 5937 5938case $srcdir in 5939 .) # We are building in place. 5940 ac_srcdir=. 5941 ac_top_srcdir=$ac_top_builddir_sub 5942 ac_abs_top_srcdir=$ac_pwd ;; 5943 [\\/]* | ?:[\\/]* ) # Absolute name. 5944 ac_srcdir=$srcdir$ac_dir_suffix; 5945 ac_top_srcdir=$srcdir 5946 ac_abs_top_srcdir=$srcdir ;; 5947 *) # Relative name. 5948 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5949 ac_top_srcdir=$ac_top_build_prefix$srcdir 5950 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5951esac 5952ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5953 5954 5955 case $ac_mode in 5956 :F) 5957 # 5958 # CONFIG_FILE 5959 # 5960 5961 case $INSTALL in 5962 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5963 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5964 esac 5965 ac_MKDIR_P=$MKDIR_P 5966 case $MKDIR_P in 5967 [\\/$]* | ?:[\\/]* ) ;; 5968 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5969 esac 5970_ACEOF 5971 5972cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5973# If the template does not know about datarootdir, expand it. 5974# FIXME: This hack should be removed a few years after 2.60. 5975ac_datarootdir_hack=; ac_datarootdir_seen= 5976ac_sed_dataroot=' 5977/datarootdir/ { 5978 p 5979 q 5980} 5981/@datadir@/p 5982/@docdir@/p 5983/@infodir@/p 5984/@localedir@/p 5985/@mandir@/p' 5986case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5987*datarootdir*) ac_datarootdir_seen=yes;; 5988*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5990$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5991_ACEOF 5992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5993 ac_datarootdir_hack=' 5994 s&@datadir@&$datadir&g 5995 s&@docdir@&$docdir&g 5996 s&@infodir@&$infodir&g 5997 s&@localedir@&$localedir&g 5998 s&@mandir@&$mandir&g 5999 s&\\\${datarootdir}&$datarootdir&g' ;; 6000esac 6001_ACEOF 6002 6003# Neutralize VPATH when `$srcdir' = `.'. 6004# Shell code in configure.ac might set extrasub. 6005# FIXME: do we really want to maintain this feature? 6006cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6007ac_sed_extra="$ac_vpsub 6008$extrasub 6009_ACEOF 6010cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6011:t 6012/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6013s|@configure_input@|$ac_sed_conf_input|;t t 6014s&@top_builddir@&$ac_top_builddir_sub&;t t 6015s&@top_build_prefix@&$ac_top_build_prefix&;t t 6016s&@srcdir@&$ac_srcdir&;t t 6017s&@abs_srcdir@&$ac_abs_srcdir&;t t 6018s&@top_srcdir@&$ac_top_srcdir&;t t 6019s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6020s&@builddir@&$ac_builddir&;t t 6021s&@abs_builddir@&$ac_abs_builddir&;t t 6022s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6023s&@INSTALL@&$ac_INSTALL&;t t 6024s&@MKDIR_P@&$ac_MKDIR_P&;t t 6025$ac_datarootdir_hack 6026" 6027eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6028 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6029 6030test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6031 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6032 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6033 "$ac_tmp/out"`; test -z "$ac_out"; } && 6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6035which seems to be undefined. Please make sure it is defined" >&5 6036$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6037which seems to be undefined. Please make sure it is defined" >&2;} 6038 6039 rm -f "$ac_tmp/stdin" 6040 case $ac_file in 6041 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6042 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6043 esac \ 6044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6045 ;; 6046 :H) 6047 # 6048 # CONFIG_HEADER 6049 # 6050 if test x"$ac_file" != x-; then 6051 { 6052 $as_echo "/* $configure_input */" \ 6053 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 6054 } >"$ac_tmp/config.h" \ 6055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6056 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 6057 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6058$as_echo "$as_me: $ac_file is unchanged" >&6;} 6059 else 6060 rm -f "$ac_file" 6061 mv "$ac_tmp/config.h" "$ac_file" \ 6062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6063 fi 6064 else 6065 $as_echo "/* $configure_input */" \ 6066 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 6067 || as_fn_error $? "could not create -" "$LINENO" 5 6068 fi 6069# Compute "$ac_file"'s index in $config_headers. 6070_am_arg="$ac_file" 6071_am_stamp_count=1 6072for _am_header in $config_headers :; do 6073 case $_am_header in 6074 $_am_arg | $_am_arg:* ) 6075 break ;; 6076 * ) 6077 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6078 esac 6079done 6080echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6081$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6082 X"$_am_arg" : 'X\(//\)[^/]' \| \ 6083 X"$_am_arg" : 'X\(//\)$' \| \ 6084 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6085$as_echo X"$_am_arg" | 6086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6087 s//\1/ 6088 q 6089 } 6090 /^X\(\/\/\)[^/].*/{ 6091 s//\1/ 6092 q 6093 } 6094 /^X\(\/\/\)$/{ 6095 s//\1/ 6096 q 6097 } 6098 /^X\(\/\).*/{ 6099 s//\1/ 6100 q 6101 } 6102 s/.*/./; q'`/stamp-h$_am_stamp_count 6103 ;; 6104 6105 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6106$as_echo "$as_me: executing $ac_file commands" >&6;} 6107 ;; 6108 esac 6109 6110 6111 case $ac_file$ac_mode in 6112 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6113 # Autoconf 2.62 quotes --file arguments for eval, but not when files 6114 # are listed without --file. Let's play safe and only enable the eval 6115 # if we detect the quoting. 6116 case $CONFIG_FILES in 6117 *\'*) eval set x "$CONFIG_FILES" ;; 6118 *) set x $CONFIG_FILES ;; 6119 esac 6120 shift 6121 for mf 6122 do 6123 # Strip MF so we end up with the name of the file. 6124 mf=`echo "$mf" | sed -e 's/:.*$//'` 6125 # Check whether this is an Automake generated Makefile or not. 6126 # We used to match only the files named `Makefile.in', but 6127 # some people rename them; so instead we look at the file content. 6128 # Grep'ing the first line is not enough: some people post-process 6129 # each Makefile.in and add a new line on top of each file to say so. 6130 # Grep'ing the whole file is not good either: AIX grep has a line 6131 # limit of 2048, but all sed's we know have understand at least 4000. 6132 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6133 dirpart=`$as_dirname -- "$mf" || 6134$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6135 X"$mf" : 'X\(//\)[^/]' \| \ 6136 X"$mf" : 'X\(//\)$' \| \ 6137 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6138$as_echo X"$mf" | 6139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6140 s//\1/ 6141 q 6142 } 6143 /^X\(\/\/\)[^/].*/{ 6144 s//\1/ 6145 q 6146 } 6147 /^X\(\/\/\)$/{ 6148 s//\1/ 6149 q 6150 } 6151 /^X\(\/\).*/{ 6152 s//\1/ 6153 q 6154 } 6155 s/.*/./; q'` 6156 else 6157 continue 6158 fi 6159 # Extract the definition of DEPDIR, am__include, and am__quote 6160 # from the Makefile without running `make'. 6161 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6162 test -z "$DEPDIR" && continue 6163 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6164 test -z "am__include" && continue 6165 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6166 # When using ansi2knr, U may be empty or an underscore; expand it 6167 U=`sed -n 's/^U = //p' < "$mf"` 6168 # Find all dependency output files, they are included files with 6169 # $(DEPDIR) in their names. We invoke sed twice because it is the 6170 # simplest approach to changing $(DEPDIR) to its actual value in the 6171 # expansion. 6172 for file in `sed -n " 6173 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6174 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6175 # Make sure the directory exists. 6176 test -f "$dirpart/$file" && continue 6177 fdir=`$as_dirname -- "$file" || 6178$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6179 X"$file" : 'X\(//\)[^/]' \| \ 6180 X"$file" : 'X\(//\)$' \| \ 6181 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6182$as_echo X"$file" | 6183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6184 s//\1/ 6185 q 6186 } 6187 /^X\(\/\/\)[^/].*/{ 6188 s//\1/ 6189 q 6190 } 6191 /^X\(\/\/\)$/{ 6192 s//\1/ 6193 q 6194 } 6195 /^X\(\/\).*/{ 6196 s//\1/ 6197 q 6198 } 6199 s/.*/./; q'` 6200 as_dir=$dirpart/$fdir; as_fn_mkdir_p 6201 # echo "creating $dirpart/$file" 6202 echo '# dummy' > "$dirpart/$file" 6203 done 6204 done 6205} 6206 ;; 6207 6208 esac 6209done # for ac_tag 6210 6211 6212as_fn_exit 0 6213_ACEOF 6214ac_clean_files=$ac_clean_files_save 6215 6216test $ac_write_fail = 0 || 6217 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6218 6219 6220# configure is writing to config.log, and then calls config.status. 6221# config.status does its own redirection, appending to config.log. 6222# Unfortunately, on DOS this fails, as config.log is still kept open 6223# by configure, so config.status won't be able to write to it; its 6224# output is simply discarded. So we exec the FD to /dev/null, 6225# effectively closing config.log, so it can be properly (re)opened and 6226# appended to by config.status. When coming back to configure, we 6227# need to make the FD available again. 6228if test "$no_create" != yes; then 6229 ac_cs_success=: 6230 ac_config_status_args= 6231 test "$silent" = yes && 6232 ac_config_status_args="$ac_config_status_args --quiet" 6233 exec 5>/dev/null 6234 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6235 exec 5>>config.log 6236 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6237 # would make configure fail if this is the last instruction. 6238 $ac_cs_success || as_fn_exit 1 6239fi 6240if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6242$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6243fi 6244 6245