1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Bino 1.6.5. 4# 5# Report bugs to <bino-list@nongnu.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270$0: bino-list@nongnu.org about your system, including any 271$0: error possibly output before this message. Then install 272$0: a modern shell, or manually run the script under such a 273$0: shell if you do have one." 274 fi 275 exit 1 276fi 277fi 278fi 279SHELL=${CONFIG_SHELL-/bin/sh} 280export SHELL 281# Unset more variables known to interfere with behavior of common tools. 282CLICOLOR_FORCE= GREP_OPTIONS= 283unset CLICOLOR_FORCE GREP_OPTIONS 284 285## --------------------- ## 286## M4sh Shell Functions. ## 287## --------------------- ## 288# as_fn_unset VAR 289# --------------- 290# Portably unset VAR. 291as_fn_unset () 292{ 293 { eval $1=; unset $1;} 294} 295as_unset=as_fn_unset 296 297# as_fn_set_status STATUS 298# ----------------------- 299# Set $? to STATUS, without forking. 300as_fn_set_status () 301{ 302 return $1 303} # as_fn_set_status 304 305# as_fn_exit STATUS 306# ----------------- 307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308as_fn_exit () 309{ 310 set +e 311 as_fn_set_status $1 312 exit $1 313} # as_fn_exit 314 315# as_fn_mkdir_p 316# ------------- 317# Create "$as_dir" as a directory, including parents if necessary. 318as_fn_mkdir_p () 319{ 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337$as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361} # as_fn_mkdir_p 362 363# as_fn_executable_p FILE 364# ----------------------- 365# Test if FILE is an executable regular file. 366as_fn_executable_p () 367{ 368 test -f "$1" && test -x "$1" 369} # as_fn_executable_p 370# as_fn_append VAR VALUE 371# ---------------------- 372# Append the text in VALUE to the end of the definition contained in VAR. Take 373# advantage of any shell optimizations that allow amortized linear growth over 374# repeated appends, instead of the typical quadratic growth present in naive 375# implementations. 376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386fi # as_fn_append 387 388# as_fn_arith ARG... 389# ------------------ 390# Perform arithmetic evaluation on the ARGs, and store the result in the 391# global $as_val. Take advantage of shells that can avoid forks. The arguments 392# must be portable across $(()) and expr. 393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403fi # as_fn_arith 404 405 406# as_fn_error STATUS ERROR [LINENO LOG_FD] 407# ---------------------------------------- 408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410# script with STATUS, using 1 if that was 0. 411as_fn_error () 412{ 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420} # as_fn_error 421 422if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 424 as_expr=expr 425else 426 as_expr=false 427fi 428 429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430 as_basename=basename 431else 432 as_basename=false 433fi 434 435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437else 438 as_dirname=false 439fi 440 441as_me=`$as_basename -- "$0" || 442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 443 X"$0" : 'X\(//\)$' \| \ 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445$as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 460# Avoid depending upon Character Ranges. 461as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464as_cr_digits='0123456789' 465as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 482 N 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 485 t loop 486 s/-\n.*// 487 ' >$as_me.lineno && 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501} 502 503ECHO_C= ECHO_N= ECHO_T= 504case `echo -n x` in #((((( 505-n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512*) 513 ECHO_N='-n';; 514esac 515 516rm -f conf$$ conf$$.exe conf$$.file 517if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522fi 523if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 534 else 535 as_ln_s='cp -pR' 536 fi 537else 538 as_ln_s='cp -pR' 539fi 540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541rmdir conf$$.dir 2>/dev/null 542 543if mkdir -p . 2>/dev/null; then 544 as_mkdir_p='mkdir -p "$as_dir"' 545else 546 test -d ./-p && rmdir ./-p 547 as_mkdir_p=false 548fi 549 550as_test_x='test -x' 551as_executable_p=as_fn_executable_p 552 553# Sed expression to map a string onto a valid CPP name. 554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 555 556# Sed expression to map a string onto a valid variable name. 557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 558 559 560test -n "$DJDIR" || exec 7<&0 </dev/null 561exec 6>&1 562 563# Name of the host. 564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 565# so uname gets run too. 566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 567 568# 569# Initializations. 570# 571ac_default_prefix=/usr/local 572ac_clean_files= 573ac_config_libobj_dir=. 574LIBOBJS= 575cross_compiling=no 576subdirs= 577MFLAGS= 578MAKEFLAGS= 579 580# Identity of this package. 581PACKAGE_NAME='Bino' 582PACKAGE_TARNAME='bino' 583PACKAGE_VERSION='1.6.5' 584PACKAGE_STRING='Bino 1.6.5' 585PACKAGE_BUGREPORT='bino-list@nongnu.org' 586PACKAGE_URL='http://bino3d.org/' 587 588ac_unique_file="src/main.cpp" 589# Factoring default headers for most tests. 590ac_includes_default="\ 591#include <stdio.h> 592#ifdef HAVE_SYS_TYPES_H 593# include <sys/types.h> 594#endif 595#ifdef HAVE_SYS_STAT_H 596# include <sys/stat.h> 597#endif 598#ifdef STDC_HEADERS 599# include <stdlib.h> 600# include <stddef.h> 601#else 602# ifdef HAVE_STDLIB_H 603# include <stdlib.h> 604# endif 605#endif 606#ifdef HAVE_STRING_H 607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 608# include <memory.h> 609# endif 610# include <string.h> 611#endif 612#ifdef HAVE_STRINGS_H 613# include <strings.h> 614#endif 615#ifdef HAVE_INTTYPES_H 616# include <inttypes.h> 617#endif 618#ifdef HAVE_STDINT_H 619# include <stdint.h> 620#endif 621#ifdef HAVE_UNISTD_H 622# include <unistd.h> 623#endif" 624 625gt_needs= 626ac_subst_vars='am__EXEEXT_FALSE 627am__EXEEXT_TRUE 628LTLIBOBJS 629LIBOBJS 630UPDATE_DESKTOP_DATABASE 631GTK_UPDATE_ICON_CACHE 632HAVE_LIRC_FALSE 633HAVE_LIRC_TRUE 634lirc_LIBS 635lirc_CFLAGS 636libgl_LIBS 637libgl_CFLAGS 638HAVE_LIBXNVCTRL_FALSE 639HAVE_LIBXNVCTRL_TRUE 640xnvctrl_LDFLAGS 641xnvctrl_CFLAGS 642HAVE_LIBGLEWMX_FALSE 643HAVE_LIBGLEWMX_TRUE 644libglewmx_LIBS 645libglewmx_CFLAGS 646HAVE_LIBEQUALIZER_FALSE 647HAVE_LIBEQUALIZER_TRUE 648libEqualizer_LIBS 649libEqualizer_CFLAGS 650libX11_LIBS 651libX11_CFLAGS 652ac_ct_MOC 653ac_ct_RCC 654libqtopengl_LIBS 655libqtopengl_CFLAGS 656MOC 657RCC 658CXXCPP 659libopenal_LIBS 660libopenal_CFLAGS 661libass_LIBS 662libass_CFLAGS 663libswscale_LIBS 664libswscale_CFLAGS 665libavdevice_LIBS 666libavdevice_CFLAGS 667libavformat_LIBS 668libavformat_CFLAGS 669PKG_CONFIG_LIBDIR 670PKG_CONFIG_PATH 671PKG_CONFIG 672POSUB 673LTLIBINTL 674LIBINTL 675INTLLIBS 676INTL_MACOSX_LIBS 677XGETTEXT_EXTRA_OPTIONS 678MSGMERGE 679XGETTEXT_015 680XGETTEXT 681GMSGFMT_015 682MSGFMT_015 683GMSGFMT 684MSGFMT 685GETTEXT_MACRO_VERSION 686USE_NLS 687SED 688LTLIBICONV 689LIBICONV 690W32_FALSE 691W32_TRUE 692HAVE_MAKENSIS_FALSE 693HAVE_MAKENSIS_TRUE 694ac_ct_MAKENSIS 695MAKENSIS 696ac_ct_WINDRES 697WINDRES 698LN_S 699RANLIB 700am__fastdepCXX_FALSE 701am__fastdepCXX_TRUE 702CXXDEPMODE 703ac_ct_CXX 704CXXFLAGS 705CXX 706AM_BACKSLASH 707AM_DEFAULT_VERBOSITY 708AM_DEFAULT_V 709AM_V 710am__fastdepCC_FALSE 711am__fastdepCC_TRUE 712CCDEPMODE 713am__nodep 714AMDEPBACKSLASH 715AMDEP_FALSE 716AMDEP_TRUE 717am__quote 718am__include 719DEPDIR 720am__untar 721am__tar 722AMTAR 723am__leading_dot 724SET_MAKE 725AWK 726mkdir_p 727MKDIR_P 728INSTALL_STRIP_PROGRAM 729STRIP 730install_sh 731MAKEINFO 732AUTOHEADER 733AUTOMAKE 734AUTOCONF 735ACLOCAL 736VERSION 737PACKAGE 738CYGPATH_W 739am__isrc 740INSTALL_DATA 741INSTALL_SCRIPT 742INSTALL_PROGRAM 743EGREP 744GREP 745CPP 746OBJEXT 747EXEEXT 748ac_ct_CC 749CPPFLAGS 750LDFLAGS 751CFLAGS 752CC 753target_os 754target_vendor 755target_cpu 756target 757host_os 758host_vendor 759host_cpu 760host 761build_os 762build_vendor 763build_cpu 764build 765target_alias 766host_alias 767build_alias 768LIBS 769ECHO_T 770ECHO_N 771ECHO_C 772DEFS 773mandir 774localedir 775libdir 776psdir 777pdfdir 778dvidir 779htmldir 780infodir 781docdir 782oldincludedir 783includedir 784runstatedir 785localstatedir 786sharedstatedir 787sysconfdir 788datadir 789datarootdir 790libexecdir 791sbindir 792bindir 793program_transform_name 794prefix 795exec_prefix 796PACKAGE_URL 797PACKAGE_BUGREPORT 798PACKAGE_STRING 799PACKAGE_VERSION 800PACKAGE_TARNAME 801PACKAGE_NAME 802PATH_SEPARATOR 803SHELL' 804ac_subst_files='' 805ac_user_opts=' 806enable_option_checking 807enable_largefile 808enable_dependency_tracking 809enable_silent_rules 810enable_debug 811with_gnu_ld 812enable_rpath 813with_libiconv_prefix 814enable_nls 815with_libintl_prefix 816with_qt_version 817with_equalizer 818with_xnvctrl 819with_lirc 820' 821 ac_precious_vars='build_alias 822host_alias 823target_alias 824CC 825CFLAGS 826LDFLAGS 827LIBS 828CPPFLAGS 829CPP 830CXX 831CXXFLAGS 832CCC 833WINDRES 834MAKENSIS 835PKG_CONFIG 836PKG_CONFIG_PATH 837PKG_CONFIG_LIBDIR 838libavformat_CFLAGS 839libavformat_LIBS 840libavdevice_CFLAGS 841libavdevice_LIBS 842libswscale_CFLAGS 843libswscale_LIBS 844libass_CFLAGS 845libass_LIBS 846libopenal_CFLAGS 847libopenal_LIBS 848CXXCPP 849RCC 850MOC 851libqtopengl_CFLAGS 852libqtopengl_LIBS 853libX11_CFLAGS 854libX11_LIBS 855libEqualizer_CFLAGS 856libEqualizer_LIBS 857libglewmx_CFLAGS 858libglewmx_LIBS 859libgl_CFLAGS 860libgl_LIBS 861lirc_CFLAGS 862lirc_LIBS 863GTK_UPDATE_ICON_CACHE 864UPDATE_DESKTOP_DATABASE' 865 866 867# Initialize some variables set by options. 868ac_init_help= 869ac_init_version=false 870ac_unrecognized_opts= 871ac_unrecognized_sep= 872# The variables have the same names as the options, with 873# dashes changed to underlines. 874cache_file=/dev/null 875exec_prefix=NONE 876no_create= 877no_recursion= 878prefix=NONE 879program_prefix=NONE 880program_suffix=NONE 881program_transform_name=s,x,x, 882silent= 883site= 884srcdir= 885verbose= 886x_includes=NONE 887x_libraries=NONE 888 889# Installation directory options. 890# These are left unexpanded so users can "make install exec_prefix=/foo" 891# and all the variables that are supposed to be based on exec_prefix 892# by default will actually change. 893# Use braces instead of parens because sh, perl, etc. also accept them. 894# (The list follows the same order as the GNU Coding Standards.) 895bindir='${exec_prefix}/bin' 896sbindir='${exec_prefix}/sbin' 897libexecdir='${exec_prefix}/libexec' 898datarootdir='${prefix}/share' 899datadir='${datarootdir}' 900sysconfdir='${prefix}/etc' 901sharedstatedir='${prefix}/com' 902localstatedir='${prefix}/var' 903runstatedir='${localstatedir}/run' 904includedir='${prefix}/include' 905oldincludedir='/usr/include' 906docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 907infodir='${datarootdir}/info' 908htmldir='${docdir}' 909dvidir='${docdir}' 910pdfdir='${docdir}' 911psdir='${docdir}' 912libdir='${exec_prefix}/lib' 913localedir='${datarootdir}/locale' 914mandir='${datarootdir}/man' 915 916ac_prev= 917ac_dashdash= 918for ac_option 919do 920 # If the previous option needs an argument, assign it. 921 if test -n "$ac_prev"; then 922 eval $ac_prev=\$ac_option 923 ac_prev= 924 continue 925 fi 926 927 case $ac_option in 928 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 929 *=) ac_optarg= ;; 930 *) ac_optarg=yes ;; 931 esac 932 933 # Accept the important Cygnus configure options, so we can diagnose typos. 934 935 case $ac_dashdash$ac_option in 936 --) 937 ac_dashdash=yes ;; 938 939 -bindir | --bindir | --bindi | --bind | --bin | --bi) 940 ac_prev=bindir ;; 941 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 942 bindir=$ac_optarg ;; 943 944 -build | --build | --buil | --bui | --bu) 945 ac_prev=build_alias ;; 946 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 947 build_alias=$ac_optarg ;; 948 949 -cache-file | --cache-file | --cache-fil | --cache-fi \ 950 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 951 ac_prev=cache_file ;; 952 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 953 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 954 cache_file=$ac_optarg ;; 955 956 --config-cache | -C) 957 cache_file=config.cache ;; 958 959 -datadir | --datadir | --datadi | --datad) 960 ac_prev=datadir ;; 961 -datadir=* | --datadir=* | --datadi=* | --datad=*) 962 datadir=$ac_optarg ;; 963 964 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 965 | --dataroo | --dataro | --datar) 966 ac_prev=datarootdir ;; 967 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 968 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 969 datarootdir=$ac_optarg ;; 970 971 -disable-* | --disable-*) 972 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 973 # Reject names that are not valid shell variable names. 974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 975 as_fn_error $? "invalid feature name: $ac_useropt" 976 ac_useropt_orig=$ac_useropt 977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 978 case $ac_user_opts in 979 *" 980"enable_$ac_useropt" 981"*) ;; 982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 983 ac_unrecognized_sep=', ';; 984 esac 985 eval enable_$ac_useropt=no ;; 986 987 -docdir | --docdir | --docdi | --doc | --do) 988 ac_prev=docdir ;; 989 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 990 docdir=$ac_optarg ;; 991 992 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 993 ac_prev=dvidir ;; 994 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 995 dvidir=$ac_optarg ;; 996 997 -enable-* | --enable-*) 998 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 999 # Reject names that are not valid shell variable names. 1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1001 as_fn_error $? "invalid feature name: $ac_useropt" 1002 ac_useropt_orig=$ac_useropt 1003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1004 case $ac_user_opts in 1005 *" 1006"enable_$ac_useropt" 1007"*) ;; 1008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1009 ac_unrecognized_sep=', ';; 1010 esac 1011 eval enable_$ac_useropt=\$ac_optarg ;; 1012 1013 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1014 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1015 | --exec | --exe | --ex) 1016 ac_prev=exec_prefix ;; 1017 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1018 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1019 | --exec=* | --exe=* | --ex=*) 1020 exec_prefix=$ac_optarg ;; 1021 1022 -gas | --gas | --ga | --g) 1023 # Obsolete; use --with-gas. 1024 with_gas=yes ;; 1025 1026 -help | --help | --hel | --he | -h) 1027 ac_init_help=long ;; 1028 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1029 ac_init_help=recursive ;; 1030 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1031 ac_init_help=short ;; 1032 1033 -host | --host | --hos | --ho) 1034 ac_prev=host_alias ;; 1035 -host=* | --host=* | --hos=* | --ho=*) 1036 host_alias=$ac_optarg ;; 1037 1038 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1039 ac_prev=htmldir ;; 1040 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1041 | --ht=*) 1042 htmldir=$ac_optarg ;; 1043 1044 -includedir | --includedir | --includedi | --included | --include \ 1045 | --includ | --inclu | --incl | --inc) 1046 ac_prev=includedir ;; 1047 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1048 | --includ=* | --inclu=* | --incl=* | --inc=*) 1049 includedir=$ac_optarg ;; 1050 1051 -infodir | --infodir | --infodi | --infod | --info | --inf) 1052 ac_prev=infodir ;; 1053 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1054 infodir=$ac_optarg ;; 1055 1056 -libdir | --libdir | --libdi | --libd) 1057 ac_prev=libdir ;; 1058 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1059 libdir=$ac_optarg ;; 1060 1061 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1062 | --libexe | --libex | --libe) 1063 ac_prev=libexecdir ;; 1064 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1065 | --libexe=* | --libex=* | --libe=*) 1066 libexecdir=$ac_optarg ;; 1067 1068 -localedir | --localedir | --localedi | --localed | --locale) 1069 ac_prev=localedir ;; 1070 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1071 localedir=$ac_optarg ;; 1072 1073 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1074 | --localstate | --localstat | --localsta | --localst | --locals) 1075 ac_prev=localstatedir ;; 1076 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1077 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1078 localstatedir=$ac_optarg ;; 1079 1080 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1081 ac_prev=mandir ;; 1082 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1083 mandir=$ac_optarg ;; 1084 1085 -nfp | --nfp | --nf) 1086 # Obsolete; use --without-fp. 1087 with_fp=no ;; 1088 1089 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1090 | --no-cr | --no-c | -n) 1091 no_create=yes ;; 1092 1093 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1094 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1095 no_recursion=yes ;; 1096 1097 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1098 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1099 | --oldin | --oldi | --old | --ol | --o) 1100 ac_prev=oldincludedir ;; 1101 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1102 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1103 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1104 oldincludedir=$ac_optarg ;; 1105 1106 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1107 ac_prev=prefix ;; 1108 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1109 prefix=$ac_optarg ;; 1110 1111 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1112 | --program-pre | --program-pr | --program-p) 1113 ac_prev=program_prefix ;; 1114 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1115 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1116 program_prefix=$ac_optarg ;; 1117 1118 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1119 | --program-suf | --program-su | --program-s) 1120 ac_prev=program_suffix ;; 1121 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1122 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1123 program_suffix=$ac_optarg ;; 1124 1125 -program-transform-name | --program-transform-name \ 1126 | --program-transform-nam | --program-transform-na \ 1127 | --program-transform-n | --program-transform- \ 1128 | --program-transform | --program-transfor \ 1129 | --program-transfo | --program-transf \ 1130 | --program-trans | --program-tran \ 1131 | --progr-tra | --program-tr | --program-t) 1132 ac_prev=program_transform_name ;; 1133 -program-transform-name=* | --program-transform-name=* \ 1134 | --program-transform-nam=* | --program-transform-na=* \ 1135 | --program-transform-n=* | --program-transform-=* \ 1136 | --program-transform=* | --program-transfor=* \ 1137 | --program-transfo=* | --program-transf=* \ 1138 | --program-trans=* | --program-tran=* \ 1139 | --progr-tra=* | --program-tr=* | --program-t=*) 1140 program_transform_name=$ac_optarg ;; 1141 1142 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1143 ac_prev=pdfdir ;; 1144 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1145 pdfdir=$ac_optarg ;; 1146 1147 -psdir | --psdir | --psdi | --psd | --ps) 1148 ac_prev=psdir ;; 1149 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1150 psdir=$ac_optarg ;; 1151 1152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1153 | -silent | --silent | --silen | --sile | --sil) 1154 silent=yes ;; 1155 1156 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1157 | --runstate | --runstat | --runsta | --runst | --runs \ 1158 | --run | --ru | --r) 1159 ac_prev=runstatedir ;; 1160 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1161 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1162 | --run=* | --ru=* | --r=*) 1163 runstatedir=$ac_optarg ;; 1164 1165 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1166 ac_prev=sbindir ;; 1167 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1168 | --sbi=* | --sb=*) 1169 sbindir=$ac_optarg ;; 1170 1171 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1172 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1173 | --sharedst | --shareds | --shared | --share | --shar \ 1174 | --sha | --sh) 1175 ac_prev=sharedstatedir ;; 1176 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1177 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1178 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1179 | --sha=* | --sh=*) 1180 sharedstatedir=$ac_optarg ;; 1181 1182 -site | --site | --sit) 1183 ac_prev=site ;; 1184 -site=* | --site=* | --sit=*) 1185 site=$ac_optarg ;; 1186 1187 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1188 ac_prev=srcdir ;; 1189 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1190 srcdir=$ac_optarg ;; 1191 1192 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1193 | --syscon | --sysco | --sysc | --sys | --sy) 1194 ac_prev=sysconfdir ;; 1195 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1196 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1197 sysconfdir=$ac_optarg ;; 1198 1199 -target | --target | --targe | --targ | --tar | --ta | --t) 1200 ac_prev=target_alias ;; 1201 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1202 target_alias=$ac_optarg ;; 1203 1204 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1205 verbose=yes ;; 1206 1207 -version | --version | --versio | --versi | --vers | -V) 1208 ac_init_version=: ;; 1209 1210 -with-* | --with-*) 1211 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1212 # Reject names that are not valid shell variable names. 1213 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1214 as_fn_error $? "invalid package name: $ac_useropt" 1215 ac_useropt_orig=$ac_useropt 1216 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1217 case $ac_user_opts in 1218 *" 1219"with_$ac_useropt" 1220"*) ;; 1221 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1222 ac_unrecognized_sep=', ';; 1223 esac 1224 eval with_$ac_useropt=\$ac_optarg ;; 1225 1226 -without-* | --without-*) 1227 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1228 # Reject names that are not valid shell variable names. 1229 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1230 as_fn_error $? "invalid package name: $ac_useropt" 1231 ac_useropt_orig=$ac_useropt 1232 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1233 case $ac_user_opts in 1234 *" 1235"with_$ac_useropt" 1236"*) ;; 1237 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1238 ac_unrecognized_sep=', ';; 1239 esac 1240 eval with_$ac_useropt=no ;; 1241 1242 --x) 1243 # Obsolete; use --with-x. 1244 with_x=yes ;; 1245 1246 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1247 | --x-incl | --x-inc | --x-in | --x-i) 1248 ac_prev=x_includes ;; 1249 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1250 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1251 x_includes=$ac_optarg ;; 1252 1253 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1254 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1255 ac_prev=x_libraries ;; 1256 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1257 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1258 x_libraries=$ac_optarg ;; 1259 1260 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1261Try \`$0 --help' for more information" 1262 ;; 1263 1264 *=*) 1265 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1266 # Reject names that are not valid shell variable names. 1267 case $ac_envvar in #( 1268 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1269 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1270 esac 1271 eval $ac_envvar=\$ac_optarg 1272 export $ac_envvar ;; 1273 1274 *) 1275 # FIXME: should be removed in autoconf 3.0. 1276 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1277 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1278 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1279 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1280 ;; 1281 1282 esac 1283done 1284 1285if test -n "$ac_prev"; then 1286 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1287 as_fn_error $? "missing argument to $ac_option" 1288fi 1289 1290if test -n "$ac_unrecognized_opts"; then 1291 case $enable_option_checking in 1292 no) ;; 1293 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1294 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1295 esac 1296fi 1297 1298# Check all directory arguments for consistency. 1299for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1300 datadir sysconfdir sharedstatedir localstatedir includedir \ 1301 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1302 libdir localedir mandir runstatedir 1303do 1304 eval ac_val=\$$ac_var 1305 # Remove trailing slashes. 1306 case $ac_val in 1307 */ ) 1308 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1309 eval $ac_var=\$ac_val;; 1310 esac 1311 # Be sure to have absolute directory names. 1312 case $ac_val in 1313 [\\/$]* | ?:[\\/]* ) continue;; 1314 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1315 esac 1316 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1317done 1318 1319# There might be people who depend on the old broken behavior: `$host' 1320# used to hold the argument of --host etc. 1321# FIXME: To remove some day. 1322build=$build_alias 1323host=$host_alias 1324target=$target_alias 1325 1326# FIXME: To remove some day. 1327if test "x$host_alias" != x; then 1328 if test "x$build_alias" = x; then 1329 cross_compiling=maybe 1330 elif test "x$build_alias" != "x$host_alias"; then 1331 cross_compiling=yes 1332 fi 1333fi 1334 1335ac_tool_prefix= 1336test -n "$host_alias" && ac_tool_prefix=$host_alias- 1337 1338test "$silent" = yes && exec 6>/dev/null 1339 1340 1341ac_pwd=`pwd` && test -n "$ac_pwd" && 1342ac_ls_di=`ls -di .` && 1343ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1344 as_fn_error $? "working directory cannot be determined" 1345test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1346 as_fn_error $? "pwd does not report name of working directory" 1347 1348 1349# Find the source files, if location was not specified. 1350if test -z "$srcdir"; then 1351 ac_srcdir_defaulted=yes 1352 # Try the directory containing this script, then the parent directory. 1353 ac_confdir=`$as_dirname -- "$as_myself" || 1354$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1355 X"$as_myself" : 'X\(//\)[^/]' \| \ 1356 X"$as_myself" : 'X\(//\)$' \| \ 1357 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1358$as_echo X"$as_myself" | 1359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1360 s//\1/ 1361 q 1362 } 1363 /^X\(\/\/\)[^/].*/{ 1364 s//\1/ 1365 q 1366 } 1367 /^X\(\/\/\)$/{ 1368 s//\1/ 1369 q 1370 } 1371 /^X\(\/\).*/{ 1372 s//\1/ 1373 q 1374 } 1375 s/.*/./; q'` 1376 srcdir=$ac_confdir 1377 if test ! -r "$srcdir/$ac_unique_file"; then 1378 srcdir=.. 1379 fi 1380else 1381 ac_srcdir_defaulted=no 1382fi 1383if test ! -r "$srcdir/$ac_unique_file"; then 1384 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1385 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1386fi 1387ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1388ac_abs_confdir=`( 1389 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1390 pwd)` 1391# When building in place, set srcdir=. 1392if test "$ac_abs_confdir" = "$ac_pwd"; then 1393 srcdir=. 1394fi 1395# Remove unnecessary trailing slashes from srcdir. 1396# Double slashes in file names in object file debugging info 1397# mess up M-x gdb in Emacs. 1398case $srcdir in 1399*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1400esac 1401for ac_var in $ac_precious_vars; do 1402 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1403 eval ac_env_${ac_var}_value=\$${ac_var} 1404 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1405 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1406done 1407 1408# 1409# Report the --help message. 1410# 1411if test "$ac_init_help" = "long"; then 1412 # Omit some internal or obsolete options to make the list less imposing. 1413 # This message is too long to be a string in the A/UX 3.1 sh. 1414 cat <<_ACEOF 1415\`configure' configures Bino 1.6.5 to adapt to many kinds of systems. 1416 1417Usage: $0 [OPTION]... [VAR=VALUE]... 1418 1419To assign environment variables (e.g., CC, CFLAGS...), specify them as 1420VAR=VALUE. See below for descriptions of some of the useful variables. 1421 1422Defaults for the options are specified in brackets. 1423 1424Configuration: 1425 -h, --help display this help and exit 1426 --help=short display options specific to this package 1427 --help=recursive display the short help of all the included packages 1428 -V, --version display version information and exit 1429 -q, --quiet, --silent do not print \`checking ...' messages 1430 --cache-file=FILE cache test results in FILE [disabled] 1431 -C, --config-cache alias for \`--cache-file=config.cache' 1432 -n, --no-create do not create output files 1433 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1434 1435Installation directories: 1436 --prefix=PREFIX install architecture-independent files in PREFIX 1437 [$ac_default_prefix] 1438 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1439 [PREFIX] 1440 1441By default, \`make install' will install all the files in 1442\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1443an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1444for instance \`--prefix=\$HOME'. 1445 1446For better control, use the options below. 1447 1448Fine tuning of the installation directories: 1449 --bindir=DIR user executables [EPREFIX/bin] 1450 --sbindir=DIR system admin executables [EPREFIX/sbin] 1451 --libexecdir=DIR program executables [EPREFIX/libexec] 1452 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1453 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1454 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1455 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1456 --libdir=DIR object code libraries [EPREFIX/lib] 1457 --includedir=DIR C header files [PREFIX/include] 1458 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1459 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1460 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1461 --infodir=DIR info documentation [DATAROOTDIR/info] 1462 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1463 --mandir=DIR man documentation [DATAROOTDIR/man] 1464 --docdir=DIR documentation root [DATAROOTDIR/doc/bino] 1465 --htmldir=DIR html documentation [DOCDIR] 1466 --dvidir=DIR dvi documentation [DOCDIR] 1467 --pdfdir=DIR pdf documentation [DOCDIR] 1468 --psdir=DIR ps documentation [DOCDIR] 1469_ACEOF 1470 1471 cat <<\_ACEOF 1472 1473Program names: 1474 --program-prefix=PREFIX prepend PREFIX to installed program names 1475 --program-suffix=SUFFIX append SUFFIX to installed program names 1476 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1477 1478System types: 1479 --build=BUILD configure for building on BUILD [guessed] 1480 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1481 --target=TARGET configure for building compilers for TARGET [HOST] 1482_ACEOF 1483fi 1484 1485if test -n "$ac_init_help"; then 1486 case $ac_init_help in 1487 short | recursive ) echo "Configuration of Bino 1.6.5:";; 1488 esac 1489 cat <<\_ACEOF 1490 1491Optional Features: 1492 --disable-option-checking ignore unrecognized --enable/--with options 1493 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1494 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1495 --disable-largefile omit support for large files 1496 --enable-dependency-tracking 1497 do not reject slow dependency extractors 1498 --disable-dependency-tracking 1499 speeds up one-time build 1500 --enable-silent-rules less verbose build output (undo: "make V=1") 1501 --disable-silent-rules verbose build output (undo: "make V=0") 1502 --enable-debug Enable debugging checks. Disabled by default. 1503 --disable-rpath do not hardcode runtime library paths 1504 --disable-nls do not use Native Language Support 1505 1506Optional Packages: 1507 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1508 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1509 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1510 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1511 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1512 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1513 --without-libintl-prefix don't search for libintl in includedir and libdir 1514 --with-qt-version Choose Qt version. Currently 4 or 5; 5 is the 1515 default. 1516 --without-equalizer Disable multi-display support via Equalizer (enabled 1517 by default) 1518 --with-xnvctrl Enable NVIDIA Quadro SDI output (disabled by 1519 default) 1520 --without-lirc Disable remote control support via lirc (enabled by 1521 default) 1522 1523Some influential environment variables: 1524 CC C compiler command 1525 CFLAGS C compiler flags 1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1527 nonstandard directory <lib dir> 1528 LIBS libraries to pass to the linker, e.g. -l<library> 1529 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1530 you have headers in a nonstandard directory <include dir> 1531 CPP C preprocessor 1532 CXX C++ compiler command 1533 CXXFLAGS C++ compiler flags 1534 WINDRES windres command 1535 MAKENSIS makensis command 1536 PKG_CONFIG path to pkg-config utility 1537 PKG_CONFIG_PATH 1538 directories to add to pkg-config's search path 1539 PKG_CONFIG_LIBDIR 1540 path overriding pkg-config's built-in search path 1541 libavformat_CFLAGS 1542 C compiler flags for libavformat, overriding pkg-config 1543 libavformat_LIBS 1544 linker flags for libavformat, overriding pkg-config 1545 libavdevice_CFLAGS 1546 C compiler flags for libavdevice, overriding pkg-config 1547 libavdevice_LIBS 1548 linker flags for libavdevice, overriding pkg-config 1549 libswscale_CFLAGS 1550 C compiler flags for libswscale, overriding pkg-config 1551 libswscale_LIBS 1552 linker flags for libswscale, overriding pkg-config 1553 libass_CFLAGS 1554 C compiler flags for libass, overriding pkg-config 1555 libass_LIBS linker flags for libass, overriding pkg-config 1556 libopenal_CFLAGS 1557 C compiler flags for libopenal, overriding pkg-config 1558 libopenal_LIBS 1559 linker flags for libopenal, overriding pkg-config 1560 CXXCPP C++ preprocessor 1561 RCC rcc command 1562 MOC moc command 1563 libqtopengl_CFLAGS 1564 C compiler flags for libqtopengl, overriding pkg-config 1565 libqtopengl_LIBS 1566 linker flags for libqtopengl, overriding pkg-config 1567 libX11_CFLAGS 1568 C compiler flags for libX11, overriding pkg-config 1569 libX11_LIBS linker flags for libX11, overriding pkg-config 1570 libEqualizer_CFLAGS 1571 C compiler flags for libEqualizer, overriding pkg-config 1572 libEqualizer_LIBS 1573 linker flags for libEqualizer, overriding pkg-config 1574 libglewmx_CFLAGS 1575 C compiler flags for libglewmx, overriding pkg-config 1576 libglewmx_LIBS 1577 linker flags for libglewmx, overriding pkg-config 1578 libgl_CFLAGS 1579 C compiler flags for libgl, overriding pkg-config 1580 libgl_LIBS linker flags for libgl, overriding pkg-config 1581 lirc_CFLAGS C compiler flags for lirc, overriding pkg-config 1582 lirc_LIBS linker flags for lirc, overriding pkg-config 1583 GTK_UPDATE_ICON_CACHE 1584 gtk-update-icon-cache command 1585 UPDATE_DESKTOP_DATABASE 1586 update-desktop-database command 1587 1588Use these variables to override the choices made by `configure' or to help 1589it to find libraries and programs with nonstandard names/locations. 1590 1591Report bugs to <bino-list@nongnu.org>. 1592Bino home page: <http://bino3d.org/>. 1593_ACEOF 1594ac_status=$? 1595fi 1596 1597if test "$ac_init_help" = "recursive"; then 1598 # If there are subdirs, report their specific --help. 1599 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1600 test -d "$ac_dir" || 1601 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1602 continue 1603 ac_builddir=. 1604 1605case "$ac_dir" in 1606.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1607*) 1608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1609 # A ".." for each directory in $ac_dir_suffix. 1610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1611 case $ac_top_builddir_sub in 1612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1614 esac ;; 1615esac 1616ac_abs_top_builddir=$ac_pwd 1617ac_abs_builddir=$ac_pwd$ac_dir_suffix 1618# for backward compatibility: 1619ac_top_builddir=$ac_top_build_prefix 1620 1621case $srcdir in 1622 .) # We are building in place. 1623 ac_srcdir=. 1624 ac_top_srcdir=$ac_top_builddir_sub 1625 ac_abs_top_srcdir=$ac_pwd ;; 1626 [\\/]* | ?:[\\/]* ) # Absolute name. 1627 ac_srcdir=$srcdir$ac_dir_suffix; 1628 ac_top_srcdir=$srcdir 1629 ac_abs_top_srcdir=$srcdir ;; 1630 *) # Relative name. 1631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1632 ac_top_srcdir=$ac_top_build_prefix$srcdir 1633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1634esac 1635ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1636 1637 cd "$ac_dir" || { ac_status=$?; continue; } 1638 # Check for guested configure. 1639 if test -f "$ac_srcdir/configure.gnu"; then 1640 echo && 1641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1642 elif test -f "$ac_srcdir/configure"; then 1643 echo && 1644 $SHELL "$ac_srcdir/configure" --help=recursive 1645 else 1646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1647 fi || ac_status=$? 1648 cd "$ac_pwd" || { ac_status=$?; break; } 1649 done 1650fi 1651 1652test -n "$ac_init_help" && exit $ac_status 1653if $ac_init_version; then 1654 cat <<\_ACEOF 1655Bino configure 1.6.5 1656generated by GNU Autoconf 2.69 1657 1658Copyright (C) 2012 Free Software Foundation, Inc. 1659This configure script is free software; the Free Software Foundation 1660gives unlimited permission to copy, distribute and modify it. 1661_ACEOF 1662 exit 1663fi 1664 1665## ------------------------ ## 1666## Autoconf initialization. ## 1667## ------------------------ ## 1668 1669# ac_fn_c_try_compile LINENO 1670# -------------------------- 1671# Try to compile conftest.$ac_ext, and return whether this succeeded. 1672ac_fn_c_try_compile () 1673{ 1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1675 rm -f conftest.$ac_objext 1676 if { { ac_try="$ac_compile" 1677case "(($ac_try" in 1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1679 *) ac_try_echo=$ac_try;; 1680esac 1681eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1682$as_echo "$ac_try_echo"; } >&5 1683 (eval "$ac_compile") 2>conftest.err 1684 ac_status=$? 1685 if test -s conftest.err; then 1686 grep -v '^ *+' conftest.err >conftest.er1 1687 cat conftest.er1 >&5 1688 mv -f conftest.er1 conftest.err 1689 fi 1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1691 test $ac_status = 0; } && { 1692 test -z "$ac_c_werror_flag" || 1693 test ! -s conftest.err 1694 } && test -s conftest.$ac_objext; then : 1695 ac_retval=0 1696else 1697 $as_echo "$as_me: failed program was:" >&5 1698sed 's/^/| /' conftest.$ac_ext >&5 1699 1700 ac_retval=1 1701fi 1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1703 as_fn_set_status $ac_retval 1704 1705} # ac_fn_c_try_compile 1706 1707# ac_fn_c_try_cpp LINENO 1708# ---------------------- 1709# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1710ac_fn_c_try_cpp () 1711{ 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 if { { ac_try="$ac_cpp conftest.$ac_ext" 1714case "(($ac_try" in 1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1716 *) ac_try_echo=$ac_try;; 1717esac 1718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1719$as_echo "$ac_try_echo"; } >&5 1720 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1721 ac_status=$? 1722 if test -s conftest.err; then 1723 grep -v '^ *+' conftest.err >conftest.er1 1724 cat conftest.er1 >&5 1725 mv -f conftest.er1 conftest.err 1726 fi 1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1728 test $ac_status = 0; } > conftest.i && { 1729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1730 test ! -s conftest.err 1731 }; then : 1732 ac_retval=0 1733else 1734 $as_echo "$as_me: failed program was:" >&5 1735sed 's/^/| /' conftest.$ac_ext >&5 1736 1737 ac_retval=1 1738fi 1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1740 as_fn_set_status $ac_retval 1741 1742} # ac_fn_c_try_cpp 1743 1744# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1745# ------------------------------------------------------- 1746# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1747# the include files in INCLUDES and setting the cache variable VAR 1748# accordingly. 1749ac_fn_c_check_header_mongrel () 1750{ 1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 if eval \${$3+:} false; then : 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1754$as_echo_n "checking for $2... " >&6; } 1755if eval \${$3+:} false; then : 1756 $as_echo_n "(cached) " >&6 1757fi 1758eval ac_res=\$$3 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1760$as_echo "$ac_res" >&6; } 1761else 1762 # Is the header compilable? 1763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1764$as_echo_n "checking $2 usability... " >&6; } 1765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1766/* end confdefs.h. */ 1767$4 1768#include <$2> 1769_ACEOF 1770if ac_fn_c_try_compile "$LINENO"; then : 1771 ac_header_compiler=yes 1772else 1773 ac_header_compiler=no 1774fi 1775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1777$as_echo "$ac_header_compiler" >&6; } 1778 1779# Is the header present? 1780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1781$as_echo_n "checking $2 presence... " >&6; } 1782cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1783/* end confdefs.h. */ 1784#include <$2> 1785_ACEOF 1786if ac_fn_c_try_cpp "$LINENO"; then : 1787 ac_header_preproc=yes 1788else 1789 ac_header_preproc=no 1790fi 1791rm -f conftest.err conftest.i conftest.$ac_ext 1792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1793$as_echo "$ac_header_preproc" >&6; } 1794 1795# So? What about this header? 1796case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1797 yes:no: ) 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1799$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1801$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1802 ;; 1803 no:yes:* ) 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1805$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1807$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1809$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1811$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1813$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1814( $as_echo "## ----------------------------------- ## 1815## Report this to bino-list@nongnu.org ## 1816## ----------------------------------- ##" 1817 ) | sed "s/^/$as_me: WARNING: /" >&2 1818 ;; 1819esac 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1821$as_echo_n "checking for $2... " >&6; } 1822if eval \${$3+:} false; then : 1823 $as_echo_n "(cached) " >&6 1824else 1825 eval "$3=\$ac_header_compiler" 1826fi 1827eval ac_res=\$$3 1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1829$as_echo "$ac_res" >&6; } 1830fi 1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1832 1833} # ac_fn_c_check_header_mongrel 1834 1835# ac_fn_c_try_run LINENO 1836# ---------------------- 1837# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1838# that executables *can* be run. 1839ac_fn_c_try_run () 1840{ 1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1842 if { { ac_try="$ac_link" 1843case "(($ac_try" in 1844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1845 *) ac_try_echo=$ac_try;; 1846esac 1847eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1848$as_echo "$ac_try_echo"; } >&5 1849 (eval "$ac_link") 2>&5 1850 ac_status=$? 1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1852 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1853 { { case "(($ac_try" in 1854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1855 *) ac_try_echo=$ac_try;; 1856esac 1857eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1858$as_echo "$ac_try_echo"; } >&5 1859 (eval "$ac_try") 2>&5 1860 ac_status=$? 1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1862 test $ac_status = 0; }; }; then : 1863 ac_retval=0 1864else 1865 $as_echo "$as_me: program exited with status $ac_status" >&5 1866 $as_echo "$as_me: failed program was:" >&5 1867sed 's/^/| /' conftest.$ac_ext >&5 1868 1869 ac_retval=$ac_status 1870fi 1871 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1873 as_fn_set_status $ac_retval 1874 1875} # ac_fn_c_try_run 1876 1877# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1878# ------------------------------------------------------- 1879# Tests whether HEADER exists and can be compiled using the include files in 1880# INCLUDES, setting the cache variable VAR accordingly. 1881ac_fn_c_check_header_compile () 1882{ 1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1885$as_echo_n "checking for $2... " >&6; } 1886if eval \${$3+:} false; then : 1887 $as_echo_n "(cached) " >&6 1888else 1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1890/* end confdefs.h. */ 1891$4 1892#include <$2> 1893_ACEOF 1894if ac_fn_c_try_compile "$LINENO"; then : 1895 eval "$3=yes" 1896else 1897 eval "$3=no" 1898fi 1899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1900fi 1901eval ac_res=\$$3 1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1903$as_echo "$ac_res" >&6; } 1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1905 1906} # ac_fn_c_check_header_compile 1907 1908# ac_fn_cxx_try_compile LINENO 1909# ---------------------------- 1910# Try to compile conftest.$ac_ext, and return whether this succeeded. 1911ac_fn_cxx_try_compile () 1912{ 1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1914 rm -f conftest.$ac_objext 1915 if { { ac_try="$ac_compile" 1916case "(($ac_try" in 1917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1918 *) ac_try_echo=$ac_try;; 1919esac 1920eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1921$as_echo "$ac_try_echo"; } >&5 1922 (eval "$ac_compile") 2>conftest.err 1923 ac_status=$? 1924 if test -s conftest.err; then 1925 grep -v '^ *+' conftest.err >conftest.er1 1926 cat conftest.er1 >&5 1927 mv -f conftest.er1 conftest.err 1928 fi 1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1930 test $ac_status = 0; } && { 1931 test -z "$ac_cxx_werror_flag" || 1932 test ! -s conftest.err 1933 } && test -s conftest.$ac_objext; then : 1934 ac_retval=0 1935else 1936 $as_echo "$as_me: failed program was:" >&5 1937sed 's/^/| /' conftest.$ac_ext >&5 1938 1939 ac_retval=1 1940fi 1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1942 as_fn_set_status $ac_retval 1943 1944} # ac_fn_cxx_try_compile 1945 1946# ac_fn_cxx_try_run LINENO 1947# ------------------------ 1948# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1949# that executables *can* be run. 1950ac_fn_cxx_try_run () 1951{ 1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1953 if { { ac_try="$ac_link" 1954case "(($ac_try" in 1955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1956 *) ac_try_echo=$ac_try;; 1957esac 1958eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1959$as_echo "$ac_try_echo"; } >&5 1960 (eval "$ac_link") 2>&5 1961 ac_status=$? 1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1963 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1964 { { case "(($ac_try" in 1965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1966 *) ac_try_echo=$ac_try;; 1967esac 1968eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1969$as_echo "$ac_try_echo"; } >&5 1970 (eval "$ac_try") 2>&5 1971 ac_status=$? 1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1973 test $ac_status = 0; }; }; then : 1974 ac_retval=0 1975else 1976 $as_echo "$as_me: program exited with status $ac_status" >&5 1977 $as_echo "$as_me: failed program was:" >&5 1978sed 's/^/| /' conftest.$ac_ext >&5 1979 1980 ac_retval=$ac_status 1981fi 1982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1984 as_fn_set_status $ac_retval 1985 1986} # ac_fn_cxx_try_run 1987 1988# ac_fn_cxx_try_link LINENO 1989# ------------------------- 1990# Try to link conftest.$ac_ext, and return whether this succeeded. 1991ac_fn_cxx_try_link () 1992{ 1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1994 rm -f conftest.$ac_objext conftest$ac_exeext 1995 if { { ac_try="$ac_link" 1996case "(($ac_try" in 1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1998 *) ac_try_echo=$ac_try;; 1999esac 2000eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2001$as_echo "$ac_try_echo"; } >&5 2002 (eval "$ac_link") 2>conftest.err 2003 ac_status=$? 2004 if test -s conftest.err; then 2005 grep -v '^ *+' conftest.err >conftest.er1 2006 cat conftest.er1 >&5 2007 mv -f conftest.er1 conftest.err 2008 fi 2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2010 test $ac_status = 0; } && { 2011 test -z "$ac_cxx_werror_flag" || 2012 test ! -s conftest.err 2013 } && test -s conftest$ac_exeext && { 2014 test "$cross_compiling" = yes || 2015 test -x conftest$ac_exeext 2016 }; then : 2017 ac_retval=0 2018else 2019 $as_echo "$as_me: failed program was:" >&5 2020sed 's/^/| /' conftest.$ac_ext >&5 2021 2022 ac_retval=1 2023fi 2024 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2025 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2026 # interfere with the next link command; also delete a directory that is 2027 # left behind by Apple's compiler. We do this before executing the actions. 2028 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2030 as_fn_set_status $ac_retval 2031 2032} # ac_fn_cxx_try_link 2033 2034# ac_fn_c_try_link LINENO 2035# ----------------------- 2036# Try to link conftest.$ac_ext, and return whether this succeeded. 2037ac_fn_c_try_link () 2038{ 2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2040 rm -f conftest.$ac_objext conftest$ac_exeext 2041 if { { ac_try="$ac_link" 2042case "(($ac_try" in 2043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2044 *) ac_try_echo=$ac_try;; 2045esac 2046eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2047$as_echo "$ac_try_echo"; } >&5 2048 (eval "$ac_link") 2>conftest.err 2049 ac_status=$? 2050 if test -s conftest.err; then 2051 grep -v '^ *+' conftest.err >conftest.er1 2052 cat conftest.er1 >&5 2053 mv -f conftest.er1 conftest.err 2054 fi 2055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2056 test $ac_status = 0; } && { 2057 test -z "$ac_c_werror_flag" || 2058 test ! -s conftest.err 2059 } && test -s conftest$ac_exeext && { 2060 test "$cross_compiling" = yes || 2061 test -x conftest$ac_exeext 2062 }; then : 2063 ac_retval=0 2064else 2065 $as_echo "$as_me: failed program was:" >&5 2066sed 's/^/| /' conftest.$ac_ext >&5 2067 2068 ac_retval=1 2069fi 2070 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2071 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2072 # interfere with the next link command; also delete a directory that is 2073 # left behind by Apple's compiler. We do this before executing the actions. 2074 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2076 as_fn_set_status $ac_retval 2077 2078} # ac_fn_c_try_link 2079 2080# ac_fn_c_check_func LINENO FUNC VAR 2081# ---------------------------------- 2082# Tests whether FUNC exists, setting the cache variable VAR accordingly 2083ac_fn_c_check_func () 2084{ 2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2087$as_echo_n "checking for $2... " >&6; } 2088if eval \${$3+:} false; then : 2089 $as_echo_n "(cached) " >&6 2090else 2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2092/* end confdefs.h. */ 2093/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2094 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2095#define $2 innocuous_$2 2096 2097/* System header to define __stub macros and hopefully few prototypes, 2098 which can conflict with char $2 (); below. 2099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2100 <limits.h> exists even on freestanding compilers. */ 2101 2102#ifdef __STDC__ 2103# include <limits.h> 2104#else 2105# include <assert.h> 2106#endif 2107 2108#undef $2 2109 2110/* Override any GCC internal prototype to avoid an error. 2111 Use char because int might match the return type of a GCC 2112 builtin and then its argument prototype would still apply. */ 2113#ifdef __cplusplus 2114extern "C" 2115#endif 2116char $2 (); 2117/* The GNU C library defines this for functions which it implements 2118 to always fail with ENOSYS. Some functions are actually named 2119 something starting with __ and the normal name is an alias. */ 2120#if defined __stub_$2 || defined __stub___$2 2121choke me 2122#endif 2123 2124int 2125main () 2126{ 2127return $2 (); 2128 ; 2129 return 0; 2130} 2131_ACEOF 2132if ac_fn_c_try_link "$LINENO"; then : 2133 eval "$3=yes" 2134else 2135 eval "$3=no" 2136fi 2137rm -f core conftest.err conftest.$ac_objext \ 2138 conftest$ac_exeext conftest.$ac_ext 2139fi 2140eval ac_res=\$$3 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2142$as_echo "$ac_res" >&6; } 2143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2144 2145} # ac_fn_c_check_func 2146 2147# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2148# --------------------------------------------- 2149# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2150# accordingly. 2151ac_fn_c_check_decl () 2152{ 2153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2154 as_decl_name=`echo $2|sed 's/ *(.*//'` 2155 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2157$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2158if eval \${$3+:} false; then : 2159 $as_echo_n "(cached) " >&6 2160else 2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2162/* end confdefs.h. */ 2163$4 2164int 2165main () 2166{ 2167#ifndef $as_decl_name 2168#ifdef __cplusplus 2169 (void) $as_decl_use; 2170#else 2171 (void) $as_decl_name; 2172#endif 2173#endif 2174 2175 ; 2176 return 0; 2177} 2178_ACEOF 2179if ac_fn_c_try_compile "$LINENO"; then : 2180 eval "$3=yes" 2181else 2182 eval "$3=no" 2183fi 2184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2185fi 2186eval ac_res=\$$3 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2188$as_echo "$ac_res" >&6; } 2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2190 2191} # ac_fn_c_check_decl 2192 2193# ac_fn_cxx_check_func LINENO FUNC VAR 2194# ------------------------------------ 2195# Tests whether FUNC exists, setting the cache variable VAR accordingly 2196ac_fn_cxx_check_func () 2197{ 2198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2200$as_echo_n "checking for $2... " >&6; } 2201if eval \${$3+:} false; then : 2202 $as_echo_n "(cached) " >&6 2203else 2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2205/* end confdefs.h. */ 2206/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2207 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2208#define $2 innocuous_$2 2209 2210/* System header to define __stub macros and hopefully few prototypes, 2211 which can conflict with char $2 (); below. 2212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2213 <limits.h> exists even on freestanding compilers. */ 2214 2215#ifdef __STDC__ 2216# include <limits.h> 2217#else 2218# include <assert.h> 2219#endif 2220 2221#undef $2 2222 2223/* Override any GCC internal prototype to avoid an error. 2224 Use char because int might match the return type of a GCC 2225 builtin and then its argument prototype would still apply. */ 2226#ifdef __cplusplus 2227extern "C" 2228#endif 2229char $2 (); 2230/* The GNU C library defines this for functions which it implements 2231 to always fail with ENOSYS. Some functions are actually named 2232 something starting with __ and the normal name is an alias. */ 2233#if defined __stub_$2 || defined __stub___$2 2234choke me 2235#endif 2236 2237int 2238main () 2239{ 2240return $2 (); 2241 ; 2242 return 0; 2243} 2244_ACEOF 2245if ac_fn_cxx_try_link "$LINENO"; then : 2246 eval "$3=yes" 2247else 2248 eval "$3=no" 2249fi 2250rm -f core conftest.err conftest.$ac_objext \ 2251 conftest$ac_exeext conftest.$ac_ext 2252fi 2253eval ac_res=\$$3 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2255$as_echo "$ac_res" >&6; } 2256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2257 2258} # ac_fn_cxx_check_func 2259 2260# ac_fn_cxx_try_cpp LINENO 2261# ------------------------ 2262# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2263ac_fn_cxx_try_cpp () 2264{ 2265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2266 if { { ac_try="$ac_cpp conftest.$ac_ext" 2267case "(($ac_try" in 2268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2269 *) ac_try_echo=$ac_try;; 2270esac 2271eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2272$as_echo "$ac_try_echo"; } >&5 2273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2274 ac_status=$? 2275 if test -s conftest.err; then 2276 grep -v '^ *+' conftest.err >conftest.er1 2277 cat conftest.er1 >&5 2278 mv -f conftest.er1 conftest.err 2279 fi 2280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2281 test $ac_status = 0; } > conftest.i && { 2282 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2283 test ! -s conftest.err 2284 }; then : 2285 ac_retval=0 2286else 2287 $as_echo "$as_me: failed program was:" >&5 2288sed 's/^/| /' conftest.$ac_ext >&5 2289 2290 ac_retval=1 2291fi 2292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2293 as_fn_set_status $ac_retval 2294 2295} # ac_fn_cxx_try_cpp 2296 2297# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2298# --------------------------------------------------------- 2299# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2300# the include files in INCLUDES and setting the cache variable VAR 2301# accordingly. 2302ac_fn_cxx_check_header_mongrel () 2303{ 2304 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2305 if eval \${$3+:} false; then : 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2307$as_echo_n "checking for $2... " >&6; } 2308if eval \${$3+:} false; then : 2309 $as_echo_n "(cached) " >&6 2310fi 2311eval ac_res=\$$3 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2313$as_echo "$ac_res" >&6; } 2314else 2315 # Is the header compilable? 2316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2317$as_echo_n "checking $2 usability... " >&6; } 2318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2319/* end confdefs.h. */ 2320$4 2321#include <$2> 2322_ACEOF 2323if ac_fn_cxx_try_compile "$LINENO"; then : 2324 ac_header_compiler=yes 2325else 2326 ac_header_compiler=no 2327fi 2328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2330$as_echo "$ac_header_compiler" >&6; } 2331 2332# Is the header present? 2333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2334$as_echo_n "checking $2 presence... " >&6; } 2335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2336/* end confdefs.h. */ 2337#include <$2> 2338_ACEOF 2339if ac_fn_cxx_try_cpp "$LINENO"; then : 2340 ac_header_preproc=yes 2341else 2342 ac_header_preproc=no 2343fi 2344rm -f conftest.err conftest.i conftest.$ac_ext 2345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2346$as_echo "$ac_header_preproc" >&6; } 2347 2348# So? What about this header? 2349case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2350 yes:no: ) 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2352$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2354$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2355 ;; 2356 no:yes:* ) 2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2358$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2360$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2362$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2364$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2366$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2367( $as_echo "## ----------------------------------- ## 2368## Report this to bino-list@nongnu.org ## 2369## ----------------------------------- ##" 2370 ) | sed "s/^/$as_me: WARNING: /" >&2 2371 ;; 2372esac 2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2374$as_echo_n "checking for $2... " >&6; } 2375if eval \${$3+:} false; then : 2376 $as_echo_n "(cached) " >&6 2377else 2378 eval "$3=\$ac_header_compiler" 2379fi 2380eval ac_res=\$$3 2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2382$as_echo "$ac_res" >&6; } 2383fi 2384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2385 2386} # ac_fn_cxx_check_header_mongrel 2387 2388# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 2389# --------------------------------------------------------- 2390# Tests whether HEADER exists and can be compiled using the include files in 2391# INCLUDES, setting the cache variable VAR accordingly. 2392ac_fn_cxx_check_header_compile () 2393{ 2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2396$as_echo_n "checking for $2... " >&6; } 2397if eval \${$3+:} false; then : 2398 $as_echo_n "(cached) " >&6 2399else 2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2401/* end confdefs.h. */ 2402$4 2403#include <$2> 2404_ACEOF 2405if ac_fn_cxx_try_compile "$LINENO"; then : 2406 eval "$3=yes" 2407else 2408 eval "$3=no" 2409fi 2410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2411fi 2412eval ac_res=\$$3 2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2414$as_echo "$ac_res" >&6; } 2415 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2416 2417} # ac_fn_cxx_check_header_compile 2418cat >config.log <<_ACEOF 2419This file contains any messages produced by compilers while 2420running configure, to aid debugging if configure makes a mistake. 2421 2422It was created by Bino $as_me 1.6.5, which was 2423generated by GNU Autoconf 2.69. Invocation command line was 2424 2425 $ $0 $@ 2426 2427_ACEOF 2428exec 5>>config.log 2429{ 2430cat <<_ASUNAME 2431## --------- ## 2432## Platform. ## 2433## --------- ## 2434 2435hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2436uname -m = `(uname -m) 2>/dev/null || echo unknown` 2437uname -r = `(uname -r) 2>/dev/null || echo unknown` 2438uname -s = `(uname -s) 2>/dev/null || echo unknown` 2439uname -v = `(uname -v) 2>/dev/null || echo unknown` 2440 2441/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2442/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2443 2444/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2445/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2446/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2447/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2448/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2449/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2450/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2451 2452_ASUNAME 2453 2454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2455for as_dir in $PATH 2456do 2457 IFS=$as_save_IFS 2458 test -z "$as_dir" && as_dir=. 2459 $as_echo "PATH: $as_dir" 2460 done 2461IFS=$as_save_IFS 2462 2463} >&5 2464 2465cat >&5 <<_ACEOF 2466 2467 2468## ----------- ## 2469## Core tests. ## 2470## ----------- ## 2471 2472_ACEOF 2473 2474 2475# Keep a trace of the command line. 2476# Strip out --no-create and --no-recursion so they do not pile up. 2477# Strip out --silent because we don't want to record it for future runs. 2478# Also quote any args containing shell meta-characters. 2479# Make two passes to allow for proper duplicate-argument suppression. 2480ac_configure_args= 2481ac_configure_args0= 2482ac_configure_args1= 2483ac_must_keep_next=false 2484for ac_pass in 1 2 2485do 2486 for ac_arg 2487 do 2488 case $ac_arg in 2489 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2490 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2491 | -silent | --silent | --silen | --sile | --sil) 2492 continue ;; 2493 *\'*) 2494 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2495 esac 2496 case $ac_pass in 2497 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2498 2) 2499 as_fn_append ac_configure_args1 " '$ac_arg'" 2500 if test $ac_must_keep_next = true; then 2501 ac_must_keep_next=false # Got value, back to normal. 2502 else 2503 case $ac_arg in 2504 *=* | --config-cache | -C | -disable-* | --disable-* \ 2505 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2506 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2507 | -with-* | --with-* | -without-* | --without-* | --x) 2508 case "$ac_configure_args0 " in 2509 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2510 esac 2511 ;; 2512 -* ) ac_must_keep_next=true ;; 2513 esac 2514 fi 2515 as_fn_append ac_configure_args " '$ac_arg'" 2516 ;; 2517 esac 2518 done 2519done 2520{ ac_configure_args0=; unset ac_configure_args0;} 2521{ ac_configure_args1=; unset ac_configure_args1;} 2522 2523# When interrupted or exit'd, cleanup temporary files, and complete 2524# config.log. We remove comments because anyway the quotes in there 2525# would cause problems or look ugly. 2526# WARNING: Use '\'' to represent an apostrophe within the trap. 2527# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2528trap 'exit_status=$? 2529 # Save into config.log some information that might help in debugging. 2530 { 2531 echo 2532 2533 $as_echo "## ---------------- ## 2534## Cache variables. ## 2535## ---------------- ##" 2536 echo 2537 # The following way of writing the cache mishandles newlines in values, 2538( 2539 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2540 eval ac_val=\$$ac_var 2541 case $ac_val in #( 2542 *${as_nl}*) 2543 case $ac_var in #( 2544 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2545$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2546 esac 2547 case $ac_var in #( 2548 _ | IFS | as_nl) ;; #( 2549 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2550 *) { eval $ac_var=; unset $ac_var;} ;; 2551 esac ;; 2552 esac 2553 done 2554 (set) 2>&1 | 2555 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2556 *${as_nl}ac_space=\ *) 2557 sed -n \ 2558 "s/'\''/'\''\\\\'\'''\''/g; 2559 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2560 ;; #( 2561 *) 2562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2563 ;; 2564 esac | 2565 sort 2566) 2567 echo 2568 2569 $as_echo "## ----------------- ## 2570## Output variables. ## 2571## ----------------- ##" 2572 echo 2573 for ac_var in $ac_subst_vars 2574 do 2575 eval ac_val=\$$ac_var 2576 case $ac_val in 2577 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2578 esac 2579 $as_echo "$ac_var='\''$ac_val'\''" 2580 done | sort 2581 echo 2582 2583 if test -n "$ac_subst_files"; then 2584 $as_echo "## ------------------- ## 2585## File substitutions. ## 2586## ------------------- ##" 2587 echo 2588 for ac_var in $ac_subst_files 2589 do 2590 eval ac_val=\$$ac_var 2591 case $ac_val in 2592 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2593 esac 2594 $as_echo "$ac_var='\''$ac_val'\''" 2595 done | sort 2596 echo 2597 fi 2598 2599 if test -s confdefs.h; then 2600 $as_echo "## ----------- ## 2601## confdefs.h. ## 2602## ----------- ##" 2603 echo 2604 cat confdefs.h 2605 echo 2606 fi 2607 test "$ac_signal" != 0 && 2608 $as_echo "$as_me: caught signal $ac_signal" 2609 $as_echo "$as_me: exit $exit_status" 2610 } >&5 2611 rm -f core *.core core.conftest.* && 2612 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2613 exit $exit_status 2614' 0 2615for ac_signal in 1 2 13 15; do 2616 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2617done 2618ac_signal=0 2619 2620# confdefs.h avoids OS command line length limits that DEFS can exceed. 2621rm -f -r conftest* confdefs.h 2622 2623$as_echo "/* confdefs.h */" > confdefs.h 2624 2625# Predefined preprocessor variables. 2626 2627cat >>confdefs.h <<_ACEOF 2628#define PACKAGE_NAME "$PACKAGE_NAME" 2629_ACEOF 2630 2631cat >>confdefs.h <<_ACEOF 2632#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2633_ACEOF 2634 2635cat >>confdefs.h <<_ACEOF 2636#define PACKAGE_VERSION "$PACKAGE_VERSION" 2637_ACEOF 2638 2639cat >>confdefs.h <<_ACEOF 2640#define PACKAGE_STRING "$PACKAGE_STRING" 2641_ACEOF 2642 2643cat >>confdefs.h <<_ACEOF 2644#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2645_ACEOF 2646 2647cat >>confdefs.h <<_ACEOF 2648#define PACKAGE_URL "$PACKAGE_URL" 2649_ACEOF 2650 2651 2652# Let the site file select an alternate cache file if it wants to. 2653# Prefer an explicitly selected file to automatically selected ones. 2654ac_site_file1=NONE 2655ac_site_file2=NONE 2656if test -n "$CONFIG_SITE"; then 2657 # We do not want a PATH search for config.site. 2658 case $CONFIG_SITE in #(( 2659 -*) ac_site_file1=./$CONFIG_SITE;; 2660 */*) ac_site_file1=$CONFIG_SITE;; 2661 *) ac_site_file1=./$CONFIG_SITE;; 2662 esac 2663elif test "x$prefix" != xNONE; then 2664 ac_site_file1=$prefix/share/config.site 2665 ac_site_file2=$prefix/etc/config.site 2666else 2667 ac_site_file1=$ac_default_prefix/share/config.site 2668 ac_site_file2=$ac_default_prefix/etc/config.site 2669fi 2670for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2671do 2672 test "x$ac_site_file" = xNONE && continue 2673 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2675$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2676 sed 's/^/| /' "$ac_site_file" >&5 2677 . "$ac_site_file" \ 2678 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2680as_fn_error $? "failed to load site script $ac_site_file 2681See \`config.log' for more details" "$LINENO" 5; } 2682 fi 2683done 2684 2685if test -r "$cache_file"; then 2686 # Some versions of bash will fail to source /dev/null (special files 2687 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2688 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2690$as_echo "$as_me: loading cache $cache_file" >&6;} 2691 case $cache_file in 2692 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2693 *) . "./$cache_file";; 2694 esac 2695 fi 2696else 2697 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2698$as_echo "$as_me: creating cache $cache_file" >&6;} 2699 >$cache_file 2700fi 2701 2702gt_needs="$gt_needs " 2703# Check that the precious variables saved in the cache have kept the same 2704# value. 2705ac_cache_corrupted=false 2706for ac_var in $ac_precious_vars; do 2707 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2708 eval ac_new_set=\$ac_env_${ac_var}_set 2709 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2710 eval ac_new_val=\$ac_env_${ac_var}_value 2711 case $ac_old_set,$ac_new_set in 2712 set,) 2713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2714$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2715 ac_cache_corrupted=: ;; 2716 ,set) 2717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2718$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2719 ac_cache_corrupted=: ;; 2720 ,);; 2721 *) 2722 if test "x$ac_old_val" != "x$ac_new_val"; then 2723 # differences in whitespace do not lead to failure. 2724 ac_old_val_w=`echo x $ac_old_val` 2725 ac_new_val_w=`echo x $ac_new_val` 2726 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2728$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2729 ac_cache_corrupted=: 2730 else 2731 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2732$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2733 eval $ac_var=\$ac_old_val 2734 fi 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2736$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2737 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2738$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2739 fi;; 2740 esac 2741 # Pass precious variables to config.status. 2742 if test "$ac_new_set" = set; then 2743 case $ac_new_val in 2744 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2745 *) ac_arg=$ac_var=$ac_new_val ;; 2746 esac 2747 case " $ac_configure_args " in 2748 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2749 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2750 esac 2751 fi 2752done 2753if $ac_cache_corrupted; then 2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2755$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2757$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2758 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2759fi 2760## -------------------- ## 2761## Main body of script. ## 2762## -------------------- ## 2763 2764ac_ext=c 2765ac_cpp='$CPP $CPPFLAGS' 2766ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2767ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2768ac_compiler_gnu=$ac_cv_c_compiler_gnu 2769 2770 2771 2772ac_aux_dir= 2773for ac_dir in build-aux "$srcdir"/build-aux; do 2774 if test -f "$ac_dir/install-sh"; then 2775 ac_aux_dir=$ac_dir 2776 ac_install_sh="$ac_aux_dir/install-sh -c" 2777 break 2778 elif test -f "$ac_dir/install.sh"; then 2779 ac_aux_dir=$ac_dir 2780 ac_install_sh="$ac_aux_dir/install.sh -c" 2781 break 2782 elif test -f "$ac_dir/shtool"; then 2783 ac_aux_dir=$ac_dir 2784 ac_install_sh="$ac_aux_dir/shtool install -c" 2785 break 2786 fi 2787done 2788if test -z "$ac_aux_dir"; then 2789 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2790fi 2791 2792# These three variables are undocumented and unsupported, 2793# and are intended to be withdrawn in a future Autoconf release. 2794# They can cause serious problems if a builder's source tree is in a directory 2795# whose full name contains unusual characters. 2796ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2797ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2798ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2799 2800 2801 2802ac_config_headers="$ac_config_headers config.h" 2803 2804# Make sure we can run config.sub. 2805$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2806 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2807 2808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2809$as_echo_n "checking build system type... " >&6; } 2810if ${ac_cv_build+:} false; then : 2811 $as_echo_n "(cached) " >&6 2812else 2813 ac_build_alias=$build_alias 2814test "x$ac_build_alias" = x && 2815 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2816test "x$ac_build_alias" = x && 2817 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2818ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2819 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2820 2821fi 2822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2823$as_echo "$ac_cv_build" >&6; } 2824case $ac_cv_build in 2825*-*-*) ;; 2826*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2827esac 2828build=$ac_cv_build 2829ac_save_IFS=$IFS; IFS='-' 2830set x $ac_cv_build 2831shift 2832build_cpu=$1 2833build_vendor=$2 2834shift; shift 2835# Remember, the first character of IFS is used to create $*, 2836# except with old shells: 2837build_os=$* 2838IFS=$ac_save_IFS 2839case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2840 2841 2842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2843$as_echo_n "checking host system type... " >&6; } 2844if ${ac_cv_host+:} false; then : 2845 $as_echo_n "(cached) " >&6 2846else 2847 if test "x$host_alias" = x; then 2848 ac_cv_host=$ac_cv_build 2849else 2850 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2851 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2852fi 2853 2854fi 2855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2856$as_echo "$ac_cv_host" >&6; } 2857case $ac_cv_host in 2858*-*-*) ;; 2859*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2860esac 2861host=$ac_cv_host 2862ac_save_IFS=$IFS; IFS='-' 2863set x $ac_cv_host 2864shift 2865host_cpu=$1 2866host_vendor=$2 2867shift; shift 2868# Remember, the first character of IFS is used to create $*, 2869# except with old shells: 2870host_os=$* 2871IFS=$ac_save_IFS 2872case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2873 2874 2875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2876$as_echo_n "checking target system type... " >&6; } 2877if ${ac_cv_target+:} false; then : 2878 $as_echo_n "(cached) " >&6 2879else 2880 if test "x$target_alias" = x; then 2881 ac_cv_target=$ac_cv_host 2882else 2883 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2884 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2885fi 2886 2887fi 2888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2889$as_echo "$ac_cv_target" >&6; } 2890case $ac_cv_target in 2891*-*-*) ;; 2892*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2893esac 2894target=$ac_cv_target 2895ac_save_IFS=$IFS; IFS='-' 2896set x $ac_cv_target 2897shift 2898target_cpu=$1 2899target_vendor=$2 2900shift; shift 2901# Remember, the first character of IFS is used to create $*, 2902# except with old shells: 2903target_os=$* 2904IFS=$ac_save_IFS 2905case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2906 2907 2908# The aliases save the names the user supplied, while $host etc. 2909# will get canonicalized. 2910test -n "$target_alias" && 2911 test "$program_prefix$program_suffix$program_transform_name" = \ 2912 NONENONEs,x,x, && 2913 program_prefix=${target_alias}- 2914# Expand $ac_aux_dir to an absolute path. 2915am_aux_dir=`cd "$ac_aux_dir" && pwd` 2916 2917ac_ext=c 2918ac_cpp='$CPP $CPPFLAGS' 2919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2921ac_compiler_gnu=$ac_cv_c_compiler_gnu 2922if test -n "$ac_tool_prefix"; then 2923 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2924set dummy ${ac_tool_prefix}gcc; ac_word=$2 2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2926$as_echo_n "checking for $ac_word... " >&6; } 2927if ${ac_cv_prog_CC+:} false; then : 2928 $as_echo_n "(cached) " >&6 2929else 2930 if test -n "$CC"; then 2931 ac_cv_prog_CC="$CC" # Let the user override the test. 2932else 2933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2934for as_dir in $PATH 2935do 2936 IFS=$as_save_IFS 2937 test -z "$as_dir" && as_dir=. 2938 for ac_exec_ext in '' $ac_executable_extensions; do 2939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2940 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2942 break 2 2943 fi 2944done 2945 done 2946IFS=$as_save_IFS 2947 2948fi 2949fi 2950CC=$ac_cv_prog_CC 2951if test -n "$CC"; then 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2953$as_echo "$CC" >&6; } 2954else 2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2956$as_echo "no" >&6; } 2957fi 2958 2959 2960fi 2961if test -z "$ac_cv_prog_CC"; then 2962 ac_ct_CC=$CC 2963 # Extract the first word of "gcc", so it can be a program name with args. 2964set dummy gcc; ac_word=$2 2965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2966$as_echo_n "checking for $ac_word... " >&6; } 2967if ${ac_cv_prog_ac_ct_CC+:} false; then : 2968 $as_echo_n "(cached) " >&6 2969else 2970 if test -n "$ac_ct_CC"; then 2971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2972else 2973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2974for as_dir in $PATH 2975do 2976 IFS=$as_save_IFS 2977 test -z "$as_dir" && as_dir=. 2978 for ac_exec_ext in '' $ac_executable_extensions; do 2979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2980 ac_cv_prog_ac_ct_CC="gcc" 2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2982 break 2 2983 fi 2984done 2985 done 2986IFS=$as_save_IFS 2987 2988fi 2989fi 2990ac_ct_CC=$ac_cv_prog_ac_ct_CC 2991if test -n "$ac_ct_CC"; then 2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2993$as_echo "$ac_ct_CC" >&6; } 2994else 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2996$as_echo "no" >&6; } 2997fi 2998 2999 if test "x$ac_ct_CC" = x; then 3000 CC="" 3001 else 3002 case $cross_compiling:$ac_tool_warned in 3003yes:) 3004{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3005$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3006ac_tool_warned=yes ;; 3007esac 3008 CC=$ac_ct_CC 3009 fi 3010else 3011 CC="$ac_cv_prog_CC" 3012fi 3013 3014if test -z "$CC"; then 3015 if test -n "$ac_tool_prefix"; then 3016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3017set dummy ${ac_tool_prefix}cc; ac_word=$2 3018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3019$as_echo_n "checking for $ac_word... " >&6; } 3020if ${ac_cv_prog_CC+:} false; then : 3021 $as_echo_n "(cached) " >&6 3022else 3023 if test -n "$CC"; then 3024 ac_cv_prog_CC="$CC" # Let the user override the test. 3025else 3026as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3027for as_dir in $PATH 3028do 3029 IFS=$as_save_IFS 3030 test -z "$as_dir" && as_dir=. 3031 for ac_exec_ext in '' $ac_executable_extensions; do 3032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3033 ac_cv_prog_CC="${ac_tool_prefix}cc" 3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3035 break 2 3036 fi 3037done 3038 done 3039IFS=$as_save_IFS 3040 3041fi 3042fi 3043CC=$ac_cv_prog_CC 3044if test -n "$CC"; then 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3046$as_echo "$CC" >&6; } 3047else 3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3049$as_echo "no" >&6; } 3050fi 3051 3052 3053 fi 3054fi 3055if test -z "$CC"; then 3056 # Extract the first word of "cc", so it can be a program name with args. 3057set dummy cc; ac_word=$2 3058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3059$as_echo_n "checking for $ac_word... " >&6; } 3060if ${ac_cv_prog_CC+:} false; then : 3061 $as_echo_n "(cached) " >&6 3062else 3063 if test -n "$CC"; then 3064 ac_cv_prog_CC="$CC" # Let the user override the test. 3065else 3066 ac_prog_rejected=no 3067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3068for as_dir in $PATH 3069do 3070 IFS=$as_save_IFS 3071 test -z "$as_dir" && as_dir=. 3072 for ac_exec_ext in '' $ac_executable_extensions; do 3073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3075 ac_prog_rejected=yes 3076 continue 3077 fi 3078 ac_cv_prog_CC="cc" 3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3080 break 2 3081 fi 3082done 3083 done 3084IFS=$as_save_IFS 3085 3086if test $ac_prog_rejected = yes; then 3087 # We found a bogon in the path, so make sure we never use it. 3088 set dummy $ac_cv_prog_CC 3089 shift 3090 if test $# != 0; then 3091 # We chose a different compiler from the bogus one. 3092 # However, it has the same basename, so the bogon will be chosen 3093 # first if we set CC to just the basename; use the full file name. 3094 shift 3095 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3096 fi 3097fi 3098fi 3099fi 3100CC=$ac_cv_prog_CC 3101if test -n "$CC"; then 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3103$as_echo "$CC" >&6; } 3104else 3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3106$as_echo "no" >&6; } 3107fi 3108 3109 3110fi 3111if test -z "$CC"; then 3112 if test -n "$ac_tool_prefix"; then 3113 for ac_prog in cl.exe 3114 do 3115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3116set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3118$as_echo_n "checking for $ac_word... " >&6; } 3119if ${ac_cv_prog_CC+:} false; then : 3120 $as_echo_n "(cached) " >&6 3121else 3122 if test -n "$CC"; then 3123 ac_cv_prog_CC="$CC" # Let the user override the test. 3124else 3125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3126for as_dir in $PATH 3127do 3128 IFS=$as_save_IFS 3129 test -z "$as_dir" && as_dir=. 3130 for ac_exec_ext in '' $ac_executable_extensions; do 3131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3132 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3134 break 2 3135 fi 3136done 3137 done 3138IFS=$as_save_IFS 3139 3140fi 3141fi 3142CC=$ac_cv_prog_CC 3143if test -n "$CC"; then 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3145$as_echo "$CC" >&6; } 3146else 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3148$as_echo "no" >&6; } 3149fi 3150 3151 3152 test -n "$CC" && break 3153 done 3154fi 3155if test -z "$CC"; then 3156 ac_ct_CC=$CC 3157 for ac_prog in cl.exe 3158do 3159 # Extract the first word of "$ac_prog", so it can be a program name with args. 3160set dummy $ac_prog; ac_word=$2 3161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3162$as_echo_n "checking for $ac_word... " >&6; } 3163if ${ac_cv_prog_ac_ct_CC+:} false; then : 3164 $as_echo_n "(cached) " >&6 3165else 3166 if test -n "$ac_ct_CC"; then 3167 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3168else 3169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3170for as_dir in $PATH 3171do 3172 IFS=$as_save_IFS 3173 test -z "$as_dir" && as_dir=. 3174 for ac_exec_ext in '' $ac_executable_extensions; do 3175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3176 ac_cv_prog_ac_ct_CC="$ac_prog" 3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3178 break 2 3179 fi 3180done 3181 done 3182IFS=$as_save_IFS 3183 3184fi 3185fi 3186ac_ct_CC=$ac_cv_prog_ac_ct_CC 3187if test -n "$ac_ct_CC"; then 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3189$as_echo "$ac_ct_CC" >&6; } 3190else 3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3192$as_echo "no" >&6; } 3193fi 3194 3195 3196 test -n "$ac_ct_CC" && break 3197done 3198 3199 if test "x$ac_ct_CC" = x; then 3200 CC="" 3201 else 3202 case $cross_compiling:$ac_tool_warned in 3203yes:) 3204{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3205$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3206ac_tool_warned=yes ;; 3207esac 3208 CC=$ac_ct_CC 3209 fi 3210fi 3211 3212fi 3213 3214 3215test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3216$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3217as_fn_error $? "no acceptable C compiler found in \$PATH 3218See \`config.log' for more details" "$LINENO" 5; } 3219 3220# Provide some information about the compiler. 3221$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3222set X $ac_compile 3223ac_compiler=$2 3224for ac_option in --version -v -V -qversion; do 3225 { { ac_try="$ac_compiler $ac_option >&5" 3226case "(($ac_try" in 3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3228 *) ac_try_echo=$ac_try;; 3229esac 3230eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3231$as_echo "$ac_try_echo"; } >&5 3232 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3233 ac_status=$? 3234 if test -s conftest.err; then 3235 sed '10a\ 3236... rest of stderr output deleted ... 3237 10q' conftest.err >conftest.er1 3238 cat conftest.er1 >&5 3239 fi 3240 rm -f conftest.er1 conftest.err 3241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3242 test $ac_status = 0; } 3243done 3244 3245cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3246/* end confdefs.h. */ 3247 3248int 3249main () 3250{ 3251 3252 ; 3253 return 0; 3254} 3255_ACEOF 3256ac_clean_files_save=$ac_clean_files 3257ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3258# Try to create an executable without -o first, disregard a.out. 3259# It will help us diagnose broken compilers, and finding out an intuition 3260# of exeext. 3261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3262$as_echo_n "checking whether the C compiler works... " >&6; } 3263ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3264 3265# The possible output files: 3266ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3267 3268ac_rmfiles= 3269for ac_file in $ac_files 3270do 3271 case $ac_file in 3272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3273 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3274 esac 3275done 3276rm -f $ac_rmfiles 3277 3278if { { ac_try="$ac_link_default" 3279case "(($ac_try" in 3280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3281 *) ac_try_echo=$ac_try;; 3282esac 3283eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3284$as_echo "$ac_try_echo"; } >&5 3285 (eval "$ac_link_default") 2>&5 3286 ac_status=$? 3287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3288 test $ac_status = 0; }; then : 3289 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3290# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3291# in a Makefile. We should not override ac_cv_exeext if it was cached, 3292# so that the user can short-circuit this test for compilers unknown to 3293# Autoconf. 3294for ac_file in $ac_files '' 3295do 3296 test -f "$ac_file" || continue 3297 case $ac_file in 3298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3299 ;; 3300 [ab].out ) 3301 # We found the default executable, but exeext='' is most 3302 # certainly right. 3303 break;; 3304 *.* ) 3305 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3306 then :; else 3307 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3308 fi 3309 # We set ac_cv_exeext here because the later test for it is not 3310 # safe: cross compilers may not add the suffix if given an `-o' 3311 # argument, so we may need to know it at that point already. 3312 # Even if this section looks crufty: it has the advantage of 3313 # actually working. 3314 break;; 3315 * ) 3316 break;; 3317 esac 3318done 3319test "$ac_cv_exeext" = no && ac_cv_exeext= 3320 3321else 3322 ac_file='' 3323fi 3324if test -z "$ac_file"; then : 3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3326$as_echo "no" >&6; } 3327$as_echo "$as_me: failed program was:" >&5 3328sed 's/^/| /' conftest.$ac_ext >&5 3329 3330{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3331$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3332as_fn_error 77 "C compiler cannot create executables 3333See \`config.log' for more details" "$LINENO" 5; } 3334else 3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3336$as_echo "yes" >&6; } 3337fi 3338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3339$as_echo_n "checking for C compiler default output file name... " >&6; } 3340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3341$as_echo "$ac_file" >&6; } 3342ac_exeext=$ac_cv_exeext 3343 3344rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3345ac_clean_files=$ac_clean_files_save 3346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3347$as_echo_n "checking for suffix of executables... " >&6; } 3348if { { ac_try="$ac_link" 3349case "(($ac_try" in 3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3351 *) ac_try_echo=$ac_try;; 3352esac 3353eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3354$as_echo "$ac_try_echo"; } >&5 3355 (eval "$ac_link") 2>&5 3356 ac_status=$? 3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3358 test $ac_status = 0; }; then : 3359 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3360# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3361# work properly (i.e., refer to `conftest.exe'), while it won't with 3362# `rm'. 3363for ac_file in conftest.exe conftest conftest.*; do 3364 test -f "$ac_file" || continue 3365 case $ac_file in 3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3367 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3368 break;; 3369 * ) break;; 3370 esac 3371done 3372else 3373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3374$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3375as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3376See \`config.log' for more details" "$LINENO" 5; } 3377fi 3378rm -f conftest conftest$ac_cv_exeext 3379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3380$as_echo "$ac_cv_exeext" >&6; } 3381 3382rm -f conftest.$ac_ext 3383EXEEXT=$ac_cv_exeext 3384ac_exeext=$EXEEXT 3385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3386/* end confdefs.h. */ 3387#include <stdio.h> 3388int 3389main () 3390{ 3391FILE *f = fopen ("conftest.out", "w"); 3392 return ferror (f) || fclose (f) != 0; 3393 3394 ; 3395 return 0; 3396} 3397_ACEOF 3398ac_clean_files="$ac_clean_files conftest.out" 3399# Check that the compiler produces executables we can run. If not, either 3400# the compiler is broken, or we cross compile. 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3402$as_echo_n "checking whether we are cross compiling... " >&6; } 3403if test "$cross_compiling" != yes; then 3404 { { ac_try="$ac_link" 3405case "(($ac_try" in 3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407 *) ac_try_echo=$ac_try;; 3408esac 3409eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3410$as_echo "$ac_try_echo"; } >&5 3411 (eval "$ac_link") 2>&5 3412 ac_status=$? 3413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3414 test $ac_status = 0; } 3415 if { ac_try='./conftest$ac_cv_exeext' 3416 { { case "(($ac_try" in 3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3418 *) ac_try_echo=$ac_try;; 3419esac 3420eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3421$as_echo "$ac_try_echo"; } >&5 3422 (eval "$ac_try") 2>&5 3423 ac_status=$? 3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3425 test $ac_status = 0; }; }; then 3426 cross_compiling=no 3427 else 3428 if test "$cross_compiling" = maybe; then 3429 cross_compiling=yes 3430 else 3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3432$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3433as_fn_error $? "cannot run C compiled programs. 3434If you meant to cross compile, use \`--host'. 3435See \`config.log' for more details" "$LINENO" 5; } 3436 fi 3437 fi 3438fi 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3440$as_echo "$cross_compiling" >&6; } 3441 3442rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3443ac_clean_files=$ac_clean_files_save 3444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3445$as_echo_n "checking for suffix of object files... " >&6; } 3446if ${ac_cv_objext+:} false; then : 3447 $as_echo_n "(cached) " >&6 3448else 3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3450/* end confdefs.h. */ 3451 3452int 3453main () 3454{ 3455 3456 ; 3457 return 0; 3458} 3459_ACEOF 3460rm -f conftest.o conftest.obj 3461if { { ac_try="$ac_compile" 3462case "(($ac_try" in 3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3464 *) ac_try_echo=$ac_try;; 3465esac 3466eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3467$as_echo "$ac_try_echo"; } >&5 3468 (eval "$ac_compile") 2>&5 3469 ac_status=$? 3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3471 test $ac_status = 0; }; then : 3472 for ac_file in conftest.o conftest.obj conftest.*; do 3473 test -f "$ac_file" || continue; 3474 case $ac_file in 3475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3476 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3477 break;; 3478 esac 3479done 3480else 3481 $as_echo "$as_me: failed program was:" >&5 3482sed 's/^/| /' conftest.$ac_ext >&5 3483 3484{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3486as_fn_error $? "cannot compute suffix of object files: cannot compile 3487See \`config.log' for more details" "$LINENO" 5; } 3488fi 3489rm -f conftest.$ac_cv_objext conftest.$ac_ext 3490fi 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3492$as_echo "$ac_cv_objext" >&6; } 3493OBJEXT=$ac_cv_objext 3494ac_objext=$OBJEXT 3495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3496$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3497if ${ac_cv_c_compiler_gnu+:} false; then : 3498 $as_echo_n "(cached) " >&6 3499else 3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3501/* end confdefs.h. */ 3502 3503int 3504main () 3505{ 3506#ifndef __GNUC__ 3507 choke me 3508#endif 3509 3510 ; 3511 return 0; 3512} 3513_ACEOF 3514if ac_fn_c_try_compile "$LINENO"; then : 3515 ac_compiler_gnu=yes 3516else 3517 ac_compiler_gnu=no 3518fi 3519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3520ac_cv_c_compiler_gnu=$ac_compiler_gnu 3521 3522fi 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3524$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3525if test $ac_compiler_gnu = yes; then 3526 GCC=yes 3527else 3528 GCC= 3529fi 3530ac_test_CFLAGS=${CFLAGS+set} 3531ac_save_CFLAGS=$CFLAGS 3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3533$as_echo_n "checking whether $CC accepts -g... " >&6; } 3534if ${ac_cv_prog_cc_g+:} false; then : 3535 $as_echo_n "(cached) " >&6 3536else 3537 ac_save_c_werror_flag=$ac_c_werror_flag 3538 ac_c_werror_flag=yes 3539 ac_cv_prog_cc_g=no 3540 CFLAGS="-g" 3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3542/* end confdefs.h. */ 3543 3544int 3545main () 3546{ 3547 3548 ; 3549 return 0; 3550} 3551_ACEOF 3552if ac_fn_c_try_compile "$LINENO"; then : 3553 ac_cv_prog_cc_g=yes 3554else 3555 CFLAGS="" 3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3557/* end confdefs.h. */ 3558 3559int 3560main () 3561{ 3562 3563 ; 3564 return 0; 3565} 3566_ACEOF 3567if ac_fn_c_try_compile "$LINENO"; then : 3568 3569else 3570 ac_c_werror_flag=$ac_save_c_werror_flag 3571 CFLAGS="-g" 3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3573/* end confdefs.h. */ 3574 3575int 3576main () 3577{ 3578 3579 ; 3580 return 0; 3581} 3582_ACEOF 3583if ac_fn_c_try_compile "$LINENO"; then : 3584 ac_cv_prog_cc_g=yes 3585fi 3586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3587fi 3588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3589fi 3590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3591 ac_c_werror_flag=$ac_save_c_werror_flag 3592fi 3593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3594$as_echo "$ac_cv_prog_cc_g" >&6; } 3595if test "$ac_test_CFLAGS" = set; then 3596 CFLAGS=$ac_save_CFLAGS 3597elif test $ac_cv_prog_cc_g = yes; then 3598 if test "$GCC" = yes; then 3599 CFLAGS="-g -O2" 3600 else 3601 CFLAGS="-g" 3602 fi 3603else 3604 if test "$GCC" = yes; then 3605 CFLAGS="-O2" 3606 else 3607 CFLAGS= 3608 fi 3609fi 3610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3611$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3612if ${ac_cv_prog_cc_c89+:} false; then : 3613 $as_echo_n "(cached) " >&6 3614else 3615 ac_cv_prog_cc_c89=no 3616ac_save_CC=$CC 3617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3618/* end confdefs.h. */ 3619#include <stdarg.h> 3620#include <stdio.h> 3621struct stat; 3622/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3623struct buf { int x; }; 3624FILE * (*rcsopen) (struct buf *, struct stat *, int); 3625static char *e (p, i) 3626 char **p; 3627 int i; 3628{ 3629 return p[i]; 3630} 3631static char *f (char * (*g) (char **, int), char **p, ...) 3632{ 3633 char *s; 3634 va_list v; 3635 va_start (v,p); 3636 s = g (p, va_arg (v,int)); 3637 va_end (v); 3638 return s; 3639} 3640 3641/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3642 function prototypes and stuff, but not '\xHH' hex character constants. 3643 These don't provoke an error unfortunately, instead are silently treated 3644 as 'x'. The following induces an error, until -std is added to get 3645 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3646 array size at least. It's necessary to write '\x00'==0 to get something 3647 that's true only with -std. */ 3648int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3649 3650/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3651 inside strings and character constants. */ 3652#define FOO(x) 'x' 3653int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3654 3655int test (int i, double x); 3656struct s1 {int (*f) (int a);}; 3657struct s2 {int (*f) (double a);}; 3658int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3659int argc; 3660char **argv; 3661int 3662main () 3663{ 3664return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3665 ; 3666 return 0; 3667} 3668_ACEOF 3669for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3670 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3671do 3672 CC="$ac_save_CC $ac_arg" 3673 if ac_fn_c_try_compile "$LINENO"; then : 3674 ac_cv_prog_cc_c89=$ac_arg 3675fi 3676rm -f core conftest.err conftest.$ac_objext 3677 test "x$ac_cv_prog_cc_c89" != "xno" && break 3678done 3679rm -f conftest.$ac_ext 3680CC=$ac_save_CC 3681 3682fi 3683# AC_CACHE_VAL 3684case "x$ac_cv_prog_cc_c89" in 3685 x) 3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3687$as_echo "none needed" >&6; } ;; 3688 xno) 3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3690$as_echo "unsupported" >&6; } ;; 3691 *) 3692 CC="$CC $ac_cv_prog_cc_c89" 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3694$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3695esac 3696if test "x$ac_cv_prog_cc_c89" != xno; then : 3697 3698fi 3699 3700ac_ext=c 3701ac_cpp='$CPP $CPPFLAGS' 3702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3704ac_compiler_gnu=$ac_cv_c_compiler_gnu 3705 3706ac_ext=c 3707ac_cpp='$CPP $CPPFLAGS' 3708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3710ac_compiler_gnu=$ac_cv_c_compiler_gnu 3711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3712$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3713if ${am_cv_prog_cc_c_o+:} false; then : 3714 $as_echo_n "(cached) " >&6 3715else 3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3717/* end confdefs.h. */ 3718 3719int 3720main () 3721{ 3722 3723 ; 3724 return 0; 3725} 3726_ACEOF 3727 # Make sure it works both with $CC and with simple cc. 3728 # Following AC_PROG_CC_C_O, we do the test twice because some 3729 # compilers refuse to overwrite an existing .o file with -o, 3730 # though they will create one. 3731 am_cv_prog_cc_c_o=yes 3732 for am_i in 1 2; do 3733 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3734 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3735 ac_status=$? 3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3737 (exit $ac_status); } \ 3738 && test -f conftest2.$ac_objext; then 3739 : OK 3740 else 3741 am_cv_prog_cc_c_o=no 3742 break 3743 fi 3744 done 3745 rm -f core conftest* 3746 unset am_i 3747fi 3748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3749$as_echo "$am_cv_prog_cc_c_o" >&6; } 3750if test "$am_cv_prog_cc_c_o" != yes; then 3751 # Losing compiler, so override with the script. 3752 # FIXME: It is wrong to rewrite CC. 3753 # But if we don't then we get into trouble of one sort or another. 3754 # A longer-term fix would be to have automake use am__CC in this case, 3755 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3756 CC="$am_aux_dir/compile $CC" 3757fi 3758ac_ext=c 3759ac_cpp='$CPP $CPPFLAGS' 3760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3762ac_compiler_gnu=$ac_cv_c_compiler_gnu 3763 3764 3765 3766ac_ext=c 3767ac_cpp='$CPP $CPPFLAGS' 3768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3770ac_compiler_gnu=$ac_cv_c_compiler_gnu 3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3772$as_echo_n "checking how to run the C preprocessor... " >&6; } 3773# On Suns, sometimes $CPP names a directory. 3774if test -n "$CPP" && test -d "$CPP"; then 3775 CPP= 3776fi 3777if test -z "$CPP"; then 3778 if ${ac_cv_prog_CPP+:} false; then : 3779 $as_echo_n "(cached) " >&6 3780else 3781 # Double quotes because CPP needs to be expanded 3782 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3783 do 3784 ac_preproc_ok=false 3785for ac_c_preproc_warn_flag in '' yes 3786do 3787 # Use a header file that comes with gcc, so configuring glibc 3788 # with a fresh cross-compiler works. 3789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3790 # <limits.h> exists even on freestanding compilers. 3791 # On the NeXT, cc -E runs the code through the compiler's parser, 3792 # not just through cpp. "Syntax error" is here to catch this case. 3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3794/* end confdefs.h. */ 3795#ifdef __STDC__ 3796# include <limits.h> 3797#else 3798# include <assert.h> 3799#endif 3800 Syntax error 3801_ACEOF 3802if ac_fn_c_try_cpp "$LINENO"; then : 3803 3804else 3805 # Broken: fails on valid input. 3806continue 3807fi 3808rm -f conftest.err conftest.i conftest.$ac_ext 3809 3810 # OK, works on sane cases. Now check whether nonexistent headers 3811 # can be detected and how. 3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3813/* end confdefs.h. */ 3814#include <ac_nonexistent.h> 3815_ACEOF 3816if ac_fn_c_try_cpp "$LINENO"; then : 3817 # Broken: success on invalid input. 3818continue 3819else 3820 # Passes both tests. 3821ac_preproc_ok=: 3822break 3823fi 3824rm -f conftest.err conftest.i conftest.$ac_ext 3825 3826done 3827# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3828rm -f conftest.i conftest.err conftest.$ac_ext 3829if $ac_preproc_ok; then : 3830 break 3831fi 3832 3833 done 3834 ac_cv_prog_CPP=$CPP 3835 3836fi 3837 CPP=$ac_cv_prog_CPP 3838else 3839 ac_cv_prog_CPP=$CPP 3840fi 3841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3842$as_echo "$CPP" >&6; } 3843ac_preproc_ok=false 3844for ac_c_preproc_warn_flag in '' yes 3845do 3846 # Use a header file that comes with gcc, so configuring glibc 3847 # with a fresh cross-compiler works. 3848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3849 # <limits.h> exists even on freestanding compilers. 3850 # On the NeXT, cc -E runs the code through the compiler's parser, 3851 # not just through cpp. "Syntax error" is here to catch this case. 3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3853/* end confdefs.h. */ 3854#ifdef __STDC__ 3855# include <limits.h> 3856#else 3857# include <assert.h> 3858#endif 3859 Syntax error 3860_ACEOF 3861if ac_fn_c_try_cpp "$LINENO"; then : 3862 3863else 3864 # Broken: fails on valid input. 3865continue 3866fi 3867rm -f conftest.err conftest.i conftest.$ac_ext 3868 3869 # OK, works on sane cases. Now check whether nonexistent headers 3870 # can be detected and how. 3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3872/* end confdefs.h. */ 3873#include <ac_nonexistent.h> 3874_ACEOF 3875if ac_fn_c_try_cpp "$LINENO"; then : 3876 # Broken: success on invalid input. 3877continue 3878else 3879 # Passes both tests. 3880ac_preproc_ok=: 3881break 3882fi 3883rm -f conftest.err conftest.i conftest.$ac_ext 3884 3885done 3886# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3887rm -f conftest.i conftest.err conftest.$ac_ext 3888if $ac_preproc_ok; then : 3889 3890else 3891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3892$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3893as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3894See \`config.log' for more details" "$LINENO" 5; } 3895fi 3896 3897ac_ext=c 3898ac_cpp='$CPP $CPPFLAGS' 3899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3901ac_compiler_gnu=$ac_cv_c_compiler_gnu 3902 3903 3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3905$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3906if ${ac_cv_path_GREP+:} false; then : 3907 $as_echo_n "(cached) " >&6 3908else 3909 if test -z "$GREP"; then 3910 ac_path_GREP_found=false 3911 # Loop through the user's path and test for each of PROGNAME-LIST 3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3913for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3914do 3915 IFS=$as_save_IFS 3916 test -z "$as_dir" && as_dir=. 3917 for ac_prog in grep ggrep; do 3918 for ac_exec_ext in '' $ac_executable_extensions; do 3919 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3920 as_fn_executable_p "$ac_path_GREP" || continue 3921# Check for GNU ac_path_GREP and select it if it is found. 3922 # Check for GNU $ac_path_GREP 3923case `"$ac_path_GREP" --version 2>&1` in 3924*GNU*) 3925 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3926*) 3927 ac_count=0 3928 $as_echo_n 0123456789 >"conftest.in" 3929 while : 3930 do 3931 cat "conftest.in" "conftest.in" >"conftest.tmp" 3932 mv "conftest.tmp" "conftest.in" 3933 cp "conftest.in" "conftest.nl" 3934 $as_echo 'GREP' >> "conftest.nl" 3935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3937 as_fn_arith $ac_count + 1 && ac_count=$as_val 3938 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3939 # Best one so far, save it but keep looking for a better one 3940 ac_cv_path_GREP="$ac_path_GREP" 3941 ac_path_GREP_max=$ac_count 3942 fi 3943 # 10*(2^10) chars as input seems more than enough 3944 test $ac_count -gt 10 && break 3945 done 3946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3947esac 3948 3949 $ac_path_GREP_found && break 3 3950 done 3951 done 3952 done 3953IFS=$as_save_IFS 3954 if test -z "$ac_cv_path_GREP"; then 3955 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3956 fi 3957else 3958 ac_cv_path_GREP=$GREP 3959fi 3960 3961fi 3962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3963$as_echo "$ac_cv_path_GREP" >&6; } 3964 GREP="$ac_cv_path_GREP" 3965 3966 3967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3968$as_echo_n "checking for egrep... " >&6; } 3969if ${ac_cv_path_EGREP+:} false; then : 3970 $as_echo_n "(cached) " >&6 3971else 3972 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3973 then ac_cv_path_EGREP="$GREP -E" 3974 else 3975 if test -z "$EGREP"; then 3976 ac_path_EGREP_found=false 3977 # Loop through the user's path and test for each of PROGNAME-LIST 3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3979for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3980do 3981 IFS=$as_save_IFS 3982 test -z "$as_dir" && as_dir=. 3983 for ac_prog in egrep; do 3984 for ac_exec_ext in '' $ac_executable_extensions; do 3985 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3986 as_fn_executable_p "$ac_path_EGREP" || continue 3987# Check for GNU ac_path_EGREP and select it if it is found. 3988 # Check for GNU $ac_path_EGREP 3989case `"$ac_path_EGREP" --version 2>&1` in 3990*GNU*) 3991 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3992*) 3993 ac_count=0 3994 $as_echo_n 0123456789 >"conftest.in" 3995 while : 3996 do 3997 cat "conftest.in" "conftest.in" >"conftest.tmp" 3998 mv "conftest.tmp" "conftest.in" 3999 cp "conftest.in" "conftest.nl" 4000 $as_echo 'EGREP' >> "conftest.nl" 4001 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4003 as_fn_arith $ac_count + 1 && ac_count=$as_val 4004 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4005 # Best one so far, save it but keep looking for a better one 4006 ac_cv_path_EGREP="$ac_path_EGREP" 4007 ac_path_EGREP_max=$ac_count 4008 fi 4009 # 10*(2^10) chars as input seems more than enough 4010 test $ac_count -gt 10 && break 4011 done 4012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4013esac 4014 4015 $ac_path_EGREP_found && break 3 4016 done 4017 done 4018 done 4019IFS=$as_save_IFS 4020 if test -z "$ac_cv_path_EGREP"; then 4021 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4022 fi 4023else 4024 ac_cv_path_EGREP=$EGREP 4025fi 4026 4027 fi 4028fi 4029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4030$as_echo "$ac_cv_path_EGREP" >&6; } 4031 EGREP="$ac_cv_path_EGREP" 4032 4033 4034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4035$as_echo_n "checking for ANSI C header files... " >&6; } 4036if ${ac_cv_header_stdc+:} false; then : 4037 $as_echo_n "(cached) " >&6 4038else 4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4040/* end confdefs.h. */ 4041#include <stdlib.h> 4042#include <stdarg.h> 4043#include <string.h> 4044#include <float.h> 4045 4046int 4047main () 4048{ 4049 4050 ; 4051 return 0; 4052} 4053_ACEOF 4054if ac_fn_c_try_compile "$LINENO"; then : 4055 ac_cv_header_stdc=yes 4056else 4057 ac_cv_header_stdc=no 4058fi 4059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4060 4061if test $ac_cv_header_stdc = yes; then 4062 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4064/* end confdefs.h. */ 4065#include <string.h> 4066 4067_ACEOF 4068if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4069 $EGREP "memchr" >/dev/null 2>&1; then : 4070 4071else 4072 ac_cv_header_stdc=no 4073fi 4074rm -f conftest* 4075 4076fi 4077 4078if test $ac_cv_header_stdc = yes; then 4079 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4081/* end confdefs.h. */ 4082#include <stdlib.h> 4083 4084_ACEOF 4085if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4086 $EGREP "free" >/dev/null 2>&1; then : 4087 4088else 4089 ac_cv_header_stdc=no 4090fi 4091rm -f conftest* 4092 4093fi 4094 4095if test $ac_cv_header_stdc = yes; then 4096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4097 if test "$cross_compiling" = yes; then : 4098 : 4099else 4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4101/* end confdefs.h. */ 4102#include <ctype.h> 4103#include <stdlib.h> 4104#if ((' ' & 0x0FF) == 0x020) 4105# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4106# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4107#else 4108# define ISLOWER(c) \ 4109 (('a' <= (c) && (c) <= 'i') \ 4110 || ('j' <= (c) && (c) <= 'r') \ 4111 || ('s' <= (c) && (c) <= 'z')) 4112# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4113#endif 4114 4115#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4116int 4117main () 4118{ 4119 int i; 4120 for (i = 0; i < 256; i++) 4121 if (XOR (islower (i), ISLOWER (i)) 4122 || toupper (i) != TOUPPER (i)) 4123 return 2; 4124 return 0; 4125} 4126_ACEOF 4127if ac_fn_c_try_run "$LINENO"; then : 4128 4129else 4130 ac_cv_header_stdc=no 4131fi 4132rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4133 conftest.$ac_objext conftest.beam conftest.$ac_ext 4134fi 4135 4136fi 4137fi 4138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4139$as_echo "$ac_cv_header_stdc" >&6; } 4140if test $ac_cv_header_stdc = yes; then 4141 4142$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4143 4144fi 4145 4146# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4147for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4148 inttypes.h stdint.h unistd.h 4149do : 4150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4151ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4152" 4153if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4154 cat >>confdefs.h <<_ACEOF 4155#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4156_ACEOF 4157 4158fi 4159 4160done 4161 4162 4163 4164 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4165if test "x$ac_cv_header_minix_config_h" = xyes; then : 4166 MINIX=yes 4167else 4168 MINIX= 4169fi 4170 4171 4172 if test "$MINIX" = yes; then 4173 4174$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4175 4176 4177$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4178 4179 4180$as_echo "#define _MINIX 1" >>confdefs.h 4181 4182 fi 4183 4184 4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4186$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4187if ${ac_cv_safe_to_define___extensions__+:} false; then : 4188 $as_echo_n "(cached) " >&6 4189else 4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4191/* end confdefs.h. */ 4192 4193# define __EXTENSIONS__ 1 4194 $ac_includes_default 4195int 4196main () 4197{ 4198 4199 ; 4200 return 0; 4201} 4202_ACEOF 4203if ac_fn_c_try_compile "$LINENO"; then : 4204 ac_cv_safe_to_define___extensions__=yes 4205else 4206 ac_cv_safe_to_define___extensions__=no 4207fi 4208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4209fi 4210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4211$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4212 test $ac_cv_safe_to_define___extensions__ = yes && 4213 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4214 4215 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4216 4217 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4218 4219 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4220 4221 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4222 4223 4224# Check whether --enable-largefile was given. 4225if test "${enable_largefile+set}" = set; then : 4226 enableval=$enable_largefile; 4227fi 4228 4229if test "$enable_largefile" != no; then 4230 4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 4232$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4233if ${ac_cv_sys_largefile_CC+:} false; then : 4234 $as_echo_n "(cached) " >&6 4235else 4236 ac_cv_sys_largefile_CC=no 4237 if test "$GCC" != yes; then 4238 ac_save_CC=$CC 4239 while :; do 4240 # IRIX 6.2 and later do not support large files by default, 4241 # so use the C compiler's -n32 option if that helps. 4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4243/* end confdefs.h. */ 4244#include <sys/types.h> 4245 /* Check that off_t can represent 2**63 - 1 correctly. 4246 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4247 since some C++ compilers masquerading as C compilers 4248 incorrectly reject 9223372036854775807. */ 4249#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4250 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4251 && LARGE_OFF_T % 2147483647 == 1) 4252 ? 1 : -1]; 4253int 4254main () 4255{ 4256 4257 ; 4258 return 0; 4259} 4260_ACEOF 4261 if ac_fn_c_try_compile "$LINENO"; then : 4262 break 4263fi 4264rm -f core conftest.err conftest.$ac_objext 4265 CC="$CC -n32" 4266 if ac_fn_c_try_compile "$LINENO"; then : 4267 ac_cv_sys_largefile_CC=' -n32'; break 4268fi 4269rm -f core conftest.err conftest.$ac_objext 4270 break 4271 done 4272 CC=$ac_save_CC 4273 rm -f conftest.$ac_ext 4274 fi 4275fi 4276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 4277$as_echo "$ac_cv_sys_largefile_CC" >&6; } 4278 if test "$ac_cv_sys_largefile_CC" != no; then 4279 CC=$CC$ac_cv_sys_largefile_CC 4280 fi 4281 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 4283$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4284if ${ac_cv_sys_file_offset_bits+:} false; then : 4285 $as_echo_n "(cached) " >&6 4286else 4287 while :; do 4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4289/* end confdefs.h. */ 4290#include <sys/types.h> 4291 /* Check that off_t can represent 2**63 - 1 correctly. 4292 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4293 since some C++ compilers masquerading as C compilers 4294 incorrectly reject 9223372036854775807. */ 4295#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4297 && LARGE_OFF_T % 2147483647 == 1) 4298 ? 1 : -1]; 4299int 4300main () 4301{ 4302 4303 ; 4304 return 0; 4305} 4306_ACEOF 4307if ac_fn_c_try_compile "$LINENO"; then : 4308 ac_cv_sys_file_offset_bits=no; break 4309fi 4310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4312/* end confdefs.h. */ 4313#define _FILE_OFFSET_BITS 64 4314#include <sys/types.h> 4315 /* Check that off_t can represent 2**63 - 1 correctly. 4316 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4317 since some C++ compilers masquerading as C compilers 4318 incorrectly reject 9223372036854775807. */ 4319#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4320 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4321 && LARGE_OFF_T % 2147483647 == 1) 4322 ? 1 : -1]; 4323int 4324main () 4325{ 4326 4327 ; 4328 return 0; 4329} 4330_ACEOF 4331if ac_fn_c_try_compile "$LINENO"; then : 4332 ac_cv_sys_file_offset_bits=64; break 4333fi 4334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4335 ac_cv_sys_file_offset_bits=unknown 4336 break 4337done 4338fi 4339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 4340$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 4341case $ac_cv_sys_file_offset_bits in #( 4342 no | unknown) ;; 4343 *) 4344cat >>confdefs.h <<_ACEOF 4345#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 4346_ACEOF 4347;; 4348esac 4349rm -rf conftest* 4350 if test $ac_cv_sys_file_offset_bits = unknown; then 4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 4352$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 4353if ${ac_cv_sys_large_files+:} false; then : 4354 $as_echo_n "(cached) " >&6 4355else 4356 while :; do 4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4358/* end confdefs.h. */ 4359#include <sys/types.h> 4360 /* Check that off_t can represent 2**63 - 1 correctly. 4361 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4362 since some C++ compilers masquerading as C compilers 4363 incorrectly reject 9223372036854775807. */ 4364#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4366 && LARGE_OFF_T % 2147483647 == 1) 4367 ? 1 : -1]; 4368int 4369main () 4370{ 4371 4372 ; 4373 return 0; 4374} 4375_ACEOF 4376if ac_fn_c_try_compile "$LINENO"; then : 4377 ac_cv_sys_large_files=no; break 4378fi 4379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4381/* end confdefs.h. */ 4382#define _LARGE_FILES 1 4383#include <sys/types.h> 4384 /* Check that off_t can represent 2**63 - 1 correctly. 4385 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4386 since some C++ compilers masquerading as C compilers 4387 incorrectly reject 9223372036854775807. */ 4388#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4390 && LARGE_OFF_T % 2147483647 == 1) 4391 ? 1 : -1]; 4392int 4393main () 4394{ 4395 4396 ; 4397 return 0; 4398} 4399_ACEOF 4400if ac_fn_c_try_compile "$LINENO"; then : 4401 ac_cv_sys_large_files=1; break 4402fi 4403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4404 ac_cv_sys_large_files=unknown 4405 break 4406done 4407fi 4408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 4409$as_echo "$ac_cv_sys_large_files" >&6; } 4410case $ac_cv_sys_large_files in #( 4411 no | unknown) ;; 4412 *) 4413cat >>confdefs.h <<_ACEOF 4414#define _LARGE_FILES $ac_cv_sys_large_files 4415_ACEOF 4416;; 4417esac 4418rm -rf conftest* 4419 fi 4420 4421 4422fi 4423 4424am__api_version='1.15' 4425 4426# Find a good install program. We prefer a C program (faster), 4427# so one script is as good as another. But avoid the broken or 4428# incompatible versions: 4429# SysV /etc/install, /usr/sbin/install 4430# SunOS /usr/etc/install 4431# IRIX /sbin/install 4432# AIX /bin/install 4433# AmigaOS /C/install, which installs bootblocks on floppy discs 4434# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4435# AFS /usr/afsws/bin/install, which mishandles nonexistent args 4436# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4437# OS/2's system install, which has a completely different semantic 4438# ./install, which can be erroneously created by make from ./install.sh. 4439# Reject install programs that cannot install multiple files. 4440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4441$as_echo_n "checking for a BSD-compatible install... " >&6; } 4442if test -z "$INSTALL"; then 4443if ${ac_cv_path_install+:} false; then : 4444 $as_echo_n "(cached) " >&6 4445else 4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4447for as_dir in $PATH 4448do 4449 IFS=$as_save_IFS 4450 test -z "$as_dir" && as_dir=. 4451 # Account for people who put trailing slashes in PATH elements. 4452case $as_dir/ in #(( 4453 ./ | .// | /[cC]/* | \ 4454 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4455 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 4456 /usr/ucb/* ) ;; 4457 *) 4458 # OSF1 and SCO ODT 3.0 have their own names for install. 4459 # Don't use installbsd from OSF since it installs stuff as root 4460 # by default. 4461 for ac_prog in ginstall scoinst install; do 4462 for ac_exec_ext in '' $ac_executable_extensions; do 4463 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4464 if test $ac_prog = install && 4465 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4466 # AIX install. It has an incompatible calling convention. 4467 : 4468 elif test $ac_prog = install && 4469 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4470 # program-specific install script used by HP pwplus--don't use. 4471 : 4472 else 4473 rm -rf conftest.one conftest.two conftest.dir 4474 echo one > conftest.one 4475 echo two > conftest.two 4476 mkdir conftest.dir 4477 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4478 test -s conftest.one && test -s conftest.two && 4479 test -s conftest.dir/conftest.one && 4480 test -s conftest.dir/conftest.two 4481 then 4482 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4483 break 3 4484 fi 4485 fi 4486 fi 4487 done 4488 done 4489 ;; 4490esac 4491 4492 done 4493IFS=$as_save_IFS 4494 4495rm -rf conftest.one conftest.two conftest.dir 4496 4497fi 4498 if test "${ac_cv_path_install+set}" = set; then 4499 INSTALL=$ac_cv_path_install 4500 else 4501 # As a last resort, use the slow shell script. Don't cache a 4502 # value for INSTALL within a source directory, because that will 4503 # break other packages using the cache if that directory is 4504 # removed, or if the value is a relative name. 4505 INSTALL=$ac_install_sh 4506 fi 4507fi 4508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4509$as_echo "$INSTALL" >&6; } 4510 4511# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4512# It thinks the first close brace ends the variable substitution. 4513test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4514 4515test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4516 4517test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4518 4519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 4520$as_echo_n "checking whether build environment is sane... " >&6; } 4521# Reject unsafe characters in $srcdir or the absolute working directory 4522# name. Accept space and tab only in the latter. 4523am_lf=' 4524' 4525case `pwd` in 4526 *[\\\"\#\$\&\'\`$am_lf]*) 4527 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 4528esac 4529case $srcdir in 4530 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 4531 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 4532esac 4533 4534# Do 'set' in a subshell so we don't clobber the current shell's 4535# arguments. Must try -L first in case configure is actually a 4536# symlink; some systems play weird games with the mod time of symlinks 4537# (eg FreeBSD returns the mod time of the symlink's containing 4538# directory). 4539if ( 4540 am_has_slept=no 4541 for am_try in 1 2; do 4542 echo "timestamp, slept: $am_has_slept" > conftest.file 4543 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 4544 if test "$*" = "X"; then 4545 # -L didn't work. 4546 set X `ls -t "$srcdir/configure" conftest.file` 4547 fi 4548 if test "$*" != "X $srcdir/configure conftest.file" \ 4549 && test "$*" != "X conftest.file $srcdir/configure"; then 4550 4551 # If neither matched, then we have a broken ls. This can happen 4552 # if, for instance, CONFIG_SHELL is bash and it inherits a 4553 # broken ls alias from the environment. This has actually 4554 # happened. Such a system could not be considered "sane". 4555 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 4556 alias in your environment" "$LINENO" 5 4557 fi 4558 if test "$2" = conftest.file || test $am_try -eq 2; then 4559 break 4560 fi 4561 # Just in case. 4562 sleep 1 4563 am_has_slept=yes 4564 done 4565 test "$2" = conftest.file 4566 ) 4567then 4568 # Ok. 4569 : 4570else 4571 as_fn_error $? "newly created file is older than distributed files! 4572Check your system clock" "$LINENO" 5 4573fi 4574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4575$as_echo "yes" >&6; } 4576# If we didn't sleep, we still need to ensure time stamps of config.status and 4577# generated files are strictly newer. 4578am_sleep_pid= 4579if grep 'slept: no' conftest.file >/dev/null 2>&1; then 4580 ( sleep 1 ) & 4581 am_sleep_pid=$! 4582fi 4583 4584rm -f conftest.file 4585 4586test "$program_prefix" != NONE && 4587 program_transform_name="s&^&$program_prefix&;$program_transform_name" 4588# Use a double $ so make ignores it. 4589test "$program_suffix" != NONE && 4590 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 4591# Double any \ or $. 4592# By default was `s,x,x', remove it if useless. 4593ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 4594program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 4595 4596if test x"${MISSING+set}" != xset; then 4597 case $am_aux_dir in 4598 *\ * | *\ *) 4599 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 4600 *) 4601 MISSING="\${SHELL} $am_aux_dir/missing" ;; 4602 esac 4603fi 4604# Use eval to expand $SHELL 4605if eval "$MISSING --is-lightweight"; then 4606 am_missing_run="$MISSING " 4607else 4608 am_missing_run= 4609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 4610$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 4611fi 4612 4613if test x"${install_sh+set}" != xset; then 4614 case $am_aux_dir in 4615 *\ * | *\ *) 4616 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 4617 *) 4618 install_sh="\${SHELL} $am_aux_dir/install-sh" 4619 esac 4620fi 4621 4622# Installed binaries are usually stripped using 'strip' when the user 4623# run "make install-strip". However 'strip' might not be the right 4624# tool to use in cross-compilation environments, therefore Automake 4625# will honor the 'STRIP' environment variable to overrule this program. 4626if test "$cross_compiling" != no; then 4627 if test -n "$ac_tool_prefix"; then 4628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4629set dummy ${ac_tool_prefix}strip; ac_word=$2 4630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4631$as_echo_n "checking for $ac_word... " >&6; } 4632if ${ac_cv_prog_STRIP+:} false; then : 4633 $as_echo_n "(cached) " >&6 4634else 4635 if test -n "$STRIP"; then 4636 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4637else 4638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4639for as_dir in $PATH 4640do 4641 IFS=$as_save_IFS 4642 test -z "$as_dir" && as_dir=. 4643 for ac_exec_ext in '' $ac_executable_extensions; do 4644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4645 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4647 break 2 4648 fi 4649done 4650 done 4651IFS=$as_save_IFS 4652 4653fi 4654fi 4655STRIP=$ac_cv_prog_STRIP 4656if test -n "$STRIP"; then 4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4658$as_echo "$STRIP" >&6; } 4659else 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4661$as_echo "no" >&6; } 4662fi 4663 4664 4665fi 4666if test -z "$ac_cv_prog_STRIP"; then 4667 ac_ct_STRIP=$STRIP 4668 # Extract the first word of "strip", so it can be a program name with args. 4669set dummy strip; ac_word=$2 4670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4671$as_echo_n "checking for $ac_word... " >&6; } 4672if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 4673 $as_echo_n "(cached) " >&6 4674else 4675 if test -n "$ac_ct_STRIP"; then 4676 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 4677else 4678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4679for as_dir in $PATH 4680do 4681 IFS=$as_save_IFS 4682 test -z "$as_dir" && as_dir=. 4683 for ac_exec_ext in '' $ac_executable_extensions; do 4684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4685 ac_cv_prog_ac_ct_STRIP="strip" 4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4687 break 2 4688 fi 4689done 4690 done 4691IFS=$as_save_IFS 4692 4693fi 4694fi 4695ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4696if test -n "$ac_ct_STRIP"; then 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 4698$as_echo "$ac_ct_STRIP" >&6; } 4699else 4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4701$as_echo "no" >&6; } 4702fi 4703 4704 if test "x$ac_ct_STRIP" = x; then 4705 STRIP=":" 4706 else 4707 case $cross_compiling:$ac_tool_warned in 4708yes:) 4709{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4710$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4711ac_tool_warned=yes ;; 4712esac 4713 STRIP=$ac_ct_STRIP 4714 fi 4715else 4716 STRIP="$ac_cv_prog_STRIP" 4717fi 4718 4719fi 4720INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 4721 4722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 4723$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 4724if test -z "$MKDIR_P"; then 4725 if ${ac_cv_path_mkdir+:} false; then : 4726 $as_echo_n "(cached) " >&6 4727else 4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4729for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 4730do 4731 IFS=$as_save_IFS 4732 test -z "$as_dir" && as_dir=. 4733 for ac_prog in mkdir gmkdir; do 4734 for ac_exec_ext in '' $ac_executable_extensions; do 4735 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 4736 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 4737 'mkdir (GNU coreutils) '* | \ 4738 'mkdir (coreutils) '* | \ 4739 'mkdir (fileutils) '4.1*) 4740 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 4741 break 3;; 4742 esac 4743 done 4744 done 4745 done 4746IFS=$as_save_IFS 4747 4748fi 4749 4750 test -d ./--version && rmdir ./--version 4751 if test "${ac_cv_path_mkdir+set}" = set; then 4752 MKDIR_P="$ac_cv_path_mkdir -p" 4753 else 4754 # As a last resort, use the slow shell script. Don't cache a 4755 # value for MKDIR_P within a source directory, because that will 4756 # break other packages using the cache if that directory is 4757 # removed, or if the value is a relative name. 4758 MKDIR_P="$ac_install_sh -d" 4759 fi 4760fi 4761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 4762$as_echo "$MKDIR_P" >&6; } 4763 4764for ac_prog in gawk mawk nawk awk 4765do 4766 # Extract the first word of "$ac_prog", so it can be a program name with args. 4767set dummy $ac_prog; ac_word=$2 4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4769$as_echo_n "checking for $ac_word... " >&6; } 4770if ${ac_cv_prog_AWK+:} false; then : 4771 $as_echo_n "(cached) " >&6 4772else 4773 if test -n "$AWK"; then 4774 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4775else 4776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4777for as_dir in $PATH 4778do 4779 IFS=$as_save_IFS 4780 test -z "$as_dir" && as_dir=. 4781 for ac_exec_ext in '' $ac_executable_extensions; do 4782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4783 ac_cv_prog_AWK="$ac_prog" 4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4785 break 2 4786 fi 4787done 4788 done 4789IFS=$as_save_IFS 4790 4791fi 4792fi 4793AWK=$ac_cv_prog_AWK 4794if test -n "$AWK"; then 4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 4796$as_echo "$AWK" >&6; } 4797else 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4799$as_echo "no" >&6; } 4800fi 4801 4802 4803 test -n "$AWK" && break 4804done 4805 4806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4807$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4808set x ${MAKE-make} 4809ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4810if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4811 $as_echo_n "(cached) " >&6 4812else 4813 cat >conftest.make <<\_ACEOF 4814SHELL = /bin/sh 4815all: 4816 @echo '@@@%%%=$(MAKE)=@@@%%%' 4817_ACEOF 4818# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4819case `${MAKE-make} -f conftest.make 2>/dev/null` in 4820 *@@@%%%=?*=@@@%%%*) 4821 eval ac_cv_prog_make_${ac_make}_set=yes;; 4822 *) 4823 eval ac_cv_prog_make_${ac_make}_set=no;; 4824esac 4825rm -f conftest.make 4826fi 4827if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4829$as_echo "yes" >&6; } 4830 SET_MAKE= 4831else 4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4833$as_echo "no" >&6; } 4834 SET_MAKE="MAKE=${MAKE-make}" 4835fi 4836 4837rm -rf .tst 2>/dev/null 4838mkdir .tst 2>/dev/null 4839if test -d .tst; then 4840 am__leading_dot=. 4841else 4842 am__leading_dot=_ 4843fi 4844rmdir .tst 2>/dev/null 4845 4846DEPDIR="${am__leading_dot}deps" 4847 4848ac_config_commands="$ac_config_commands depfiles" 4849 4850 4851am_make=${MAKE-make} 4852cat > confinc << 'END' 4853am__doit: 4854 @echo this is the am__doit target 4855.PHONY: am__doit 4856END 4857# If we don't find an include directive, just comment out the code. 4858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4859$as_echo_n "checking for style of include used by $am_make... " >&6; } 4860am__include="#" 4861am__quote= 4862_am_result=none 4863# First try GNU make style include. 4864echo "include confinc" > confmf 4865# Ignore all kinds of additional output from 'make'. 4866case `$am_make -s -f confmf 2> /dev/null` in #( 4867*the\ am__doit\ target*) 4868 am__include=include 4869 am__quote= 4870 _am_result=GNU 4871 ;; 4872esac 4873# Now try BSD make style include. 4874if test "$am__include" = "#"; then 4875 echo '.include "confinc"' > confmf 4876 case `$am_make -s -f confmf 2> /dev/null` in #( 4877 *the\ am__doit\ target*) 4878 am__include=.include 4879 am__quote="\"" 4880 _am_result=BSD 4881 ;; 4882 esac 4883fi 4884 4885 4886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4887$as_echo "$_am_result" >&6; } 4888rm -f confinc confmf 4889 4890# Check whether --enable-dependency-tracking was given. 4891if test "${enable_dependency_tracking+set}" = set; then : 4892 enableval=$enable_dependency_tracking; 4893fi 4894 4895if test "x$enable_dependency_tracking" != xno; then 4896 am_depcomp="$ac_aux_dir/depcomp" 4897 AMDEPBACKSLASH='\' 4898 am__nodep='_no' 4899fi 4900 if test "x$enable_dependency_tracking" != xno; then 4901 AMDEP_TRUE= 4902 AMDEP_FALSE='#' 4903else 4904 AMDEP_TRUE='#' 4905 AMDEP_FALSE= 4906fi 4907 4908 4909# Check whether --enable-silent-rules was given. 4910if test "${enable_silent_rules+set}" = set; then : 4911 enableval=$enable_silent_rules; 4912fi 4913 4914case $enable_silent_rules in # ((( 4915 yes) AM_DEFAULT_VERBOSITY=0;; 4916 no) AM_DEFAULT_VERBOSITY=1;; 4917 *) AM_DEFAULT_VERBOSITY=1;; 4918esac 4919am_make=${MAKE-make} 4920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 4921$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 4922if ${am_cv_make_support_nested_variables+:} false; then : 4923 $as_echo_n "(cached) " >&6 4924else 4925 if $as_echo 'TRUE=$(BAR$(V)) 4926BAR0=false 4927BAR1=true 4928V=1 4929am__doit: 4930 @$(TRUE) 4931.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 4932 am_cv_make_support_nested_variables=yes 4933else 4934 am_cv_make_support_nested_variables=no 4935fi 4936fi 4937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 4938$as_echo "$am_cv_make_support_nested_variables" >&6; } 4939if test $am_cv_make_support_nested_variables = yes; then 4940 AM_V='$(V)' 4941 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 4942else 4943 AM_V=$AM_DEFAULT_VERBOSITY 4944 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 4945fi 4946AM_BACKSLASH='\' 4947 4948if test "`cd $srcdir && pwd`" != "`pwd`"; then 4949 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 4950 # is not polluted with repeated "-I." 4951 am__isrc=' -I$(srcdir)' 4952 # test to see if srcdir already configured 4953 if test -f $srcdir/config.status; then 4954 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 4955 fi 4956fi 4957 4958# test whether we have cygpath 4959if test -z "$CYGPATH_W"; then 4960 if (cygpath --version) >/dev/null 2>/dev/null; then 4961 CYGPATH_W='cygpath -w' 4962 else 4963 CYGPATH_W=echo 4964 fi 4965fi 4966 4967 4968# Define the identity of the package. 4969 PACKAGE='bino' 4970 VERSION='1.6.5' 4971 4972 4973cat >>confdefs.h <<_ACEOF 4974#define PACKAGE "$PACKAGE" 4975_ACEOF 4976 4977 4978cat >>confdefs.h <<_ACEOF 4979#define VERSION "$VERSION" 4980_ACEOF 4981 4982# Some tools Automake needs. 4983 4984ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4985 4986 4987AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4988 4989 4990AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4991 4992 4993AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4994 4995 4996MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4997 4998# For better backward compatibility. To be removed once Automake 1.9.x 4999# dies out for good. For more background, see: 5000# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 5001# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 5002mkdir_p='$(MKDIR_P)' 5003 5004# We need awk for the "check" target (and possibly the TAP driver). The 5005# system "awk" is bad on some platforms. 5006# Always define AMTAR for backward compatibility. Yes, it's still used 5007# in the wild :-( We should find a proper way to deprecate it ... 5008AMTAR='$${TAR-tar}' 5009 5010 5011# We'll loop over all known methods to create a tar archive until one works. 5012_am_tools='gnutar pax cpio none' 5013 5014 5015 5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 5017$as_echo_n "checking how to create a pax tar archive... " >&6; } 5018 5019 # Go ahead even if we have the value already cached. We do so because we 5020 # need to set the values for the 'am__tar' and 'am__untar' variables. 5021 _am_tools=${am_cv_prog_tar_pax-$_am_tools} 5022 5023 for _am_tool in $_am_tools; do 5024 case $_am_tool in 5025 gnutar) 5026 for _am_tar in tar gnutar gtar; do 5027 { echo "$as_me:$LINENO: $_am_tar --version" >&5 5028 ($_am_tar --version) >&5 2>&5 5029 ac_status=$? 5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5031 (exit $ac_status); } && break 5032 done 5033 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' 5034 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' 5035 am__untar="$_am_tar -xf -" 5036 ;; 5037 plaintar) 5038 # Must skip GNU tar: if it does not support --format= it doesn't create 5039 # ustar tarball either. 5040 (tar --version) >/dev/null 2>&1 && continue 5041 am__tar='tar chf - "$$tardir"' 5042 am__tar_='tar chf - "$tardir"' 5043 am__untar='tar xf -' 5044 ;; 5045 pax) 5046 am__tar='pax -L -x pax -w "$$tardir"' 5047 am__tar_='pax -L -x pax -w "$tardir"' 5048 am__untar='pax -r' 5049 ;; 5050 cpio) 5051 am__tar='find "$$tardir" -print | cpio -o -H pax -L' 5052 am__tar_='find "$tardir" -print | cpio -o -H pax -L' 5053 am__untar='cpio -i -H pax -d' 5054 ;; 5055 none) 5056 am__tar=false 5057 am__tar_=false 5058 am__untar=false 5059 ;; 5060 esac 5061 5062 # If the value was cached, stop now. We just wanted to have am__tar 5063 # and am__untar set. 5064 test -n "${am_cv_prog_tar_pax}" && break 5065 5066 # tar/untar a dummy directory, and stop if the command works. 5067 rm -rf conftest.dir 5068 mkdir conftest.dir 5069 echo GrepMe > conftest.dir/file 5070 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 5071 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 5072 ac_status=$? 5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5074 (exit $ac_status); } 5075 rm -rf conftest.dir 5076 if test -s conftest.tar; then 5077 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 5078 ($am__untar <conftest.tar) >&5 2>&5 5079 ac_status=$? 5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5081 (exit $ac_status); } 5082 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 5083 (cat conftest.dir/file) >&5 2>&5 5084 ac_status=$? 5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5086 (exit $ac_status); } 5087 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 5088 fi 5089 done 5090 rm -rf conftest.dir 5091 5092 if ${am_cv_prog_tar_pax+:} false; then : 5093 $as_echo_n "(cached) " >&6 5094else 5095 am_cv_prog_tar_pax=$_am_tool 5096fi 5097 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 5099$as_echo "$am_cv_prog_tar_pax" >&6; } 5100 5101 5102 5103 5104 5105depcc="$CC" am_compiler_list= 5106 5107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5108$as_echo_n "checking dependency style of $depcc... " >&6; } 5109if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5110 $as_echo_n "(cached) " >&6 5111else 5112 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5113 # We make a subdir and do the tests there. Otherwise we can end up 5114 # making bogus files that we don't know about and never remove. For 5115 # instance it was reported that on HP-UX the gcc test will end up 5116 # making a dummy file named 'D' -- because '-MD' means "put the output 5117 # in D". 5118 rm -rf conftest.dir 5119 mkdir conftest.dir 5120 # Copy depcomp to subdir because otherwise we won't find it if we're 5121 # using a relative directory. 5122 cp "$am_depcomp" conftest.dir 5123 cd conftest.dir 5124 # We will build objects and dependencies in a subdirectory because 5125 # it helps to detect inapplicable dependency modes. For instance 5126 # both Tru64's cc and ICC support -MD to output dependencies as a 5127 # side effect of compilation, but ICC will put the dependencies in 5128 # the current directory while Tru64 will put them in the object 5129 # directory. 5130 mkdir sub 5131 5132 am_cv_CC_dependencies_compiler_type=none 5133 if test "$am_compiler_list" = ""; then 5134 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5135 fi 5136 am__universal=false 5137 case " $depcc " in #( 5138 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5139 esac 5140 5141 for depmode in $am_compiler_list; do 5142 # Setup a source with many dependencies, because some compilers 5143 # like to wrap large dependency lists on column 80 (with \), and 5144 # we should not choose a depcomp mode which is confused by this. 5145 # 5146 # We need to recreate these files for each test, as the compiler may 5147 # overwrite some of them when testing with obscure command lines. 5148 # This happens at least with the AIX C compiler. 5149 : > sub/conftest.c 5150 for i in 1 2 3 4 5 6; do 5151 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5152 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5153 # Solaris 10 /bin/sh. 5154 echo '/* dummy */' > sub/conftst$i.h 5155 done 5156 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5157 5158 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5159 # mode. It turns out that the SunPro C++ compiler does not properly 5160 # handle '-M -o', and we need to detect this. Also, some Intel 5161 # versions had trouble with output in subdirs. 5162 am__obj=sub/conftest.${OBJEXT-o} 5163 am__minus_obj="-o $am__obj" 5164 case $depmode in 5165 gcc) 5166 # This depmode causes a compiler race in universal mode. 5167 test "$am__universal" = false || continue 5168 ;; 5169 nosideeffect) 5170 # After this tag, mechanisms are not by side-effect, so they'll 5171 # only be used when explicitly requested. 5172 if test "x$enable_dependency_tracking" = xyes; then 5173 continue 5174 else 5175 break 5176 fi 5177 ;; 5178 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5179 # This compiler won't grok '-c -o', but also, the minuso test has 5180 # not run yet. These depmodes are late enough in the game, and 5181 # so weak that their functioning should not be impacted. 5182 am__obj=conftest.${OBJEXT-o} 5183 am__minus_obj= 5184 ;; 5185 none) break ;; 5186 esac 5187 if depmode=$depmode \ 5188 source=sub/conftest.c object=$am__obj \ 5189 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5190 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5191 >/dev/null 2>conftest.err && 5192 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5193 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5194 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5195 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5196 # icc doesn't choke on unknown options, it will just issue warnings 5197 # or remarks (even with -Werror). So we grep stderr for any message 5198 # that says an option was ignored or not supported. 5199 # When given -MP, icc 7.0 and 7.1 complain thusly: 5200 # icc: Command line warning: ignoring option '-M'; no argument required 5201 # The diagnosis changed in icc 8.0: 5202 # icc: Command line remark: option '-MP' not supported 5203 if (grep 'ignoring option' conftest.err || 5204 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5205 am_cv_CC_dependencies_compiler_type=$depmode 5206 break 5207 fi 5208 fi 5209 done 5210 5211 cd .. 5212 rm -rf conftest.dir 5213else 5214 am_cv_CC_dependencies_compiler_type=none 5215fi 5216 5217fi 5218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5219$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5220CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5221 5222 if 5223 test "x$enable_dependency_tracking" != xno \ 5224 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5225 am__fastdepCC_TRUE= 5226 am__fastdepCC_FALSE='#' 5227else 5228 am__fastdepCC_TRUE='#' 5229 am__fastdepCC_FALSE= 5230fi 5231 5232 5233 5234# POSIX will say in a future version that running "rm -f" with no argument 5235# is OK; and we want to be able to make that assumption in our Makefile 5236# recipes. So use an aggressive probe to check that the usage we want is 5237# actually supported "in the wild" to an acceptable degree. 5238# See automake bug#10828. 5239# To make any issue more visible, cause the running configure to be aborted 5240# by default if the 'rm' program in use doesn't match our expectations; the 5241# user can still override this though. 5242if rm -f && rm -fr && rm -rf; then : OK; else 5243 cat >&2 <<'END' 5244Oops! 5245 5246Your 'rm' program seems unable to run without file operands specified 5247on the command line, even when the '-f' option is present. This is contrary 5248to the behaviour of most rm programs out there, and not conforming with 5249the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 5250 5251Please tell bug-automake@gnu.org about your system, including the value 5252of your $PATH and any error possibly output before this message. This 5253can help us improve future automake versions. 5254 5255END 5256 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 5257 echo 'Configuration will proceed anyway, since you have set the' >&2 5258 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 5259 echo >&2 5260 else 5261 cat >&2 <<'END' 5262Aborting the configuration process, to ensure you take notice of the issue. 5263 5264You can download and install GNU coreutils to get an 'rm' implementation 5265that behaves properly: <http://www.gnu.org/software/coreutils/>. 5266 5267If you want to complete the configuration process using your problematic 5268'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 5269to "yes", and re-run configure. 5270 5271END 5272 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 5273 fi 5274fi 5275 5276# Check whether --enable-silent-rules was given. 5277if test "${enable_silent_rules+set}" = set; then : 5278 enableval=$enable_silent_rules; 5279fi 5280 5281case $enable_silent_rules in # ((( 5282 yes) AM_DEFAULT_VERBOSITY=0;; 5283 no) AM_DEFAULT_VERBOSITY=1;; 5284 *) AM_DEFAULT_VERBOSITY=0;; 5285esac 5286am_make=${MAKE-make} 5287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 5288$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 5289if ${am_cv_make_support_nested_variables+:} false; then : 5290 $as_echo_n "(cached) " >&6 5291else 5292 if $as_echo 'TRUE=$(BAR$(V)) 5293BAR0=false 5294BAR1=true 5295V=1 5296am__doit: 5297 @$(TRUE) 5298.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 5299 am_cv_make_support_nested_variables=yes 5300else 5301 am_cv_make_support_nested_variables=no 5302fi 5303fi 5304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 5305$as_echo "$am_cv_make_support_nested_variables" >&6; } 5306if test $am_cv_make_support_nested_variables = yes; then 5307 AM_V='$(V)' 5308 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 5309else 5310 AM_V=$AM_DEFAULT_VERBOSITY 5311 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 5312fi 5313AM_BACKSLASH='\' 5314 5315ac_ext=cpp 5316ac_cpp='$CXXCPP $CPPFLAGS' 5317ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5318ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5319ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5320if test -z "$CXX"; then 5321 if test -n "$CCC"; then 5322 CXX=$CCC 5323 else 5324 if test -n "$ac_tool_prefix"; then 5325 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5326 do 5327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5328set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5330$as_echo_n "checking for $ac_word... " >&6; } 5331if ${ac_cv_prog_CXX+:} false; then : 5332 $as_echo_n "(cached) " >&6 5333else 5334 if test -n "$CXX"; then 5335 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5336else 5337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5338for as_dir in $PATH 5339do 5340 IFS=$as_save_IFS 5341 test -z "$as_dir" && as_dir=. 5342 for ac_exec_ext in '' $ac_executable_extensions; do 5343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5344 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5346 break 2 5347 fi 5348done 5349 done 5350IFS=$as_save_IFS 5351 5352fi 5353fi 5354CXX=$ac_cv_prog_CXX 5355if test -n "$CXX"; then 5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5357$as_echo "$CXX" >&6; } 5358else 5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5360$as_echo "no" >&6; } 5361fi 5362 5363 5364 test -n "$CXX" && break 5365 done 5366fi 5367if test -z "$CXX"; then 5368 ac_ct_CXX=$CXX 5369 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5370do 5371 # Extract the first word of "$ac_prog", so it can be a program name with args. 5372set dummy $ac_prog; ac_word=$2 5373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5374$as_echo_n "checking for $ac_word... " >&6; } 5375if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5376 $as_echo_n "(cached) " >&6 5377else 5378 if test -n "$ac_ct_CXX"; then 5379 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5380else 5381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5382for as_dir in $PATH 5383do 5384 IFS=$as_save_IFS 5385 test -z "$as_dir" && as_dir=. 5386 for ac_exec_ext in '' $ac_executable_extensions; do 5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5388 ac_cv_prog_ac_ct_CXX="$ac_prog" 5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5390 break 2 5391 fi 5392done 5393 done 5394IFS=$as_save_IFS 5395 5396fi 5397fi 5398ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5399if test -n "$ac_ct_CXX"; then 5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5401$as_echo "$ac_ct_CXX" >&6; } 5402else 5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5404$as_echo "no" >&6; } 5405fi 5406 5407 5408 test -n "$ac_ct_CXX" && break 5409done 5410 5411 if test "x$ac_ct_CXX" = x; then 5412 CXX="g++" 5413 else 5414 case $cross_compiling:$ac_tool_warned in 5415yes:) 5416{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5418ac_tool_warned=yes ;; 5419esac 5420 CXX=$ac_ct_CXX 5421 fi 5422fi 5423 5424 fi 5425fi 5426# Provide some information about the compiler. 5427$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5428set X $ac_compile 5429ac_compiler=$2 5430for ac_option in --version -v -V -qversion; do 5431 { { ac_try="$ac_compiler $ac_option >&5" 5432case "(($ac_try" in 5433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5434 *) ac_try_echo=$ac_try;; 5435esac 5436eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5437$as_echo "$ac_try_echo"; } >&5 5438 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5439 ac_status=$? 5440 if test -s conftest.err; then 5441 sed '10a\ 5442... rest of stderr output deleted ... 5443 10q' conftest.err >conftest.er1 5444 cat conftest.er1 >&5 5445 fi 5446 rm -f conftest.er1 conftest.err 5447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5448 test $ac_status = 0; } 5449done 5450 5451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5452$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5453if ${ac_cv_cxx_compiler_gnu+:} false; then : 5454 $as_echo_n "(cached) " >&6 5455else 5456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5457/* end confdefs.h. */ 5458 5459int 5460main () 5461{ 5462#ifndef __GNUC__ 5463 choke me 5464#endif 5465 5466 ; 5467 return 0; 5468} 5469_ACEOF 5470if ac_fn_cxx_try_compile "$LINENO"; then : 5471 ac_compiler_gnu=yes 5472else 5473 ac_compiler_gnu=no 5474fi 5475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5476ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5477 5478fi 5479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5480$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5481if test $ac_compiler_gnu = yes; then 5482 GXX=yes 5483else 5484 GXX= 5485fi 5486ac_test_CXXFLAGS=${CXXFLAGS+set} 5487ac_save_CXXFLAGS=$CXXFLAGS 5488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5489$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5490if ${ac_cv_prog_cxx_g+:} false; then : 5491 $as_echo_n "(cached) " >&6 5492else 5493 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5494 ac_cxx_werror_flag=yes 5495 ac_cv_prog_cxx_g=no 5496 CXXFLAGS="-g" 5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5498/* end confdefs.h. */ 5499 5500int 5501main () 5502{ 5503 5504 ; 5505 return 0; 5506} 5507_ACEOF 5508if ac_fn_cxx_try_compile "$LINENO"; then : 5509 ac_cv_prog_cxx_g=yes 5510else 5511 CXXFLAGS="" 5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5513/* end confdefs.h. */ 5514 5515int 5516main () 5517{ 5518 5519 ; 5520 return 0; 5521} 5522_ACEOF 5523if ac_fn_cxx_try_compile "$LINENO"; then : 5524 5525else 5526 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5527 CXXFLAGS="-g" 5528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5529/* end confdefs.h. */ 5530 5531int 5532main () 5533{ 5534 5535 ; 5536 return 0; 5537} 5538_ACEOF 5539if ac_fn_cxx_try_compile "$LINENO"; then : 5540 ac_cv_prog_cxx_g=yes 5541fi 5542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5543fi 5544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5545fi 5546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5547 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5548fi 5549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5550$as_echo "$ac_cv_prog_cxx_g" >&6; } 5551if test "$ac_test_CXXFLAGS" = set; then 5552 CXXFLAGS=$ac_save_CXXFLAGS 5553elif test $ac_cv_prog_cxx_g = yes; then 5554 if test "$GXX" = yes; then 5555 CXXFLAGS="-g -O2" 5556 else 5557 CXXFLAGS="-g" 5558 fi 5559else 5560 if test "$GXX" = yes; then 5561 CXXFLAGS="-O2" 5562 else 5563 CXXFLAGS= 5564 fi 5565fi 5566ac_ext=c 5567ac_cpp='$CPP $CPPFLAGS' 5568ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5569ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5570ac_compiler_gnu=$ac_cv_c_compiler_gnu 5571 5572depcc="$CXX" am_compiler_list= 5573 5574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5575$as_echo_n "checking dependency style of $depcc... " >&6; } 5576if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5577 $as_echo_n "(cached) " >&6 5578else 5579 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5580 # We make a subdir and do the tests there. Otherwise we can end up 5581 # making bogus files that we don't know about and never remove. For 5582 # instance it was reported that on HP-UX the gcc test will end up 5583 # making a dummy file named 'D' -- because '-MD' means "put the output 5584 # in D". 5585 rm -rf conftest.dir 5586 mkdir conftest.dir 5587 # Copy depcomp to subdir because otherwise we won't find it if we're 5588 # using a relative directory. 5589 cp "$am_depcomp" conftest.dir 5590 cd conftest.dir 5591 # We will build objects and dependencies in a subdirectory because 5592 # it helps to detect inapplicable dependency modes. For instance 5593 # both Tru64's cc and ICC support -MD to output dependencies as a 5594 # side effect of compilation, but ICC will put the dependencies in 5595 # the current directory while Tru64 will put them in the object 5596 # directory. 5597 mkdir sub 5598 5599 am_cv_CXX_dependencies_compiler_type=none 5600 if test "$am_compiler_list" = ""; then 5601 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5602 fi 5603 am__universal=false 5604 case " $depcc " in #( 5605 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5606 esac 5607 5608 for depmode in $am_compiler_list; do 5609 # Setup a source with many dependencies, because some compilers 5610 # like to wrap large dependency lists on column 80 (with \), and 5611 # we should not choose a depcomp mode which is confused by this. 5612 # 5613 # We need to recreate these files for each test, as the compiler may 5614 # overwrite some of them when testing with obscure command lines. 5615 # This happens at least with the AIX C compiler. 5616 : > sub/conftest.c 5617 for i in 1 2 3 4 5 6; do 5618 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5619 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5620 # Solaris 10 /bin/sh. 5621 echo '/* dummy */' > sub/conftst$i.h 5622 done 5623 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5624 5625 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5626 # mode. It turns out that the SunPro C++ compiler does not properly 5627 # handle '-M -o', and we need to detect this. Also, some Intel 5628 # versions had trouble with output in subdirs. 5629 am__obj=sub/conftest.${OBJEXT-o} 5630 am__minus_obj="-o $am__obj" 5631 case $depmode in 5632 gcc) 5633 # This depmode causes a compiler race in universal mode. 5634 test "$am__universal" = false || continue 5635 ;; 5636 nosideeffect) 5637 # After this tag, mechanisms are not by side-effect, so they'll 5638 # only be used when explicitly requested. 5639 if test "x$enable_dependency_tracking" = xyes; then 5640 continue 5641 else 5642 break 5643 fi 5644 ;; 5645 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5646 # This compiler won't grok '-c -o', but also, the minuso test has 5647 # not run yet. These depmodes are late enough in the game, and 5648 # so weak that their functioning should not be impacted. 5649 am__obj=conftest.${OBJEXT-o} 5650 am__minus_obj= 5651 ;; 5652 none) break ;; 5653 esac 5654 if depmode=$depmode \ 5655 source=sub/conftest.c object=$am__obj \ 5656 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5657 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5658 >/dev/null 2>conftest.err && 5659 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5660 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5661 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5662 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5663 # icc doesn't choke on unknown options, it will just issue warnings 5664 # or remarks (even with -Werror). So we grep stderr for any message 5665 # that says an option was ignored or not supported. 5666 # When given -MP, icc 7.0 and 7.1 complain thusly: 5667 # icc: Command line warning: ignoring option '-M'; no argument required 5668 # The diagnosis changed in icc 8.0: 5669 # icc: Command line remark: option '-MP' not supported 5670 if (grep 'ignoring option' conftest.err || 5671 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5672 am_cv_CXX_dependencies_compiler_type=$depmode 5673 break 5674 fi 5675 fi 5676 done 5677 5678 cd .. 5679 rm -rf conftest.dir 5680else 5681 am_cv_CXX_dependencies_compiler_type=none 5682fi 5683 5684fi 5685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5686$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5687CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5688 5689 if 5690 test "x$enable_dependency_tracking" != xno \ 5691 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5692 am__fastdepCXX_TRUE= 5693 am__fastdepCXX_FALSE='#' 5694else 5695 am__fastdepCXX_TRUE='#' 5696 am__fastdepCXX_FALSE= 5697fi 5698 5699 5700 5701if test -n "$ac_tool_prefix"; then 5702 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5703set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5705$as_echo_n "checking for $ac_word... " >&6; } 5706if ${ac_cv_prog_RANLIB+:} false; then : 5707 $as_echo_n "(cached) " >&6 5708else 5709 if test -n "$RANLIB"; then 5710 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5711else 5712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5713for as_dir in $PATH 5714do 5715 IFS=$as_save_IFS 5716 test -z "$as_dir" && as_dir=. 5717 for ac_exec_ext in '' $ac_executable_extensions; do 5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5719 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5721 break 2 5722 fi 5723done 5724 done 5725IFS=$as_save_IFS 5726 5727fi 5728fi 5729RANLIB=$ac_cv_prog_RANLIB 5730if test -n "$RANLIB"; then 5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5732$as_echo "$RANLIB" >&6; } 5733else 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5735$as_echo "no" >&6; } 5736fi 5737 5738 5739fi 5740if test -z "$ac_cv_prog_RANLIB"; then 5741 ac_ct_RANLIB=$RANLIB 5742 # Extract the first word of "ranlib", so it can be a program name with args. 5743set dummy ranlib; ac_word=$2 5744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5745$as_echo_n "checking for $ac_word... " >&6; } 5746if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5747 $as_echo_n "(cached) " >&6 5748else 5749 if test -n "$ac_ct_RANLIB"; then 5750 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5751else 5752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5753for as_dir in $PATH 5754do 5755 IFS=$as_save_IFS 5756 test -z "$as_dir" && as_dir=. 5757 for ac_exec_ext in '' $ac_executable_extensions; do 5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5759 ac_cv_prog_ac_ct_RANLIB="ranlib" 5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5761 break 2 5762 fi 5763done 5764 done 5765IFS=$as_save_IFS 5766 5767fi 5768fi 5769ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5770if test -n "$ac_ct_RANLIB"; then 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5772$as_echo "$ac_ct_RANLIB" >&6; } 5773else 5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5775$as_echo "no" >&6; } 5776fi 5777 5778 if test "x$ac_ct_RANLIB" = x; then 5779 RANLIB=":" 5780 else 5781 case $cross_compiling:$ac_tool_warned in 5782yes:) 5783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5785ac_tool_warned=yes ;; 5786esac 5787 RANLIB=$ac_ct_RANLIB 5788 fi 5789else 5790 RANLIB="$ac_cv_prog_RANLIB" 5791fi 5792 5793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5794$as_echo_n "checking whether ln -s works... " >&6; } 5795LN_S=$as_ln_s 5796if test "$LN_S" = "ln -s"; then 5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5798$as_echo "yes" >&6; } 5799else 5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5801$as_echo "no, using $LN_S" >&6; } 5802fi 5803 5804ac_ext=cpp 5805ac_cpp='$CXXCPP $CPPFLAGS' 5806ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5807ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5808ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5809 5810 5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 5812$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 5813if ${ac_cv_c_bigendian+:} false; then : 5814 $as_echo_n "(cached) " >&6 5815else 5816 ac_cv_c_bigendian=unknown 5817 # See if we're dealing with a universal compiler. 5818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5819/* end confdefs.h. */ 5820#ifndef __APPLE_CC__ 5821 not a universal capable compiler 5822 #endif 5823 typedef int dummy; 5824 5825_ACEOF 5826if ac_fn_cxx_try_compile "$LINENO"; then : 5827 5828 # Check for potential -arch flags. It is not universal unless 5829 # there are at least two -arch flags with different values. 5830 ac_arch= 5831 ac_prev= 5832 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 5833 if test -n "$ac_prev"; then 5834 case $ac_word in 5835 i?86 | x86_64 | ppc | ppc64) 5836 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 5837 ac_arch=$ac_word 5838 else 5839 ac_cv_c_bigendian=universal 5840 break 5841 fi 5842 ;; 5843 esac 5844 ac_prev= 5845 elif test "x$ac_word" = "x-arch"; then 5846 ac_prev=arch 5847 fi 5848 done 5849fi 5850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5851 if test $ac_cv_c_bigendian = unknown; then 5852 # See if sys/param.h defines the BYTE_ORDER macro. 5853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5854/* end confdefs.h. */ 5855#include <sys/types.h> 5856 #include <sys/param.h> 5857 5858int 5859main () 5860{ 5861#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 5862 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 5863 && LITTLE_ENDIAN) 5864 bogus endian macros 5865 #endif 5866 5867 ; 5868 return 0; 5869} 5870_ACEOF 5871if ac_fn_cxx_try_compile "$LINENO"; then : 5872 # It does; now see whether it defined to BIG_ENDIAN or not. 5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5874/* end confdefs.h. */ 5875#include <sys/types.h> 5876 #include <sys/param.h> 5877 5878int 5879main () 5880{ 5881#if BYTE_ORDER != BIG_ENDIAN 5882 not big endian 5883 #endif 5884 5885 ; 5886 return 0; 5887} 5888_ACEOF 5889if ac_fn_cxx_try_compile "$LINENO"; then : 5890 ac_cv_c_bigendian=yes 5891else 5892 ac_cv_c_bigendian=no 5893fi 5894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5895fi 5896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5897 fi 5898 if test $ac_cv_c_bigendian = unknown; then 5899 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 5900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5901/* end confdefs.h. */ 5902#include <limits.h> 5903 5904int 5905main () 5906{ 5907#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 5908 bogus endian macros 5909 #endif 5910 5911 ; 5912 return 0; 5913} 5914_ACEOF 5915if ac_fn_cxx_try_compile "$LINENO"; then : 5916 # It does; now see whether it defined to _BIG_ENDIAN or not. 5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5918/* end confdefs.h. */ 5919#include <limits.h> 5920 5921int 5922main () 5923{ 5924#ifndef _BIG_ENDIAN 5925 not big endian 5926 #endif 5927 5928 ; 5929 return 0; 5930} 5931_ACEOF 5932if ac_fn_cxx_try_compile "$LINENO"; then : 5933 ac_cv_c_bigendian=yes 5934else 5935 ac_cv_c_bigendian=no 5936fi 5937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5938fi 5939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5940 fi 5941 if test $ac_cv_c_bigendian = unknown; then 5942 # Compile a test program. 5943 if test "$cross_compiling" = yes; then : 5944 # Try to guess by grepping values from an object file. 5945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5946/* end confdefs.h. */ 5947short int ascii_mm[] = 5948 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 5949 short int ascii_ii[] = 5950 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 5951 int use_ascii (int i) { 5952 return ascii_mm[i] + ascii_ii[i]; 5953 } 5954 short int ebcdic_ii[] = 5955 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 5956 short int ebcdic_mm[] = 5957 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 5958 int use_ebcdic (int i) { 5959 return ebcdic_mm[i] + ebcdic_ii[i]; 5960 } 5961 extern int foo; 5962 5963int 5964main () 5965{ 5966return use_ascii (foo) == use_ebcdic (foo); 5967 ; 5968 return 0; 5969} 5970_ACEOF 5971if ac_fn_cxx_try_compile "$LINENO"; then : 5972 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 5973 ac_cv_c_bigendian=yes 5974 fi 5975 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 5976 if test "$ac_cv_c_bigendian" = unknown; then 5977 ac_cv_c_bigendian=no 5978 else 5979 # finding both strings is unlikely to happen, but who knows? 5980 ac_cv_c_bigendian=unknown 5981 fi 5982 fi 5983fi 5984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5985else 5986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5987/* end confdefs.h. */ 5988$ac_includes_default 5989int 5990main () 5991{ 5992 5993 /* Are we little or big endian? From Harbison&Steele. */ 5994 union 5995 { 5996 long int l; 5997 char c[sizeof (long int)]; 5998 } u; 5999 u.l = 1; 6000 return u.c[sizeof (long int) - 1] == 1; 6001 6002 ; 6003 return 0; 6004} 6005_ACEOF 6006if ac_fn_cxx_try_run "$LINENO"; then : 6007 ac_cv_c_bigendian=no 6008else 6009 ac_cv_c_bigendian=yes 6010fi 6011rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6012 conftest.$ac_objext conftest.beam conftest.$ac_ext 6013fi 6014 6015 fi 6016fi 6017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6018$as_echo "$ac_cv_c_bigendian" >&6; } 6019 case $ac_cv_c_bigendian in #( 6020 yes) 6021 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6022;; #( 6023 no) 6024 ;; #( 6025 universal) 6026 6027$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6028 6029 ;; #( 6030 *) 6031 as_fn_error $? "unknown endianness 6032 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6033 esac 6034 6035 6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 6037$as_echo_n "checking whether the C++ compiler works... " >&6; } 6038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6039/* end confdefs.h. */ 6040 6041int 6042main () 6043{ 6044 6045 ; 6046 return 0; 6047} 6048_ACEOF 6049if ac_fn_cxx_try_link "$LINENO"; then : 6050 COMPILER_WORKS=1 6051else 6052 COMPILER_WORKS=0 6053fi 6054rm -f core conftest.err conftest.$ac_objext \ 6055 conftest$ac_exeext conftest.$ac_ext 6056if test "$COMPILER_WORKS" = "1"; then 6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6058$as_echo "yes" >&6; } 6059else 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6061$as_echo "no" >&6; } 6062 as_fn_error $? "The C++ compiler was not found or does not work." "$LINENO" 5 6063fi 6064 6065 6066cat >>confdefs.h <<_ACEOF 6067#define PLATFORM "${target}" 6068_ACEOF 6069 6070 6071case "${target}" in *-*-mingw32*) w32="yes" ;; *) w32="no " ;; esac 6072if test "$w32" = "yes"; then 6073 CXXFLAGS="-mthreads $CXXFLAGS" 6074 LDFLAGS="-mthreads -mwindows $LDFLAGS" 6075 6076 if test -z "$WINDRES"; then 6077 if test -n "$ac_tool_prefix"; then 6078 for ac_prog in windres 6079 do 6080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6081set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6083$as_echo_n "checking for $ac_word... " >&6; } 6084if ${ac_cv_prog_WINDRES+:} false; then : 6085 $as_echo_n "(cached) " >&6 6086else 6087 if test -n "$WINDRES"; then 6088 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 6089else 6090as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6091for as_dir in $PATH 6092do 6093 IFS=$as_save_IFS 6094 test -z "$as_dir" && as_dir=. 6095 for ac_exec_ext in '' $ac_executable_extensions; do 6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6097 ac_cv_prog_WINDRES="$ac_tool_prefix$ac_prog" 6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6099 break 2 6100 fi 6101done 6102 done 6103IFS=$as_save_IFS 6104 6105fi 6106fi 6107WINDRES=$ac_cv_prog_WINDRES 6108if test -n "$WINDRES"; then 6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 6110$as_echo "$WINDRES" >&6; } 6111else 6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6113$as_echo "no" >&6; } 6114fi 6115 6116 6117 test -n "$WINDRES" && break 6118 done 6119fi 6120if test -z "$WINDRES"; then 6121 ac_ct_WINDRES=$WINDRES 6122 for ac_prog in windres 6123do 6124 # Extract the first word of "$ac_prog", so it can be a program name with args. 6125set dummy $ac_prog; ac_word=$2 6126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6127$as_echo_n "checking for $ac_word... " >&6; } 6128if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : 6129 $as_echo_n "(cached) " >&6 6130else 6131 if test -n "$ac_ct_WINDRES"; then 6132 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. 6133else 6134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6135for as_dir in $PATH 6136do 6137 IFS=$as_save_IFS 6138 test -z "$as_dir" && as_dir=. 6139 for ac_exec_ext in '' $ac_executable_extensions; do 6140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6141 ac_cv_prog_ac_ct_WINDRES="$ac_prog" 6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6143 break 2 6144 fi 6145done 6146 done 6147IFS=$as_save_IFS 6148 6149fi 6150fi 6151ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES 6152if test -n "$ac_ct_WINDRES"; then 6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 6154$as_echo "$ac_ct_WINDRES" >&6; } 6155else 6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6157$as_echo "no" >&6; } 6158fi 6159 6160 6161 test -n "$ac_ct_WINDRES" && break 6162done 6163 6164 if test "x$ac_ct_WINDRES" = x; then 6165 WINDRES="" 6166 else 6167 case $cross_compiling:$ac_tool_warned in 6168yes:) 6169{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6170$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6171ac_tool_warned=yes ;; 6172esac 6173 WINDRES=$ac_ct_WINDRES 6174 fi 6175fi 6176 6177 fi 6178 if test -z "$WINDRES"; then 6179 as_fn_error $? "windres not found" "$LINENO" 5 6180 fi 6181 6182 if test -z "$MAKENSIS"; then 6183 if test -n "$ac_tool_prefix"; then 6184 for ac_prog in makensis 6185 do 6186 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6187set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6189$as_echo_n "checking for $ac_word... " >&6; } 6190if ${ac_cv_prog_MAKENSIS+:} false; then : 6191 $as_echo_n "(cached) " >&6 6192else 6193 if test -n "$MAKENSIS"; then 6194 ac_cv_prog_MAKENSIS="$MAKENSIS" # Let the user override the test. 6195else 6196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6197for as_dir in $PATH 6198do 6199 IFS=$as_save_IFS 6200 test -z "$as_dir" && as_dir=. 6201 for ac_exec_ext in '' $ac_executable_extensions; do 6202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6203 ac_cv_prog_MAKENSIS="$ac_tool_prefix$ac_prog" 6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6205 break 2 6206 fi 6207done 6208 done 6209IFS=$as_save_IFS 6210 6211fi 6212fi 6213MAKENSIS=$ac_cv_prog_MAKENSIS 6214if test -n "$MAKENSIS"; then 6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKENSIS" >&5 6216$as_echo "$MAKENSIS" >&6; } 6217else 6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6219$as_echo "no" >&6; } 6220fi 6221 6222 6223 test -n "$MAKENSIS" && break 6224 done 6225fi 6226if test -z "$MAKENSIS"; then 6227 ac_ct_MAKENSIS=$MAKENSIS 6228 for ac_prog in makensis 6229do 6230 # Extract the first word of "$ac_prog", so it can be a program name with args. 6231set dummy $ac_prog; ac_word=$2 6232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6233$as_echo_n "checking for $ac_word... " >&6; } 6234if ${ac_cv_prog_ac_ct_MAKENSIS+:} false; then : 6235 $as_echo_n "(cached) " >&6 6236else 6237 if test -n "$ac_ct_MAKENSIS"; then 6238 ac_cv_prog_ac_ct_MAKENSIS="$ac_ct_MAKENSIS" # Let the user override the test. 6239else 6240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6241for as_dir in $PATH 6242do 6243 IFS=$as_save_IFS 6244 test -z "$as_dir" && as_dir=. 6245 for ac_exec_ext in '' $ac_executable_extensions; do 6246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6247 ac_cv_prog_ac_ct_MAKENSIS="$ac_prog" 6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6249 break 2 6250 fi 6251done 6252 done 6253IFS=$as_save_IFS 6254 6255fi 6256fi 6257ac_ct_MAKENSIS=$ac_cv_prog_ac_ct_MAKENSIS 6258if test -n "$ac_ct_MAKENSIS"; then 6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MAKENSIS" >&5 6260$as_echo "$ac_ct_MAKENSIS" >&6; } 6261else 6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6263$as_echo "no" >&6; } 6264fi 6265 6266 6267 test -n "$ac_ct_MAKENSIS" && break 6268done 6269 6270 if test "x$ac_ct_MAKENSIS" = x; then 6271 MAKENSIS="" 6272 else 6273 case $cross_compiling:$ac_tool_warned in 6274yes:) 6275{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6276$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6277ac_tool_warned=yes ;; 6278esac 6279 MAKENSIS=$ac_ct_MAKENSIS 6280 fi 6281fi 6282 6283 fi 6284 if test -z "$MAKENSIS"; then 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: optional tool makensis not found" >&5 6286$as_echo "$as_me: WARNING: optional tool makensis not found" >&2;} 6287 fi 6288else 6289 MAKENSIS="" 6290fi 6291 if test -n "$MAKENSIS"; then 6292 HAVE_MAKENSIS_TRUE= 6293 HAVE_MAKENSIS_FALSE='#' 6294else 6295 HAVE_MAKENSIS_TRUE='#' 6296 HAVE_MAKENSIS_FALSE= 6297fi 6298 6299 if test "$w32" = "yes"; then 6300 W32_TRUE= 6301 W32_FALSE='#' 6302else 6303 W32_TRUE='#' 6304 W32_FALSE= 6305fi 6306 6307 6308# Check whether --enable-debug was given. 6309if test "${enable_debug+set}" = set; then : 6310 enableval=$enable_debug; if test "$enableval" = "yes"; then ndebug=0; else ndebug=1; fi 6311else 6312 ndebug=1 6313fi 6314 6315if test "$ndebug" = "1"; then 6316 6317cat >>confdefs.h <<_ACEOF 6318#define NDEBUG 1 6319_ACEOF 6320 6321fi 6322 6323ac_ext=c 6324ac_cpp='$CPP $CPPFLAGS' 6325ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6326ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6327ac_compiler_gnu=$ac_cv_c_compiler_gnu 6328 6329for ac_func in backtrace sigaction 6330do : 6331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6332ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6333if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6334 cat >>confdefs.h <<_ACEOF 6335#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6336_ACEOF 6337 6338fi 6339done 6340 6341case "${target}" in *-*-mingw*) CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE" ;; esac 6342ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> 6343" 6344if test "x$ac_cv_have_decl_optreset" = xyes; then : 6345 ac_have_decl=1 6346else 6347 ac_have_decl=0 6348fi 6349 6350cat >>confdefs.h <<_ACEOF 6351#define HAVE_DECL_OPTRESET $ac_have_decl 6352_ACEOF 6353 6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC atomic builtins" >&5 6355$as_echo_n "checking for GCC atomic builtins... " >&6; } 6356cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6357/* end confdefs.h. */ 6358 6359int 6360main () 6361{ 6362int b, x = 0; b = __sync_bool_compare_and_swap(&x, 0, 1); 6363 ; 6364 return 0; 6365} 6366_ACEOF 6367if ac_fn_c_try_compile "$LINENO"; then : 6368 HAVE_GCC_ATOMIC_BUILTINS=1 6369else 6370 HAVE_GCC_ATOMIC_BUILTINS=0 6371fi 6372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6373if test "$HAVE_GCC_ATOMIC_BUILTINS" = "1"; then 6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6375$as_echo "yes" >&6; } 6376else 6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6378$as_echo "no" >&6; } 6379 as_fn_error $? "GCC atomic builtins not found. Please use a newer compiler." "$LINENO" 5 6380fi 6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 6382$as_echo_n "checking for library containing pthread_create... " >&6; } 6383if ${ac_cv_search_pthread_create+:} false; then : 6384 $as_echo_n "(cached) " >&6 6385else 6386 ac_func_search_save_LIBS=$LIBS 6387cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6388/* end confdefs.h. */ 6389 6390/* Override any GCC internal prototype to avoid an error. 6391 Use char because int might match the return type of a GCC 6392 builtin and then its argument prototype would still apply. */ 6393#ifdef __cplusplus 6394extern "C" 6395#endif 6396char pthread_create (); 6397int 6398main () 6399{ 6400return pthread_create (); 6401 ; 6402 return 0; 6403} 6404_ACEOF 6405for ac_lib in '' pthread; do 6406 if test -z "$ac_lib"; then 6407 ac_res="none required" 6408 else 6409 ac_res=-l$ac_lib 6410 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6411 fi 6412 if ac_fn_c_try_link "$LINENO"; then : 6413 ac_cv_search_pthread_create=$ac_res 6414fi 6415rm -f core conftest.err conftest.$ac_objext \ 6416 conftest$ac_exeext 6417 if ${ac_cv_search_pthread_create+:} false; then : 6418 break 6419fi 6420done 6421if ${ac_cv_search_pthread_create+:} false; then : 6422 6423else 6424 ac_cv_search_pthread_create=no 6425fi 6426rm conftest.$ac_ext 6427LIBS=$ac_func_search_save_LIBS 6428fi 6429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 6430$as_echo "$ac_cv_search_pthread_create" >&6; } 6431ac_res=$ac_cv_search_pthread_create 6432if test "$ac_res" != no; then : 6433 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6434 6435fi 6436 6437CPPFLAGS_bak="$CPPFLAGS" 6438LDFLAGS_bak="$LDFLAGS" 6439CPPFLAGS="-pthread $CPPFLAGS" 6440LDFLAGS="-pthread $LDFLAGS" 6441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6442/* end confdefs.h. */ 6443 6444int 6445main () 6446{ 6447 6448 ; 6449 return 0; 6450} 6451_ACEOF 6452if ac_fn_c_try_compile "$LINENO"; then : 6453 6454else 6455 CPPFLAGS="$CPPFLAGS_bak"; LDFLAGS="$LDFLAGS_bak" 6456fi 6457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6458 6459 if test "X$prefix" = "XNONE"; then 6460 acl_final_prefix="$ac_default_prefix" 6461 else 6462 acl_final_prefix="$prefix" 6463 fi 6464 if test "X$exec_prefix" = "XNONE"; then 6465 acl_final_exec_prefix='${prefix}' 6466 else 6467 acl_final_exec_prefix="$exec_prefix" 6468 fi 6469 acl_save_prefix="$prefix" 6470 prefix="$acl_final_prefix" 6471 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 6472 prefix="$acl_save_prefix" 6473 6474 6475 6476# Check whether --with-gnu-ld was given. 6477if test "${with_gnu_ld+set}" = set; then : 6478 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6479else 6480 with_gnu_ld=no 6481fi 6482 6483# Prepare PATH_SEPARATOR. 6484# The user is always right. 6485if test "${PATH_SEPARATOR+set}" != set; then 6486 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 6487 # contains only /bin. Note that ksh looks also at the FPATH variable, 6488 # so we have to set that as well for the test. 6489 PATH_SEPARATOR=: 6490 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 6491 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 6492 || PATH_SEPARATOR=';' 6493 } 6494fi 6495 6496ac_prog=ld 6497if test "$GCC" = yes; then 6498 # Check if gcc -print-prog-name=ld gives a path. 6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6500$as_echo_n "checking for ld used by $CC... " >&6; } 6501 case $host in 6502 *-*-mingw*) 6503 # gcc leaves a trailing carriage return which upsets mingw 6504 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6505 *) 6506 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6507 esac 6508 case $ac_prog in 6509 # Accept absolute paths. 6510 [\\/]* | ?:[\\/]*) 6511 re_direlt='/[^/][^/]*/\.\./' 6512 # Canonicalize the pathname of ld 6513 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` 6514 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do 6515 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 6516 done 6517 test -z "$LD" && LD="$ac_prog" 6518 ;; 6519 "") 6520 # If it fails, then pretend we aren't using GCC. 6521 ac_prog=ld 6522 ;; 6523 *) 6524 # If it is relative, then search for the first ld in PATH. 6525 with_gnu_ld=unknown 6526 ;; 6527 esac 6528elif test "$with_gnu_ld" = yes; then 6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6530$as_echo_n "checking for GNU ld... " >&6; } 6531else 6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6533$as_echo_n "checking for non-GNU ld... " >&6; } 6534fi 6535if ${acl_cv_path_LD+:} false; then : 6536 $as_echo_n "(cached) " >&6 6537else 6538 if test -z "$LD"; then 6539 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6540 for ac_dir in $PATH; do 6541 IFS="$acl_save_ifs" 6542 test -z "$ac_dir" && ac_dir=. 6543 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6544 acl_cv_path_LD="$ac_dir/$ac_prog" 6545 # Check to see if the program is GNU ld. I'd rather use --version, 6546 # but apparently some variants of GNU ld only accept -v. 6547 # Break only if it was the GNU/non-GNU ld that we prefer. 6548 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 6549 *GNU* | *'with BFD'*) 6550 test "$with_gnu_ld" != no && break 6551 ;; 6552 *) 6553 test "$with_gnu_ld" != yes && break 6554 ;; 6555 esac 6556 fi 6557 done 6558 IFS="$acl_save_ifs" 6559else 6560 acl_cv_path_LD="$LD" # Let the user override the test with a path. 6561fi 6562fi 6563 6564LD="$acl_cv_path_LD" 6565if test -n "$LD"; then 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6567$as_echo "$LD" >&6; } 6568else 6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6570$as_echo "no" >&6; } 6571fi 6572test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6574$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6575if ${acl_cv_prog_gnu_ld+:} false; then : 6576 $as_echo_n "(cached) " >&6 6577else 6578 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6579case `$LD -v 2>&1 </dev/null` in 6580*GNU* | *'with BFD'*) 6581 acl_cv_prog_gnu_ld=yes 6582 ;; 6583*) 6584 acl_cv_prog_gnu_ld=no 6585 ;; 6586esac 6587fi 6588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 6589$as_echo "$acl_cv_prog_gnu_ld" >&6; } 6590with_gnu_ld=$acl_cv_prog_gnu_ld 6591 6592 6593 6594 6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 6596$as_echo_n "checking for shared library run path origin... " >&6; } 6597if ${acl_cv_rpath+:} false; then : 6598 $as_echo_n "(cached) " >&6 6599else 6600 6601 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 6602 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 6603 . ./conftest.sh 6604 rm -f ./conftest.sh 6605 acl_cv_rpath=done 6606 6607fi 6608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 6609$as_echo "$acl_cv_rpath" >&6; } 6610 wl="$acl_cv_wl" 6611 acl_libext="$acl_cv_libext" 6612 acl_shlibext="$acl_cv_shlibext" 6613 acl_libname_spec="$acl_cv_libname_spec" 6614 acl_library_names_spec="$acl_cv_library_names_spec" 6615 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 6616 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 6617 acl_hardcode_direct="$acl_cv_hardcode_direct" 6618 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 6619 # Check whether --enable-rpath was given. 6620if test "${enable_rpath+set}" = set; then : 6621 enableval=$enable_rpath; : 6622else 6623 enable_rpath=yes 6624fi 6625 6626 6627 6628 6629 acl_libdirstem=lib 6630 acl_libdirstem2= 6631 case "$host_os" in 6632 solaris*) 6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 6634$as_echo_n "checking for 64-bit host... " >&6; } 6635if ${gl_cv_solaris_64bit+:} false; then : 6636 $as_echo_n "(cached) " >&6 6637else 6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6639/* end confdefs.h. */ 6640 6641#ifdef _LP64 6642sixtyfour bits 6643#endif 6644 6645_ACEOF 6646if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6647 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 6648 gl_cv_solaris_64bit=yes 6649else 6650 gl_cv_solaris_64bit=no 6651fi 6652rm -f conftest* 6653 6654 6655fi 6656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 6657$as_echo "$gl_cv_solaris_64bit" >&6; } 6658 if test $gl_cv_solaris_64bit = yes; then 6659 acl_libdirstem=lib/64 6660 case "$host_cpu" in 6661 sparc*) acl_libdirstem2=lib/sparcv9 ;; 6662 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 6663 esac 6664 fi 6665 ;; 6666 *) 6667 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 6668 if test -n "$searchpath"; then 6669 acl_save_IFS="${IFS= }"; IFS=":" 6670 for searchdir in $searchpath; do 6671 if test -d "$searchdir"; then 6672 case "$searchdir" in 6673 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 6674 */../ | */.. ) 6675 # Better ignore directories of this form. They are misleading. 6676 ;; 6677 *) searchdir=`cd "$searchdir" && pwd` 6678 case "$searchdir" in 6679 */lib64 ) acl_libdirstem=lib64 ;; 6680 esac ;; 6681 esac 6682 fi 6683 done 6684 IFS="$acl_save_IFS" 6685 fi 6686 ;; 6687 esac 6688 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 use_additional=yes 6702 6703 acl_save_prefix="$prefix" 6704 prefix="$acl_final_prefix" 6705 acl_save_exec_prefix="$exec_prefix" 6706 exec_prefix="$acl_final_exec_prefix" 6707 6708 eval additional_includedir=\"$includedir\" 6709 eval additional_libdir=\"$libdir\" 6710 6711 exec_prefix="$acl_save_exec_prefix" 6712 prefix="$acl_save_prefix" 6713 6714 6715# Check whether --with-libiconv-prefix was given. 6716if test "${with_libiconv_prefix+set}" = set; then : 6717 withval=$with_libiconv_prefix; 6718 if test "X$withval" = "Xno"; then 6719 use_additional=no 6720 else 6721 if test "X$withval" = "X"; then 6722 6723 acl_save_prefix="$prefix" 6724 prefix="$acl_final_prefix" 6725 acl_save_exec_prefix="$exec_prefix" 6726 exec_prefix="$acl_final_exec_prefix" 6727 6728 eval additional_includedir=\"$includedir\" 6729 eval additional_libdir=\"$libdir\" 6730 6731 exec_prefix="$acl_save_exec_prefix" 6732 prefix="$acl_save_prefix" 6733 6734 else 6735 additional_includedir="$withval/include" 6736 additional_libdir="$withval/$acl_libdirstem" 6737 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 6738 && ! test -d "$withval/$acl_libdirstem"; then 6739 additional_libdir="$withval/$acl_libdirstem2" 6740 fi 6741 fi 6742 fi 6743 6744fi 6745 6746 LIBICONV= 6747 LTLIBICONV= 6748 INCICONV= 6749 LIBICONV_PREFIX= 6750 HAVE_LIBICONV= 6751 rpathdirs= 6752 ltrpathdirs= 6753 names_already_handled= 6754 names_next_round='iconv ' 6755 while test -n "$names_next_round"; do 6756 names_this_round="$names_next_round" 6757 names_next_round= 6758 for name in $names_this_round; do 6759 already_handled= 6760 for n in $names_already_handled; do 6761 if test "$n" = "$name"; then 6762 already_handled=yes 6763 break 6764 fi 6765 done 6766 if test -z "$already_handled"; then 6767 names_already_handled="$names_already_handled $name" 6768 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 6769 eval value=\"\$HAVE_LIB$uppername\" 6770 if test -n "$value"; then 6771 if test "$value" = yes; then 6772 eval value=\"\$LIB$uppername\" 6773 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 6774 eval value=\"\$LTLIB$uppername\" 6775 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 6776 else 6777 : 6778 fi 6779 else 6780 found_dir= 6781 found_la= 6782 found_so= 6783 found_a= 6784 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 6785 if test -n "$acl_shlibext"; then 6786 shrext=".$acl_shlibext" # typically: shrext=.so 6787 else 6788 shrext= 6789 fi 6790 if test $use_additional = yes; then 6791 dir="$additional_libdir" 6792 if test -n "$acl_shlibext"; then 6793 if test -f "$dir/$libname$shrext"; then 6794 found_dir="$dir" 6795 found_so="$dir/$libname$shrext" 6796 else 6797 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6798 ver=`(cd "$dir" && \ 6799 for f in "$libname$shrext".*; do echo "$f"; done \ 6800 | sed -e "s,^$libname$shrext\\\\.,," \ 6801 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6802 | sed 1q ) 2>/dev/null` 6803 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 6804 found_dir="$dir" 6805 found_so="$dir/$libname$shrext.$ver" 6806 fi 6807 else 6808 eval library_names=\"$acl_library_names_spec\" 6809 for f in $library_names; do 6810 if test -f "$dir/$f"; then 6811 found_dir="$dir" 6812 found_so="$dir/$f" 6813 break 6814 fi 6815 done 6816 fi 6817 fi 6818 fi 6819 if test "X$found_dir" = "X"; then 6820 if test -f "$dir/$libname.$acl_libext"; then 6821 found_dir="$dir" 6822 found_a="$dir/$libname.$acl_libext" 6823 fi 6824 fi 6825 if test "X$found_dir" != "X"; then 6826 if test -f "$dir/$libname.la"; then 6827 found_la="$dir/$libname.la" 6828 fi 6829 fi 6830 fi 6831 if test "X$found_dir" = "X"; then 6832 for x in $LDFLAGS $LTLIBICONV; do 6833 6834 acl_save_prefix="$prefix" 6835 prefix="$acl_final_prefix" 6836 acl_save_exec_prefix="$exec_prefix" 6837 exec_prefix="$acl_final_exec_prefix" 6838 eval x=\"$x\" 6839 exec_prefix="$acl_save_exec_prefix" 6840 prefix="$acl_save_prefix" 6841 6842 case "$x" in 6843 -L*) 6844 dir=`echo "X$x" | sed -e 's/^X-L//'` 6845 if test -n "$acl_shlibext"; then 6846 if test -f "$dir/$libname$shrext"; then 6847 found_dir="$dir" 6848 found_so="$dir/$libname$shrext" 6849 else 6850 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6851 ver=`(cd "$dir" && \ 6852 for f in "$libname$shrext".*; do echo "$f"; done \ 6853 | sed -e "s,^$libname$shrext\\\\.,," \ 6854 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6855 | sed 1q ) 2>/dev/null` 6856 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 6857 found_dir="$dir" 6858 found_so="$dir/$libname$shrext.$ver" 6859 fi 6860 else 6861 eval library_names=\"$acl_library_names_spec\" 6862 for f in $library_names; do 6863 if test -f "$dir/$f"; then 6864 found_dir="$dir" 6865 found_so="$dir/$f" 6866 break 6867 fi 6868 done 6869 fi 6870 fi 6871 fi 6872 if test "X$found_dir" = "X"; then 6873 if test -f "$dir/$libname.$acl_libext"; then 6874 found_dir="$dir" 6875 found_a="$dir/$libname.$acl_libext" 6876 fi 6877 fi 6878 if test "X$found_dir" != "X"; then 6879 if test -f "$dir/$libname.la"; then 6880 found_la="$dir/$libname.la" 6881 fi 6882 fi 6883 ;; 6884 esac 6885 if test "X$found_dir" != "X"; then 6886 break 6887 fi 6888 done 6889 fi 6890 if test "X$found_dir" != "X"; then 6891 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 6892 if test "X$found_so" != "X"; then 6893 if test "$enable_rpath" = no \ 6894 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 6895 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 6896 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6897 else 6898 haveit= 6899 for x in $ltrpathdirs; do 6900 if test "X$x" = "X$found_dir"; then 6901 haveit=yes 6902 break 6903 fi 6904 done 6905 if test -z "$haveit"; then 6906 ltrpathdirs="$ltrpathdirs $found_dir" 6907 fi 6908 if test "$acl_hardcode_direct" = yes; then 6909 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6910 else 6911 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 6912 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6913 haveit= 6914 for x in $rpathdirs; do 6915 if test "X$x" = "X$found_dir"; then 6916 haveit=yes 6917 break 6918 fi 6919 done 6920 if test -z "$haveit"; then 6921 rpathdirs="$rpathdirs $found_dir" 6922 fi 6923 else 6924 haveit= 6925 for x in $LDFLAGS $LIBICONV; do 6926 6927 acl_save_prefix="$prefix" 6928 prefix="$acl_final_prefix" 6929 acl_save_exec_prefix="$exec_prefix" 6930 exec_prefix="$acl_final_exec_prefix" 6931 eval x=\"$x\" 6932 exec_prefix="$acl_save_exec_prefix" 6933 prefix="$acl_save_prefix" 6934 6935 if test "X$x" = "X-L$found_dir"; then 6936 haveit=yes 6937 break 6938 fi 6939 done 6940 if test -z "$haveit"; then 6941 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 6942 fi 6943 if test "$acl_hardcode_minus_L" != no; then 6944 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 6945 else 6946 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 6947 fi 6948 fi 6949 fi 6950 fi 6951 else 6952 if test "X$found_a" != "X"; then 6953 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 6954 else 6955 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 6956 fi 6957 fi 6958 additional_includedir= 6959 case "$found_dir" in 6960 */$acl_libdirstem | */$acl_libdirstem/) 6961 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 6962 if test "$name" = 'iconv'; then 6963 LIBICONV_PREFIX="$basedir" 6964 fi 6965 additional_includedir="$basedir/include" 6966 ;; 6967 */$acl_libdirstem2 | */$acl_libdirstem2/) 6968 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 6969 if test "$name" = 'iconv'; then 6970 LIBICONV_PREFIX="$basedir" 6971 fi 6972 additional_includedir="$basedir/include" 6973 ;; 6974 esac 6975 if test "X$additional_includedir" != "X"; then 6976 if test "X$additional_includedir" != "X/usr/include"; then 6977 haveit= 6978 if test "X$additional_includedir" = "X/usr/local/include"; then 6979 if test -n "$GCC"; then 6980 case $host_os in 6981 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 6982 esac 6983 fi 6984 fi 6985 if test -z "$haveit"; then 6986 for x in $CPPFLAGS $INCICONV; do 6987 6988 acl_save_prefix="$prefix" 6989 prefix="$acl_final_prefix" 6990 acl_save_exec_prefix="$exec_prefix" 6991 exec_prefix="$acl_final_exec_prefix" 6992 eval x=\"$x\" 6993 exec_prefix="$acl_save_exec_prefix" 6994 prefix="$acl_save_prefix" 6995 6996 if test "X$x" = "X-I$additional_includedir"; then 6997 haveit=yes 6998 break 6999 fi 7000 done 7001 if test -z "$haveit"; then 7002 if test -d "$additional_includedir"; then 7003 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 7004 fi 7005 fi 7006 fi 7007 fi 7008 fi 7009 if test -n "$found_la"; then 7010 save_libdir="$libdir" 7011 case "$found_la" in 7012 */* | *\\*) . "$found_la" ;; 7013 *) . "./$found_la" ;; 7014 esac 7015 libdir="$save_libdir" 7016 for dep in $dependency_libs; do 7017 case "$dep" in 7018 -L*) 7019 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 7020 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 7021 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 7022 haveit= 7023 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 7024 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 7025 if test -n "$GCC"; then 7026 case $host_os in 7027 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 7028 esac 7029 fi 7030 fi 7031 if test -z "$haveit"; then 7032 haveit= 7033 for x in $LDFLAGS $LIBICONV; do 7034 7035 acl_save_prefix="$prefix" 7036 prefix="$acl_final_prefix" 7037 acl_save_exec_prefix="$exec_prefix" 7038 exec_prefix="$acl_final_exec_prefix" 7039 eval x=\"$x\" 7040 exec_prefix="$acl_save_exec_prefix" 7041 prefix="$acl_save_prefix" 7042 7043 if test "X$x" = "X-L$additional_libdir"; then 7044 haveit=yes 7045 break 7046 fi 7047 done 7048 if test -z "$haveit"; then 7049 if test -d "$additional_libdir"; then 7050 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 7051 fi 7052 fi 7053 haveit= 7054 for x in $LDFLAGS $LTLIBICONV; do 7055 7056 acl_save_prefix="$prefix" 7057 prefix="$acl_final_prefix" 7058 acl_save_exec_prefix="$exec_prefix" 7059 exec_prefix="$acl_final_exec_prefix" 7060 eval x=\"$x\" 7061 exec_prefix="$acl_save_exec_prefix" 7062 prefix="$acl_save_prefix" 7063 7064 if test "X$x" = "X-L$additional_libdir"; then 7065 haveit=yes 7066 break 7067 fi 7068 done 7069 if test -z "$haveit"; then 7070 if test -d "$additional_libdir"; then 7071 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 7072 fi 7073 fi 7074 fi 7075 fi 7076 ;; 7077 -R*) 7078 dir=`echo "X$dep" | sed -e 's/^X-R//'` 7079 if test "$enable_rpath" != no; then 7080 haveit= 7081 for x in $rpathdirs; do 7082 if test "X$x" = "X$dir"; then 7083 haveit=yes 7084 break 7085 fi 7086 done 7087 if test -z "$haveit"; then 7088 rpathdirs="$rpathdirs $dir" 7089 fi 7090 haveit= 7091 for x in $ltrpathdirs; do 7092 if test "X$x" = "X$dir"; then 7093 haveit=yes 7094 break 7095 fi 7096 done 7097 if test -z "$haveit"; then 7098 ltrpathdirs="$ltrpathdirs $dir" 7099 fi 7100 fi 7101 ;; 7102 -l*) 7103 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 7104 ;; 7105 *.la) 7106 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 7107 ;; 7108 *) 7109 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 7110 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 7111 ;; 7112 esac 7113 done 7114 fi 7115 else 7116 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 7117 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 7118 fi 7119 fi 7120 fi 7121 done 7122 done 7123 if test "X$rpathdirs" != "X"; then 7124 if test -n "$acl_hardcode_libdir_separator"; then 7125 alldirs= 7126 for found_dir in $rpathdirs; do 7127 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 7128 done 7129 acl_save_libdir="$libdir" 7130 libdir="$alldirs" 7131 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7132 libdir="$acl_save_libdir" 7133 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 7134 else 7135 for found_dir in $rpathdirs; do 7136 acl_save_libdir="$libdir" 7137 libdir="$found_dir" 7138 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7139 libdir="$acl_save_libdir" 7140 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 7141 done 7142 fi 7143 fi 7144 if test "X$ltrpathdirs" != "X"; then 7145 for found_dir in $ltrpathdirs; do 7146 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 7147 done 7148 fi 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 am_save_CPPFLAGS="$CPPFLAGS" 7162 7163 for element in $INCICONV; do 7164 haveit= 7165 for x in $CPPFLAGS; do 7166 7167 acl_save_prefix="$prefix" 7168 prefix="$acl_final_prefix" 7169 acl_save_exec_prefix="$exec_prefix" 7170 exec_prefix="$acl_final_exec_prefix" 7171 eval x=\"$x\" 7172 exec_prefix="$acl_save_exec_prefix" 7173 prefix="$acl_save_prefix" 7174 7175 if test "X$x" = "X$element"; then 7176 haveit=yes 7177 break 7178 fi 7179 done 7180 if test -z "$haveit"; then 7181 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 7182 fi 7183 done 7184 7185 7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 7187$as_echo_n "checking for iconv... " >&6; } 7188if ${am_cv_func_iconv+:} false; then : 7189 $as_echo_n "(cached) " >&6 7190else 7191 7192 am_cv_func_iconv="no, consider installing GNU libiconv" 7193 am_cv_lib_iconv=no 7194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7195/* end confdefs.h. */ 7196 7197#include <stdlib.h> 7198#include <iconv.h> 7199 7200int 7201main () 7202{ 7203iconv_t cd = iconv_open("",""); 7204 iconv(cd,NULL,NULL,NULL,NULL); 7205 iconv_close(cd); 7206 ; 7207 return 0; 7208} 7209_ACEOF 7210if ac_fn_c_try_link "$LINENO"; then : 7211 am_cv_func_iconv=yes 7212fi 7213rm -f core conftest.err conftest.$ac_objext \ 7214 conftest$ac_exeext conftest.$ac_ext 7215 if test "$am_cv_func_iconv" != yes; then 7216 am_save_LIBS="$LIBS" 7217 LIBS="$LIBS $LIBICONV" 7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7219/* end confdefs.h. */ 7220 7221#include <stdlib.h> 7222#include <iconv.h> 7223 7224int 7225main () 7226{ 7227iconv_t cd = iconv_open("",""); 7228 iconv(cd,NULL,NULL,NULL,NULL); 7229 iconv_close(cd); 7230 ; 7231 return 0; 7232} 7233_ACEOF 7234if ac_fn_c_try_link "$LINENO"; then : 7235 am_cv_lib_iconv=yes 7236 am_cv_func_iconv=yes 7237fi 7238rm -f core conftest.err conftest.$ac_objext \ 7239 conftest$ac_exeext conftest.$ac_ext 7240 LIBS="$am_save_LIBS" 7241 fi 7242 7243fi 7244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 7245$as_echo "$am_cv_func_iconv" >&6; } 7246 if test "$am_cv_func_iconv" = yes; then 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 7248$as_echo_n "checking for working iconv... " >&6; } 7249if ${am_cv_func_iconv_works+:} false; then : 7250 $as_echo_n "(cached) " >&6 7251else 7252 7253 am_save_LIBS="$LIBS" 7254 if test $am_cv_lib_iconv = yes; then 7255 LIBS="$LIBS $LIBICONV" 7256 fi 7257 am_cv_func_iconv_works=no 7258 for ac_iconv_const in '' 'const'; do 7259 if test "$cross_compiling" = yes; then : 7260 case "$host_os" in 7261 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 7262 *) am_cv_func_iconv_works="guessing yes" ;; 7263 esac 7264else 7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7266/* end confdefs.h. */ 7267 7268#include <iconv.h> 7269#include <string.h> 7270 7271#ifndef ICONV_CONST 7272# define ICONV_CONST $ac_iconv_const 7273#endif 7274 7275int 7276main () 7277{ 7278int result = 0; 7279 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 7280 returns. */ 7281 { 7282 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 7283 if (cd_utf8_to_88591 != (iconv_t)(-1)) 7284 { 7285 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 7286 char buf[10]; 7287 ICONV_CONST char *inptr = input; 7288 size_t inbytesleft = strlen (input); 7289 char *outptr = buf; 7290 size_t outbytesleft = sizeof (buf); 7291 size_t res = iconv (cd_utf8_to_88591, 7292 &inptr, &inbytesleft, 7293 &outptr, &outbytesleft); 7294 if (res == 0) 7295 result |= 1; 7296 iconv_close (cd_utf8_to_88591); 7297 } 7298 } 7299 /* Test against Solaris 10 bug: Failures are not distinguishable from 7300 successful returns. */ 7301 { 7302 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 7303 if (cd_ascii_to_88591 != (iconv_t)(-1)) 7304 { 7305 static ICONV_CONST char input[] = "\263"; 7306 char buf[10]; 7307 ICONV_CONST char *inptr = input; 7308 size_t inbytesleft = strlen (input); 7309 char *outptr = buf; 7310 size_t outbytesleft = sizeof (buf); 7311 size_t res = iconv (cd_ascii_to_88591, 7312 &inptr, &inbytesleft, 7313 &outptr, &outbytesleft); 7314 if (res == 0) 7315 result |= 2; 7316 iconv_close (cd_ascii_to_88591); 7317 } 7318 } 7319 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 7320 { 7321 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 7322 if (cd_88591_to_utf8 != (iconv_t)(-1)) 7323 { 7324 static ICONV_CONST char input[] = "\304"; 7325 static char buf[2] = { (char)0xDE, (char)0xAD }; 7326 ICONV_CONST char *inptr = input; 7327 size_t inbytesleft = 1; 7328 char *outptr = buf; 7329 size_t outbytesleft = 1; 7330 size_t res = iconv (cd_88591_to_utf8, 7331 &inptr, &inbytesleft, 7332 &outptr, &outbytesleft); 7333 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 7334 result |= 4; 7335 iconv_close (cd_88591_to_utf8); 7336 } 7337 } 7338#if 0 /* This bug could be worked around by the caller. */ 7339 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 7340 { 7341 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 7342 if (cd_88591_to_utf8 != (iconv_t)(-1)) 7343 { 7344 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 7345 char buf[50]; 7346 ICONV_CONST char *inptr = input; 7347 size_t inbytesleft = strlen (input); 7348 char *outptr = buf; 7349 size_t outbytesleft = sizeof (buf); 7350 size_t res = iconv (cd_88591_to_utf8, 7351 &inptr, &inbytesleft, 7352 &outptr, &outbytesleft); 7353 if ((int)res > 0) 7354 result |= 8; 7355 iconv_close (cd_88591_to_utf8); 7356 } 7357 } 7358#endif 7359 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 7360 provided. */ 7361 if (/* Try standardized names. */ 7362 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 7363 /* Try IRIX, OSF/1 names. */ 7364 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 7365 /* Try AIX names. */ 7366 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 7367 /* Try HP-UX names. */ 7368 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 7369 result |= 16; 7370 return result; 7371 7372 ; 7373 return 0; 7374} 7375_ACEOF 7376if ac_fn_c_try_run "$LINENO"; then : 7377 am_cv_func_iconv_works=yes 7378fi 7379rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7380 conftest.$ac_objext conftest.beam conftest.$ac_ext 7381fi 7382 7383 test "$am_cv_func_iconv_works" = no || break 7384 done 7385 LIBS="$am_save_LIBS" 7386 7387fi 7388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 7389$as_echo "$am_cv_func_iconv_works" >&6; } 7390 case "$am_cv_func_iconv_works" in 7391 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 7392 *) am_func_iconv=yes ;; 7393 esac 7394 else 7395 am_func_iconv=no am_cv_lib_iconv=no 7396 fi 7397 if test "$am_func_iconv" = yes; then 7398 7399$as_echo "#define HAVE_ICONV 1" >>confdefs.h 7400 7401 fi 7402 if test "$am_cv_lib_iconv" = yes; then 7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 7404$as_echo_n "checking how to link with libiconv... " >&6; } 7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 7406$as_echo "$LIBICONV" >&6; } 7407 else 7408 CPPFLAGS="$am_save_CPPFLAGS" 7409 LIBICONV= 7410 LTLIBICONV= 7411 fi 7412 7413 7414 7415 if test "$am_cv_func_iconv" = yes; then 7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 7417$as_echo_n "checking for iconv declaration... " >&6; } 7418 if ${am_cv_proto_iconv+:} false; then : 7419 $as_echo_n "(cached) " >&6 7420else 7421 7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7423/* end confdefs.h. */ 7424 7425#include <stdlib.h> 7426#include <iconv.h> 7427extern 7428#ifdef __cplusplus 7429"C" 7430#endif 7431#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) 7432size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 7433#else 7434size_t iconv(); 7435#endif 7436 7437int 7438main () 7439{ 7440 7441 ; 7442 return 0; 7443} 7444_ACEOF 7445if ac_fn_c_try_compile "$LINENO"; then : 7446 am_cv_proto_iconv_arg1="" 7447else 7448 am_cv_proto_iconv_arg1="const" 7449fi 7450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7451 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 7452fi 7453 7454 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7456 $am_cv_proto_iconv" >&5 7457$as_echo " 7458 $am_cv_proto_iconv" >&6; } 7459 7460cat >>confdefs.h <<_ACEOF 7461#define ICONV_CONST $am_cv_proto_iconv_arg1 7462_ACEOF 7463 7464 7465 fi 7466 7467for ac_func in nl_langinfo vasprintf wcswidth 7468do : 7469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7470ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 7471if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 7472 cat >>confdefs.h <<_ACEOF 7473#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7474_ACEOF 7475 7476fi 7477done 7478 7479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 7480$as_echo_n "checking for library containing clock_gettime... " >&6; } 7481if ${ac_cv_search_clock_gettime+:} false; then : 7482 $as_echo_n "(cached) " >&6 7483else 7484 ac_func_search_save_LIBS=$LIBS 7485cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7486/* end confdefs.h. */ 7487 7488/* Override any GCC internal prototype to avoid an error. 7489 Use char because int might match the return type of a GCC 7490 builtin and then its argument prototype would still apply. */ 7491#ifdef __cplusplus 7492extern "C" 7493#endif 7494char clock_gettime (); 7495int 7496main () 7497{ 7498return clock_gettime (); 7499 ; 7500 return 0; 7501} 7502_ACEOF 7503for ac_lib in '' rt; do 7504 if test -z "$ac_lib"; then 7505 ac_res="none required" 7506 else 7507 ac_res=-l$ac_lib 7508 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7509 fi 7510 if ac_fn_c_try_link "$LINENO"; then : 7511 ac_cv_search_clock_gettime=$ac_res 7512fi 7513rm -f core conftest.err conftest.$ac_objext \ 7514 conftest$ac_exeext 7515 if ${ac_cv_search_clock_gettime+:} false; then : 7516 break 7517fi 7518done 7519if ${ac_cv_search_clock_gettime+:} false; then : 7520 7521else 7522 ac_cv_search_clock_gettime=no 7523fi 7524rm conftest.$ac_ext 7525LIBS=$ac_func_search_save_LIBS 7526fi 7527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 7528$as_echo "$ac_cv_search_clock_gettime" >&6; } 7529ac_res=$ac_cv_search_clock_gettime 7530if test "$ac_res" != no; then : 7531 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7532 7533fi 7534 7535for ac_func in clock_gettime 7536do : 7537 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7538if test "x$ac_cv_func_clock_gettime" = xyes; then : 7539 cat >>confdefs.h <<_ACEOF 7540#define HAVE_CLOCK_GETTIME 1 7541_ACEOF 7542 7543fi 7544done 7545 7546ac_ext=cpp 7547ac_cpp='$CXXCPP $CPPFLAGS' 7548ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7549ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7550ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7551 7552 7553ac_ext=c 7554ac_cpp='$CPP $CPPFLAGS' 7555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7557ac_compiler_gnu=$ac_cv_c_compiler_gnu 7558 7559 7560if test "$am_cv_func_iconv" != "yes"; then 7561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libiconv not found" >&5 7562$as_echo "$as_me: WARNING: required library libiconv not found" >&2;} 7563fi 7564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 7565$as_echo_n "checking for a sed that does not truncate output... " >&6; } 7566if ${ac_cv_path_SED+:} false; then : 7567 $as_echo_n "(cached) " >&6 7568else 7569 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 7570 for ac_i in 1 2 3 4 5 6 7; do 7571 ac_script="$ac_script$as_nl$ac_script" 7572 done 7573 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 7574 { ac_script=; unset ac_script;} 7575 if test -z "$SED"; then 7576 ac_path_SED_found=false 7577 # Loop through the user's path and test for each of PROGNAME-LIST 7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7579for as_dir in $PATH 7580do 7581 IFS=$as_save_IFS 7582 test -z "$as_dir" && as_dir=. 7583 for ac_prog in sed gsed; do 7584 for ac_exec_ext in '' $ac_executable_extensions; do 7585 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 7586 as_fn_executable_p "$ac_path_SED" || continue 7587# Check for GNU ac_path_SED and select it if it is found. 7588 # Check for GNU $ac_path_SED 7589case `"$ac_path_SED" --version 2>&1` in 7590*GNU*) 7591 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 7592*) 7593 ac_count=0 7594 $as_echo_n 0123456789 >"conftest.in" 7595 while : 7596 do 7597 cat "conftest.in" "conftest.in" >"conftest.tmp" 7598 mv "conftest.tmp" "conftest.in" 7599 cp "conftest.in" "conftest.nl" 7600 $as_echo '' >> "conftest.nl" 7601 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 7602 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7603 as_fn_arith $ac_count + 1 && ac_count=$as_val 7604 if test $ac_count -gt ${ac_path_SED_max-0}; then 7605 # Best one so far, save it but keep looking for a better one 7606 ac_cv_path_SED="$ac_path_SED" 7607 ac_path_SED_max=$ac_count 7608 fi 7609 # 10*(2^10) chars as input seems more than enough 7610 test $ac_count -gt 10 && break 7611 done 7612 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7613esac 7614 7615 $ac_path_SED_found && break 3 7616 done 7617 done 7618 done 7619IFS=$as_save_IFS 7620 if test -z "$ac_cv_path_SED"; then 7621 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 7622 fi 7623else 7624 ac_cv_path_SED=$SED 7625fi 7626 7627fi 7628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 7629$as_echo "$ac_cv_path_SED" >&6; } 7630 SED="$ac_cv_path_SED" 7631 rm -f conftest.sed 7632 7633 7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 7635$as_echo_n "checking whether NLS is requested... " >&6; } 7636 # Check whether --enable-nls was given. 7637if test "${enable_nls+set}" = set; then : 7638 enableval=$enable_nls; USE_NLS=$enableval 7639else 7640 USE_NLS=yes 7641fi 7642 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 7644$as_echo "$USE_NLS" >&6; } 7645 7646 7647 7648 7649 GETTEXT_MACRO_VERSION=0.19 7650 7651 7652 7653 7654# Prepare PATH_SEPARATOR. 7655# The user is always right. 7656if test "${PATH_SEPARATOR+set}" != set; then 7657 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 7658 # contains only /bin. Note that ksh looks also at the FPATH variable, 7659 # so we have to set that as well for the test. 7660 PATH_SEPARATOR=: 7661 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 7662 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 7663 || PATH_SEPARATOR=';' 7664 } 7665fi 7666 7667# Find out how to test for executable files. Don't use a zero-byte file, 7668# as systems may use methods other than mode bits to determine executability. 7669cat >conf$$.file <<_ASEOF 7670#! /bin/sh 7671exit 0 7672_ASEOF 7673chmod +x conf$$.file 7674if test -x conf$$.file >/dev/null 2>&1; then 7675 ac_executable_p="test -x" 7676else 7677 ac_executable_p="test -f" 7678fi 7679rm -f conf$$.file 7680 7681# Extract the first word of "msgfmt", so it can be a program name with args. 7682set dummy msgfmt; ac_word=$2 7683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7684$as_echo_n "checking for $ac_word... " >&6; } 7685if ${ac_cv_path_MSGFMT+:} false; then : 7686 $as_echo_n "(cached) " >&6 7687else 7688 case "$MSGFMT" in 7689 [\\/]* | ?:[\\/]*) 7690 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 7691 ;; 7692 *) 7693 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 7694 for ac_dir in $PATH; do 7695 IFS="$ac_save_IFS" 7696 test -z "$ac_dir" && ac_dir=. 7697 for ac_exec_ext in '' $ac_executable_extensions; do 7698 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 7699 echo "$as_me: trying $ac_dir/$ac_word..." >&5 7700 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 7701 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 7702 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 7703 break 2 7704 fi 7705 fi 7706 done 7707 done 7708 IFS="$ac_save_IFS" 7709 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 7710 ;; 7711esac 7712fi 7713MSGFMT="$ac_cv_path_MSGFMT" 7714if test "$MSGFMT" != ":"; then 7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 7716$as_echo "$MSGFMT" >&6; } 7717else 7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7719$as_echo "no" >&6; } 7720fi 7721 7722 # Extract the first word of "gmsgfmt", so it can be a program name with args. 7723set dummy gmsgfmt; ac_word=$2 7724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7725$as_echo_n "checking for $ac_word... " >&6; } 7726if ${ac_cv_path_GMSGFMT+:} false; then : 7727 $as_echo_n "(cached) " >&6 7728else 7729 case $GMSGFMT in 7730 [\\/]* | ?:[\\/]*) 7731 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 7732 ;; 7733 *) 7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7735for as_dir in $PATH 7736do 7737 IFS=$as_save_IFS 7738 test -z "$as_dir" && as_dir=. 7739 for ac_exec_ext in '' $ac_executable_extensions; do 7740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7741 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 7742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7743 break 2 7744 fi 7745done 7746 done 7747IFS=$as_save_IFS 7748 7749 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 7750 ;; 7751esac 7752fi 7753GMSGFMT=$ac_cv_path_GMSGFMT 7754if test -n "$GMSGFMT"; then 7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 7756$as_echo "$GMSGFMT" >&6; } 7757else 7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7759$as_echo "no" >&6; } 7760fi 7761 7762 7763 7764 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 7765 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 7766 *) MSGFMT_015=$MSGFMT ;; 7767 esac 7768 7769 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 7770 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 7771 *) GMSGFMT_015=$GMSGFMT ;; 7772 esac 7773 7774 7775 7776# Prepare PATH_SEPARATOR. 7777# The user is always right. 7778if test "${PATH_SEPARATOR+set}" != set; then 7779 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 7780 # contains only /bin. Note that ksh looks also at the FPATH variable, 7781 # so we have to set that as well for the test. 7782 PATH_SEPARATOR=: 7783 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 7784 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 7785 || PATH_SEPARATOR=';' 7786 } 7787fi 7788 7789# Find out how to test for executable files. Don't use a zero-byte file, 7790# as systems may use methods other than mode bits to determine executability. 7791cat >conf$$.file <<_ASEOF 7792#! /bin/sh 7793exit 0 7794_ASEOF 7795chmod +x conf$$.file 7796if test -x conf$$.file >/dev/null 2>&1; then 7797 ac_executable_p="test -x" 7798else 7799 ac_executable_p="test -f" 7800fi 7801rm -f conf$$.file 7802 7803# Extract the first word of "xgettext", so it can be a program name with args. 7804set dummy xgettext; ac_word=$2 7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7806$as_echo_n "checking for $ac_word... " >&6; } 7807if ${ac_cv_path_XGETTEXT+:} false; then : 7808 $as_echo_n "(cached) " >&6 7809else 7810 case "$XGETTEXT" in 7811 [\\/]* | ?:[\\/]*) 7812 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 7813 ;; 7814 *) 7815 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 7816 for ac_dir in $PATH; do 7817 IFS="$ac_save_IFS" 7818 test -z "$ac_dir" && ac_dir=. 7819 for ac_exec_ext in '' $ac_executable_extensions; do 7820 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 7821 echo "$as_me: trying $ac_dir/$ac_word..." >&5 7822 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 7823 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 7824 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 7825 break 2 7826 fi 7827 fi 7828 done 7829 done 7830 IFS="$ac_save_IFS" 7831 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 7832 ;; 7833esac 7834fi 7835XGETTEXT="$ac_cv_path_XGETTEXT" 7836if test "$XGETTEXT" != ":"; then 7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 7838$as_echo "$XGETTEXT" >&6; } 7839else 7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7841$as_echo "no" >&6; } 7842fi 7843 7844 rm -f messages.po 7845 7846 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 7847 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 7848 *) XGETTEXT_015=$XGETTEXT ;; 7849 esac 7850 7851 7852 7853# Prepare PATH_SEPARATOR. 7854# The user is always right. 7855if test "${PATH_SEPARATOR+set}" != set; then 7856 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 7857 # contains only /bin. Note that ksh looks also at the FPATH variable, 7858 # so we have to set that as well for the test. 7859 PATH_SEPARATOR=: 7860 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 7861 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 7862 || PATH_SEPARATOR=';' 7863 } 7864fi 7865 7866# Find out how to test for executable files. Don't use a zero-byte file, 7867# as systems may use methods other than mode bits to determine executability. 7868cat >conf$$.file <<_ASEOF 7869#! /bin/sh 7870exit 0 7871_ASEOF 7872chmod +x conf$$.file 7873if test -x conf$$.file >/dev/null 2>&1; then 7874 ac_executable_p="test -x" 7875else 7876 ac_executable_p="test -f" 7877fi 7878rm -f conf$$.file 7879 7880# Extract the first word of "msgmerge", so it can be a program name with args. 7881set dummy msgmerge; ac_word=$2 7882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7883$as_echo_n "checking for $ac_word... " >&6; } 7884if ${ac_cv_path_MSGMERGE+:} false; then : 7885 $as_echo_n "(cached) " >&6 7886else 7887 case "$MSGMERGE" in 7888 [\\/]* | ?:[\\/]*) 7889 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 7890 ;; 7891 *) 7892 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 7893 for ac_dir in $PATH; do 7894 IFS="$ac_save_IFS" 7895 test -z "$ac_dir" && ac_dir=. 7896 for ac_exec_ext in '' $ac_executable_extensions; do 7897 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 7898 echo "$as_me: trying $ac_dir/$ac_word..." >&5 7899 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 7900 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 7901 break 2 7902 fi 7903 fi 7904 done 7905 done 7906 IFS="$ac_save_IFS" 7907 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 7908 ;; 7909esac 7910fi 7911MSGMERGE="$ac_cv_path_MSGMERGE" 7912if test "$MSGMERGE" != ":"; then 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 7914$as_echo "$MSGMERGE" >&6; } 7915else 7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7917$as_echo "no" >&6; } 7918fi 7919 7920 7921 test -n "$localedir" || localedir='${datadir}/locale' 7922 7923 7924 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 7925 7926 7927 ac_config_commands="$ac_config_commands po-directories" 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 7955$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 7956if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 7957 $as_echo_n "(cached) " >&6 7958else 7959 gt_save_LIBS="$LIBS" 7960 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 7961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7962/* end confdefs.h. */ 7963#include <CoreFoundation/CFPreferences.h> 7964int 7965main () 7966{ 7967CFPreferencesCopyAppValue(NULL, NULL) 7968 ; 7969 return 0; 7970} 7971_ACEOF 7972if ac_fn_c_try_link "$LINENO"; then : 7973 gt_cv_func_CFPreferencesCopyAppValue=yes 7974else 7975 gt_cv_func_CFPreferencesCopyAppValue=no 7976fi 7977rm -f core conftest.err conftest.$ac_objext \ 7978 conftest$ac_exeext conftest.$ac_ext 7979 LIBS="$gt_save_LIBS" 7980fi 7981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 7982$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 7983 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 7984 7985$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 7986 7987 fi 7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 7989$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 7990if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 7991 $as_echo_n "(cached) " >&6 7992else 7993 gt_save_LIBS="$LIBS" 7994 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 7995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7996/* end confdefs.h. */ 7997#include <CoreFoundation/CFLocale.h> 7998int 7999main () 8000{ 8001CFLocaleCopyCurrent(); 8002 ; 8003 return 0; 8004} 8005_ACEOF 8006if ac_fn_c_try_link "$LINENO"; then : 8007 gt_cv_func_CFLocaleCopyCurrent=yes 8008else 8009 gt_cv_func_CFLocaleCopyCurrent=no 8010fi 8011rm -f core conftest.err conftest.$ac_objext \ 8012 conftest$ac_exeext conftest.$ac_ext 8013 LIBS="$gt_save_LIBS" 8014fi 8015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 8016$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 8017 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 8018 8019$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 8020 8021 fi 8022 INTL_MACOSX_LIBS= 8023 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 8024 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 8025 fi 8026 8027 8028 8029 8030 8031 8032 LIBINTL= 8033 LTLIBINTL= 8034 POSUB= 8035 8036 case " $gt_needs " in 8037 *" need-formatstring-macros "*) gt_api_version=3 ;; 8038 *" need-ngettext "*) gt_api_version=2 ;; 8039 *) gt_api_version=1 ;; 8040 esac 8041 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 8042 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 8043 8044 if test "$USE_NLS" = "yes"; then 8045 gt_use_preinstalled_gnugettext=no 8046 8047 8048 if test $gt_api_version -ge 3; then 8049 gt_revision_test_code=' 8050#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 8051#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 8052#endif 8053typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 8054' 8055 else 8056 gt_revision_test_code= 8057 fi 8058 if test $gt_api_version -ge 2; then 8059 gt_expression_test_code=' + * ngettext ("", "", 0)' 8060 else 8061 gt_expression_test_code= 8062 fi 8063 8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 8065$as_echo_n "checking for GNU gettext in libc... " >&6; } 8066if eval \${$gt_func_gnugettext_libc+:} false; then : 8067 $as_echo_n "(cached) " >&6 8068else 8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8070/* end confdefs.h. */ 8071 8072#include <libintl.h> 8073#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 8074extern int _nl_msg_cat_cntr; 8075extern int *_nl_domain_bindings; 8076#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) 8077#else 8078#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 8079#endif 8080$gt_revision_test_code 8081 8082int 8083main () 8084{ 8085 8086bindtextdomain ("", ""); 8087return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 8088 8089 ; 8090 return 0; 8091} 8092_ACEOF 8093if ac_fn_c_try_link "$LINENO"; then : 8094 eval "$gt_func_gnugettext_libc=yes" 8095else 8096 eval "$gt_func_gnugettext_libc=no" 8097fi 8098rm -f core conftest.err conftest.$ac_objext \ 8099 conftest$ac_exeext conftest.$ac_ext 8100fi 8101eval ac_res=\$$gt_func_gnugettext_libc 8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 8103$as_echo "$ac_res" >&6; } 8104 8105 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 8106 8107 8108 8109 8110 8111 am_save_CPPFLAGS="$CPPFLAGS" 8112 8113 for element in $INCICONV; do 8114 haveit= 8115 for x in $CPPFLAGS; do 8116 8117 acl_save_prefix="$prefix" 8118 prefix="$acl_final_prefix" 8119 acl_save_exec_prefix="$exec_prefix" 8120 exec_prefix="$acl_final_exec_prefix" 8121 eval x=\"$x\" 8122 exec_prefix="$acl_save_exec_prefix" 8123 prefix="$acl_save_prefix" 8124 8125 if test "X$x" = "X$element"; then 8126 haveit=yes 8127 break 8128 fi 8129 done 8130 if test -z "$haveit"; then 8131 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 8132 fi 8133 done 8134 8135 8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 8137$as_echo_n "checking for iconv... " >&6; } 8138if ${am_cv_func_iconv+:} false; then : 8139 $as_echo_n "(cached) " >&6 8140else 8141 8142 am_cv_func_iconv="no, consider installing GNU libiconv" 8143 am_cv_lib_iconv=no 8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8145/* end confdefs.h. */ 8146 8147#include <stdlib.h> 8148#include <iconv.h> 8149 8150int 8151main () 8152{ 8153iconv_t cd = iconv_open("",""); 8154 iconv(cd,NULL,NULL,NULL,NULL); 8155 iconv_close(cd); 8156 ; 8157 return 0; 8158} 8159_ACEOF 8160if ac_fn_c_try_link "$LINENO"; then : 8161 am_cv_func_iconv=yes 8162fi 8163rm -f core conftest.err conftest.$ac_objext \ 8164 conftest$ac_exeext conftest.$ac_ext 8165 if test "$am_cv_func_iconv" != yes; then 8166 am_save_LIBS="$LIBS" 8167 LIBS="$LIBS $LIBICONV" 8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8169/* end confdefs.h. */ 8170 8171#include <stdlib.h> 8172#include <iconv.h> 8173 8174int 8175main () 8176{ 8177iconv_t cd = iconv_open("",""); 8178 iconv(cd,NULL,NULL,NULL,NULL); 8179 iconv_close(cd); 8180 ; 8181 return 0; 8182} 8183_ACEOF 8184if ac_fn_c_try_link "$LINENO"; then : 8185 am_cv_lib_iconv=yes 8186 am_cv_func_iconv=yes 8187fi 8188rm -f core conftest.err conftest.$ac_objext \ 8189 conftest$ac_exeext conftest.$ac_ext 8190 LIBS="$am_save_LIBS" 8191 fi 8192 8193fi 8194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 8195$as_echo "$am_cv_func_iconv" >&6; } 8196 if test "$am_cv_func_iconv" = yes; then 8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 8198$as_echo_n "checking for working iconv... " >&6; } 8199if ${am_cv_func_iconv_works+:} false; then : 8200 $as_echo_n "(cached) " >&6 8201else 8202 8203 am_save_LIBS="$LIBS" 8204 if test $am_cv_lib_iconv = yes; then 8205 LIBS="$LIBS $LIBICONV" 8206 fi 8207 am_cv_func_iconv_works=no 8208 for ac_iconv_const in '' 'const'; do 8209 if test "$cross_compiling" = yes; then : 8210 case "$host_os" in 8211 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 8212 *) am_cv_func_iconv_works="guessing yes" ;; 8213 esac 8214else 8215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8216/* end confdefs.h. */ 8217 8218#include <iconv.h> 8219#include <string.h> 8220 8221#ifndef ICONV_CONST 8222# define ICONV_CONST $ac_iconv_const 8223#endif 8224 8225int 8226main () 8227{ 8228int result = 0; 8229 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 8230 returns. */ 8231 { 8232 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 8233 if (cd_utf8_to_88591 != (iconv_t)(-1)) 8234 { 8235 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ 8236 char buf[10]; 8237 ICONV_CONST char *inptr = input; 8238 size_t inbytesleft = strlen (input); 8239 char *outptr = buf; 8240 size_t outbytesleft = sizeof (buf); 8241 size_t res = iconv (cd_utf8_to_88591, 8242 &inptr, &inbytesleft, 8243 &outptr, &outbytesleft); 8244 if (res == 0) 8245 result |= 1; 8246 iconv_close (cd_utf8_to_88591); 8247 } 8248 } 8249 /* Test against Solaris 10 bug: Failures are not distinguishable from 8250 successful returns. */ 8251 { 8252 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 8253 if (cd_ascii_to_88591 != (iconv_t)(-1)) 8254 { 8255 static ICONV_CONST char input[] = "\263"; 8256 char buf[10]; 8257 ICONV_CONST char *inptr = input; 8258 size_t inbytesleft = strlen (input); 8259 char *outptr = buf; 8260 size_t outbytesleft = sizeof (buf); 8261 size_t res = iconv (cd_ascii_to_88591, 8262 &inptr, &inbytesleft, 8263 &outptr, &outbytesleft); 8264 if (res == 0) 8265 result |= 2; 8266 iconv_close (cd_ascii_to_88591); 8267 } 8268 } 8269 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 8270 { 8271 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 8272 if (cd_88591_to_utf8 != (iconv_t)(-1)) 8273 { 8274 static ICONV_CONST char input[] = "\304"; 8275 static char buf[2] = { (char)0xDE, (char)0xAD }; 8276 ICONV_CONST char *inptr = input; 8277 size_t inbytesleft = 1; 8278 char *outptr = buf; 8279 size_t outbytesleft = 1; 8280 size_t res = iconv (cd_88591_to_utf8, 8281 &inptr, &inbytesleft, 8282 &outptr, &outbytesleft); 8283 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 8284 result |= 4; 8285 iconv_close (cd_88591_to_utf8); 8286 } 8287 } 8288#if 0 /* This bug could be worked around by the caller. */ 8289 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 8290 { 8291 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 8292 if (cd_88591_to_utf8 != (iconv_t)(-1)) 8293 { 8294 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 8295 char buf[50]; 8296 ICONV_CONST char *inptr = input; 8297 size_t inbytesleft = strlen (input); 8298 char *outptr = buf; 8299 size_t outbytesleft = sizeof (buf); 8300 size_t res = iconv (cd_88591_to_utf8, 8301 &inptr, &inbytesleft, 8302 &outptr, &outbytesleft); 8303 if ((int)res > 0) 8304 result |= 8; 8305 iconv_close (cd_88591_to_utf8); 8306 } 8307 } 8308#endif 8309 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 8310 provided. */ 8311 if (/* Try standardized names. */ 8312 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 8313 /* Try IRIX, OSF/1 names. */ 8314 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 8315 /* Try AIX names. */ 8316 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 8317 /* Try HP-UX names. */ 8318 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 8319 result |= 16; 8320 return result; 8321 8322 ; 8323 return 0; 8324} 8325_ACEOF 8326if ac_fn_c_try_run "$LINENO"; then : 8327 am_cv_func_iconv_works=yes 8328fi 8329rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8330 conftest.$ac_objext conftest.beam conftest.$ac_ext 8331fi 8332 8333 test "$am_cv_func_iconv_works" = no || break 8334 done 8335 LIBS="$am_save_LIBS" 8336 8337fi 8338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 8339$as_echo "$am_cv_func_iconv_works" >&6; } 8340 case "$am_cv_func_iconv_works" in 8341 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 8342 *) am_func_iconv=yes ;; 8343 esac 8344 else 8345 am_func_iconv=no am_cv_lib_iconv=no 8346 fi 8347 if test "$am_func_iconv" = yes; then 8348 8349$as_echo "#define HAVE_ICONV 1" >>confdefs.h 8350 8351 fi 8352 if test "$am_cv_lib_iconv" = yes; then 8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 8354$as_echo_n "checking how to link with libiconv... " >&6; } 8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 8356$as_echo "$LIBICONV" >&6; } 8357 else 8358 CPPFLAGS="$am_save_CPPFLAGS" 8359 LIBICONV= 8360 LTLIBICONV= 8361 fi 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 use_additional=yes 8374 8375 acl_save_prefix="$prefix" 8376 prefix="$acl_final_prefix" 8377 acl_save_exec_prefix="$exec_prefix" 8378 exec_prefix="$acl_final_exec_prefix" 8379 8380 eval additional_includedir=\"$includedir\" 8381 eval additional_libdir=\"$libdir\" 8382 8383 exec_prefix="$acl_save_exec_prefix" 8384 prefix="$acl_save_prefix" 8385 8386 8387# Check whether --with-libintl-prefix was given. 8388if test "${with_libintl_prefix+set}" = set; then : 8389 withval=$with_libintl_prefix; 8390 if test "X$withval" = "Xno"; then 8391 use_additional=no 8392 else 8393 if test "X$withval" = "X"; then 8394 8395 acl_save_prefix="$prefix" 8396 prefix="$acl_final_prefix" 8397 acl_save_exec_prefix="$exec_prefix" 8398 exec_prefix="$acl_final_exec_prefix" 8399 8400 eval additional_includedir=\"$includedir\" 8401 eval additional_libdir=\"$libdir\" 8402 8403 exec_prefix="$acl_save_exec_prefix" 8404 prefix="$acl_save_prefix" 8405 8406 else 8407 additional_includedir="$withval/include" 8408 additional_libdir="$withval/$acl_libdirstem" 8409 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 8410 && ! test -d "$withval/$acl_libdirstem"; then 8411 additional_libdir="$withval/$acl_libdirstem2" 8412 fi 8413 fi 8414 fi 8415 8416fi 8417 8418 LIBINTL= 8419 LTLIBINTL= 8420 INCINTL= 8421 LIBINTL_PREFIX= 8422 HAVE_LIBINTL= 8423 rpathdirs= 8424 ltrpathdirs= 8425 names_already_handled= 8426 names_next_round='intl ' 8427 while test -n "$names_next_round"; do 8428 names_this_round="$names_next_round" 8429 names_next_round= 8430 for name in $names_this_round; do 8431 already_handled= 8432 for n in $names_already_handled; do 8433 if test "$n" = "$name"; then 8434 already_handled=yes 8435 break 8436 fi 8437 done 8438 if test -z "$already_handled"; then 8439 names_already_handled="$names_already_handled $name" 8440 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 8441 eval value=\"\$HAVE_LIB$uppername\" 8442 if test -n "$value"; then 8443 if test "$value" = yes; then 8444 eval value=\"\$LIB$uppername\" 8445 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 8446 eval value=\"\$LTLIB$uppername\" 8447 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 8448 else 8449 : 8450 fi 8451 else 8452 found_dir= 8453 found_la= 8454 found_so= 8455 found_a= 8456 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 8457 if test -n "$acl_shlibext"; then 8458 shrext=".$acl_shlibext" # typically: shrext=.so 8459 else 8460 shrext= 8461 fi 8462 if test $use_additional = yes; then 8463 dir="$additional_libdir" 8464 if test -n "$acl_shlibext"; then 8465 if test -f "$dir/$libname$shrext"; then 8466 found_dir="$dir" 8467 found_so="$dir/$libname$shrext" 8468 else 8469 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 8470 ver=`(cd "$dir" && \ 8471 for f in "$libname$shrext".*; do echo "$f"; done \ 8472 | sed -e "s,^$libname$shrext\\\\.,," \ 8473 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 8474 | sed 1q ) 2>/dev/null` 8475 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 8476 found_dir="$dir" 8477 found_so="$dir/$libname$shrext.$ver" 8478 fi 8479 else 8480 eval library_names=\"$acl_library_names_spec\" 8481 for f in $library_names; do 8482 if test -f "$dir/$f"; then 8483 found_dir="$dir" 8484 found_so="$dir/$f" 8485 break 8486 fi 8487 done 8488 fi 8489 fi 8490 fi 8491 if test "X$found_dir" = "X"; then 8492 if test -f "$dir/$libname.$acl_libext"; then 8493 found_dir="$dir" 8494 found_a="$dir/$libname.$acl_libext" 8495 fi 8496 fi 8497 if test "X$found_dir" != "X"; then 8498 if test -f "$dir/$libname.la"; then 8499 found_la="$dir/$libname.la" 8500 fi 8501 fi 8502 fi 8503 if test "X$found_dir" = "X"; then 8504 for x in $LDFLAGS $LTLIBINTL; do 8505 8506 acl_save_prefix="$prefix" 8507 prefix="$acl_final_prefix" 8508 acl_save_exec_prefix="$exec_prefix" 8509 exec_prefix="$acl_final_exec_prefix" 8510 eval x=\"$x\" 8511 exec_prefix="$acl_save_exec_prefix" 8512 prefix="$acl_save_prefix" 8513 8514 case "$x" in 8515 -L*) 8516 dir=`echo "X$x" | sed -e 's/^X-L//'` 8517 if test -n "$acl_shlibext"; then 8518 if test -f "$dir/$libname$shrext"; then 8519 found_dir="$dir" 8520 found_so="$dir/$libname$shrext" 8521 else 8522 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 8523 ver=`(cd "$dir" && \ 8524 for f in "$libname$shrext".*; do echo "$f"; done \ 8525 | sed -e "s,^$libname$shrext\\\\.,," \ 8526 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 8527 | sed 1q ) 2>/dev/null` 8528 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 8529 found_dir="$dir" 8530 found_so="$dir/$libname$shrext.$ver" 8531 fi 8532 else 8533 eval library_names=\"$acl_library_names_spec\" 8534 for f in $library_names; do 8535 if test -f "$dir/$f"; then 8536 found_dir="$dir" 8537 found_so="$dir/$f" 8538 break 8539 fi 8540 done 8541 fi 8542 fi 8543 fi 8544 if test "X$found_dir" = "X"; then 8545 if test -f "$dir/$libname.$acl_libext"; then 8546 found_dir="$dir" 8547 found_a="$dir/$libname.$acl_libext" 8548 fi 8549 fi 8550 if test "X$found_dir" != "X"; then 8551 if test -f "$dir/$libname.la"; then 8552 found_la="$dir/$libname.la" 8553 fi 8554 fi 8555 ;; 8556 esac 8557 if test "X$found_dir" != "X"; then 8558 break 8559 fi 8560 done 8561 fi 8562 if test "X$found_dir" != "X"; then 8563 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 8564 if test "X$found_so" != "X"; then 8565 if test "$enable_rpath" = no \ 8566 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 8567 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 8568 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 8569 else 8570 haveit= 8571 for x in $ltrpathdirs; do 8572 if test "X$x" = "X$found_dir"; then 8573 haveit=yes 8574 break 8575 fi 8576 done 8577 if test -z "$haveit"; then 8578 ltrpathdirs="$ltrpathdirs $found_dir" 8579 fi 8580 if test "$acl_hardcode_direct" = yes; then 8581 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 8582 else 8583 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 8584 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 8585 haveit= 8586 for x in $rpathdirs; do 8587 if test "X$x" = "X$found_dir"; then 8588 haveit=yes 8589 break 8590 fi 8591 done 8592 if test -z "$haveit"; then 8593 rpathdirs="$rpathdirs $found_dir" 8594 fi 8595 else 8596 haveit= 8597 for x in $LDFLAGS $LIBINTL; do 8598 8599 acl_save_prefix="$prefix" 8600 prefix="$acl_final_prefix" 8601 acl_save_exec_prefix="$exec_prefix" 8602 exec_prefix="$acl_final_exec_prefix" 8603 eval x=\"$x\" 8604 exec_prefix="$acl_save_exec_prefix" 8605 prefix="$acl_save_prefix" 8606 8607 if test "X$x" = "X-L$found_dir"; then 8608 haveit=yes 8609 break 8610 fi 8611 done 8612 if test -z "$haveit"; then 8613 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 8614 fi 8615 if test "$acl_hardcode_minus_L" != no; then 8616 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 8617 else 8618 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 8619 fi 8620 fi 8621 fi 8622 fi 8623 else 8624 if test "X$found_a" != "X"; then 8625 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 8626 else 8627 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 8628 fi 8629 fi 8630 additional_includedir= 8631 case "$found_dir" in 8632 */$acl_libdirstem | */$acl_libdirstem/) 8633 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 8634 if test "$name" = 'intl'; then 8635 LIBINTL_PREFIX="$basedir" 8636 fi 8637 additional_includedir="$basedir/include" 8638 ;; 8639 */$acl_libdirstem2 | */$acl_libdirstem2/) 8640 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 8641 if test "$name" = 'intl'; then 8642 LIBINTL_PREFIX="$basedir" 8643 fi 8644 additional_includedir="$basedir/include" 8645 ;; 8646 esac 8647 if test "X$additional_includedir" != "X"; then 8648 if test "X$additional_includedir" != "X/usr/include"; then 8649 haveit= 8650 if test "X$additional_includedir" = "X/usr/local/include"; then 8651 if test -n "$GCC"; then 8652 case $host_os in 8653 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 8654 esac 8655 fi 8656 fi 8657 if test -z "$haveit"; then 8658 for x in $CPPFLAGS $INCINTL; do 8659 8660 acl_save_prefix="$prefix" 8661 prefix="$acl_final_prefix" 8662 acl_save_exec_prefix="$exec_prefix" 8663 exec_prefix="$acl_final_exec_prefix" 8664 eval x=\"$x\" 8665 exec_prefix="$acl_save_exec_prefix" 8666 prefix="$acl_save_prefix" 8667 8668 if test "X$x" = "X-I$additional_includedir"; then 8669 haveit=yes 8670 break 8671 fi 8672 done 8673 if test -z "$haveit"; then 8674 if test -d "$additional_includedir"; then 8675 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 8676 fi 8677 fi 8678 fi 8679 fi 8680 fi 8681 if test -n "$found_la"; then 8682 save_libdir="$libdir" 8683 case "$found_la" in 8684 */* | *\\*) . "$found_la" ;; 8685 *) . "./$found_la" ;; 8686 esac 8687 libdir="$save_libdir" 8688 for dep in $dependency_libs; do 8689 case "$dep" in 8690 -L*) 8691 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 8692 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 8693 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 8694 haveit= 8695 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 8696 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 8697 if test -n "$GCC"; then 8698 case $host_os in 8699 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 8700 esac 8701 fi 8702 fi 8703 if test -z "$haveit"; then 8704 haveit= 8705 for x in $LDFLAGS $LIBINTL; do 8706 8707 acl_save_prefix="$prefix" 8708 prefix="$acl_final_prefix" 8709 acl_save_exec_prefix="$exec_prefix" 8710 exec_prefix="$acl_final_exec_prefix" 8711 eval x=\"$x\" 8712 exec_prefix="$acl_save_exec_prefix" 8713 prefix="$acl_save_prefix" 8714 8715 if test "X$x" = "X-L$additional_libdir"; then 8716 haveit=yes 8717 break 8718 fi 8719 done 8720 if test -z "$haveit"; then 8721 if test -d "$additional_libdir"; then 8722 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 8723 fi 8724 fi 8725 haveit= 8726 for x in $LDFLAGS $LTLIBINTL; do 8727 8728 acl_save_prefix="$prefix" 8729 prefix="$acl_final_prefix" 8730 acl_save_exec_prefix="$exec_prefix" 8731 exec_prefix="$acl_final_exec_prefix" 8732 eval x=\"$x\" 8733 exec_prefix="$acl_save_exec_prefix" 8734 prefix="$acl_save_prefix" 8735 8736 if test "X$x" = "X-L$additional_libdir"; then 8737 haveit=yes 8738 break 8739 fi 8740 done 8741 if test -z "$haveit"; then 8742 if test -d "$additional_libdir"; then 8743 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 8744 fi 8745 fi 8746 fi 8747 fi 8748 ;; 8749 -R*) 8750 dir=`echo "X$dep" | sed -e 's/^X-R//'` 8751 if test "$enable_rpath" != no; then 8752 haveit= 8753 for x in $rpathdirs; do 8754 if test "X$x" = "X$dir"; then 8755 haveit=yes 8756 break 8757 fi 8758 done 8759 if test -z "$haveit"; then 8760 rpathdirs="$rpathdirs $dir" 8761 fi 8762 haveit= 8763 for x in $ltrpathdirs; do 8764 if test "X$x" = "X$dir"; then 8765 haveit=yes 8766 break 8767 fi 8768 done 8769 if test -z "$haveit"; then 8770 ltrpathdirs="$ltrpathdirs $dir" 8771 fi 8772 fi 8773 ;; 8774 -l*) 8775 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 8776 ;; 8777 *.la) 8778 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 8779 ;; 8780 *) 8781 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 8782 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 8783 ;; 8784 esac 8785 done 8786 fi 8787 else 8788 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 8789 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 8790 fi 8791 fi 8792 fi 8793 done 8794 done 8795 if test "X$rpathdirs" != "X"; then 8796 if test -n "$acl_hardcode_libdir_separator"; then 8797 alldirs= 8798 for found_dir in $rpathdirs; do 8799 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 8800 done 8801 acl_save_libdir="$libdir" 8802 libdir="$alldirs" 8803 eval flag=\"$acl_hardcode_libdir_flag_spec\" 8804 libdir="$acl_save_libdir" 8805 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 8806 else 8807 for found_dir in $rpathdirs; do 8808 acl_save_libdir="$libdir" 8809 libdir="$found_dir" 8810 eval flag=\"$acl_hardcode_libdir_flag_spec\" 8811 libdir="$acl_save_libdir" 8812 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 8813 done 8814 fi 8815 fi 8816 if test "X$ltrpathdirs" != "X"; then 8817 for found_dir in $ltrpathdirs; do 8818 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 8819 done 8820 fi 8821 8822 8823 8824 8825 8826 8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 8828$as_echo_n "checking for GNU gettext in libintl... " >&6; } 8829if eval \${$gt_func_gnugettext_libintl+:} false; then : 8830 $as_echo_n "(cached) " >&6 8831else 8832 gt_save_CPPFLAGS="$CPPFLAGS" 8833 CPPFLAGS="$CPPFLAGS $INCINTL" 8834 gt_save_LIBS="$LIBS" 8835 LIBS="$LIBS $LIBINTL" 8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8837/* end confdefs.h. */ 8838 8839#include <libintl.h> 8840#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 8841extern int _nl_msg_cat_cntr; 8842extern 8843#ifdef __cplusplus 8844"C" 8845#endif 8846const char *_nl_expand_alias (const char *); 8847#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 8848#else 8849#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 8850#endif 8851$gt_revision_test_code 8852 8853int 8854main () 8855{ 8856 8857bindtextdomain ("", ""); 8858return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 8859 8860 ; 8861 return 0; 8862} 8863_ACEOF 8864if ac_fn_c_try_link "$LINENO"; then : 8865 eval "$gt_func_gnugettext_libintl=yes" 8866else 8867 eval "$gt_func_gnugettext_libintl=no" 8868fi 8869rm -f core conftest.err conftest.$ac_objext \ 8870 conftest$ac_exeext conftest.$ac_ext 8871 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 8872 LIBS="$LIBS $LIBICONV" 8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8874/* end confdefs.h. */ 8875 8876#include <libintl.h> 8877#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 8878extern int _nl_msg_cat_cntr; 8879extern 8880#ifdef __cplusplus 8881"C" 8882#endif 8883const char *_nl_expand_alias (const char *); 8884#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) 8885#else 8886#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 8887#endif 8888$gt_revision_test_code 8889 8890int 8891main () 8892{ 8893 8894bindtextdomain ("", ""); 8895return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION 8896 8897 ; 8898 return 0; 8899} 8900_ACEOF 8901if ac_fn_c_try_link "$LINENO"; then : 8902 LIBINTL="$LIBINTL $LIBICONV" 8903 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 8904 eval "$gt_func_gnugettext_libintl=yes" 8905 8906fi 8907rm -f core conftest.err conftest.$ac_objext \ 8908 conftest$ac_exeext conftest.$ac_ext 8909 fi 8910 CPPFLAGS="$gt_save_CPPFLAGS" 8911 LIBS="$gt_save_LIBS" 8912fi 8913eval ac_res=\$$gt_func_gnugettext_libintl 8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 8915$as_echo "$ac_res" >&6; } 8916 fi 8917 8918 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 8919 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 8920 && test "$PACKAGE" != gettext-runtime \ 8921 && test "$PACKAGE" != gettext-tools; }; then 8922 gt_use_preinstalled_gnugettext=yes 8923 else 8924 LIBINTL= 8925 LTLIBINTL= 8926 INCINTL= 8927 fi 8928 8929 8930 8931 if test -n "$INTL_MACOSX_LIBS"; then 8932 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 8933 || test "$nls_cv_use_gnu_gettext" = "yes"; then 8934 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 8935 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 8936 fi 8937 fi 8938 8939 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 8940 || test "$nls_cv_use_gnu_gettext" = "yes"; then 8941 8942$as_echo "#define ENABLE_NLS 1" >>confdefs.h 8943 8944 else 8945 USE_NLS=no 8946 fi 8947 fi 8948 8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 8950$as_echo_n "checking whether to use NLS... " >&6; } 8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 8952$as_echo "$USE_NLS" >&6; } 8953 if test "$USE_NLS" = "yes"; then 8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 8955$as_echo_n "checking where the gettext function comes from... " >&6; } 8956 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 8957 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 8958 gt_source="external libintl" 8959 else 8960 gt_source="libc" 8961 fi 8962 else 8963 gt_source="included intl directory" 8964 fi 8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 8966$as_echo "$gt_source" >&6; } 8967 fi 8968 8969 if test "$USE_NLS" = "yes"; then 8970 8971 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 8972 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 8974$as_echo_n "checking how to link with libintl... " >&6; } 8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 8976$as_echo "$LIBINTL" >&6; } 8977 8978 for element in $INCINTL; do 8979 haveit= 8980 for x in $CPPFLAGS; do 8981 8982 acl_save_prefix="$prefix" 8983 prefix="$acl_final_prefix" 8984 acl_save_exec_prefix="$exec_prefix" 8985 exec_prefix="$acl_final_exec_prefix" 8986 eval x=\"$x\" 8987 exec_prefix="$acl_save_exec_prefix" 8988 prefix="$acl_save_prefix" 8989 8990 if test "X$x" = "X$element"; then 8991 haveit=yes 8992 break 8993 fi 8994 done 8995 if test -z "$haveit"; then 8996 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 8997 fi 8998 done 8999 9000 fi 9001 9002 9003$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 9004 9005 9006$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 9007 9008 fi 9009 9010 POSUB=po 9011 fi 9012 9013 9014 9015 INTLLIBS="$LIBINTL" 9016 9017 9018 9019 9020 9021 9022ac_ext=cpp 9023ac_cpp='$CXXCPP $CPPFLAGS' 9024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 9037 if test -n "$ac_tool_prefix"; then 9038 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 9039set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 9040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9041$as_echo_n "checking for $ac_word... " >&6; } 9042if ${ac_cv_path_PKG_CONFIG+:} false; then : 9043 $as_echo_n "(cached) " >&6 9044else 9045 case $PKG_CONFIG in 9046 [\\/]* | ?:[\\/]*) 9047 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 9048 ;; 9049 *) 9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9051for as_dir in $PATH 9052do 9053 IFS=$as_save_IFS 9054 test -z "$as_dir" && as_dir=. 9055 for ac_exec_ext in '' $ac_executable_extensions; do 9056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9057 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9059 break 2 9060 fi 9061done 9062 done 9063IFS=$as_save_IFS 9064 9065 ;; 9066esac 9067fi 9068PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9069if test -n "$PKG_CONFIG"; then 9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 9071$as_echo "$PKG_CONFIG" >&6; } 9072else 9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9074$as_echo "no" >&6; } 9075fi 9076 9077 9078fi 9079if test -z "$ac_cv_path_PKG_CONFIG"; then 9080 ac_pt_PKG_CONFIG=$PKG_CONFIG 9081 # Extract the first word of "pkg-config", so it can be a program name with args. 9082set dummy pkg-config; ac_word=$2 9083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9084$as_echo_n "checking for $ac_word... " >&6; } 9085if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 9086 $as_echo_n "(cached) " >&6 9087else 9088 case $ac_pt_PKG_CONFIG in 9089 [\\/]* | ?:[\\/]*) 9090 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 9091 ;; 9092 *) 9093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9094for as_dir in $PATH 9095do 9096 IFS=$as_save_IFS 9097 test -z "$as_dir" && as_dir=. 9098 for ac_exec_ext in '' $ac_executable_extensions; do 9099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9100 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9102 break 2 9103 fi 9104done 9105 done 9106IFS=$as_save_IFS 9107 9108 ;; 9109esac 9110fi 9111ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 9112if test -n "$ac_pt_PKG_CONFIG"; then 9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 9114$as_echo "$ac_pt_PKG_CONFIG" >&6; } 9115else 9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9117$as_echo "no" >&6; } 9118fi 9119 9120 if test "x$ac_pt_PKG_CONFIG" = x; then 9121 PKG_CONFIG="" 9122 else 9123 case $cross_compiling:$ac_tool_warned in 9124yes:) 9125{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9126$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9127ac_tool_warned=yes ;; 9128esac 9129 PKG_CONFIG=$ac_pt_PKG_CONFIG 9130 fi 9131else 9132 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 9133fi 9134 9135fi 9136if test -n "$PKG_CONFIG"; then 9137 _pkg_min_version=0.9.0 9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 9139$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 9140 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9142$as_echo "yes" >&6; } 9143 else 9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9145$as_echo "no" >&6; } 9146 PKG_CONFIG="" 9147 fi 9148fi 9149if test -z "$PKG_CONFIG"; then 9150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required tool pkg-config not found" >&5 9151$as_echo "$as_me: WARNING: required tool pkg-config not found" >&2;} 9152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required libraries cannot be detected" >&5 9153$as_echo "$as_me: WARNING: required libraries cannot be detected" >&2;} 9154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: please install pkg-config; Debian package: pkg-config" >&5 9155$as_echo "$as_me: WARNING: please install pkg-config; Debian package: pkg-config" >&2;} 9156fi 9157 9158 9159pkg_failed=no 9160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libavformat" >&5 9161$as_echo_n "checking for libavformat... " >&6; } 9162 9163if test -n "$libavformat_CFLAGS"; then 9164 pkg_cv_libavformat_CFLAGS="$libavformat_CFLAGS" 9165 elif test -n "$PKG_CONFIG"; then 9166 if test -n "$PKG_CONFIG" && \ 9167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat >= 52.110.0 libavcodec libavutil\""; } >&5 9168 ($PKG_CONFIG --exists --print-errors "libavformat >= 52.110.0 libavcodec libavutil") 2>&5 9169 ac_status=$? 9170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9171 test $ac_status = 0; }; then 9172 pkg_cv_libavformat_CFLAGS=`$PKG_CONFIG --cflags "libavformat >= 52.110.0 libavcodec libavutil" 2>/dev/null` 9173 test "x$?" != "x0" && pkg_failed=yes 9174else 9175 pkg_failed=yes 9176fi 9177 else 9178 pkg_failed=untried 9179fi 9180if test -n "$libavformat_LIBS"; then 9181 pkg_cv_libavformat_LIBS="$libavformat_LIBS" 9182 elif test -n "$PKG_CONFIG"; then 9183 if test -n "$PKG_CONFIG" && \ 9184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat >= 52.110.0 libavcodec libavutil\""; } >&5 9185 ($PKG_CONFIG --exists --print-errors "libavformat >= 52.110.0 libavcodec libavutil") 2>&5 9186 ac_status=$? 9187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9188 test $ac_status = 0; }; then 9189 pkg_cv_libavformat_LIBS=`$PKG_CONFIG --libs "libavformat >= 52.110.0 libavcodec libavutil" 2>/dev/null` 9190 test "x$?" != "x0" && pkg_failed=yes 9191else 9192 pkg_failed=yes 9193fi 9194 else 9195 pkg_failed=untried 9196fi 9197 9198 9199 9200if test $pkg_failed = yes; then 9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9202$as_echo "no" >&6; } 9203 9204if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9205 _pkg_short_errors_supported=yes 9206else 9207 _pkg_short_errors_supported=no 9208fi 9209 if test $_pkg_short_errors_supported = yes; then 9210 libavformat_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavformat >= 52.110.0 libavcodec libavutil" 2>&1` 9211 else 9212 libavformat_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavformat >= 52.110.0 libavcodec libavutil" 2>&1` 9213 fi 9214 # Put the nasty error message in config.log where it belongs 9215 echo "$libavformat_PKG_ERRORS" >&5 9216 9217 HAVE_LIBAVFORMAT=0 9218elif test $pkg_failed = untried; then 9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9220$as_echo "no" >&6; } 9221 HAVE_LIBAVFORMAT=0 9222else 9223 libavformat_CFLAGS=$pkg_cv_libavformat_CFLAGS 9224 libavformat_LIBS=$pkg_cv_libavformat_LIBS 9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9226$as_echo "yes" >&6; } 9227 HAVE_LIBAVFORMAT=1 9228fi 9229if test "$HAVE_LIBAVFORMAT" != "1"; then 9230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libavformat >= 52.110.0 not found:" >&5 9231$as_echo "$as_me: WARNING: required library libavformat >= 52.110.0 not found:" >&2;} 9232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libavformat_PKG_ERRORS" >&5 9233$as_echo "$as_me: WARNING: $libavformat_PKG_ERRORS" >&2;} 9234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavformat >= 52.110.0 is provided by libav >= 0.7 or FFmpeg >= 0.7" >&5 9235$as_echo "$as_me: WARNING: libavformat >= 52.110.0 is provided by libav >= 0.7 or FFmpeg >= 0.7" >&2;} 9236fi 9237 9238pkg_failed=no 9239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libavdevice" >&5 9240$as_echo_n "checking for libavdevice... " >&6; } 9241 9242if test -n "$libavdevice_CFLAGS"; then 9243 pkg_cv_libavdevice_CFLAGS="$libavdevice_CFLAGS" 9244 elif test -n "$PKG_CONFIG"; then 9245 if test -n "$PKG_CONFIG" && \ 9246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavdevice >= 52.5.0\""; } >&5 9247 ($PKG_CONFIG --exists --print-errors "libavdevice >= 52.5.0") 2>&5 9248 ac_status=$? 9249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9250 test $ac_status = 0; }; then 9251 pkg_cv_libavdevice_CFLAGS=`$PKG_CONFIG --cflags "libavdevice >= 52.5.0" 2>/dev/null` 9252 test "x$?" != "x0" && pkg_failed=yes 9253else 9254 pkg_failed=yes 9255fi 9256 else 9257 pkg_failed=untried 9258fi 9259if test -n "$libavdevice_LIBS"; then 9260 pkg_cv_libavdevice_LIBS="$libavdevice_LIBS" 9261 elif test -n "$PKG_CONFIG"; then 9262 if test -n "$PKG_CONFIG" && \ 9263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavdevice >= 52.5.0\""; } >&5 9264 ($PKG_CONFIG --exists --print-errors "libavdevice >= 52.5.0") 2>&5 9265 ac_status=$? 9266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9267 test $ac_status = 0; }; then 9268 pkg_cv_libavdevice_LIBS=`$PKG_CONFIG --libs "libavdevice >= 52.5.0" 2>/dev/null` 9269 test "x$?" != "x0" && pkg_failed=yes 9270else 9271 pkg_failed=yes 9272fi 9273 else 9274 pkg_failed=untried 9275fi 9276 9277 9278 9279if test $pkg_failed = yes; then 9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9281$as_echo "no" >&6; } 9282 9283if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9284 _pkg_short_errors_supported=yes 9285else 9286 _pkg_short_errors_supported=no 9287fi 9288 if test $_pkg_short_errors_supported = yes; then 9289 libavdevice_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavdevice >= 52.5.0" 2>&1` 9290 else 9291 libavdevice_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavdevice >= 52.5.0" 2>&1` 9292 fi 9293 # Put the nasty error message in config.log where it belongs 9294 echo "$libavdevice_PKG_ERRORS" >&5 9295 9296 HAVE_LIBAVDEVICE=0 9297elif test $pkg_failed = untried; then 9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9299$as_echo "no" >&6; } 9300 HAVE_LIBAVDEVICE=0 9301else 9302 libavdevice_CFLAGS=$pkg_cv_libavdevice_CFLAGS 9303 libavdevice_LIBS=$pkg_cv_libavdevice_LIBS 9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9305$as_echo "yes" >&6; } 9306 HAVE_LIBAVDEVICE=1 9307fi 9308if test "$HAVE_LIBAVDEVICE" != "1"; then 9309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libavdevice >= 52.5.0 not found:" >&5 9310$as_echo "$as_me: WARNING: required library libavdevice >= 52.5.0 not found:" >&2;} 9311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libavdevice_PKG_ERRORS" >&5 9312$as_echo "$as_me: WARNING: $libavdevice_PKG_ERRORS" >&2;} 9313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavdevice >= 52.5.0 is provided by libav >= 0.7 or FFmpeg >= 0.7" >&5 9314$as_echo "$as_me: WARNING: libavdevice >= 52.5.0 is provided by libav >= 0.7 or FFmpeg >= 0.7" >&2;} 9315fi 9316 9317pkg_failed=no 9318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libswscale" >&5 9319$as_echo_n "checking for libswscale... " >&6; } 9320 9321if test -n "$libswscale_CFLAGS"; then 9322 pkg_cv_libswscale_CFLAGS="$libswscale_CFLAGS" 9323 elif test -n "$PKG_CONFIG"; then 9324 if test -n "$PKG_CONFIG" && \ 9325 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale >= 0.14.1 libavutil\""; } >&5 9326 ($PKG_CONFIG --exists --print-errors "libswscale >= 0.14.1 libavutil") 2>&5 9327 ac_status=$? 9328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9329 test $ac_status = 0; }; then 9330 pkg_cv_libswscale_CFLAGS=`$PKG_CONFIG --cflags "libswscale >= 0.14.1 libavutil" 2>/dev/null` 9331 test "x$?" != "x0" && pkg_failed=yes 9332else 9333 pkg_failed=yes 9334fi 9335 else 9336 pkg_failed=untried 9337fi 9338if test -n "$libswscale_LIBS"; then 9339 pkg_cv_libswscale_LIBS="$libswscale_LIBS" 9340 elif test -n "$PKG_CONFIG"; then 9341 if test -n "$PKG_CONFIG" && \ 9342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale >= 0.14.1 libavutil\""; } >&5 9343 ($PKG_CONFIG --exists --print-errors "libswscale >= 0.14.1 libavutil") 2>&5 9344 ac_status=$? 9345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9346 test $ac_status = 0; }; then 9347 pkg_cv_libswscale_LIBS=`$PKG_CONFIG --libs "libswscale >= 0.14.1 libavutil" 2>/dev/null` 9348 test "x$?" != "x0" && pkg_failed=yes 9349else 9350 pkg_failed=yes 9351fi 9352 else 9353 pkg_failed=untried 9354fi 9355 9356 9357 9358if test $pkg_failed = yes; then 9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9360$as_echo "no" >&6; } 9361 9362if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9363 _pkg_short_errors_supported=yes 9364else 9365 _pkg_short_errors_supported=no 9366fi 9367 if test $_pkg_short_errors_supported = yes; then 9368 libswscale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libswscale >= 0.14.1 libavutil" 2>&1` 9369 else 9370 libswscale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libswscale >= 0.14.1 libavutil" 2>&1` 9371 fi 9372 # Put the nasty error message in config.log where it belongs 9373 echo "$libswscale_PKG_ERRORS" >&5 9374 9375 HAVE_LIBSWSCALE=0 9376elif test $pkg_failed = untried; then 9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9378$as_echo "no" >&6; } 9379 HAVE_LIBSWSCALE=0 9380else 9381 libswscale_CFLAGS=$pkg_cv_libswscale_CFLAGS 9382 libswscale_LIBS=$pkg_cv_libswscale_LIBS 9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9384$as_echo "yes" >&6; } 9385 HAVE_LIBSWSCALE=1 9386fi 9387if test "$HAVE_LIBSWSCALE" != "1"; then 9388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libswscale >= 0.14.1 not found:" >&5 9389$as_echo "$as_me: WARNING: required library libswscale >= 0.14.1 not found:" >&2;} 9390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libswscale_PKG_ERRORS" >&5 9391$as_echo "$as_me: WARNING: $libswscale_PKG_ERRORS" >&2;} 9392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libswscale >= 0.14.1 is provided by libav >= 0.7 or FFmpeg >= 0.7" >&5 9393$as_echo "$as_me: WARNING: libswscale >= 0.14.1 is provided by libav >= 0.7 or FFmpeg >= 0.7" >&2;} 9394fi 9395for ac_func in sysconf 9396do : 9397 ac_fn_cxx_check_func "$LINENO" "sysconf" "ac_cv_func_sysconf" 9398if test "x$ac_cv_func_sysconf" = xyes; then : 9399 cat >>confdefs.h <<_ACEOF 9400#define HAVE_SYSCONF 1 9401_ACEOF 9402 9403fi 9404done 9405 9406 9407LIBASS_PKGCONFIG_VERSION="\"\"" 9408 9409pkg_failed=no 9410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libass" >&5 9411$as_echo_n "checking for libass... " >&6; } 9412 9413if test -n "$libass_CFLAGS"; then 9414 pkg_cv_libass_CFLAGS="$libass_CFLAGS" 9415 elif test -n "$PKG_CONFIG"; then 9416 if test -n "$PKG_CONFIG" && \ 9417 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.9\""; } >&5 9418 ($PKG_CONFIG --exists --print-errors "libass >= 0.9.9") 2>&5 9419 ac_status=$? 9420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9421 test $ac_status = 0; }; then 9422 pkg_cv_libass_CFLAGS=`$PKG_CONFIG --cflags "libass >= 0.9.9" 2>/dev/null` 9423 test "x$?" != "x0" && pkg_failed=yes 9424else 9425 pkg_failed=yes 9426fi 9427 else 9428 pkg_failed=untried 9429fi 9430if test -n "$libass_LIBS"; then 9431 pkg_cv_libass_LIBS="$libass_LIBS" 9432 elif test -n "$PKG_CONFIG"; then 9433 if test -n "$PKG_CONFIG" && \ 9434 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.9\""; } >&5 9435 ($PKG_CONFIG --exists --print-errors "libass >= 0.9.9") 2>&5 9436 ac_status=$? 9437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9438 test $ac_status = 0; }; then 9439 pkg_cv_libass_LIBS=`$PKG_CONFIG --libs "libass >= 0.9.9" 2>/dev/null` 9440 test "x$?" != "x0" && pkg_failed=yes 9441else 9442 pkg_failed=yes 9443fi 9444 else 9445 pkg_failed=untried 9446fi 9447 9448 9449 9450if test $pkg_failed = yes; then 9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9452$as_echo "no" >&6; } 9453 9454if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9455 _pkg_short_errors_supported=yes 9456else 9457 _pkg_short_errors_supported=no 9458fi 9459 if test $_pkg_short_errors_supported = yes; then 9460 libass_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libass >= 0.9.9" 2>&1` 9461 else 9462 libass_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libass >= 0.9.9" 2>&1` 9463 fi 9464 # Put the nasty error message in config.log where it belongs 9465 echo "$libass_PKG_ERRORS" >&5 9466 9467 HAVE_LIBASS=0 9468elif test $pkg_failed = untried; then 9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9470$as_echo "no" >&6; } 9471 HAVE_LIBASS=0 9472else 9473 libass_CFLAGS=$pkg_cv_libass_CFLAGS 9474 libass_LIBS=$pkg_cv_libass_LIBS 9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9476$as_echo "yes" >&6; } 9477 HAVE_LIBASS=1 9478fi 9479if test "$HAVE_LIBASS" != "1"; then 9480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libass not found:" >&5 9481$as_echo "$as_me: WARNING: required library libass not found:" >&2;} 9482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libass_PKG_ERRORS" >&5 9483$as_echo "$as_me: WARNING: $libass_PKG_ERRORS" >&2;} 9484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libass is provided by LibASS; Debian package: libass-dev" >&5 9485$as_echo "$as_me: WARNING: libass is provided by LibASS; Debian package: libass-dev" >&2;} 9486else 9487 LIBASS_PKGCONFIG_VERSION="\"`$PKG_CONFIG --modversion libass`\"" 9488fi 9489 9490cat >>confdefs.h <<_ACEOF 9491#define LIBASS_PKGCONFIG_VERSION $LIBASS_PKGCONFIG_VERSION 9492_ACEOF 9493 9494 9495 9496pkg_failed=no 9497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libopenal" >&5 9498$as_echo_n "checking for libopenal... " >&6; } 9499 9500if test -n "$libopenal_CFLAGS"; then 9501 pkg_cv_libopenal_CFLAGS="$libopenal_CFLAGS" 9502 elif test -n "$PKG_CONFIG"; then 9503 if test -n "$PKG_CONFIG" && \ 9504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal >= 0.0\""; } >&5 9505 ($PKG_CONFIG --exists --print-errors "openal >= 0.0") 2>&5 9506 ac_status=$? 9507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9508 test $ac_status = 0; }; then 9509 pkg_cv_libopenal_CFLAGS=`$PKG_CONFIG --cflags "openal >= 0.0" 2>/dev/null` 9510 test "x$?" != "x0" && pkg_failed=yes 9511else 9512 pkg_failed=yes 9513fi 9514 else 9515 pkg_failed=untried 9516fi 9517if test -n "$libopenal_LIBS"; then 9518 pkg_cv_libopenal_LIBS="$libopenal_LIBS" 9519 elif test -n "$PKG_CONFIG"; then 9520 if test -n "$PKG_CONFIG" && \ 9521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal >= 0.0\""; } >&5 9522 ($PKG_CONFIG --exists --print-errors "openal >= 0.0") 2>&5 9523 ac_status=$? 9524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9525 test $ac_status = 0; }; then 9526 pkg_cv_libopenal_LIBS=`$PKG_CONFIG --libs "openal >= 0.0" 2>/dev/null` 9527 test "x$?" != "x0" && pkg_failed=yes 9528else 9529 pkg_failed=yes 9530fi 9531 else 9532 pkg_failed=untried 9533fi 9534 9535 9536 9537if test $pkg_failed = yes; then 9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9539$as_echo "no" >&6; } 9540 9541if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9542 _pkg_short_errors_supported=yes 9543else 9544 _pkg_short_errors_supported=no 9545fi 9546 if test $_pkg_short_errors_supported = yes; then 9547 libopenal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openal >= 0.0" 2>&1` 9548 else 9549 libopenal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openal >= 0.0" 2>&1` 9550 fi 9551 # Put the nasty error message in config.log where it belongs 9552 echo "$libopenal_PKG_ERRORS" >&5 9553 9554 HAVE_LIBOPENAL=0 9555elif test $pkg_failed = untried; then 9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9557$as_echo "no" >&6; } 9558 HAVE_LIBOPENAL=0 9559else 9560 libopenal_CFLAGS=$pkg_cv_libopenal_CFLAGS 9561 libopenal_LIBS=$pkg_cv_libopenal_LIBS 9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9563$as_echo "yes" >&6; } 9564 HAVE_LIBOPENAL=1 9565fi 9566if test "$HAVE_LIBOPENAL" = "1"; then 9567 CPPFLAGS_BAK="$CPPFLAGS" 9568 CPPFLAGS="$CPPFLAGS $libopenal_CFLAGS" 9569 ac_ext=cpp 9570ac_cpp='$CXXCPP $CPPFLAGS' 9571ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9572ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9573ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 9575$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 9576if test -z "$CXXCPP"; then 9577 if ${ac_cv_prog_CXXCPP+:} false; then : 9578 $as_echo_n "(cached) " >&6 9579else 9580 # Double quotes because CXXCPP needs to be expanded 9581 for CXXCPP in "$CXX -E" "/lib/cpp" 9582 do 9583 ac_preproc_ok=false 9584for ac_cxx_preproc_warn_flag in '' yes 9585do 9586 # Use a header file that comes with gcc, so configuring glibc 9587 # with a fresh cross-compiler works. 9588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9589 # <limits.h> exists even on freestanding compilers. 9590 # On the NeXT, cc -E runs the code through the compiler's parser, 9591 # not just through cpp. "Syntax error" is here to catch this case. 9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9593/* end confdefs.h. */ 9594#ifdef __STDC__ 9595# include <limits.h> 9596#else 9597# include <assert.h> 9598#endif 9599 Syntax error 9600_ACEOF 9601if ac_fn_cxx_try_cpp "$LINENO"; then : 9602 9603else 9604 # Broken: fails on valid input. 9605continue 9606fi 9607rm -f conftest.err conftest.i conftest.$ac_ext 9608 9609 # OK, works on sane cases. Now check whether nonexistent headers 9610 # can be detected and how. 9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9612/* end confdefs.h. */ 9613#include <ac_nonexistent.h> 9614_ACEOF 9615if ac_fn_cxx_try_cpp "$LINENO"; then : 9616 # Broken: success on invalid input. 9617continue 9618else 9619 # Passes both tests. 9620ac_preproc_ok=: 9621break 9622fi 9623rm -f conftest.err conftest.i conftest.$ac_ext 9624 9625done 9626# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 9627rm -f conftest.i conftest.err conftest.$ac_ext 9628if $ac_preproc_ok; then : 9629 break 9630fi 9631 9632 done 9633 ac_cv_prog_CXXCPP=$CXXCPP 9634 9635fi 9636 CXXCPP=$ac_cv_prog_CXXCPP 9637else 9638 ac_cv_prog_CXXCPP=$CXXCPP 9639fi 9640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 9641$as_echo "$CXXCPP" >&6; } 9642ac_preproc_ok=false 9643for ac_cxx_preproc_warn_flag in '' yes 9644do 9645 # Use a header file that comes with gcc, so configuring glibc 9646 # with a fresh cross-compiler works. 9647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9648 # <limits.h> exists even on freestanding compilers. 9649 # On the NeXT, cc -E runs the code through the compiler's parser, 9650 # not just through cpp. "Syntax error" is here to catch this case. 9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9652/* end confdefs.h. */ 9653#ifdef __STDC__ 9654# include <limits.h> 9655#else 9656# include <assert.h> 9657#endif 9658 Syntax error 9659_ACEOF 9660if ac_fn_cxx_try_cpp "$LINENO"; then : 9661 9662else 9663 # Broken: fails on valid input. 9664continue 9665fi 9666rm -f conftest.err conftest.i conftest.$ac_ext 9667 9668 # OK, works on sane cases. Now check whether nonexistent headers 9669 # can be detected and how. 9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9671/* end confdefs.h. */ 9672#include <ac_nonexistent.h> 9673_ACEOF 9674if ac_fn_cxx_try_cpp "$LINENO"; then : 9675 # Broken: success on invalid input. 9676continue 9677else 9678 # Passes both tests. 9679ac_preproc_ok=: 9680break 9681fi 9682rm -f conftest.err conftest.i conftest.$ac_ext 9683 9684done 9685# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 9686rm -f conftest.i conftest.err conftest.$ac_ext 9687if $ac_preproc_ok; then : 9688 9689else 9690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9691$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9692as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 9693See \`config.log' for more details" "$LINENO" 5; } 9694fi 9695 9696ac_ext=cpp 9697ac_cpp='$CXXCPP $CPPFLAGS' 9698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 9701 9702 9703for ac_header in AL/al.h 9704do : 9705 ac_fn_cxx_check_header_mongrel "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default" 9706if test "x$ac_cv_header_AL_al_h" = xyes; then : 9707 cat >>confdefs.h <<_ACEOF 9708#define HAVE_AL_AL_H 1 9709_ACEOF 9710 9711fi 9712 9713done 9714 9715 CPPFLAGS="$CPPFLAGS_BAK" 9716else 9717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libopenal not found:" >&5 9718$as_echo "$as_me: WARNING: required library libopenal not found:" >&2;} 9719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libopenal_PKG_ERRORS" >&5 9720$as_echo "$as_me: WARNING: $libopenal_PKG_ERRORS" >&2;} 9721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libopenal is provided by OpenAL; Debian package: libopenal-dev" >&5 9722$as_echo "$as_me: WARNING: libopenal is provided by OpenAL; Debian package: libopenal-dev" >&2;} 9723fi 9724 9725qt_version="" 9726 9727# Check whether --with-qt-version was given. 9728if test "${with_qt_version+set}" = set; then : 9729 withval=$with_qt_version; qt_version="$withval" 9730else 9731 qt_version="5" 9732fi 9733 9734if test "$qt_version" != "4" -a "$qt_version" != "5"; then 9735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown Qt version requested, falling back to Qt 5." >&5 9736$as_echo "$as_me: WARNING: unknown Qt version requested, falling back to Qt 5." >&2;} 9737 qt_version="5" 9738fi 9739 9740 9741if test "$qt_version" = "4"; then 9742 9743pkg_failed=no 9744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libqtopengl" >&5 9745$as_echo_n "checking for libqtopengl... " >&6; } 9746 9747if test -n "$libqtopengl_CFLAGS"; then 9748 pkg_cv_libqtopengl_CFLAGS="$libqtopengl_CFLAGS" 9749 elif test -n "$PKG_CONFIG"; then 9750 if test -n "$PKG_CONFIG" && \ 9751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.6\""; } >&5 9752 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.6") 2>&5 9753 ac_status=$? 9754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9755 test $ac_status = 0; }; then 9756 pkg_cv_libqtopengl_CFLAGS=`$PKG_CONFIG --cflags "QtOpenGL >= 4.6" 2>/dev/null` 9757 test "x$?" != "x0" && pkg_failed=yes 9758else 9759 pkg_failed=yes 9760fi 9761 else 9762 pkg_failed=untried 9763fi 9764if test -n "$libqtopengl_LIBS"; then 9765 pkg_cv_libqtopengl_LIBS="$libqtopengl_LIBS" 9766 elif test -n "$PKG_CONFIG"; then 9767 if test -n "$PKG_CONFIG" && \ 9768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.6\""; } >&5 9769 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.6") 2>&5 9770 ac_status=$? 9771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9772 test $ac_status = 0; }; then 9773 pkg_cv_libqtopengl_LIBS=`$PKG_CONFIG --libs "QtOpenGL >= 4.6" 2>/dev/null` 9774 test "x$?" != "x0" && pkg_failed=yes 9775else 9776 pkg_failed=yes 9777fi 9778 else 9779 pkg_failed=untried 9780fi 9781 9782 9783 9784if test $pkg_failed = yes; then 9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9786$as_echo "no" >&6; } 9787 9788if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9789 _pkg_short_errors_supported=yes 9790else 9791 _pkg_short_errors_supported=no 9792fi 9793 if test $_pkg_short_errors_supported = yes; then 9794 libqtopengl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "QtOpenGL >= 4.6" 2>&1` 9795 else 9796 libqtopengl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "QtOpenGL >= 4.6" 2>&1` 9797 fi 9798 # Put the nasty error message in config.log where it belongs 9799 echo "$libqtopengl_PKG_ERRORS" >&5 9800 9801 HAVE_LIBQTOPENGL=0 9802elif test $pkg_failed = untried; then 9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9804$as_echo "no" >&6; } 9805 HAVE_LIBQTOPENGL=0 9806else 9807 libqtopengl_CFLAGS=$pkg_cv_libqtopengl_CFLAGS 9808 libqtopengl_LIBS=$pkg_cv_libqtopengl_LIBS 9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9810$as_echo "yes" >&6; } 9811 HAVE_LIBQTOPENGL=1 9812fi 9813 if test "$HAVE_LIBQTOPENGL" != "1"; then 9814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library QtOpenGL not found:" >&5 9815$as_echo "$as_me: WARNING: required library QtOpenGL not found:" >&2;} 9816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libqtopengl_PKG_ERRORS" >&5 9817$as_echo "$as_me: WARNING: $libqtopengl_PKG_ERRORS" >&2;} 9818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QtOpenGL is provided by Qt" >&5 9819$as_echo "$as_me: WARNING: QtOpenGL is provided by Qt" >&2;} 9820 else 9821 if test -z "$RCC"; then 9822 if test -n "$ac_tool_prefix"; then 9823 for ac_prog in rcc-qt4 rcc 9824 do 9825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 9826set dummy $ac_tool_prefix$ac_prog; ac_word=$2 9827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9828$as_echo_n "checking for $ac_word... " >&6; } 9829if ${ac_cv_prog_RCC+:} false; then : 9830 $as_echo_n "(cached) " >&6 9831else 9832 if test -n "$RCC"; then 9833 ac_cv_prog_RCC="$RCC" # Let the user override the test. 9834else 9835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9836for as_dir in $PATH 9837do 9838 IFS=$as_save_IFS 9839 test -z "$as_dir" && as_dir=. 9840 for ac_exec_ext in '' $ac_executable_extensions; do 9841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9842 ac_cv_prog_RCC="$ac_tool_prefix$ac_prog" 9843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9844 break 2 9845 fi 9846done 9847 done 9848IFS=$as_save_IFS 9849 9850fi 9851fi 9852RCC=$ac_cv_prog_RCC 9853if test -n "$RCC"; then 9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 9855$as_echo "$RCC" >&6; } 9856else 9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9858$as_echo "no" >&6; } 9859fi 9860 9861 9862 test -n "$RCC" && break 9863 done 9864fi 9865if test -z "$RCC"; then 9866 ac_ct_RCC=$RCC 9867 for ac_prog in rcc-qt4 rcc 9868do 9869 # Extract the first word of "$ac_prog", so it can be a program name with args. 9870set dummy $ac_prog; ac_word=$2 9871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9872$as_echo_n "checking for $ac_word... " >&6; } 9873if ${ac_cv_prog_ac_ct_RCC+:} false; then : 9874 $as_echo_n "(cached) " >&6 9875else 9876 if test -n "$ac_ct_RCC"; then 9877 ac_cv_prog_ac_ct_RCC="$ac_ct_RCC" # Let the user override the test. 9878else 9879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9880for as_dir in $PATH 9881do 9882 IFS=$as_save_IFS 9883 test -z "$as_dir" && as_dir=. 9884 for ac_exec_ext in '' $ac_executable_extensions; do 9885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9886 ac_cv_prog_ac_ct_RCC="$ac_prog" 9887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9888 break 2 9889 fi 9890done 9891 done 9892IFS=$as_save_IFS 9893 9894fi 9895fi 9896ac_ct_RCC=$ac_cv_prog_ac_ct_RCC 9897if test -n "$ac_ct_RCC"; then 9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RCC" >&5 9899$as_echo "$ac_ct_RCC" >&6; } 9900else 9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9902$as_echo "no" >&6; } 9903fi 9904 9905 9906 test -n "$ac_ct_RCC" && break 9907done 9908 9909 if test "x$ac_ct_RCC" = x; then 9910 RCC="" 9911 else 9912 case $cross_compiling:$ac_tool_warned in 9913yes:) 9914{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9915$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9916ac_tool_warned=yes ;; 9917esac 9918 RCC=$ac_ct_RCC 9919 fi 9920fi 9921 9922 fi 9923 if test -z "$MOC"; then 9924 if test -n "$ac_tool_prefix"; then 9925 for ac_prog in moc-qt4 moc 9926 do 9927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 9928set dummy $ac_tool_prefix$ac_prog; ac_word=$2 9929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9930$as_echo_n "checking for $ac_word... " >&6; } 9931if ${ac_cv_prog_MOC+:} false; then : 9932 $as_echo_n "(cached) " >&6 9933else 9934 if test -n "$MOC"; then 9935 ac_cv_prog_MOC="$MOC" # Let the user override the test. 9936else 9937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9938for as_dir in $PATH 9939do 9940 IFS=$as_save_IFS 9941 test -z "$as_dir" && as_dir=. 9942 for ac_exec_ext in '' $ac_executable_extensions; do 9943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9944 ac_cv_prog_MOC="$ac_tool_prefix$ac_prog" 9945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9946 break 2 9947 fi 9948done 9949 done 9950IFS=$as_save_IFS 9951 9952fi 9953fi 9954MOC=$ac_cv_prog_MOC 9955if test -n "$MOC"; then 9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 9957$as_echo "$MOC" >&6; } 9958else 9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9960$as_echo "no" >&6; } 9961fi 9962 9963 9964 test -n "$MOC" && break 9965 done 9966fi 9967if test -z "$MOC"; then 9968 ac_ct_MOC=$MOC 9969 for ac_prog in moc-qt4 moc 9970do 9971 # Extract the first word of "$ac_prog", so it can be a program name with args. 9972set dummy $ac_prog; ac_word=$2 9973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9974$as_echo_n "checking for $ac_word... " >&6; } 9975if ${ac_cv_prog_ac_ct_MOC+:} false; then : 9976 $as_echo_n "(cached) " >&6 9977else 9978 if test -n "$ac_ct_MOC"; then 9979 ac_cv_prog_ac_ct_MOC="$ac_ct_MOC" # Let the user override the test. 9980else 9981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9982for as_dir in $PATH 9983do 9984 IFS=$as_save_IFS 9985 test -z "$as_dir" && as_dir=. 9986 for ac_exec_ext in '' $ac_executable_extensions; do 9987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9988 ac_cv_prog_ac_ct_MOC="$ac_prog" 9989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9990 break 2 9991 fi 9992done 9993 done 9994IFS=$as_save_IFS 9995 9996fi 9997fi 9998ac_ct_MOC=$ac_cv_prog_ac_ct_MOC 9999if test -n "$ac_ct_MOC"; then 10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC" >&5 10001$as_echo "$ac_ct_MOC" >&6; } 10002else 10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10004$as_echo "no" >&6; } 10005fi 10006 10007 10008 test -n "$ac_ct_MOC" && break 10009done 10010 10011 if test "x$ac_ct_MOC" = x; then 10012 MOC="" 10013 else 10014 case $cross_compiling:$ac_tool_warned in 10015yes:) 10016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10018ac_tool_warned=yes ;; 10019esac 10020 MOC=$ac_ct_MOC 10021 fi 10022fi 10023 10024 fi 10025 fi 10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Qt uses X11" >&5 10027$as_echo_n "checking whether Qt uses X11... " >&6; } 10028 CPPFLAGS_BAK="$CPPFLAGS" 10029 CPPFLAGS="$CPPFLAGS $libqtopengl_CFLAGS" 10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10031/* end confdefs.h. */ 10032 10033 #include <QGLWidget> 10034 #ifndef Q_WS_X11 10035 error: No X11 10036 #endif 10037int 10038main () 10039{ 10040int x = 0; 10041 ; 10042 return 0; 10043} 10044_ACEOF 10045if ac_fn_cxx_try_compile "$LINENO"; then : 10046 NEED_LIBX11="yes" 10047else 10048 NEED_LIBX11="no" 10049fi 10050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10051 CPPFLAGS="$CPPFLAGS_BAK" 10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NEED_LIBX11" >&5 10053$as_echo "$NEED_LIBX11" >&6; } 10054 if test "$NEED_LIBX11" = "yes"; then 10055 10056$as_echo "#define HAVE_X11 1" >>confdefs.h 10057 10058 10059pkg_failed=no 10060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libX11" >&5 10061$as_echo_n "checking for libX11... " >&6; } 10062 10063if test -n "$libX11_CFLAGS"; then 10064 pkg_cv_libX11_CFLAGS="$libX11_CFLAGS" 10065 elif test -n "$PKG_CONFIG"; then 10066 if test -n "$PKG_CONFIG" && \ 10067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.0\""; } >&5 10068 ($PKG_CONFIG --exists --print-errors "x11 >= 0.0") 2>&5 10069 ac_status=$? 10070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10071 test $ac_status = 0; }; then 10072 pkg_cv_libX11_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 0.0" 2>/dev/null` 10073 test "x$?" != "x0" && pkg_failed=yes 10074else 10075 pkg_failed=yes 10076fi 10077 else 10078 pkg_failed=untried 10079fi 10080if test -n "$libX11_LIBS"; then 10081 pkg_cv_libX11_LIBS="$libX11_LIBS" 10082 elif test -n "$PKG_CONFIG"; then 10083 if test -n "$PKG_CONFIG" && \ 10084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.0\""; } >&5 10085 ($PKG_CONFIG --exists --print-errors "x11 >= 0.0") 2>&5 10086 ac_status=$? 10087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10088 test $ac_status = 0; }; then 10089 pkg_cv_libX11_LIBS=`$PKG_CONFIG --libs "x11 >= 0.0" 2>/dev/null` 10090 test "x$?" != "x0" && pkg_failed=yes 10091else 10092 pkg_failed=yes 10093fi 10094 else 10095 pkg_failed=untried 10096fi 10097 10098 10099 10100if test $pkg_failed = yes; then 10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10102$as_echo "no" >&6; } 10103 10104if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10105 _pkg_short_errors_supported=yes 10106else 10107 _pkg_short_errors_supported=no 10108fi 10109 if test $_pkg_short_errors_supported = yes; then 10110 libX11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 0.0" 2>&1` 10111 else 10112 libX11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 0.0" 2>&1` 10113 fi 10114 # Put the nasty error message in config.log where it belongs 10115 echo "$libX11_PKG_ERRORS" >&5 10116 10117 HAVE_LIBX11=0 10118elif test $pkg_failed = untried; then 10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10120$as_echo "no" >&6; } 10121 HAVE_LIBX11=0 10122else 10123 libX11_CFLAGS=$pkg_cv_libX11_CFLAGS 10124 libX11_LIBS=$pkg_cv_libX11_LIBS 10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10126$as_echo "yes" >&6; } 10127 HAVE_LIBX11=1 10128fi 10129 if test "$HAVE_LIBX11" != "1"; then 10130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libX11 not found:" >&5 10131$as_echo "$as_me: WARNING: required library libX11 not found:" >&2;} 10132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libX11_PKG_ERRORS" >&5 10133$as_echo "$as_me: WARNING: $libX11_PKG_ERRORS" >&2;} 10134 else 10135 libqtopengl_CFLAGS="$libqtopengl_CFLAGS $libX11_CFLAGS" 10136 libqtopengl_LIBS="$libqtopengl_LIBS $libX11_LIBS" 10137 fi 10138 else 10139 10140$as_echo "#define HAVE_X11 0" >>confdefs.h 10141 10142 fi 10143else 10144 10145pkg_failed=no 10146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libqtopengl" >&5 10147$as_echo_n "checking for libqtopengl... " >&6; } 10148 10149if test -n "$libqtopengl_CFLAGS"; then 10150 pkg_cv_libqtopengl_CFLAGS="$libqtopengl_CFLAGS" 10151 elif test -n "$PKG_CONFIG"; then 10152 if test -n "$PKG_CONFIG" && \ 10153 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5OpenGL >= 5.1\""; } >&5 10154 ($PKG_CONFIG --exists --print-errors "Qt5OpenGL >= 5.1") 2>&5 10155 ac_status=$? 10156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10157 test $ac_status = 0; }; then 10158 pkg_cv_libqtopengl_CFLAGS=`$PKG_CONFIG --cflags "Qt5OpenGL >= 5.1" 2>/dev/null` 10159 test "x$?" != "x0" && pkg_failed=yes 10160else 10161 pkg_failed=yes 10162fi 10163 else 10164 pkg_failed=untried 10165fi 10166if test -n "$libqtopengl_LIBS"; then 10167 pkg_cv_libqtopengl_LIBS="$libqtopengl_LIBS" 10168 elif test -n "$PKG_CONFIG"; then 10169 if test -n "$PKG_CONFIG" && \ 10170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5OpenGL >= 5.1\""; } >&5 10171 ($PKG_CONFIG --exists --print-errors "Qt5OpenGL >= 5.1") 2>&5 10172 ac_status=$? 10173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10174 test $ac_status = 0; }; then 10175 pkg_cv_libqtopengl_LIBS=`$PKG_CONFIG --libs "Qt5OpenGL >= 5.1" 2>/dev/null` 10176 test "x$?" != "x0" && pkg_failed=yes 10177else 10178 pkg_failed=yes 10179fi 10180 else 10181 pkg_failed=untried 10182fi 10183 10184 10185 10186if test $pkg_failed = yes; then 10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10188$as_echo "no" >&6; } 10189 10190if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10191 _pkg_short_errors_supported=yes 10192else 10193 _pkg_short_errors_supported=no 10194fi 10195 if test $_pkg_short_errors_supported = yes; then 10196 libqtopengl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5OpenGL >= 5.1" 2>&1` 10197 else 10198 libqtopengl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Qt5OpenGL >= 5.1" 2>&1` 10199 fi 10200 # Put the nasty error message in config.log where it belongs 10201 echo "$libqtopengl_PKG_ERRORS" >&5 10202 10203 HAVE_LIBQTOPENGL=0 10204elif test $pkg_failed = untried; then 10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10206$as_echo "no" >&6; } 10207 HAVE_LIBQTOPENGL=0 10208else 10209 libqtopengl_CFLAGS=$pkg_cv_libqtopengl_CFLAGS 10210 libqtopengl_LIBS=$pkg_cv_libqtopengl_LIBS 10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10212$as_echo "yes" >&6; } 10213 HAVE_LIBQTOPENGL=1 10214fi 10215 if test -z "$RCC"; then 10216 if test -n "$ac_tool_prefix"; then 10217 for ac_prog in rcc-qt5 rcc 10218 do 10219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 10220set dummy $ac_tool_prefix$ac_prog; ac_word=$2 10221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10222$as_echo_n "checking for $ac_word... " >&6; } 10223if ${ac_cv_prog_RCC+:} false; then : 10224 $as_echo_n "(cached) " >&6 10225else 10226 if test -n "$RCC"; then 10227 ac_cv_prog_RCC="$RCC" # Let the user override the test. 10228else 10229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10230for as_dir in $PATH 10231do 10232 IFS=$as_save_IFS 10233 test -z "$as_dir" && as_dir=. 10234 for ac_exec_ext in '' $ac_executable_extensions; do 10235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10236 ac_cv_prog_RCC="$ac_tool_prefix$ac_prog" 10237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10238 break 2 10239 fi 10240done 10241 done 10242IFS=$as_save_IFS 10243 10244fi 10245fi 10246RCC=$ac_cv_prog_RCC 10247if test -n "$RCC"; then 10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5 10249$as_echo "$RCC" >&6; } 10250else 10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10252$as_echo "no" >&6; } 10253fi 10254 10255 10256 test -n "$RCC" && break 10257 done 10258fi 10259if test -z "$RCC"; then 10260 ac_ct_RCC=$RCC 10261 for ac_prog in rcc-qt5 rcc 10262do 10263 # Extract the first word of "$ac_prog", so it can be a program name with args. 10264set dummy $ac_prog; ac_word=$2 10265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10266$as_echo_n "checking for $ac_word... " >&6; } 10267if ${ac_cv_prog_ac_ct_RCC+:} false; then : 10268 $as_echo_n "(cached) " >&6 10269else 10270 if test -n "$ac_ct_RCC"; then 10271 ac_cv_prog_ac_ct_RCC="$ac_ct_RCC" # Let the user override the test. 10272else 10273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10274for as_dir in $PATH 10275do 10276 IFS=$as_save_IFS 10277 test -z "$as_dir" && as_dir=. 10278 for ac_exec_ext in '' $ac_executable_extensions; do 10279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10280 ac_cv_prog_ac_ct_RCC="$ac_prog" 10281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10282 break 2 10283 fi 10284done 10285 done 10286IFS=$as_save_IFS 10287 10288fi 10289fi 10290ac_ct_RCC=$ac_cv_prog_ac_ct_RCC 10291if test -n "$ac_ct_RCC"; then 10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RCC" >&5 10293$as_echo "$ac_ct_RCC" >&6; } 10294else 10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10296$as_echo "no" >&6; } 10297fi 10298 10299 10300 test -n "$ac_ct_RCC" && break 10301done 10302 10303 if test "x$ac_ct_RCC" = x; then 10304 RCC="" 10305 else 10306 case $cross_compiling:$ac_tool_warned in 10307yes:) 10308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10310ac_tool_warned=yes ;; 10311esac 10312 RCC=$ac_ct_RCC 10313 fi 10314fi 10315 10316 fi 10317 if test -z "$MOC"; then 10318 if test -n "$ac_tool_prefix"; then 10319 for ac_prog in moc-qt5 moc 10320 do 10321 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 10322set dummy $ac_tool_prefix$ac_prog; ac_word=$2 10323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10324$as_echo_n "checking for $ac_word... " >&6; } 10325if ${ac_cv_prog_MOC+:} false; then : 10326 $as_echo_n "(cached) " >&6 10327else 10328 if test -n "$MOC"; then 10329 ac_cv_prog_MOC="$MOC" # Let the user override the test. 10330else 10331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10332for as_dir in $PATH 10333do 10334 IFS=$as_save_IFS 10335 test -z "$as_dir" && as_dir=. 10336 for ac_exec_ext in '' $ac_executable_extensions; do 10337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10338 ac_cv_prog_MOC="$ac_tool_prefix$ac_prog" 10339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10340 break 2 10341 fi 10342done 10343 done 10344IFS=$as_save_IFS 10345 10346fi 10347fi 10348MOC=$ac_cv_prog_MOC 10349if test -n "$MOC"; then 10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5 10351$as_echo "$MOC" >&6; } 10352else 10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10354$as_echo "no" >&6; } 10355fi 10356 10357 10358 test -n "$MOC" && break 10359 done 10360fi 10361if test -z "$MOC"; then 10362 ac_ct_MOC=$MOC 10363 for ac_prog in moc-qt5 moc 10364do 10365 # Extract the first word of "$ac_prog", so it can be a program name with args. 10366set dummy $ac_prog; ac_word=$2 10367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10368$as_echo_n "checking for $ac_word... " >&6; } 10369if ${ac_cv_prog_ac_ct_MOC+:} false; then : 10370 $as_echo_n "(cached) " >&6 10371else 10372 if test -n "$ac_ct_MOC"; then 10373 ac_cv_prog_ac_ct_MOC="$ac_ct_MOC" # Let the user override the test. 10374else 10375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10376for as_dir in $PATH 10377do 10378 IFS=$as_save_IFS 10379 test -z "$as_dir" && as_dir=. 10380 for ac_exec_ext in '' $ac_executable_extensions; do 10381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10382 ac_cv_prog_ac_ct_MOC="$ac_prog" 10383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10384 break 2 10385 fi 10386done 10387 done 10388IFS=$as_save_IFS 10389 10390fi 10391fi 10392ac_ct_MOC=$ac_cv_prog_ac_ct_MOC 10393if test -n "$ac_ct_MOC"; then 10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC" >&5 10395$as_echo "$ac_ct_MOC" >&6; } 10396else 10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10398$as_echo "no" >&6; } 10399fi 10400 10401 10402 test -n "$ac_ct_MOC" && break 10403done 10404 10405 if test "x$ac_ct_MOC" = x; then 10406 MOC="" 10407 else 10408 case $cross_compiling:$ac_tool_warned in 10409yes:) 10410{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10411$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10412ac_tool_warned=yes ;; 10413esac 10414 MOC=$ac_ct_MOC 10415 fi 10416fi 10417 10418 fi 10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Qt needs -fPIC and -pie" >&5 10420$as_echo_n "checking whether Qt needs -fPIC and -pie... " >&6; } 10421 if test -n "`$PKG_CONFIG --variable=qt_config Qt5Core | $GREP reduce_relocations`"; then 10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10423$as_echo "yes" >&6; } 10424 CXXFLAGS="$CXXFLAGS -fPIC" 10425 LDFLAGS="$LDFLAGS -pie" 10426 else 10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10428$as_echo "no" >&6; } 10429 fi 10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Qt uses X11" >&5 10431$as_echo_n "checking whether Qt uses X11... " >&6; } 10432 if test -n "`$PKG_CONFIG --variable=qt_config Qt5Core | $GREP xcb`"; then 10433 10434$as_echo "#define HAVE_X11 1" >>confdefs.h 10435 10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10437$as_echo "yes" >&6; } 10438 else 10439 10440$as_echo "#define HAVE_X11 0" >>confdefs.h 10441 10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10443$as_echo "no" >&6; } 10444 fi 10445fi 10446if test "$HAVE_LIBQTOPENGL" = "1"; then 10447 if test -z "$RCC" -o -z "$MOC"; then 10448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required tools rcc and/or moc not found; Qt not usable" >&5 10449$as_echo "$as_me: WARNING: required tools rcc and/or moc not found; Qt not usable" >&2;} 10450 HAVE_LIBQTOPENGL="0" 10451 fi 10452fi 10453 10454 10455# Check whether --with-equalizer was given. 10456if test "${with_equalizer+set}" = set; then : 10457 withval=$with_equalizer; if test "$withval" = "yes"; then equalizer="yes"; else equalizer="no"; fi 10458else 10459 equalizer="yes" 10460fi 10461 10462if test "$equalizer" = "yes"; then 10463 10464pkg_failed=no 10465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libEqualizer" >&5 10466$as_echo_n "checking for libEqualizer... " >&6; } 10467 10468if test -n "$libEqualizer_CFLAGS"; then 10469 pkg_cv_libEqualizer_CFLAGS="$libEqualizer_CFLAGS" 10470 elif test -n "$PKG_CONFIG"; then 10471 if test -n "$PKG_CONFIG" && \ 10472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Equalizer >= 0.9.3\""; } >&5 10473 ($PKG_CONFIG --exists --print-errors "Equalizer >= 0.9.3") 2>&5 10474 ac_status=$? 10475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10476 test $ac_status = 0; }; then 10477 pkg_cv_libEqualizer_CFLAGS=`$PKG_CONFIG --cflags "Equalizer >= 0.9.3" 2>/dev/null` 10478 test "x$?" != "x0" && pkg_failed=yes 10479else 10480 pkg_failed=yes 10481fi 10482 else 10483 pkg_failed=untried 10484fi 10485if test -n "$libEqualizer_LIBS"; then 10486 pkg_cv_libEqualizer_LIBS="$libEqualizer_LIBS" 10487 elif test -n "$PKG_CONFIG"; then 10488 if test -n "$PKG_CONFIG" && \ 10489 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Equalizer >= 0.9.3\""; } >&5 10490 ($PKG_CONFIG --exists --print-errors "Equalizer >= 0.9.3") 2>&5 10491 ac_status=$? 10492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10493 test $ac_status = 0; }; then 10494 pkg_cv_libEqualizer_LIBS=`$PKG_CONFIG --libs "Equalizer >= 0.9.3" 2>/dev/null` 10495 test "x$?" != "x0" && pkg_failed=yes 10496else 10497 pkg_failed=yes 10498fi 10499 else 10500 pkg_failed=untried 10501fi 10502 10503 10504 10505if test $pkg_failed = yes; then 10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10507$as_echo "no" >&6; } 10508 10509if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10510 _pkg_short_errors_supported=yes 10511else 10512 _pkg_short_errors_supported=no 10513fi 10514 if test $_pkg_short_errors_supported = yes; then 10515 libEqualizer_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Equalizer >= 0.9.3" 2>&1` 10516 else 10517 libEqualizer_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Equalizer >= 0.9.3" 2>&1` 10518 fi 10519 # Put the nasty error message in config.log where it belongs 10520 echo "$libEqualizer_PKG_ERRORS" >&5 10521 10522 HAVE_LIBEQUALIZER=0 10523elif test $pkg_failed = untried; then 10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10525$as_echo "no" >&6; } 10526 HAVE_LIBEQUALIZER=0 10527else 10528 libEqualizer_CFLAGS=$pkg_cv_libEqualizer_CFLAGS 10529 libEqualizer_LIBS=$pkg_cv_libEqualizer_LIBS 10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10531$as_echo "yes" >&6; } 10532 HAVE_LIBEQUALIZER=1 10533fi 10534 if test "$HAVE_LIBEQUALIZER" != "1"; then 10535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: optional library libEqualizer not found:" >&5 10536$as_echo "$as_me: WARNING: optional library libEqualizer not found:" >&2;} 10537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libEqualizer_PKG_ERRORS" >&5 10538$as_echo "$as_me: WARNING: $libEqualizer_PKG_ERRORS" >&2;} 10539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libEqualizer is provided by Equalizer" >&5 10540$as_echo "$as_me: WARNING: libEqualizer is provided by Equalizer" >&2;} 10541 equalizer="no" 10542 fi 10543else 10544 HAVE_LIBEQUALIZER=0 10545fi 10546 10547cat >>confdefs.h <<_ACEOF 10548#define HAVE_LIBEQUALIZER $HAVE_LIBEQUALIZER 10549_ACEOF 10550 10551 if test "$HAVE_LIBEQUALIZER" = "1"; then 10552 HAVE_LIBEQUALIZER_TRUE= 10553 HAVE_LIBEQUALIZER_FALSE='#' 10554else 10555 HAVE_LIBEQUALIZER_TRUE='#' 10556 HAVE_LIBEQUALIZER_FALSE= 10557fi 10558 10559 10560 10561pkg_failed=no 10562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libglewmx" >&5 10563$as_echo_n "checking for libglewmx... " >&6; } 10564 10565if test -n "$libglewmx_CFLAGS"; then 10566 pkg_cv_libglewmx_CFLAGS="$libglewmx_CFLAGS" 10567 elif test -n "$PKG_CONFIG"; then 10568 if test -n "$PKG_CONFIG" && \ 10569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glewmx >= 1.6.0\""; } >&5 10570 ($PKG_CONFIG --exists --print-errors "glewmx >= 1.6.0") 2>&5 10571 ac_status=$? 10572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10573 test $ac_status = 0; }; then 10574 pkg_cv_libglewmx_CFLAGS=`$PKG_CONFIG --cflags "glewmx >= 1.6.0" 2>/dev/null` 10575 test "x$?" != "x0" && pkg_failed=yes 10576else 10577 pkg_failed=yes 10578fi 10579 else 10580 pkg_failed=untried 10581fi 10582if test -n "$libglewmx_LIBS"; then 10583 pkg_cv_libglewmx_LIBS="$libglewmx_LIBS" 10584 elif test -n "$PKG_CONFIG"; then 10585 if test -n "$PKG_CONFIG" && \ 10586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glewmx >= 1.6.0\""; } >&5 10587 ($PKG_CONFIG --exists --print-errors "glewmx >= 1.6.0") 2>&5 10588 ac_status=$? 10589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10590 test $ac_status = 0; }; then 10591 pkg_cv_libglewmx_LIBS=`$PKG_CONFIG --libs "glewmx >= 1.6.0" 2>/dev/null` 10592 test "x$?" != "x0" && pkg_failed=yes 10593else 10594 pkg_failed=yes 10595fi 10596 else 10597 pkg_failed=untried 10598fi 10599 10600 10601 10602if test $pkg_failed = yes; then 10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10604$as_echo "no" >&6; } 10605 10606if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10607 _pkg_short_errors_supported=yes 10608else 10609 _pkg_short_errors_supported=no 10610fi 10611 if test $_pkg_short_errors_supported = yes; then 10612 libglewmx_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glewmx >= 1.6.0" 2>&1` 10613 else 10614 libglewmx_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glewmx >= 1.6.0" 2>&1` 10615 fi 10616 # Put the nasty error message in config.log where it belongs 10617 echo "$libglewmx_PKG_ERRORS" >&5 10618 10619 HAVE_LIBGLEWMX=0 10620elif test $pkg_failed = untried; then 10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10622$as_echo "no" >&6; } 10623 HAVE_LIBGLEWMX=0 10624else 10625 libglewmx_CFLAGS=$pkg_cv_libglewmx_CFLAGS 10626 libglewmx_LIBS=$pkg_cv_libglewmx_LIBS 10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10628$as_echo "yes" >&6; } 10629 HAVE_LIBGLEWMX=1 10630fi 10631if test "$HAVE_LIBGLEWMX" != "1"; then 10632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library libglewmx >= 1.6.0 not found:" >&5 10633$as_echo "$as_me: WARNING: required library libglewmx >= 1.6.0 not found:" >&2;} 10634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libglewmx_PKG_ERRORS" >&5 10635$as_echo "$as_me: WARNING: $libglewmx_PKG_ERRORS" >&2;} 10636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libglewmx is provided by glew; Debian package: libglewmx-dev" >&5 10637$as_echo "$as_me: WARNING: libglewmx is provided by glew; Debian package: libglewmx-dev" >&2;} 10638fi 10639 if test "$HAVE_LIBGLEWMX" = "1"; then 10640 HAVE_LIBGLEWMX_TRUE= 10641 HAVE_LIBGLEWMX_FALSE='#' 10642else 10643 HAVE_LIBGLEWMX_TRUE='#' 10644 HAVE_LIBGLEWMX_FALSE= 10645fi 10646 10647 10648 10649# Check whether --with-xnvctrl was given. 10650if test "${with_xnvctrl+set}" = set; then : 10651 withval=$with_xnvctrl; if test "$withval" = "yes"; then xnvctrl="yes"; else xnvctrl="no"; fi 10652else 10653 xnvctrl="no" 10654fi 10655 10656if test "$xnvctrl" = "yes"; then 10657 CPPFLAGS_BAK="$CPPFLAGS" 10658 CPPFLAGS="$CPPFLAGS $libX11_CFLAGS $xnvctrl_CFLAGS" 10659 10660 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h 10661do : 10662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10663ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <GL/glx.h> 10664" 10665if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10666 cat >>confdefs.h <<_ACEOF 10667#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10668_ACEOF 10669 HAVE_LIBXNVCTRL=1 10670else 10671 HAVE_LIBXNVCTRL=0 10672fi 10673 10674done 10675 10676 if test "$HAVE_LIBXNVCTRL" = "1"; then 10677 LDFLAGS_BAK="$LDFLAGS" 10678 LDFLAGS="$LDFLAGS $xnvctrl_LDFLAGS" 10679 10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryAttribute in -lXNVCtrl" >&5 10681$as_echo_n "checking for XNVCTRLQueryAttribute in -lXNVCtrl... " >&6; } 10682if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryAttribute+:} false; then : 10683 $as_echo_n "(cached) " >&6 10684else 10685 ac_check_lib_save_LIBS=$LIBS 10686LIBS="-lXNVCtrl -lX11 -lXext $LIBS" 10687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10688/* end confdefs.h. */ 10689 10690/* Override any GCC internal prototype to avoid an error. 10691 Use char because int might match the return type of a GCC 10692 builtin and then its argument prototype would still apply. */ 10693#ifdef __cplusplus 10694extern "C" 10695#endif 10696char XNVCTRLQueryAttribute (); 10697int 10698main () 10699{ 10700return XNVCTRLQueryAttribute (); 10701 ; 10702 return 0; 10703} 10704_ACEOF 10705if ac_fn_cxx_try_link "$LINENO"; then : 10706 ac_cv_lib_XNVCtrl_XNVCTRLQueryAttribute=yes 10707else 10708 ac_cv_lib_XNVCtrl_XNVCTRLQueryAttribute=no 10709fi 10710rm -f core conftest.err conftest.$ac_objext \ 10711 conftest$ac_exeext conftest.$ac_ext 10712LIBS=$ac_check_lib_save_LIBS 10713fi 10714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryAttribute" >&5 10715$as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryAttribute" >&6; } 10716if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryAttribute" = xyes; then : 10717 HAVE_LIBXNVCTRL=1 10718else 10719 HAVE_LIBXNVCTRL=0 10720fi 10721 10722 LDFLAGS="$LDFLAGS_BAK" 10723 fi 10724 CPPFLAGS="$CPPFLAGS_BAK" 10725 if test "$HAVE_LIBXNVCTRL" != "1"; then 10726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: optional library libXNVCtrl not found" >&5 10727$as_echo "$as_me: WARNING: optional library libXNVCtrl not found" >&2;} 10728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXNVCtrl is provided by NVIDIA; Debian package: libxnvctrl-dev" >&5 10729$as_echo "$as_me: WARNING: libXNVCtrl is provided by NVIDIA; Debian package: libxnvctrl-dev" >&2;} 10730 xnvctrl="no" 10731 fi 10732else 10733 HAVE_LIBXNVCTRL=0 10734fi 10735 10736cat >>confdefs.h <<_ACEOF 10737#define HAVE_LIBXNVCTRL $HAVE_LIBXNVCTRL 10738_ACEOF 10739 10740 if test "$HAVE_LIBXNVCTRL" = "1"; then 10741 HAVE_LIBXNVCTRL_TRUE= 10742 HAVE_LIBXNVCTRL_FALSE='#' 10743else 10744 HAVE_LIBXNVCTRL_TRUE='#' 10745 HAVE_LIBXNVCTRL_FALSE= 10746fi 10747 10748 10749 10750pkg_failed=no 10751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgl" >&5 10752$as_echo_n "checking for libgl... " >&6; } 10753 10754if test -n "$libgl_CFLAGS"; then 10755 pkg_cv_libgl_CFLAGS="$libgl_CFLAGS" 10756 elif test -n "$PKG_CONFIG"; then 10757 if test -n "$PKG_CONFIG" && \ 10758 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl >= 0.0\""; } >&5 10759 ($PKG_CONFIG --exists --print-errors "gl >= 0.0") 2>&5 10760 ac_status=$? 10761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10762 test $ac_status = 0; }; then 10763 pkg_cv_libgl_CFLAGS=`$PKG_CONFIG --cflags "gl >= 0.0" 2>/dev/null` 10764 test "x$?" != "x0" && pkg_failed=yes 10765else 10766 pkg_failed=yes 10767fi 10768 else 10769 pkg_failed=untried 10770fi 10771if test -n "$libgl_LIBS"; then 10772 pkg_cv_libgl_LIBS="$libgl_LIBS" 10773 elif test -n "$PKG_CONFIG"; then 10774 if test -n "$PKG_CONFIG" && \ 10775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl >= 0.0\""; } >&5 10776 ($PKG_CONFIG --exists --print-errors "gl >= 0.0") 2>&5 10777 ac_status=$? 10778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10779 test $ac_status = 0; }; then 10780 pkg_cv_libgl_LIBS=`$PKG_CONFIG --libs "gl >= 0.0" 2>/dev/null` 10781 test "x$?" != "x0" && pkg_failed=yes 10782else 10783 pkg_failed=yes 10784fi 10785 else 10786 pkg_failed=untried 10787fi 10788 10789 10790 10791if test $pkg_failed = yes; then 10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10793$as_echo "no" >&6; } 10794 10795if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10796 _pkg_short_errors_supported=yes 10797else 10798 _pkg_short_errors_supported=no 10799fi 10800 if test $_pkg_short_errors_supported = yes; then 10801 libgl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gl >= 0.0" 2>&1` 10802 else 10803 libgl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gl >= 0.0" 2>&1` 10804 fi 10805 # Put the nasty error message in config.log where it belongs 10806 echo "$libgl_PKG_ERRORS" >&5 10807 10808 HAVE_LIBGL=0 10809elif test $pkg_failed = untried; then 10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10811$as_echo "no" >&6; } 10812 HAVE_LIBGL=0 10813else 10814 libgl_CFLAGS=$pkg_cv_libgl_CFLAGS 10815 libgl_LIBS=$pkg_cv_libgl_LIBS 10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10817$as_echo "yes" >&6; } 10818 HAVE_LIBGL=1 10819fi 10820 10821LIRC_PKGCONFIG_VERSION="\"\"" 10822 10823# Check whether --with-lirc was given. 10824if test "${with_lirc+set}" = set; then : 10825 withval=$with_lirc; if test "$withval" = "yes"; then lirc="yes"; else lirc="no"; fi 10826else 10827 lirc="yes" 10828fi 10829 10830if test "$lirc" = "yes"; then 10831 10832pkg_failed=no 10833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc" >&5 10834$as_echo_n "checking for lirc... " >&6; } 10835 10836if test -n "$lirc_CFLAGS"; then 10837 pkg_cv_lirc_CFLAGS="$lirc_CFLAGS" 10838 elif test -n "$PKG_CONFIG"; then 10839 if test -n "$PKG_CONFIG" && \ 10840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lirc >= 0.0\""; } >&5 10841 ($PKG_CONFIG --exists --print-errors "lirc >= 0.0") 2>&5 10842 ac_status=$? 10843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10844 test $ac_status = 0; }; then 10845 pkg_cv_lirc_CFLAGS=`$PKG_CONFIG --cflags "lirc >= 0.0" 2>/dev/null` 10846 test "x$?" != "x0" && pkg_failed=yes 10847else 10848 pkg_failed=yes 10849fi 10850 else 10851 pkg_failed=untried 10852fi 10853if test -n "$lirc_LIBS"; then 10854 pkg_cv_lirc_LIBS="$lirc_LIBS" 10855 elif test -n "$PKG_CONFIG"; then 10856 if test -n "$PKG_CONFIG" && \ 10857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lirc >= 0.0\""; } >&5 10858 ($PKG_CONFIG --exists --print-errors "lirc >= 0.0") 2>&5 10859 ac_status=$? 10860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10861 test $ac_status = 0; }; then 10862 pkg_cv_lirc_LIBS=`$PKG_CONFIG --libs "lirc >= 0.0" 2>/dev/null` 10863 test "x$?" != "x0" && pkg_failed=yes 10864else 10865 pkg_failed=yes 10866fi 10867 else 10868 pkg_failed=untried 10869fi 10870 10871 10872 10873if test $pkg_failed = yes; then 10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10875$as_echo "no" >&6; } 10876 10877if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10878 _pkg_short_errors_supported=yes 10879else 10880 _pkg_short_errors_supported=no 10881fi 10882 if test $_pkg_short_errors_supported = yes; then 10883 lirc_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lirc >= 0.0" 2>&1` 10884 else 10885 lirc_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lirc >= 0.0" 2>&1` 10886 fi 10887 # Put the nasty error message in config.log where it belongs 10888 echo "$lirc_PKG_ERRORS" >&5 10889 10890 HAVE_LIRC=0 10891elif test $pkg_failed = untried; then 10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10893$as_echo "no" >&6; } 10894 HAVE_LIRC=0 10895else 10896 lirc_CFLAGS=$pkg_cv_lirc_CFLAGS 10897 lirc_LIBS=$pkg_cv_lirc_LIBS 10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10899$as_echo "yes" >&6; } 10900 HAVE_LIRC=1 10901fi 10902 if test "$HAVE_LIRC" != "1"; then 10903 10904pkg_failed=no 10905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc" >&5 10906$as_echo_n "checking for lirc... " >&6; } 10907 10908if test -n "$lirc_CFLAGS"; then 10909 pkg_cv_lirc_CFLAGS="$lirc_CFLAGS" 10910 elif test -n "$PKG_CONFIG"; then 10911 if test -n "$PKG_CONFIG" && \ 10912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblircclient0 >= 0.0\""; } >&5 10913 ($PKG_CONFIG --exists --print-errors "liblircclient0 >= 0.0") 2>&5 10914 ac_status=$? 10915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10916 test $ac_status = 0; }; then 10917 pkg_cv_lirc_CFLAGS=`$PKG_CONFIG --cflags "liblircclient0 >= 0.0" 2>/dev/null` 10918 test "x$?" != "x0" && pkg_failed=yes 10919else 10920 pkg_failed=yes 10921fi 10922 else 10923 pkg_failed=untried 10924fi 10925if test -n "$lirc_LIBS"; then 10926 pkg_cv_lirc_LIBS="$lirc_LIBS" 10927 elif test -n "$PKG_CONFIG"; then 10928 if test -n "$PKG_CONFIG" && \ 10929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblircclient0 >= 0.0\""; } >&5 10930 ($PKG_CONFIG --exists --print-errors "liblircclient0 >= 0.0") 2>&5 10931 ac_status=$? 10932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10933 test $ac_status = 0; }; then 10934 pkg_cv_lirc_LIBS=`$PKG_CONFIG --libs "liblircclient0 >= 0.0" 2>/dev/null` 10935 test "x$?" != "x0" && pkg_failed=yes 10936else 10937 pkg_failed=yes 10938fi 10939 else 10940 pkg_failed=untried 10941fi 10942 10943 10944 10945if test $pkg_failed = yes; then 10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10947$as_echo "no" >&6; } 10948 10949if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10950 _pkg_short_errors_supported=yes 10951else 10952 _pkg_short_errors_supported=no 10953fi 10954 if test $_pkg_short_errors_supported = yes; then 10955 lirc_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblircclient0 >= 0.0" 2>&1` 10956 else 10957 lirc_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblircclient0 >= 0.0" 2>&1` 10958 fi 10959 # Put the nasty error message in config.log where it belongs 10960 echo "$lirc_PKG_ERRORS" >&5 10961 10962 HAVE_LIRC=0 10963elif test $pkg_failed = untried; then 10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10965$as_echo "no" >&6; } 10966 HAVE_LIRC=0 10967else 10968 lirc_CFLAGS=$pkg_cv_lirc_CFLAGS 10969 lirc_LIBS=$pkg_cv_lirc_LIBS 10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10971$as_echo "yes" >&6; } 10972 HAVE_LIRC=1 10973fi 10974 if test "$HAVE_LIRC" != "1"; then 10975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: optional library lirc not found:" >&5 10976$as_echo "$as_me: WARNING: optional library lirc not found:" >&2;} 10977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $lirc_PKG_ERRORS" >&5 10978$as_echo "$as_me: WARNING: $lirc_PKG_ERRORS" >&2;} 10979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lirc is provided by LIRC; Debian package: liblircclient-dev" >&5 10980$as_echo "$as_me: WARNING: lirc is provided by LIRC; Debian package: liblircclient-dev" >&2;} 10981 lirc="no" 10982 else 10983 LIRC_PKGCONFIG_VERSION="\"`$PKG_CONFIG --modversion liblircclient0`\"" 10984 fi 10985 else 10986 LIRC_PKGCONFIG_VERSION="\"`$PKG_CONFIG --modversion lirc`\"" 10987 fi 10988else 10989 HAVE_LIRC=0 10990fi 10991 10992cat >>confdefs.h <<_ACEOF 10993#define HAVE_LIRC $HAVE_LIRC 10994_ACEOF 10995 10996 10997cat >>confdefs.h <<_ACEOF 10998#define LIRC_PKGCONFIG_VERSION $LIRC_PKGCONFIG_VERSION 10999_ACEOF 11000 11001 if test "$HAVE_LIRC" = "1"; then 11002 HAVE_LIRC_TRUE= 11003 HAVE_LIRC_FALSE='#' 11004else 11005 HAVE_LIRC_TRUE='#' 11006 HAVE_LIRC_FALSE= 11007fi 11008 11009 11010GTK_UPDATE_ICON_CACHE="" 11011 11012for ac_prog in gtk-update-icon-cache 11013do 11014 # Extract the first word of "$ac_prog", so it can be a program name with args. 11015set dummy $ac_prog; ac_word=$2 11016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11017$as_echo_n "checking for $ac_word... " >&6; } 11018if ${ac_cv_prog_GTK_UPDATE_ICON_CACHE+:} false; then : 11019 $as_echo_n "(cached) " >&6 11020else 11021 if test -n "$GTK_UPDATE_ICON_CACHE"; then 11022 ac_cv_prog_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test. 11023else 11024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11025for as_dir in $PATH 11026do 11027 IFS=$as_save_IFS 11028 test -z "$as_dir" && as_dir=. 11029 for ac_exec_ext in '' $ac_executable_extensions; do 11030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11031 ac_cv_prog_GTK_UPDATE_ICON_CACHE="$ac_prog" 11032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11033 break 2 11034 fi 11035done 11036 done 11037IFS=$as_save_IFS 11038 11039fi 11040fi 11041GTK_UPDATE_ICON_CACHE=$ac_cv_prog_GTK_UPDATE_ICON_CACHE 11042if test -n "$GTK_UPDATE_ICON_CACHE"; then 11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5 11044$as_echo "$GTK_UPDATE_ICON_CACHE" >&6; } 11045else 11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11047$as_echo "no" >&6; } 11048fi 11049 11050 11051 test -n "$GTK_UPDATE_ICON_CACHE" && break 11052done 11053 11054UPDATE_DESKTOP_DATABASE="" 11055 11056for ac_prog in update-desktop-database 11057do 11058 # Extract the first word of "$ac_prog", so it can be a program name with args. 11059set dummy $ac_prog; ac_word=$2 11060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11061$as_echo_n "checking for $ac_word... " >&6; } 11062if ${ac_cv_prog_UPDATE_DESKTOP_DATABASE+:} false; then : 11063 $as_echo_n "(cached) " >&6 11064else 11065 if test -n "$UPDATE_DESKTOP_DATABASE"; then 11066 ac_cv_prog_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test. 11067else 11068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11069for as_dir in $PATH 11070do 11071 IFS=$as_save_IFS 11072 test -z "$as_dir" && as_dir=. 11073 for ac_exec_ext in '' $ac_executable_extensions; do 11074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11075 ac_cv_prog_UPDATE_DESKTOP_DATABASE="$ac_prog" 11076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11077 break 2 11078 fi 11079done 11080 done 11081IFS=$as_save_IFS 11082 11083fi 11084fi 11085UPDATE_DESKTOP_DATABASE=$ac_cv_prog_UPDATE_DESKTOP_DATABASE 11086if test -n "$UPDATE_DESKTOP_DATABASE"; then 11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5 11088$as_echo "$UPDATE_DESKTOP_DATABASE" >&6; } 11089else 11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11091$as_echo "no" >&6; } 11092fi 11093 11094 11095 test -n "$UPDATE_DESKTOP_DATABASE" && break 11096done 11097 11098 11099if test "$am_cv_func_iconv" != "yes" \ 11100 -o "$HAVE_LIBAVFORMAT" != "1" \ 11101 -o "$HAVE_LIBAVDEVICE" != "1" \ 11102 -o "$HAVE_LIBSWSCALE" != "1" \ 11103 -o "$HAVE_LIBASS" != "1" \ 11104 -o "$HAVE_LIBOPENAL" != "1" \ 11105 -o "$HAVE_LIBQTOPENGL" != "1" \ 11106 -o "$HAVE_LIBGLEWMX" != "1" \ 11107 -o \( "$equalizer" = "yes" -a "$HAVE_LIBEQUALIZER" != "1" \) \ 11108 -o \( "$xnvctrl" = "yes" -a "$HAVE_LIBXNVCTRL" != "1" \) \ 11109 -o \( "$lirc" = "yes" -a "$HAVE_LIRC" != "1" \) ; then 11110 as_fn_error $? "One or more libraries were not found. See messages above." "$LINENO" 5 11111fi 11112 11113ac_config_files="$ac_config_files Makefile po/Makefile.in src/base/Makefile src/Makefile doc/Makefile pkg/macosx/Info.plist" 11114 11115cat >confcache <<\_ACEOF 11116# This file is a shell script that caches the results of configure 11117# tests run on this system so they can be shared between configure 11118# scripts and configure runs, see configure's option --config-cache. 11119# It is not useful on other systems. If it contains results you don't 11120# want to keep, you may remove or edit it. 11121# 11122# config.status only pays attention to the cache file if you give it 11123# the --recheck option to rerun configure. 11124# 11125# `ac_cv_env_foo' variables (set or unset) will be overridden when 11126# loading this file, other *unset* `ac_cv_foo' will be assigned the 11127# following values. 11128 11129_ACEOF 11130 11131# The following way of writing the cache mishandles newlines in values, 11132# but we know of no workaround that is simple, portable, and efficient. 11133# So, we kill variables containing newlines. 11134# Ultrix sh set writes to stderr and can't be redirected directly, 11135# and sets the high bit in the cache file unless we assign to the vars. 11136( 11137 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11138 eval ac_val=\$$ac_var 11139 case $ac_val in #( 11140 *${as_nl}*) 11141 case $ac_var in #( 11142 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11143$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11144 esac 11145 case $ac_var in #( 11146 _ | IFS | as_nl) ;; #( 11147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11148 *) { eval $ac_var=; unset $ac_var;} ;; 11149 esac ;; 11150 esac 11151 done 11152 11153 (set) 2>&1 | 11154 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11155 *${as_nl}ac_space=\ *) 11156 # `set' does not quote correctly, so add quotes: double-quote 11157 # substitution turns \\\\ into \\, and sed turns \\ into \. 11158 sed -n \ 11159 "s/'/'\\\\''/g; 11160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11161 ;; #( 11162 *) 11163 # `set' quotes correctly as required by POSIX, so do not add quotes. 11164 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11165 ;; 11166 esac | 11167 sort 11168) | 11169 sed ' 11170 /^ac_cv_env_/b end 11171 t clear 11172 :clear 11173 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11174 t end 11175 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11176 :end' >>confcache 11177if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11178 if test -w "$cache_file"; then 11179 if test "x$cache_file" != "x/dev/null"; then 11180 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11181$as_echo "$as_me: updating cache $cache_file" >&6;} 11182 if test ! -f "$cache_file" || test -h "$cache_file"; then 11183 cat confcache >"$cache_file" 11184 else 11185 case $cache_file in #( 11186 */* | ?:*) 11187 mv -f confcache "$cache_file"$$ && 11188 mv -f "$cache_file"$$ "$cache_file" ;; #( 11189 *) 11190 mv -f confcache "$cache_file" ;; 11191 esac 11192 fi 11193 fi 11194 else 11195 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11196$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11197 fi 11198fi 11199rm -f confcache 11200 11201test "x$prefix" = xNONE && prefix=$ac_default_prefix 11202# Let make expand exec_prefix. 11203test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11204 11205DEFS=-DHAVE_CONFIG_H 11206 11207ac_libobjs= 11208ac_ltlibobjs= 11209U= 11210for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11211 # 1. Remove the extension, and $U if already installed. 11212 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11213 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11214 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11215 # will be set to the directory where LIBOBJS objects are built. 11216 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11217 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11218done 11219LIBOBJS=$ac_libobjs 11220 11221LTLIBOBJS=$ac_ltlibobjs 11222 11223 11224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11225$as_echo_n "checking that generated files are newer than configure... " >&6; } 11226 if test -n "$am_sleep_pid"; then 11227 # Hide warnings about reused PIDs. 11228 wait $am_sleep_pid 2>/dev/null 11229 fi 11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 11231$as_echo "done" >&6; } 11232if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11233 as_fn_error $? "conditional \"AMDEP\" was never defined. 11234Usually this means the macro was only invoked conditionally." "$LINENO" 5 11235fi 11236if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11237 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11238Usually this means the macro was only invoked conditionally." "$LINENO" 5 11239fi 11240 if test -n "$EXEEXT"; then 11241 am__EXEEXT_TRUE= 11242 am__EXEEXT_FALSE='#' 11243else 11244 am__EXEEXT_TRUE='#' 11245 am__EXEEXT_FALSE= 11246fi 11247 11248if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 11249 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 11250Usually this means the macro was only invoked conditionally." "$LINENO" 5 11251fi 11252 11253if test -z "${HAVE_MAKENSIS_TRUE}" && test -z "${HAVE_MAKENSIS_FALSE}"; then 11254 as_fn_error $? "conditional \"HAVE_MAKENSIS\" was never defined. 11255Usually this means the macro was only invoked conditionally." "$LINENO" 5 11256fi 11257if test -z "${W32_TRUE}" && test -z "${W32_FALSE}"; then 11258 as_fn_error $? "conditional \"W32\" was never defined. 11259Usually this means the macro was only invoked conditionally." "$LINENO" 5 11260fi 11261if test -z "${HAVE_LIBEQUALIZER_TRUE}" && test -z "${HAVE_LIBEQUALIZER_FALSE}"; then 11262 as_fn_error $? "conditional \"HAVE_LIBEQUALIZER\" was never defined. 11263Usually this means the macro was only invoked conditionally." "$LINENO" 5 11264fi 11265if test -z "${HAVE_LIBGLEWMX_TRUE}" && test -z "${HAVE_LIBGLEWMX_FALSE}"; then 11266 as_fn_error $? "conditional \"HAVE_LIBGLEWMX\" was never defined. 11267Usually this means the macro was only invoked conditionally." "$LINENO" 5 11268fi 11269if test -z "${HAVE_LIBXNVCTRL_TRUE}" && test -z "${HAVE_LIBXNVCTRL_FALSE}"; then 11270 as_fn_error $? "conditional \"HAVE_LIBXNVCTRL\" was never defined. 11271Usually this means the macro was only invoked conditionally." "$LINENO" 5 11272fi 11273if test -z "${HAVE_LIRC_TRUE}" && test -z "${HAVE_LIRC_FALSE}"; then 11274 as_fn_error $? "conditional \"HAVE_LIRC\" was never defined. 11275Usually this means the macro was only invoked conditionally." "$LINENO" 5 11276fi 11277 11278: "${CONFIG_STATUS=./config.status}" 11279ac_write_fail=0 11280ac_clean_files_save=$ac_clean_files 11281ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11282{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11283$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11284as_write_fail=0 11285cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11286#! $SHELL 11287# Generated by $as_me. 11288# Run this file to recreate the current configuration. 11289# Compiler output produced by configure, useful for debugging 11290# configure, is in config.log if it exists. 11291 11292debug=false 11293ac_cs_recheck=false 11294ac_cs_silent=false 11295 11296SHELL=\${CONFIG_SHELL-$SHELL} 11297export SHELL 11298_ASEOF 11299cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11300## -------------------- ## 11301## M4sh Initialization. ## 11302## -------------------- ## 11303 11304# Be more Bourne compatible 11305DUALCASE=1; export DUALCASE # for MKS sh 11306if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11307 emulate sh 11308 NULLCMD=: 11309 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11310 # is contrary to our usage. Disable this feature. 11311 alias -g '${1+"$@"}'='"$@"' 11312 setopt NO_GLOB_SUBST 11313else 11314 case `(set -o) 2>/dev/null` in #( 11315 *posix*) : 11316 set -o posix ;; #( 11317 *) : 11318 ;; 11319esac 11320fi 11321 11322 11323as_nl=' 11324' 11325export as_nl 11326# Printing a long string crashes Solaris 7 /usr/bin/printf. 11327as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11328as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11329as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11330# Prefer a ksh shell builtin over an external printf program on Solaris, 11331# but without wasting forks for bash or zsh. 11332if test -z "$BASH_VERSION$ZSH_VERSION" \ 11333 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11334 as_echo='print -r --' 11335 as_echo_n='print -rn --' 11336elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11337 as_echo='printf %s\n' 11338 as_echo_n='printf %s' 11339else 11340 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11341 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11342 as_echo_n='/usr/ucb/echo -n' 11343 else 11344 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11345 as_echo_n_body='eval 11346 arg=$1; 11347 case $arg in #( 11348 *"$as_nl"*) 11349 expr "X$arg" : "X\\(.*\\)$as_nl"; 11350 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11351 esac; 11352 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11353 ' 11354 export as_echo_n_body 11355 as_echo_n='sh -c $as_echo_n_body as_echo' 11356 fi 11357 export as_echo_body 11358 as_echo='sh -c $as_echo_body as_echo' 11359fi 11360 11361# The user is always right. 11362if test "${PATH_SEPARATOR+set}" != set; then 11363 PATH_SEPARATOR=: 11364 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11365 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11366 PATH_SEPARATOR=';' 11367 } 11368fi 11369 11370 11371# IFS 11372# We need space, tab and new line, in precisely that order. Quoting is 11373# there to prevent editors from complaining about space-tab. 11374# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11375# splitting by setting IFS to empty value.) 11376IFS=" "" $as_nl" 11377 11378# Find who we are. Look in the path if we contain no directory separator. 11379as_myself= 11380case $0 in #(( 11381 *[\\/]* ) as_myself=$0 ;; 11382 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11383for as_dir in $PATH 11384do 11385 IFS=$as_save_IFS 11386 test -z "$as_dir" && as_dir=. 11387 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11388 done 11389IFS=$as_save_IFS 11390 11391 ;; 11392esac 11393# We did not find ourselves, most probably we were run as `sh COMMAND' 11394# in which case we are not to be found in the path. 11395if test "x$as_myself" = x; then 11396 as_myself=$0 11397fi 11398if test ! -f "$as_myself"; then 11399 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11400 exit 1 11401fi 11402 11403# Unset variables that we do not need and which cause bugs (e.g. in 11404# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11405# suppresses any "Segmentation fault" message there. '((' could 11406# trigger a bug in pdksh 5.2.14. 11407for as_var in BASH_ENV ENV MAIL MAILPATH 11408do eval test x\${$as_var+set} = xset \ 11409 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11410done 11411PS1='$ ' 11412PS2='> ' 11413PS4='+ ' 11414 11415# NLS nuisances. 11416LC_ALL=C 11417export LC_ALL 11418LANGUAGE=C 11419export LANGUAGE 11420 11421# CDPATH. 11422(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11423 11424 11425# as_fn_error STATUS ERROR [LINENO LOG_FD] 11426# ---------------------------------------- 11427# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11428# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11429# script with STATUS, using 1 if that was 0. 11430as_fn_error () 11431{ 11432 as_status=$1; test $as_status -eq 0 && as_status=1 11433 if test "$4"; then 11434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11435 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11436 fi 11437 $as_echo "$as_me: error: $2" >&2 11438 as_fn_exit $as_status 11439} # as_fn_error 11440 11441 11442# as_fn_set_status STATUS 11443# ----------------------- 11444# Set $? to STATUS, without forking. 11445as_fn_set_status () 11446{ 11447 return $1 11448} # as_fn_set_status 11449 11450# as_fn_exit STATUS 11451# ----------------- 11452# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 11453as_fn_exit () 11454{ 11455 set +e 11456 as_fn_set_status $1 11457 exit $1 11458} # as_fn_exit 11459 11460# as_fn_unset VAR 11461# --------------- 11462# Portably unset VAR. 11463as_fn_unset () 11464{ 11465 { eval $1=; unset $1;} 11466} 11467as_unset=as_fn_unset 11468# as_fn_append VAR VALUE 11469# ---------------------- 11470# Append the text in VALUE to the end of the definition contained in VAR. Take 11471# advantage of any shell optimizations that allow amortized linear growth over 11472# repeated appends, instead of the typical quadratic growth present in naive 11473# implementations. 11474if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11475 eval 'as_fn_append () 11476 { 11477 eval $1+=\$2 11478 }' 11479else 11480 as_fn_append () 11481 { 11482 eval $1=\$$1\$2 11483 } 11484fi # as_fn_append 11485 11486# as_fn_arith ARG... 11487# ------------------ 11488# Perform arithmetic evaluation on the ARGs, and store the result in the 11489# global $as_val. Take advantage of shells that can avoid forks. The arguments 11490# must be portable across $(()) and expr. 11491if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11492 eval 'as_fn_arith () 11493 { 11494 as_val=$(( $* )) 11495 }' 11496else 11497 as_fn_arith () 11498 { 11499 as_val=`expr "$@" || test $? -eq 1` 11500 } 11501fi # as_fn_arith 11502 11503 11504if expr a : '\(a\)' >/dev/null 2>&1 && 11505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11506 as_expr=expr 11507else 11508 as_expr=false 11509fi 11510 11511if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11512 as_basename=basename 11513else 11514 as_basename=false 11515fi 11516 11517if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11518 as_dirname=dirname 11519else 11520 as_dirname=false 11521fi 11522 11523as_me=`$as_basename -- "$0" || 11524$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11525 X"$0" : 'X\(//\)$' \| \ 11526 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11527$as_echo X/"$0" | 11528 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11529 s//\1/ 11530 q 11531 } 11532 /^X\/\(\/\/\)$/{ 11533 s//\1/ 11534 q 11535 } 11536 /^X\/\(\/\).*/{ 11537 s//\1/ 11538 q 11539 } 11540 s/.*/./; q'` 11541 11542# Avoid depending upon Character Ranges. 11543as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11544as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11545as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11546as_cr_digits='0123456789' 11547as_cr_alnum=$as_cr_Letters$as_cr_digits 11548 11549ECHO_C= ECHO_N= ECHO_T= 11550case `echo -n x` in #((((( 11551-n*) 11552 case `echo 'xy\c'` in 11553 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11554 xy) ECHO_C='\c';; 11555 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11556 ECHO_T=' ';; 11557 esac;; 11558*) 11559 ECHO_N='-n';; 11560esac 11561 11562rm -f conf$$ conf$$.exe conf$$.file 11563if test -d conf$$.dir; then 11564 rm -f conf$$.dir/conf$$.file 11565else 11566 rm -f conf$$.dir 11567 mkdir conf$$.dir 2>/dev/null 11568fi 11569if (echo >conf$$.file) 2>/dev/null; then 11570 if ln -s conf$$.file conf$$ 2>/dev/null; then 11571 as_ln_s='ln -s' 11572 # ... but there are two gotchas: 11573 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11574 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11575 # In both cases, we have to default to `cp -pR'. 11576 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11577 as_ln_s='cp -pR' 11578 elif ln conf$$.file conf$$ 2>/dev/null; then 11579 as_ln_s=ln 11580 else 11581 as_ln_s='cp -pR' 11582 fi 11583else 11584 as_ln_s='cp -pR' 11585fi 11586rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11587rmdir conf$$.dir 2>/dev/null 11588 11589 11590# as_fn_mkdir_p 11591# ------------- 11592# Create "$as_dir" as a directory, including parents if necessary. 11593as_fn_mkdir_p () 11594{ 11595 11596 case $as_dir in #( 11597 -*) as_dir=./$as_dir;; 11598 esac 11599 test -d "$as_dir" || eval $as_mkdir_p || { 11600 as_dirs= 11601 while :; do 11602 case $as_dir in #( 11603 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11604 *) as_qdir=$as_dir;; 11605 esac 11606 as_dirs="'$as_qdir' $as_dirs" 11607 as_dir=`$as_dirname -- "$as_dir" || 11608$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11609 X"$as_dir" : 'X\(//\)[^/]' \| \ 11610 X"$as_dir" : 'X\(//\)$' \| \ 11611 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11612$as_echo X"$as_dir" | 11613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11614 s//\1/ 11615 q 11616 } 11617 /^X\(\/\/\)[^/].*/{ 11618 s//\1/ 11619 q 11620 } 11621 /^X\(\/\/\)$/{ 11622 s//\1/ 11623 q 11624 } 11625 /^X\(\/\).*/{ 11626 s//\1/ 11627 q 11628 } 11629 s/.*/./; q'` 11630 test -d "$as_dir" && break 11631 done 11632 test -z "$as_dirs" || eval "mkdir $as_dirs" 11633 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 11634 11635 11636} # as_fn_mkdir_p 11637if mkdir -p . 2>/dev/null; then 11638 as_mkdir_p='mkdir -p "$as_dir"' 11639else 11640 test -d ./-p && rmdir ./-p 11641 as_mkdir_p=false 11642fi 11643 11644 11645# as_fn_executable_p FILE 11646# ----------------------- 11647# Test if FILE is an executable regular file. 11648as_fn_executable_p () 11649{ 11650 test -f "$1" && test -x "$1" 11651} # as_fn_executable_p 11652as_test_x='test -x' 11653as_executable_p=as_fn_executable_p 11654 11655# Sed expression to map a string onto a valid CPP name. 11656as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11657 11658# Sed expression to map a string onto a valid variable name. 11659as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11660 11661 11662exec 6>&1 11663## ----------------------------------- ## 11664## Main body of $CONFIG_STATUS script. ## 11665## ----------------------------------- ## 11666_ASEOF 11667test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 11668 11669cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11670# Save the log message, to keep $0 and so on meaningful, and to 11671# report actual input values of CONFIG_FILES etc. instead of their 11672# values after options handling. 11673ac_log=" 11674This file was extended by Bino $as_me 1.6.5, which was 11675generated by GNU Autoconf 2.69. Invocation command line was 11676 11677 CONFIG_FILES = $CONFIG_FILES 11678 CONFIG_HEADERS = $CONFIG_HEADERS 11679 CONFIG_LINKS = $CONFIG_LINKS 11680 CONFIG_COMMANDS = $CONFIG_COMMANDS 11681 $ $0 $@ 11682 11683on `(hostname || uname -n) 2>/dev/null | sed 1q` 11684" 11685 11686_ACEOF 11687 11688case $ac_config_files in *" 11689"*) set x $ac_config_files; shift; ac_config_files=$*;; 11690esac 11691 11692case $ac_config_headers in *" 11693"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 11694esac 11695 11696 11697cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11698# Files that config.status was made for. 11699config_files="$ac_config_files" 11700config_headers="$ac_config_headers" 11701config_commands="$ac_config_commands" 11702 11703_ACEOF 11704 11705cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11706ac_cs_usage="\ 11707\`$as_me' instantiates files and other configuration actions 11708from templates according to the current configuration. Unless the files 11709and actions are specified as TAGs, all are instantiated by default. 11710 11711Usage: $0 [OPTION]... [TAG]... 11712 11713 -h, --help print this help, then exit 11714 -V, --version print version number and configuration settings, then exit 11715 --config print configuration, then exit 11716 -q, --quiet, --silent 11717 do not print progress messages 11718 -d, --debug don't remove temporary files 11719 --recheck update $as_me by reconfiguring in the same conditions 11720 --file=FILE[:TEMPLATE] 11721 instantiate the configuration file FILE 11722 --header=FILE[:TEMPLATE] 11723 instantiate the configuration header FILE 11724 11725Configuration files: 11726$config_files 11727 11728Configuration headers: 11729$config_headers 11730 11731Configuration commands: 11732$config_commands 11733 11734Report bugs to <bino-list@nongnu.org>. 11735Bino home page: <http://bino3d.org/>." 11736 11737_ACEOF 11738cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11739ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11740ac_cs_version="\\ 11741Bino config.status 1.6.5 11742configured by $0, generated by GNU Autoconf 2.69, 11743 with options \\"\$ac_cs_config\\" 11744 11745Copyright (C) 2012 Free Software Foundation, Inc. 11746This config.status script is free software; the Free Software Foundation 11747gives unlimited permission to copy, distribute and modify it." 11748 11749ac_pwd='$ac_pwd' 11750srcdir='$srcdir' 11751INSTALL='$INSTALL' 11752MKDIR_P='$MKDIR_P' 11753AWK='$AWK' 11754test -n "\$AWK" || AWK=awk 11755_ACEOF 11756 11757cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11758# The default lists apply if the user does not specify any file. 11759ac_need_defaults=: 11760while test $# != 0 11761do 11762 case $1 in 11763 --*=?*) 11764 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11765 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 11766 ac_shift=: 11767 ;; 11768 --*=) 11769 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11770 ac_optarg= 11771 ac_shift=: 11772 ;; 11773 *) 11774 ac_option=$1 11775 ac_optarg=$2 11776 ac_shift=shift 11777 ;; 11778 esac 11779 11780 case $ac_option in 11781 # Handling of the options. 11782 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11783 ac_cs_recheck=: ;; 11784 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11785 $as_echo "$ac_cs_version"; exit ;; 11786 --config | --confi | --conf | --con | --co | --c ) 11787 $as_echo "$ac_cs_config"; exit ;; 11788 --debug | --debu | --deb | --de | --d | -d ) 11789 debug=: ;; 11790 --file | --fil | --fi | --f ) 11791 $ac_shift 11792 case $ac_optarg in 11793 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11794 '') as_fn_error $? "missing file argument" ;; 11795 esac 11796 as_fn_append CONFIG_FILES " '$ac_optarg'" 11797 ac_need_defaults=false;; 11798 --header | --heade | --head | --hea ) 11799 $ac_shift 11800 case $ac_optarg in 11801 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11802 esac 11803 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11804 ac_need_defaults=false;; 11805 --he | --h) 11806 # Conflict between --help and --header 11807 as_fn_error $? "ambiguous option: \`$1' 11808Try \`$0 --help' for more information.";; 11809 --help | --hel | -h ) 11810 $as_echo "$ac_cs_usage"; exit ;; 11811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11812 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11813 ac_cs_silent=: ;; 11814 11815 # This is an error. 11816 -*) as_fn_error $? "unrecognized option: \`$1' 11817Try \`$0 --help' for more information." ;; 11818 11819 *) as_fn_append ac_config_targets " $1" 11820 ac_need_defaults=false ;; 11821 11822 esac 11823 shift 11824done 11825 11826ac_configure_extra_args= 11827 11828if $ac_cs_silent; then 11829 exec 6>/dev/null 11830 ac_configure_extra_args="$ac_configure_extra_args --silent" 11831fi 11832 11833_ACEOF 11834cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11835if \$ac_cs_recheck; then 11836 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11837 shift 11838 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11839 CONFIG_SHELL='$SHELL' 11840 export CONFIG_SHELL 11841 exec "\$@" 11842fi 11843 11844_ACEOF 11845cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11846exec 5>>config.log 11847{ 11848 echo 11849 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11850## Running $as_me. ## 11851_ASBOX 11852 $as_echo "$ac_log" 11853} >&5 11854 11855_ACEOF 11856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11857# 11858# INIT-COMMANDS 11859# 11860AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 11861# Capture the value of obsolete ALL_LINGUAS because we need it to compute 11862 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 11863 # from automake < 1.5. 11864 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 11865 # Capture the value of LINGUAS because we need it to compute CATALOGS. 11866 LINGUAS="${LINGUAS-%UNSET%}" 11867 11868 11869_ACEOF 11870 11871cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11872 11873# Handling of arguments. 11874for ac_config_target in $ac_config_targets 11875do 11876 case $ac_config_target in 11877 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 11878 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 11879 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 11880 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 11881 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 11882 "src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;; 11883 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 11884 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 11885 "pkg/macosx/Info.plist") CONFIG_FILES="$CONFIG_FILES pkg/macosx/Info.plist" ;; 11886 11887 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 11888 esac 11889done 11890 11891 11892# If the user did not use the arguments to specify the items to instantiate, 11893# then the envvar interface is used. Set only those that are not. 11894# We use the long form for the default assignment because of an extremely 11895# bizarre bug on SunOS 4.1.3. 11896if $ac_need_defaults; then 11897 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11898 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11899 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11900fi 11901 11902# Have a temporary directory for convenience. Make it in the build tree 11903# simply because there is no reason against having it here, and in addition, 11904# creating and moving files from /tmp can sometimes cause problems. 11905# Hook for its removal unless debugging. 11906# Note that there is a small window in which the directory will not be cleaned: 11907# after its creation but before its name has been assigned to `$tmp'. 11908$debug || 11909{ 11910 tmp= ac_tmp= 11911 trap 'exit_status=$? 11912 : "${ac_tmp:=$tmp}" 11913 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 11914' 0 11915 trap 'as_fn_exit 1' 1 2 13 15 11916} 11917# Create a (secure) tmp directory for tmp files. 11918 11919{ 11920 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 11921 test -d "$tmp" 11922} || 11923{ 11924 tmp=./conf$$-$RANDOM 11925 (umask 077 && mkdir "$tmp") 11926} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 11927ac_tmp=$tmp 11928 11929# Set up the scripts for CONFIG_FILES section. 11930# No need to generate them if there are no CONFIG_FILES. 11931# This happens for instance with `./config.status config.h'. 11932if test -n "$CONFIG_FILES"; then 11933 11934 11935ac_cr=`echo X | tr X '\015'` 11936# On cygwin, bash can eat \r inside `` if the user requested igncr. 11937# But we know of no other shell where ac_cr would be empty at this 11938# point, so we can use a bashism as a fallback. 11939if test "x$ac_cr" = x; then 11940 eval ac_cr=\$\'\\r\' 11941fi 11942ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 11943if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 11944 ac_cs_awk_cr='\\r' 11945else 11946 ac_cs_awk_cr=$ac_cr 11947fi 11948 11949echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 11950_ACEOF 11951 11952 11953{ 11954 echo "cat >conf$$subs.awk <<_ACEOF" && 11955 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 11956 echo "_ACEOF" 11957} >conf$$subs.sh || 11958 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11959ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 11960ac_delim='%!_!# ' 11961for ac_last_try in false false false false false :; do 11962 . ./conf$$subs.sh || 11963 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11964 11965 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 11966 if test $ac_delim_n = $ac_delim_num; then 11967 break 11968 elif $ac_last_try; then 11969 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 11970 else 11971 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11972 fi 11973done 11974rm -f conf$$subs.sh 11975 11976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11977cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 11978_ACEOF 11979sed -n ' 11980h 11981s/^/S["/; s/!.*/"]=/ 11982p 11983g 11984s/^[^!]*!// 11985:repl 11986t repl 11987s/'"$ac_delim"'$// 11988t delim 11989:nl 11990h 11991s/\(.\{148\}\)..*/\1/ 11992t more1 11993s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 11994p 11995n 11996b repl 11997:more1 11998s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 11999p 12000g 12001s/.\{148\}// 12002t nl 12003:delim 12004h 12005s/\(.\{148\}\)..*/\1/ 12006t more2 12007s/["\\]/\\&/g; s/^/"/; s/$/"/ 12008p 12009b 12010:more2 12011s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12012p 12013g 12014s/.\{148\}// 12015t delim 12016' <conf$$subs.awk | sed ' 12017/^[^""]/{ 12018 N 12019 s/\n// 12020} 12021' >>$CONFIG_STATUS || ac_write_fail=1 12022rm -f conf$$subs.awk 12023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12024_ACAWK 12025cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 12026 for (key in S) S_is_set[key] = 1 12027 FS = "" 12028 12029} 12030{ 12031 line = $ 0 12032 nfields = split(line, field, "@") 12033 substed = 0 12034 len = length(field[1]) 12035 for (i = 2; i < nfields; i++) { 12036 key = field[i] 12037 keylen = length(key) 12038 if (S_is_set[key]) { 12039 value = S[key] 12040 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12041 len += length(value) + length(field[++i]) 12042 substed = 1 12043 } else 12044 len += 1 + keylen 12045 } 12046 12047 print line 12048} 12049 12050_ACAWK 12051_ACEOF 12052cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12053if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12054 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12055else 12056 cat 12057fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 12058 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 12059_ACEOF 12060 12061# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 12062# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 12063# trailing colons and then remove the whole line if VPATH becomes empty 12064# (actually we leave an empty line to preserve line numbers). 12065if test "x$srcdir" = x.; then 12066 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 12067h 12068s/// 12069s/^/:/ 12070s/[ ]*$/:/ 12071s/:\$(srcdir):/:/g 12072s/:\${srcdir}:/:/g 12073s/:@srcdir@:/:/g 12074s/^:*// 12075s/:*$// 12076x 12077s/\(=[ ]*\).*/\1/ 12078G 12079s/\n// 12080s/^[^=]*=[ ]*$// 12081}' 12082fi 12083 12084cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12085fi # test -n "$CONFIG_FILES" 12086 12087# Set up the scripts for CONFIG_HEADERS section. 12088# No need to generate them if there are no CONFIG_HEADERS. 12089# This happens for instance with `./config.status Makefile'. 12090if test -n "$CONFIG_HEADERS"; then 12091cat >"$ac_tmp/defines.awk" <<\_ACAWK || 12092BEGIN { 12093_ACEOF 12094 12095# Transform confdefs.h into an awk script `defines.awk', embedded as 12096# here-document in config.status, that substitutes the proper values into 12097# config.h.in to produce config.h. 12098 12099# Create a delimiter string that does not exist in confdefs.h, to ease 12100# handling of long lines. 12101ac_delim='%!_!# ' 12102for ac_last_try in false false :; do 12103 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 12104 if test -z "$ac_tt"; then 12105 break 12106 elif $ac_last_try; then 12107 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 12108 else 12109 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12110 fi 12111done 12112 12113# For the awk script, D is an array of macro values keyed by name, 12114# likewise P contains macro parameters if any. Preserve backslash 12115# newline sequences. 12116 12117ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 12118sed -n ' 12119s/.\{148\}/&'"$ac_delim"'/g 12120t rset 12121:rset 12122s/^[ ]*#[ ]*define[ ][ ]*/ / 12123t def 12124d 12125:def 12126s/\\$// 12127t bsnl 12128s/["\\]/\\&/g 12129s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12130D["\1"]=" \3"/p 12131s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 12132d 12133:bsnl 12134s/["\\]/\\&/g 12135s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12136D["\1"]=" \3\\\\\\n"\\/p 12137t cont 12138s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 12139t cont 12140d 12141:cont 12142n 12143s/.\{148\}/&'"$ac_delim"'/g 12144t clear 12145:clear 12146s/\\$// 12147t bsnlc 12148s/["\\]/\\&/g; s/^/"/; s/$/"/p 12149d 12150:bsnlc 12151s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 12152b cont 12153' <confdefs.h | sed ' 12154s/'"$ac_delim"'/"\\\ 12155"/g' >>$CONFIG_STATUS || ac_write_fail=1 12156 12157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12158 for (key in D) D_is_set[key] = 1 12159 FS = "" 12160} 12161/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 12162 line = \$ 0 12163 split(line, arg, " ") 12164 if (arg[1] == "#") { 12165 defundef = arg[2] 12166 mac1 = arg[3] 12167 } else { 12168 defundef = substr(arg[1], 2) 12169 mac1 = arg[2] 12170 } 12171 split(mac1, mac2, "(") #) 12172 macro = mac2[1] 12173 prefix = substr(line, 1, index(line, defundef) - 1) 12174 if (D_is_set[macro]) { 12175 # Preserve the white space surrounding the "#". 12176 print prefix "define", macro P[macro] D[macro] 12177 next 12178 } else { 12179 # Replace #undef with comments. This is necessary, for example, 12180 # in the case of _POSIX_SOURCE, which is predefined and required 12181 # on some systems where configure will not decide to define it. 12182 if (defundef == "undef") { 12183 print "/*", prefix defundef, macro, "*/" 12184 next 12185 } 12186 } 12187} 12188{ print } 12189_ACAWK 12190_ACEOF 12191cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12192 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 12193fi # test -n "$CONFIG_HEADERS" 12194 12195 12196eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 12197shift 12198for ac_tag 12199do 12200 case $ac_tag in 12201 :[FHLC]) ac_mode=$ac_tag; continue;; 12202 esac 12203 case $ac_mode$ac_tag in 12204 :[FHL]*:*);; 12205 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 12206 :[FH]-) ac_tag=-:-;; 12207 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12208 esac 12209 ac_save_IFS=$IFS 12210 IFS=: 12211 set x $ac_tag 12212 IFS=$ac_save_IFS 12213 shift 12214 ac_file=$1 12215 shift 12216 12217 case $ac_mode in 12218 :L) ac_source=$1;; 12219 :[FH]) 12220 ac_file_inputs= 12221 for ac_f 12222 do 12223 case $ac_f in 12224 -) ac_f="$ac_tmp/stdin";; 12225 *) # Look for the file first in the build tree, then in the source tree 12226 # (if the path is not absolute). The absolute path cannot be DOS-style, 12227 # because $ac_f cannot contain `:'. 12228 test -f "$ac_f" || 12229 case $ac_f in 12230 [\\/$]*) false;; 12231 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12232 esac || 12233 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 12234 esac 12235 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12236 as_fn_append ac_file_inputs " '$ac_f'" 12237 done 12238 12239 # Let's still pretend it is `configure' which instantiates (i.e., don't 12240 # use $as_me), people would be surprised to read: 12241 # /* config.h. Generated by config.status. */ 12242 configure_input='Generated from '` 12243 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12244 `' by configure.' 12245 if test x"$ac_file" != x-; then 12246 configure_input="$ac_file. $configure_input" 12247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12248$as_echo "$as_me: creating $ac_file" >&6;} 12249 fi 12250 # Neutralize special characters interpreted by sed in replacement strings. 12251 case $configure_input in #( 12252 *\&* | *\|* | *\\* ) 12253 ac_sed_conf_input=`$as_echo "$configure_input" | 12254 sed 's/[\\\\&|]/\\\\&/g'`;; #( 12255 *) ac_sed_conf_input=$configure_input;; 12256 esac 12257 12258 case $ac_tag in 12259 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 12260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 12261 esac 12262 ;; 12263 esac 12264 12265 ac_dir=`$as_dirname -- "$ac_file" || 12266$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12267 X"$ac_file" : 'X\(//\)[^/]' \| \ 12268 X"$ac_file" : 'X\(//\)$' \| \ 12269 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 12270$as_echo X"$ac_file" | 12271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12272 s//\1/ 12273 q 12274 } 12275 /^X\(\/\/\)[^/].*/{ 12276 s//\1/ 12277 q 12278 } 12279 /^X\(\/\/\)$/{ 12280 s//\1/ 12281 q 12282 } 12283 /^X\(\/\).*/{ 12284 s//\1/ 12285 q 12286 } 12287 s/.*/./; q'` 12288 as_dir="$ac_dir"; as_fn_mkdir_p 12289 ac_builddir=. 12290 12291case "$ac_dir" in 12292.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 12293*) 12294 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12295 # A ".." for each directory in $ac_dir_suffix. 12296 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12297 case $ac_top_builddir_sub in 12298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 12299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 12300 esac ;; 12301esac 12302ac_abs_top_builddir=$ac_pwd 12303ac_abs_builddir=$ac_pwd$ac_dir_suffix 12304# for backward compatibility: 12305ac_top_builddir=$ac_top_build_prefix 12306 12307case $srcdir in 12308 .) # We are building in place. 12309 ac_srcdir=. 12310 ac_top_srcdir=$ac_top_builddir_sub 12311 ac_abs_top_srcdir=$ac_pwd ;; 12312 [\\/]* | ?:[\\/]* ) # Absolute name. 12313 ac_srcdir=$srcdir$ac_dir_suffix; 12314 ac_top_srcdir=$srcdir 12315 ac_abs_top_srcdir=$srcdir ;; 12316 *) # Relative name. 12317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 12318 ac_top_srcdir=$ac_top_build_prefix$srcdir 12319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 12320esac 12321ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 12322 12323 12324 case $ac_mode in 12325 :F) 12326 # 12327 # CONFIG_FILE 12328 # 12329 12330 case $INSTALL in 12331 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12332 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 12333 esac 12334 ac_MKDIR_P=$MKDIR_P 12335 case $MKDIR_P in 12336 [\\/$]* | ?:[\\/]* ) ;; 12337 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 12338 esac 12339_ACEOF 12340 12341cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12342# If the template does not know about datarootdir, expand it. 12343# FIXME: This hack should be removed a few years after 2.60. 12344ac_datarootdir_hack=; ac_datarootdir_seen= 12345ac_sed_dataroot=' 12346/datarootdir/ { 12347 p 12348 q 12349} 12350/@datadir@/p 12351/@docdir@/p 12352/@infodir@/p 12353/@localedir@/p 12354/@mandir@/p' 12355case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 12356*datarootdir*) ac_datarootdir_seen=yes;; 12357*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 12358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12359$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12360_ACEOF 12361cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12362 ac_datarootdir_hack=' 12363 s&@datadir@&$datadir&g 12364 s&@docdir@&$docdir&g 12365 s&@infodir@&$infodir&g 12366 s&@localedir@&$localedir&g 12367 s&@mandir@&$mandir&g 12368 s&\\\${datarootdir}&$datarootdir&g' ;; 12369esac 12370_ACEOF 12371 12372# Neutralize VPATH when `$srcdir' = `.'. 12373# Shell code in configure.ac might set extrasub. 12374# FIXME: do we really want to maintain this feature? 12375cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12376ac_sed_extra="$ac_vpsub 12377$extrasub 12378_ACEOF 12379cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12380:t 12381/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 12382s|@configure_input@|$ac_sed_conf_input|;t t 12383s&@top_builddir@&$ac_top_builddir_sub&;t t 12384s&@top_build_prefix@&$ac_top_build_prefix&;t t 12385s&@srcdir@&$ac_srcdir&;t t 12386s&@abs_srcdir@&$ac_abs_srcdir&;t t 12387s&@top_srcdir@&$ac_top_srcdir&;t t 12388s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 12389s&@builddir@&$ac_builddir&;t t 12390s&@abs_builddir@&$ac_abs_builddir&;t t 12391s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12392s&@INSTALL@&$ac_INSTALL&;t t 12393s&@MKDIR_P@&$ac_MKDIR_P&;t t 12394$ac_datarootdir_hack 12395" 12396eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 12397 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12398 12399test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12400 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 12401 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 12402 "$ac_tmp/out"`; test -z "$ac_out"; } && 12403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12404which seems to be undefined. Please make sure it is defined" >&5 12405$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12406which seems to be undefined. Please make sure it is defined" >&2;} 12407 12408 rm -f "$ac_tmp/stdin" 12409 case $ac_file in 12410 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 12411 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 12412 esac \ 12413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12414 ;; 12415 :H) 12416 # 12417 # CONFIG_HEADER 12418 # 12419 if test x"$ac_file" != x-; then 12420 { 12421 $as_echo "/* $configure_input */" \ 12422 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 12423 } >"$ac_tmp/config.h" \ 12424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12425 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 12426 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12427$as_echo "$as_me: $ac_file is unchanged" >&6;} 12428 else 12429 rm -f "$ac_file" 12430 mv "$ac_tmp/config.h" "$ac_file" \ 12431 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 12432 fi 12433 else 12434 $as_echo "/* $configure_input */" \ 12435 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 12436 || as_fn_error $? "could not create -" "$LINENO" 5 12437 fi 12438# Compute "$ac_file"'s index in $config_headers. 12439_am_arg="$ac_file" 12440_am_stamp_count=1 12441for _am_header in $config_headers :; do 12442 case $_am_header in 12443 $_am_arg | $_am_arg:* ) 12444 break ;; 12445 * ) 12446 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 12447 esac 12448done 12449echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 12450$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12451 X"$_am_arg" : 'X\(//\)[^/]' \| \ 12452 X"$_am_arg" : 'X\(//\)$' \| \ 12453 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 12454$as_echo X"$_am_arg" | 12455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12456 s//\1/ 12457 q 12458 } 12459 /^X\(\/\/\)[^/].*/{ 12460 s//\1/ 12461 q 12462 } 12463 /^X\(\/\/\)$/{ 12464 s//\1/ 12465 q 12466 } 12467 /^X\(\/\).*/{ 12468 s//\1/ 12469 q 12470 } 12471 s/.*/./; q'`/stamp-h$_am_stamp_count 12472 ;; 12473 12474 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12475$as_echo "$as_me: executing $ac_file commands" >&6;} 12476 ;; 12477 esac 12478 12479 12480 case $ac_file$ac_mode in 12481 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 12482 # Older Autoconf quotes --file arguments for eval, but not when files 12483 # are listed without --file. Let's play safe and only enable the eval 12484 # if we detect the quoting. 12485 case $CONFIG_FILES in 12486 *\'*) eval set x "$CONFIG_FILES" ;; 12487 *) set x $CONFIG_FILES ;; 12488 esac 12489 shift 12490 for mf 12491 do 12492 # Strip MF so we end up with the name of the file. 12493 mf=`echo "$mf" | sed -e 's/:.*$//'` 12494 # Check whether this is an Automake generated Makefile or not. 12495 # We used to match only the files named 'Makefile.in', but 12496 # some people rename them; so instead we look at the file content. 12497 # Grep'ing the first line is not enough: some people post-process 12498 # each Makefile.in and add a new line on top of each file to say so. 12499 # Grep'ing the whole file is not good either: AIX grep has a line 12500 # limit of 2048, but all sed's we know have understand at least 4000. 12501 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 12502 dirpart=`$as_dirname -- "$mf" || 12503$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12504 X"$mf" : 'X\(//\)[^/]' \| \ 12505 X"$mf" : 'X\(//\)$' \| \ 12506 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 12507$as_echo X"$mf" | 12508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12509 s//\1/ 12510 q 12511 } 12512 /^X\(\/\/\)[^/].*/{ 12513 s//\1/ 12514 q 12515 } 12516 /^X\(\/\/\)$/{ 12517 s//\1/ 12518 q 12519 } 12520 /^X\(\/\).*/{ 12521 s//\1/ 12522 q 12523 } 12524 s/.*/./; q'` 12525 else 12526 continue 12527 fi 12528 # Extract the definition of DEPDIR, am__include, and am__quote 12529 # from the Makefile without running 'make'. 12530 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 12531 test -z "$DEPDIR" && continue 12532 am__include=`sed -n 's/^am__include = //p' < "$mf"` 12533 test -z "$am__include" && continue 12534 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 12535 # Find all dependency output files, they are included files with 12536 # $(DEPDIR) in their names. We invoke sed twice because it is the 12537 # simplest approach to changing $(DEPDIR) to its actual value in the 12538 # expansion. 12539 for file in `sed -n " 12540 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 12541 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 12542 # Make sure the directory exists. 12543 test -f "$dirpart/$file" && continue 12544 fdir=`$as_dirname -- "$file" || 12545$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12546 X"$file" : 'X\(//\)[^/]' \| \ 12547 X"$file" : 'X\(//\)$' \| \ 12548 X"$file" : 'X\(/\)' \| . 2>/dev/null || 12549$as_echo X"$file" | 12550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12551 s//\1/ 12552 q 12553 } 12554 /^X\(\/\/\)[^/].*/{ 12555 s//\1/ 12556 q 12557 } 12558 /^X\(\/\/\)$/{ 12559 s//\1/ 12560 q 12561 } 12562 /^X\(\/\).*/{ 12563 s//\1/ 12564 q 12565 } 12566 s/.*/./; q'` 12567 as_dir=$dirpart/$fdir; as_fn_mkdir_p 12568 # echo "creating $dirpart/$file" 12569 echo '# dummy' > "$dirpart/$file" 12570 done 12571 done 12572} 12573 ;; 12574 "po-directories":C) 12575 for ac_file in $CONFIG_FILES; do 12576 # Support "outfile[:infile[:infile...]]" 12577 case "$ac_file" in 12578 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 12579 esac 12580 # PO directories have a Makefile.in generated from Makefile.in.in. 12581 case "$ac_file" in */Makefile.in) 12582 # Adjust a relative srcdir. 12583 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 12584 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 12585 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 12586 # In autoconf-2.13 it is called $ac_given_srcdir. 12587 # In autoconf-2.50 it is called $srcdir. 12588 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 12589 case "$ac_given_srcdir" in 12590 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 12591 /*) top_srcdir="$ac_given_srcdir" ;; 12592 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 12593 esac 12594 # Treat a directory as a PO directory if and only if it has a 12595 # POTFILES.in file. This allows packages to have multiple PO 12596 # directories under different names or in different locations. 12597 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 12598 rm -f "$ac_dir/POTFILES" 12599 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 12600 gt_tab=`printf '\t'` 12601 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 12602 POMAKEFILEDEPS="POTFILES.in" 12603 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 12604 # on $ac_dir but don't depend on user-specified configuration 12605 # parameters. 12606 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 12607 # The LINGUAS file contains the set of available languages. 12608 if test -n "$OBSOLETE_ALL_LINGUAS"; then 12609 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 12610 fi 12611 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 12612 # Hide the ALL_LINGUAS assignment from automake < 1.5. 12613 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 12614 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 12615 else 12616 # The set of available languages was given in configure.in. 12617 # Hide the ALL_LINGUAS assignment from automake < 1.5. 12618 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 12619 fi 12620 # Compute POFILES 12621 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 12622 # Compute UPDATEPOFILES 12623 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 12624 # Compute DUMMYPOFILES 12625 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 12626 # Compute GMOFILES 12627 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 12628 case "$ac_given_srcdir" in 12629 .) srcdirpre= ;; 12630 *) srcdirpre='$(srcdir)/' ;; 12631 esac 12632 POFILES= 12633 UPDATEPOFILES= 12634 DUMMYPOFILES= 12635 GMOFILES= 12636 for lang in $ALL_LINGUAS; do 12637 POFILES="$POFILES $srcdirpre$lang.po" 12638 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 12639 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 12640 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 12641 done 12642 # CATALOGS depends on both $ac_dir and the user's LINGUAS 12643 # environment variable. 12644 INST_LINGUAS= 12645 if test -n "$ALL_LINGUAS"; then 12646 for presentlang in $ALL_LINGUAS; do 12647 useit=no 12648 if test "%UNSET%" != "$LINGUAS"; then 12649 desiredlanguages="$LINGUAS" 12650 else 12651 desiredlanguages="$ALL_LINGUAS" 12652 fi 12653 for desiredlang in $desiredlanguages; do 12654 # Use the presentlang catalog if desiredlang is 12655 # a. equal to presentlang, or 12656 # b. a variant of presentlang (because in this case, 12657 # presentlang can be used as a fallback for messages 12658 # which are not translated in the desiredlang catalog). 12659 case "$desiredlang" in 12660 "$presentlang"*) useit=yes;; 12661 esac 12662 done 12663 if test $useit = yes; then 12664 INST_LINGUAS="$INST_LINGUAS $presentlang" 12665 fi 12666 done 12667 fi 12668 CATALOGS= 12669 if test -n "$INST_LINGUAS"; then 12670 for lang in $INST_LINGUAS; do 12671 CATALOGS="$CATALOGS $lang.gmo" 12672 done 12673 fi 12674 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 12675 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 12676 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 12677 if test -f "$f"; then 12678 case "$f" in 12679 *.orig | *.bak | *~) ;; 12680 *) cat "$f" >> "$ac_dir/Makefile" ;; 12681 esac 12682 fi 12683 done 12684 fi 12685 ;; 12686 esac 12687 done ;; 12688 12689 esac 12690done # for ac_tag 12691 12692 12693as_fn_exit 0 12694_ACEOF 12695ac_clean_files=$ac_clean_files_save 12696 12697test $ac_write_fail = 0 || 12698 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 12699 12700 12701# configure is writing to config.log, and then calls config.status. 12702# config.status does its own redirection, appending to config.log. 12703# Unfortunately, on DOS this fails, as config.log is still kept open 12704# by configure, so config.status won't be able to write to it; its 12705# output is simply discarded. So we exec the FD to /dev/null, 12706# effectively closing config.log, so it can be properly (re)opened and 12707# appended to by config.status. When coming back to configure, we 12708# need to make the FD available again. 12709if test "$no_create" != yes; then 12710 ac_cs_success=: 12711 ac_config_status_args= 12712 test "$silent" = yes && 12713 ac_config_status_args="$ac_config_status_args --quiet" 12714 exec 5>/dev/null 12715 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 12716 exec 5>>config.log 12717 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 12718 # would make configure fail if this is the last instruction. 12719 $ac_cs_success || as_fn_exit 1 12720fi 12721if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 12722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12723$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12724fi 12725 12726 12727echo "Configuration:" 12728echo "NLS: $USE_NLS" 12729echo "Equalizer: $equalizer" 12730echo "NVIDIA Quadro SDI output: $xnvctrl" 12731echo "lirc: $lirc" 12732