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