1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Qsynth 0.9.2. 4# 5# Report bugs to <rncbc@rncbc.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 rncbc@rncbc.org 270$0: about your system, including any error possibly output 271$0: before this message. Then install a modern shell, or 272$0: manually run the script under such a shell if you do 273$0: 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='Qsynth' 582PACKAGE_TARNAME='qsynth' 583PACKAGE_VERSION='0.9.2' 584PACKAGE_STRING='Qsynth 0.9.2' 585PACKAGE_BUGREPORT='rncbc@rncbc.org' 586PACKAGE_URL='' 587 588ac_unique_file="src/qsynth.cpp" 589ac_default_prefix=/usr/local 590# Factoring default headers for most tests. 591ac_includes_default="\ 592#include <stdio.h> 593#ifdef HAVE_SYS_TYPES_H 594# include <sys/types.h> 595#endif 596#ifdef HAVE_SYS_STAT_H 597# include <sys/stat.h> 598#endif 599#ifdef STDC_HEADERS 600# include <stdlib.h> 601# include <stddef.h> 602#else 603# ifdef HAVE_STDLIB_H 604# include <stdlib.h> 605# endif 606#endif 607#ifdef HAVE_STRING_H 608# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 609# include <memory.h> 610# endif 611# include <string.h> 612#endif 613#ifdef HAVE_STRINGS_H 614# include <strings.h> 615#endif 616#ifdef HAVE_INTTYPES_H 617# include <inttypes.h> 618#endif 619#ifdef HAVE_STDINT_H 620# include <stdint.h> 621#endif 622#ifdef HAVE_UNISTD_H 623# include <unistd.h> 624#endif" 625 626ac_subst_vars='LTLIBOBJS 627LIBOBJS 628ac_libs 629ac_ldflags 630ac_incpath 631ac_cflags 632ac_qnetwork 633QT6NETWORK_LIBS 634QT6NETWORK_CFLAGS 635QT5NETWORK_LIBS 636QT5NETWORK_CFLAGS 637EGREP 638GREP 639FLUIDSYNTH_LIBS 640FLUIDSYNTH_CFLAGS 641ac_cv_lrelease 642ac_lrelease 643ac_cv_lupdate 644ac_lupdate 645ac_uic 646ac_moc 647ac_cv_qmake 648ac_qmake 649ac_qtchooser 650PKG_CONFIG_LIBDIR 651PKG_CONFIG_PATH 652PKG_CONFIG 653CXXCPP 654ac_ct_CXX 655CXXFLAGS 656CXX 657CPP 658OBJEXT 659EXEEXT 660ac_ct_CC 661CPPFLAGS 662LDFLAGS 663CFLAGS 664CC 665ac_debug 666ac_mandir 667ac_datadir 668ac_libdir 669ac_bindir 670ac_prefix 671ac_version 672target_alias 673host_alias 674build_alias 675LIBS 676ECHO_T 677ECHO_N 678ECHO_C 679DEFS 680mandir 681localedir 682libdir 683psdir 684pdfdir 685dvidir 686htmldir 687infodir 688docdir 689oldincludedir 690includedir 691localstatedir 692sharedstatedir 693sysconfdir 694datadir 695datarootdir 696libexecdir 697sbindir 698bindir 699program_transform_name 700prefix 701exec_prefix 702PACKAGE_URL 703PACKAGE_BUGREPORT 704PACKAGE_STRING 705PACKAGE_VERSION 706PACKAGE_TARNAME 707PACKAGE_NAME 708PATH_SEPARATOR 709SHELL' 710ac_subst_files='' 711ac_user_opts=' 712enable_option_checking 713enable_debug 714enable_system_tray 715enable_fluid_channel_info 716enable_fluid_midi_router 717enable_fluid_server 718enable_xunique 719enable_gradient 720enable_stacktrace 721with_qt 722with_fluidsynth 723' 724 ac_precious_vars='build_alias 725host_alias 726target_alias 727CC 728CFLAGS 729LDFLAGS 730LIBS 731CPPFLAGS 732CPP 733CXX 734CXXFLAGS 735CCC 736CXXCPP 737PKG_CONFIG 738PKG_CONFIG_PATH 739PKG_CONFIG_LIBDIR 740FLUIDSYNTH_CFLAGS 741FLUIDSYNTH_LIBS 742QT5NETWORK_CFLAGS 743QT5NETWORK_LIBS 744QT6NETWORK_CFLAGS 745QT6NETWORK_LIBS' 746 747 748# Initialize some variables set by options. 749ac_init_help= 750ac_init_version=false 751ac_unrecognized_opts= 752ac_unrecognized_sep= 753# The variables have the same names as the options, with 754# dashes changed to underlines. 755cache_file=/dev/null 756exec_prefix=NONE 757no_create= 758no_recursion= 759prefix=NONE 760program_prefix=NONE 761program_suffix=NONE 762program_transform_name=s,x,x, 763silent= 764site= 765srcdir= 766verbose= 767x_includes=NONE 768x_libraries=NONE 769 770# Installation directory options. 771# These are left unexpanded so users can "make install exec_prefix=/foo" 772# and all the variables that are supposed to be based on exec_prefix 773# by default will actually change. 774# Use braces instead of parens because sh, perl, etc. also accept them. 775# (The list follows the same order as the GNU Coding Standards.) 776bindir='${exec_prefix}/bin' 777sbindir='${exec_prefix}/sbin' 778libexecdir='${exec_prefix}/libexec' 779datarootdir='${prefix}/share' 780datadir='${datarootdir}' 781sysconfdir='${prefix}/etc' 782sharedstatedir='${prefix}/com' 783localstatedir='${prefix}/var' 784includedir='${prefix}/include' 785oldincludedir='/usr/include' 786docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 787infodir='${datarootdir}/info' 788htmldir='${docdir}' 789dvidir='${docdir}' 790pdfdir='${docdir}' 791psdir='${docdir}' 792libdir='${exec_prefix}/lib' 793localedir='${datarootdir}/locale' 794mandir='${datarootdir}/man' 795 796ac_prev= 797ac_dashdash= 798for ac_option 799do 800 # If the previous option needs an argument, assign it. 801 if test -n "$ac_prev"; then 802 eval $ac_prev=\$ac_option 803 ac_prev= 804 continue 805 fi 806 807 case $ac_option in 808 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 809 *=) ac_optarg= ;; 810 *) ac_optarg=yes ;; 811 esac 812 813 # Accept the important Cygnus configure options, so we can diagnose typos. 814 815 case $ac_dashdash$ac_option in 816 --) 817 ac_dashdash=yes ;; 818 819 -bindir | --bindir | --bindi | --bind | --bin | --bi) 820 ac_prev=bindir ;; 821 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 822 bindir=$ac_optarg ;; 823 824 -build | --build | --buil | --bui | --bu) 825 ac_prev=build_alias ;; 826 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 827 build_alias=$ac_optarg ;; 828 829 -cache-file | --cache-file | --cache-fil | --cache-fi \ 830 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 831 ac_prev=cache_file ;; 832 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 833 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 834 cache_file=$ac_optarg ;; 835 836 --config-cache | -C) 837 cache_file=config.cache ;; 838 839 -datadir | --datadir | --datadi | --datad) 840 ac_prev=datadir ;; 841 -datadir=* | --datadir=* | --datadi=* | --datad=*) 842 datadir=$ac_optarg ;; 843 844 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 845 | --dataroo | --dataro | --datar) 846 ac_prev=datarootdir ;; 847 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 848 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 849 datarootdir=$ac_optarg ;; 850 851 -disable-* | --disable-*) 852 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 853 # Reject names that are not valid shell variable names. 854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 855 as_fn_error $? "invalid feature name: $ac_useropt" 856 ac_useropt_orig=$ac_useropt 857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 858 case $ac_user_opts in 859 *" 860"enable_$ac_useropt" 861"*) ;; 862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 863 ac_unrecognized_sep=', ';; 864 esac 865 eval enable_$ac_useropt=no ;; 866 867 -docdir | --docdir | --docdi | --doc | --do) 868 ac_prev=docdir ;; 869 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 870 docdir=$ac_optarg ;; 871 872 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 873 ac_prev=dvidir ;; 874 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 875 dvidir=$ac_optarg ;; 876 877 -enable-* | --enable-*) 878 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 879 # Reject names that are not valid shell variable names. 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 as_fn_error $? "invalid feature name: $ac_useropt" 882 ac_useropt_orig=$ac_useropt 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 884 case $ac_user_opts in 885 *" 886"enable_$ac_useropt" 887"*) ;; 888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 889 ac_unrecognized_sep=', ';; 890 esac 891 eval enable_$ac_useropt=\$ac_optarg ;; 892 893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 894 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 895 | --exec | --exe | --ex) 896 ac_prev=exec_prefix ;; 897 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 898 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 899 | --exec=* | --exe=* | --ex=*) 900 exec_prefix=$ac_optarg ;; 901 902 -gas | --gas | --ga | --g) 903 # Obsolete; use --with-gas. 904 with_gas=yes ;; 905 906 -help | --help | --hel | --he | -h) 907 ac_init_help=long ;; 908 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 909 ac_init_help=recursive ;; 910 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 911 ac_init_help=short ;; 912 913 -host | --host | --hos | --ho) 914 ac_prev=host_alias ;; 915 -host=* | --host=* | --hos=* | --ho=*) 916 host_alias=$ac_optarg ;; 917 918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 919 ac_prev=htmldir ;; 920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 921 | --ht=*) 922 htmldir=$ac_optarg ;; 923 924 -includedir | --includedir | --includedi | --included | --include \ 925 | --includ | --inclu | --incl | --inc) 926 ac_prev=includedir ;; 927 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 928 | --includ=* | --inclu=* | --incl=* | --inc=*) 929 includedir=$ac_optarg ;; 930 931 -infodir | --infodir | --infodi | --infod | --info | --inf) 932 ac_prev=infodir ;; 933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 934 infodir=$ac_optarg ;; 935 936 -libdir | --libdir | --libdi | --libd) 937 ac_prev=libdir ;; 938 -libdir=* | --libdir=* | --libdi=* | --libd=*) 939 libdir=$ac_optarg ;; 940 941 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 942 | --libexe | --libex | --libe) 943 ac_prev=libexecdir ;; 944 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 945 | --libexe=* | --libex=* | --libe=*) 946 libexecdir=$ac_optarg ;; 947 948 -localedir | --localedir | --localedi | --localed | --locale) 949 ac_prev=localedir ;; 950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 951 localedir=$ac_optarg ;; 952 953 -localstatedir | --localstatedir | --localstatedi | --localstated \ 954 | --localstate | --localstat | --localsta | --localst | --locals) 955 ac_prev=localstatedir ;; 956 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 957 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 958 localstatedir=$ac_optarg ;; 959 960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 961 ac_prev=mandir ;; 962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 963 mandir=$ac_optarg ;; 964 965 -nfp | --nfp | --nf) 966 # Obsolete; use --without-fp. 967 with_fp=no ;; 968 969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 970 | --no-cr | --no-c | -n) 971 no_create=yes ;; 972 973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 975 no_recursion=yes ;; 976 977 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 978 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 979 | --oldin | --oldi | --old | --ol | --o) 980 ac_prev=oldincludedir ;; 981 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 982 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 983 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 984 oldincludedir=$ac_optarg ;; 985 986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 987 ac_prev=prefix ;; 988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 989 prefix=$ac_optarg ;; 990 991 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 992 | --program-pre | --program-pr | --program-p) 993 ac_prev=program_prefix ;; 994 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 995 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 996 program_prefix=$ac_optarg ;; 997 998 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 999 | --program-suf | --program-su | --program-s) 1000 ac_prev=program_suffix ;; 1001 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1002 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1003 program_suffix=$ac_optarg ;; 1004 1005 -program-transform-name | --program-transform-name \ 1006 | --program-transform-nam | --program-transform-na \ 1007 | --program-transform-n | --program-transform- \ 1008 | --program-transform | --program-transfor \ 1009 | --program-transfo | --program-transf \ 1010 | --program-trans | --program-tran \ 1011 | --progr-tra | --program-tr | --program-t) 1012 ac_prev=program_transform_name ;; 1013 -program-transform-name=* | --program-transform-name=* \ 1014 | --program-transform-nam=* | --program-transform-na=* \ 1015 | --program-transform-n=* | --program-transform-=* \ 1016 | --program-transform=* | --program-transfor=* \ 1017 | --program-transfo=* | --program-transf=* \ 1018 | --program-trans=* | --program-tran=* \ 1019 | --progr-tra=* | --program-tr=* | --program-t=*) 1020 program_transform_name=$ac_optarg ;; 1021 1022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1023 ac_prev=pdfdir ;; 1024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1025 pdfdir=$ac_optarg ;; 1026 1027 -psdir | --psdir | --psdi | --psd | --ps) 1028 ac_prev=psdir ;; 1029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1030 psdir=$ac_optarg ;; 1031 1032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1033 | -silent | --silent | --silen | --sile | --sil) 1034 silent=yes ;; 1035 1036 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1037 ac_prev=sbindir ;; 1038 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1039 | --sbi=* | --sb=*) 1040 sbindir=$ac_optarg ;; 1041 1042 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1043 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1044 | --sharedst | --shareds | --shared | --share | --shar \ 1045 | --sha | --sh) 1046 ac_prev=sharedstatedir ;; 1047 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1048 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1049 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1050 | --sha=* | --sh=*) 1051 sharedstatedir=$ac_optarg ;; 1052 1053 -site | --site | --sit) 1054 ac_prev=site ;; 1055 -site=* | --site=* | --sit=*) 1056 site=$ac_optarg ;; 1057 1058 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1059 ac_prev=srcdir ;; 1060 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1061 srcdir=$ac_optarg ;; 1062 1063 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1064 | --syscon | --sysco | --sysc | --sys | --sy) 1065 ac_prev=sysconfdir ;; 1066 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1067 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1068 sysconfdir=$ac_optarg ;; 1069 1070 -target | --target | --targe | --targ | --tar | --ta | --t) 1071 ac_prev=target_alias ;; 1072 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1073 target_alias=$ac_optarg ;; 1074 1075 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1076 verbose=yes ;; 1077 1078 -version | --version | --versio | --versi | --vers | -V) 1079 ac_init_version=: ;; 1080 1081 -with-* | --with-*) 1082 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1083 # Reject names that are not valid shell variable names. 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error $? "invalid package name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090"with_$ac_useropt" 1091"*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval with_$ac_useropt=\$ac_optarg ;; 1096 1097 -without-* | --without-*) 1098 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1099 # Reject names that are not valid shell variable names. 1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 as_fn_error $? "invalid package name: $ac_useropt" 1102 ac_useropt_orig=$ac_useropt 1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1104 case $ac_user_opts in 1105 *" 1106"with_$ac_useropt" 1107"*) ;; 1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1109 ac_unrecognized_sep=', ';; 1110 esac 1111 eval with_$ac_useropt=no ;; 1112 1113 --x) 1114 # Obsolete; use --with-x. 1115 with_x=yes ;; 1116 1117 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1118 | --x-incl | --x-inc | --x-in | --x-i) 1119 ac_prev=x_includes ;; 1120 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1121 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1122 x_includes=$ac_optarg ;; 1123 1124 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1125 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1126 ac_prev=x_libraries ;; 1127 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1128 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1129 x_libraries=$ac_optarg ;; 1130 1131 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1132Try \`$0 --help' for more information" 1133 ;; 1134 1135 *=*) 1136 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1137 # Reject names that are not valid shell variable names. 1138 case $ac_envvar in #( 1139 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1140 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1141 esac 1142 eval $ac_envvar=\$ac_optarg 1143 export $ac_envvar ;; 1144 1145 *) 1146 # FIXME: should be removed in autoconf 3.0. 1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1150 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1151 ;; 1152 1153 esac 1154done 1155 1156if test -n "$ac_prev"; then 1157 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1158 as_fn_error $? "missing argument to $ac_option" 1159fi 1160 1161if test -n "$ac_unrecognized_opts"; then 1162 case $enable_option_checking in 1163 no) ;; 1164 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1166 esac 1167fi 1168 1169# Check all directory arguments for consistency. 1170for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1171 datadir sysconfdir sharedstatedir localstatedir includedir \ 1172 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1173 libdir localedir mandir 1174do 1175 eval ac_val=\$$ac_var 1176 # Remove trailing slashes. 1177 case $ac_val in 1178 */ ) 1179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1180 eval $ac_var=\$ac_val;; 1181 esac 1182 # Be sure to have absolute directory names. 1183 case $ac_val in 1184 [\\/$]* | ?:[\\/]* ) continue;; 1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 esac 1187 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1188done 1189 1190# There might be people who depend on the old broken behavior: `$host' 1191# used to hold the argument of --host etc. 1192# FIXME: To remove some day. 1193build=$build_alias 1194host=$host_alias 1195target=$target_alias 1196 1197# FIXME: To remove some day. 1198if test "x$host_alias" != x; then 1199 if test "x$build_alias" = x; then 1200 cross_compiling=maybe 1201 elif test "x$build_alias" != "x$host_alias"; then 1202 cross_compiling=yes 1203 fi 1204fi 1205 1206ac_tool_prefix= 1207test -n "$host_alias" && ac_tool_prefix=$host_alias- 1208 1209test "$silent" = yes && exec 6>/dev/null 1210 1211 1212ac_pwd=`pwd` && test -n "$ac_pwd" && 1213ac_ls_di=`ls -di .` && 1214ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1215 as_fn_error $? "working directory cannot be determined" 1216test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1217 as_fn_error $? "pwd does not report name of working directory" 1218 1219 1220# Find the source files, if location was not specified. 1221if test -z "$srcdir"; then 1222 ac_srcdir_defaulted=yes 1223 # Try the directory containing this script, then the parent directory. 1224 ac_confdir=`$as_dirname -- "$as_myself" || 1225$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1226 X"$as_myself" : 'X\(//\)[^/]' \| \ 1227 X"$as_myself" : 'X\(//\)$' \| \ 1228 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1229$as_echo X"$as_myself" | 1230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1231 s//\1/ 1232 q 1233 } 1234 /^X\(\/\/\)[^/].*/{ 1235 s//\1/ 1236 q 1237 } 1238 /^X\(\/\/\)$/{ 1239 s//\1/ 1240 q 1241 } 1242 /^X\(\/\).*/{ 1243 s//\1/ 1244 q 1245 } 1246 s/.*/./; q'` 1247 srcdir=$ac_confdir 1248 if test ! -r "$srcdir/$ac_unique_file"; then 1249 srcdir=.. 1250 fi 1251else 1252 ac_srcdir_defaulted=no 1253fi 1254if test ! -r "$srcdir/$ac_unique_file"; then 1255 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1256 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1257fi 1258ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1259ac_abs_confdir=`( 1260 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1261 pwd)` 1262# When building in place, set srcdir=. 1263if test "$ac_abs_confdir" = "$ac_pwd"; then 1264 srcdir=. 1265fi 1266# Remove unnecessary trailing slashes from srcdir. 1267# Double slashes in file names in object file debugging info 1268# mess up M-x gdb in Emacs. 1269case $srcdir in 1270*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1271esac 1272for ac_var in $ac_precious_vars; do 1273 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1274 eval ac_env_${ac_var}_value=\$${ac_var} 1275 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1276 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1277done 1278 1279# 1280# Report the --help message. 1281# 1282if test "$ac_init_help" = "long"; then 1283 # Omit some internal or obsolete options to make the list less imposing. 1284 # This message is too long to be a string in the A/UX 3.1 sh. 1285 cat <<_ACEOF 1286\`configure' configures Qsynth 0.9.2 to adapt to many kinds of systems. 1287 1288Usage: $0 [OPTION]... [VAR=VALUE]... 1289 1290To assign environment variables (e.g., CC, CFLAGS...), specify them as 1291VAR=VALUE. See below for descriptions of some of the useful variables. 1292 1293Defaults for the options are specified in brackets. 1294 1295Configuration: 1296 -h, --help display this help and exit 1297 --help=short display options specific to this package 1298 --help=recursive display the short help of all the included packages 1299 -V, --version display version information and exit 1300 -q, --quiet, --silent do not print \`checking ...' messages 1301 --cache-file=FILE cache test results in FILE [disabled] 1302 -C, --config-cache alias for \`--cache-file=config.cache' 1303 -n, --no-create do not create output files 1304 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1305 1306Installation directories: 1307 --prefix=PREFIX install architecture-independent files in PREFIX 1308 [$ac_default_prefix] 1309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1310 [PREFIX] 1311 1312By default, \`make install' will install all the files in 1313\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1314an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1315for instance \`--prefix=\$HOME'. 1316 1317For better control, use the options below. 1318 1319Fine tuning of the installation directories: 1320 --bindir=DIR user executables [EPREFIX/bin] 1321 --sbindir=DIR system admin executables [EPREFIX/sbin] 1322 --libexecdir=DIR program executables [EPREFIX/libexec] 1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1326 --libdir=DIR object code libraries [EPREFIX/lib] 1327 --includedir=DIR C header files [PREFIX/include] 1328 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1331 --infodir=DIR info documentation [DATAROOTDIR/info] 1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1333 --mandir=DIR man documentation [DATAROOTDIR/man] 1334 --docdir=DIR documentation root [DATAROOTDIR/doc/qsynth] 1335 --htmldir=DIR html documentation [DOCDIR] 1336 --dvidir=DIR dvi documentation [DOCDIR] 1337 --pdfdir=DIR pdf documentation [DOCDIR] 1338 --psdir=DIR ps documentation [DOCDIR] 1339_ACEOF 1340 1341 cat <<\_ACEOF 1342_ACEOF 1343fi 1344 1345if test -n "$ac_init_help"; then 1346 case $ac_init_help in 1347 short | recursive ) echo "Configuration of Qsynth 0.9.2:";; 1348 esac 1349 cat <<\_ACEOF 1350 1351Optional Features: 1352 --disable-option-checking ignore unrecognized --enable/--with options 1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1355 --enable-debug enable debugging (default=no) 1356 --enable-system-tray enable system tray (default=yes) 1357 --enable-fluid-channel-info 1358 enable FluidSynth channel info support (DEPRECATED) 1359 (default=no) 1360 --enable-fluid-midi-router 1361 enable FluidSynth MIDI router support (DEPRECATED) 1362 (default=no) 1363 --enable-fluid-server enable FluidSynth server (default=yes) 1364 --enable-xunique enable unique/single instance (default=yes) 1365 --enable-gradient enable gradient eye-candy (default=yes) 1366 --enable-stacktrace enable debugger stack-trace (default=no) 1367 1368Optional Packages: 1369 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1370 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1371 --with-qt=PATH use alternate Qt install path 1372 --with-fluidsynth=PATH use alternate fluidsynth install path 1373 1374Some influential environment variables: 1375 CC C compiler command 1376 CFLAGS C compiler flags 1377 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1378 nonstandard directory <lib dir> 1379 LIBS libraries to pass to the linker, e.g. -l<library> 1380 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1381 you have headers in a nonstandard directory <include dir> 1382 CPP C preprocessor 1383 CXX C++ compiler command 1384 CXXFLAGS C++ compiler flags 1385 CXXCPP C++ preprocessor 1386 PKG_CONFIG path to pkg-config utility 1387 PKG_CONFIG_PATH 1388 directories to add to pkg-config's search path 1389 PKG_CONFIG_LIBDIR 1390 path overriding pkg-config's built-in search path 1391 FLUIDSYNTH_CFLAGS 1392 C compiler flags for FLUIDSYNTH, overriding pkg-config 1393 FLUIDSYNTH_LIBS 1394 linker flags for FLUIDSYNTH, overriding pkg-config 1395 QT5NETWORK_CFLAGS 1396 C compiler flags for QT5NETWORK, overriding pkg-config 1397 QT5NETWORK_LIBS 1398 linker flags for QT5NETWORK, overriding pkg-config 1399 QT6NETWORK_CFLAGS 1400 C compiler flags for QT6NETWORK, overriding pkg-config 1401 QT6NETWORK_LIBS 1402 linker flags for QT6NETWORK, overriding pkg-config 1403 1404Use these variables to override the choices made by `configure' or to help 1405it to find libraries and programs with nonstandard names/locations. 1406 1407Report bugs to <rncbc@rncbc.org>. 1408_ACEOF 1409ac_status=$? 1410fi 1411 1412if test "$ac_init_help" = "recursive"; then 1413 # If there are subdirs, report their specific --help. 1414 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1415 test -d "$ac_dir" || 1416 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1417 continue 1418 ac_builddir=. 1419 1420case "$ac_dir" in 1421.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1422*) 1423 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1424 # A ".." for each directory in $ac_dir_suffix. 1425 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1426 case $ac_top_builddir_sub in 1427 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1428 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1429 esac ;; 1430esac 1431ac_abs_top_builddir=$ac_pwd 1432ac_abs_builddir=$ac_pwd$ac_dir_suffix 1433# for backward compatibility: 1434ac_top_builddir=$ac_top_build_prefix 1435 1436case $srcdir in 1437 .) # We are building in place. 1438 ac_srcdir=. 1439 ac_top_srcdir=$ac_top_builddir_sub 1440 ac_abs_top_srcdir=$ac_pwd ;; 1441 [\\/]* | ?:[\\/]* ) # Absolute name. 1442 ac_srcdir=$srcdir$ac_dir_suffix; 1443 ac_top_srcdir=$srcdir 1444 ac_abs_top_srcdir=$srcdir ;; 1445 *) # Relative name. 1446 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1447 ac_top_srcdir=$ac_top_build_prefix$srcdir 1448 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1449esac 1450ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1451 1452 cd "$ac_dir" || { ac_status=$?; continue; } 1453 # Check for guested configure. 1454 if test -f "$ac_srcdir/configure.gnu"; then 1455 echo && 1456 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1457 elif test -f "$ac_srcdir/configure"; then 1458 echo && 1459 $SHELL "$ac_srcdir/configure" --help=recursive 1460 else 1461 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1462 fi || ac_status=$? 1463 cd "$ac_pwd" || { ac_status=$?; break; } 1464 done 1465fi 1466 1467test -n "$ac_init_help" && exit $ac_status 1468if $ac_init_version; then 1469 cat <<\_ACEOF 1470Qsynth configure 0.9.2 1471generated by GNU Autoconf 2.69 1472 1473Copyright (C) 2012 Free Software Foundation, Inc. 1474This configure script is free software; the Free Software Foundation 1475gives unlimited permission to copy, distribute and modify it. 1476_ACEOF 1477 exit 1478fi 1479 1480## ------------------------ ## 1481## Autoconf initialization. ## 1482## ------------------------ ## 1483 1484# ac_fn_c_try_compile LINENO 1485# -------------------------- 1486# Try to compile conftest.$ac_ext, and return whether this succeeded. 1487ac_fn_c_try_compile () 1488{ 1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1490 rm -f conftest.$ac_objext 1491 if { { ac_try="$ac_compile" 1492case "(($ac_try" in 1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1494 *) ac_try_echo=$ac_try;; 1495esac 1496eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1497$as_echo "$ac_try_echo"; } >&5 1498 (eval "$ac_compile") 2>conftest.err 1499 ac_status=$? 1500 if test -s conftest.err; then 1501 grep -v '^ *+' conftest.err >conftest.er1 1502 cat conftest.er1 >&5 1503 mv -f conftest.er1 conftest.err 1504 fi 1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1506 test $ac_status = 0; } && { 1507 test -z "$ac_c_werror_flag" || 1508 test ! -s conftest.err 1509 } && test -s conftest.$ac_objext; then : 1510 ac_retval=0 1511else 1512 $as_echo "$as_me: failed program was:" >&5 1513sed 's/^/| /' conftest.$ac_ext >&5 1514 1515 ac_retval=1 1516fi 1517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1518 as_fn_set_status $ac_retval 1519 1520} # ac_fn_c_try_compile 1521 1522# ac_fn_c_try_cpp LINENO 1523# ---------------------- 1524# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1525ac_fn_c_try_cpp () 1526{ 1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1528 if { { ac_try="$ac_cpp conftest.$ac_ext" 1529case "(($ac_try" in 1530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1531 *) ac_try_echo=$ac_try;; 1532esac 1533eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1534$as_echo "$ac_try_echo"; } >&5 1535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1536 ac_status=$? 1537 if test -s conftest.err; then 1538 grep -v '^ *+' conftest.err >conftest.er1 1539 cat conftest.er1 >&5 1540 mv -f conftest.er1 conftest.err 1541 fi 1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1543 test $ac_status = 0; } > conftest.i && { 1544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1545 test ! -s conftest.err 1546 }; then : 1547 ac_retval=0 1548else 1549 $as_echo "$as_me: failed program was:" >&5 1550sed 's/^/| /' conftest.$ac_ext >&5 1551 1552 ac_retval=1 1553fi 1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1555 as_fn_set_status $ac_retval 1556 1557} # ac_fn_c_try_cpp 1558 1559# ac_fn_cxx_try_compile LINENO 1560# ---------------------------- 1561# Try to compile conftest.$ac_ext, and return whether this succeeded. 1562ac_fn_cxx_try_compile () 1563{ 1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1565 rm -f conftest.$ac_objext 1566 if { { ac_try="$ac_compile" 1567case "(($ac_try" in 1568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1569 *) ac_try_echo=$ac_try;; 1570esac 1571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1572$as_echo "$ac_try_echo"; } >&5 1573 (eval "$ac_compile") 2>conftest.err 1574 ac_status=$? 1575 if test -s conftest.err; then 1576 grep -v '^ *+' conftest.err >conftest.er1 1577 cat conftest.er1 >&5 1578 mv -f conftest.er1 conftest.err 1579 fi 1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1581 test $ac_status = 0; } && { 1582 test -z "$ac_cxx_werror_flag" || 1583 test ! -s conftest.err 1584 } && test -s conftest.$ac_objext; then : 1585 ac_retval=0 1586else 1587 $as_echo "$as_me: failed program was:" >&5 1588sed 's/^/| /' conftest.$ac_ext >&5 1589 1590 ac_retval=1 1591fi 1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1593 as_fn_set_status $ac_retval 1594 1595} # ac_fn_cxx_try_compile 1596 1597# ac_fn_cxx_try_cpp LINENO 1598# ------------------------ 1599# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1600ac_fn_cxx_try_cpp () 1601{ 1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1603 if { { ac_try="$ac_cpp conftest.$ac_ext" 1604case "(($ac_try" in 1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1606 *) ac_try_echo=$ac_try;; 1607esac 1608eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1609$as_echo "$ac_try_echo"; } >&5 1610 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1611 ac_status=$? 1612 if test -s conftest.err; then 1613 grep -v '^ *+' conftest.err >conftest.er1 1614 cat conftest.er1 >&5 1615 mv -f conftest.er1 conftest.err 1616 fi 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; } > conftest.i && { 1619 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1620 test ! -s conftest.err 1621 }; then : 1622 ac_retval=0 1623else 1624 $as_echo "$as_me: failed program was:" >&5 1625sed 's/^/| /' conftest.$ac_ext >&5 1626 1627 ac_retval=1 1628fi 1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1630 as_fn_set_status $ac_retval 1631 1632} # ac_fn_cxx_try_cpp 1633 1634# ac_fn_cxx_try_link LINENO 1635# ------------------------- 1636# Try to link conftest.$ac_ext, and return whether this succeeded. 1637ac_fn_cxx_try_link () 1638{ 1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1640 rm -f conftest.$ac_objext conftest$ac_exeext 1641 if { { ac_try="$ac_link" 1642case "(($ac_try" in 1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1644 *) ac_try_echo=$ac_try;; 1645esac 1646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1647$as_echo "$ac_try_echo"; } >&5 1648 (eval "$ac_link") 2>conftest.err 1649 ac_status=$? 1650 if test -s conftest.err; then 1651 grep -v '^ *+' conftest.err >conftest.er1 1652 cat conftest.er1 >&5 1653 mv -f conftest.er1 conftest.err 1654 fi 1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1656 test $ac_status = 0; } && { 1657 test -z "$ac_cxx_werror_flag" || 1658 test ! -s conftest.err 1659 } && test -s conftest$ac_exeext && { 1660 test "$cross_compiling" = yes || 1661 test -x conftest$ac_exeext 1662 }; then : 1663 ac_retval=0 1664else 1665 $as_echo "$as_me: failed program was:" >&5 1666sed 's/^/| /' conftest.$ac_ext >&5 1667 1668 ac_retval=1 1669fi 1670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1672 # interfere with the next link command; also delete a directory that is 1673 # left behind by Apple's compiler. We do this before executing the actions. 1674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1676 as_fn_set_status $ac_retval 1677 1678} # ac_fn_cxx_try_link 1679 1680# ac_fn_cxx_try_run LINENO 1681# ------------------------ 1682# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1683# that executables *can* be run. 1684ac_fn_cxx_try_run () 1685{ 1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1687 if { { ac_try="$ac_link" 1688case "(($ac_try" in 1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1690 *) ac_try_echo=$ac_try;; 1691esac 1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1693$as_echo "$ac_try_echo"; } >&5 1694 (eval "$ac_link") 2>&5 1695 ac_status=$? 1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1697 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1698 { { case "(($ac_try" in 1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1700 *) ac_try_echo=$ac_try;; 1701esac 1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1703$as_echo "$ac_try_echo"; } >&5 1704 (eval "$ac_try") 2>&5 1705 ac_status=$? 1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1707 test $ac_status = 0; }; }; then : 1708 ac_retval=0 1709else 1710 $as_echo "$as_me: program exited with status $ac_status" >&5 1711 $as_echo "$as_me: failed program was:" >&5 1712sed 's/^/| /' conftest.$ac_ext >&5 1713 1714 ac_retval=$ac_status 1715fi 1716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1718 as_fn_set_status $ac_retval 1719 1720} # ac_fn_cxx_try_run 1721 1722# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1723# --------------------------------------------------------- 1724# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1725# the include files in INCLUDES and setting the cache variable VAR 1726# accordingly. 1727ac_fn_cxx_check_header_mongrel () 1728{ 1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1730 if eval \${$3+:} false; then : 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1732$as_echo_n "checking for $2... " >&6; } 1733if eval \${$3+:} false; then : 1734 $as_echo_n "(cached) " >&6 1735fi 1736eval ac_res=\$$3 1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1738$as_echo "$ac_res" >&6; } 1739else 1740 # Is the header compilable? 1741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1742$as_echo_n "checking $2 usability... " >&6; } 1743cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1744/* end confdefs.h. */ 1745$4 1746#include <$2> 1747_ACEOF 1748if ac_fn_cxx_try_compile "$LINENO"; then : 1749 ac_header_compiler=yes 1750else 1751 ac_header_compiler=no 1752fi 1753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1755$as_echo "$ac_header_compiler" >&6; } 1756 1757# Is the header present? 1758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1759$as_echo_n "checking $2 presence... " >&6; } 1760cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1761/* end confdefs.h. */ 1762#include <$2> 1763_ACEOF 1764if ac_fn_cxx_try_cpp "$LINENO"; then : 1765 ac_header_preproc=yes 1766else 1767 ac_header_preproc=no 1768fi 1769rm -f conftest.err conftest.i conftest.$ac_ext 1770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1771$as_echo "$ac_header_preproc" >&6; } 1772 1773# So? What about this header? 1774case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 1775 yes:no: ) 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1777$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1779$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1780 ;; 1781 no:yes:* ) 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1783$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1785$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1787$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1789$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1791$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1792( $as_echo "## ------------------------------ ## 1793## Report this to rncbc@rncbc.org ## 1794## ------------------------------ ##" 1795 ) | sed "s/^/$as_me: WARNING: /" >&2 1796 ;; 1797esac 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1799$as_echo_n "checking for $2... " >&6; } 1800if eval \${$3+:} false; then : 1801 $as_echo_n "(cached) " >&6 1802else 1803 eval "$3=\$ac_header_compiler" 1804fi 1805eval ac_res=\$$3 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1807$as_echo "$ac_res" >&6; } 1808fi 1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1810 1811} # ac_fn_cxx_check_header_mongrel 1812 1813# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1814# --------------------------------------------------------- 1815# Tests whether HEADER exists and can be compiled using the include files in 1816# INCLUDES, setting the cache variable VAR accordingly. 1817ac_fn_cxx_check_header_compile () 1818{ 1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1826/* end confdefs.h. */ 1827$4 1828#include <$2> 1829_ACEOF 1830if ac_fn_cxx_try_compile "$LINENO"; then : 1831 eval "$3=yes" 1832else 1833 eval "$3=no" 1834fi 1835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1836fi 1837eval ac_res=\$$3 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1839$as_echo "$ac_res" >&6; } 1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1841 1842} # ac_fn_cxx_check_header_compile 1843 1844# ac_fn_cxx_check_func LINENO FUNC VAR 1845# ------------------------------------ 1846# Tests whether FUNC exists, setting the cache variable VAR accordingly 1847ac_fn_cxx_check_func () 1848{ 1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1851$as_echo_n "checking for $2... " >&6; } 1852if eval \${$3+:} false; then : 1853 $as_echo_n "(cached) " >&6 1854else 1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1856/* end confdefs.h. */ 1857/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1858 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1859#define $2 innocuous_$2 1860 1861/* System header to define __stub macros and hopefully few prototypes, 1862 which can conflict with char $2 (); below. 1863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1864 <limits.h> exists even on freestanding compilers. */ 1865 1866#ifdef __STDC__ 1867# include <limits.h> 1868#else 1869# include <assert.h> 1870#endif 1871 1872#undef $2 1873 1874/* Override any GCC internal prototype to avoid an error. 1875 Use char because int might match the return type of a GCC 1876 builtin and then its argument prototype would still apply. */ 1877#ifdef __cplusplus 1878extern "C" 1879#endif 1880char $2 (); 1881/* The GNU C library defines this for functions which it implements 1882 to always fail with ENOSYS. Some functions are actually named 1883 something starting with __ and the normal name is an alias. */ 1884#if defined __stub_$2 || defined __stub___$2 1885choke me 1886#endif 1887 1888int 1889main () 1890{ 1891return $2 (); 1892 ; 1893 return 0; 1894} 1895_ACEOF 1896if ac_fn_cxx_try_link "$LINENO"; then : 1897 eval "$3=yes" 1898else 1899 eval "$3=no" 1900fi 1901rm -f core conftest.err conftest.$ac_objext \ 1902 conftest$ac_exeext conftest.$ac_ext 1903fi 1904eval ac_res=\$$3 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1906$as_echo "$ac_res" >&6; } 1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1908 1909} # ac_fn_cxx_check_func 1910cat >config.log <<_ACEOF 1911This file contains any messages produced by compilers while 1912running configure, to aid debugging if configure makes a mistake. 1913 1914It was created by Qsynth $as_me 0.9.2, which was 1915generated by GNU Autoconf 2.69. Invocation command line was 1916 1917 $ $0 $@ 1918 1919_ACEOF 1920exec 5>>config.log 1921{ 1922cat <<_ASUNAME 1923## --------- ## 1924## Platform. ## 1925## --------- ## 1926 1927hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1928uname -m = `(uname -m) 2>/dev/null || echo unknown` 1929uname -r = `(uname -r) 2>/dev/null || echo unknown` 1930uname -s = `(uname -s) 2>/dev/null || echo unknown` 1931uname -v = `(uname -v) 2>/dev/null || echo unknown` 1932 1933/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1934/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1935 1936/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1937/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1938/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1939/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1940/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1941/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1942/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1943 1944_ASUNAME 1945 1946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1947for as_dir in $PATH 1948do 1949 IFS=$as_save_IFS 1950 test -z "$as_dir" && as_dir=. 1951 $as_echo "PATH: $as_dir" 1952 done 1953IFS=$as_save_IFS 1954 1955} >&5 1956 1957cat >&5 <<_ACEOF 1958 1959 1960## ----------- ## 1961## Core tests. ## 1962## ----------- ## 1963 1964_ACEOF 1965 1966 1967# Keep a trace of the command line. 1968# Strip out --no-create and --no-recursion so they do not pile up. 1969# Strip out --silent because we don't want to record it for future runs. 1970# Also quote any args containing shell meta-characters. 1971# Make two passes to allow for proper duplicate-argument suppression. 1972ac_configure_args= 1973ac_configure_args0= 1974ac_configure_args1= 1975ac_must_keep_next=false 1976for ac_pass in 1 2 1977do 1978 for ac_arg 1979 do 1980 case $ac_arg in 1981 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1983 | -silent | --silent | --silen | --sile | --sil) 1984 continue ;; 1985 *\'*) 1986 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1987 esac 1988 case $ac_pass in 1989 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1990 2) 1991 as_fn_append ac_configure_args1 " '$ac_arg'" 1992 if test $ac_must_keep_next = true; then 1993 ac_must_keep_next=false # Got value, back to normal. 1994 else 1995 case $ac_arg in 1996 *=* | --config-cache | -C | -disable-* | --disable-* \ 1997 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1998 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1999 | -with-* | --with-* | -without-* | --without-* | --x) 2000 case "$ac_configure_args0 " in 2001 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2002 esac 2003 ;; 2004 -* ) ac_must_keep_next=true ;; 2005 esac 2006 fi 2007 as_fn_append ac_configure_args " '$ac_arg'" 2008 ;; 2009 esac 2010 done 2011done 2012{ ac_configure_args0=; unset ac_configure_args0;} 2013{ ac_configure_args1=; unset ac_configure_args1;} 2014 2015# When interrupted or exit'd, cleanup temporary files, and complete 2016# config.log. We remove comments because anyway the quotes in there 2017# would cause problems or look ugly. 2018# WARNING: Use '\'' to represent an apostrophe within the trap. 2019# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2020trap 'exit_status=$? 2021 # Save into config.log some information that might help in debugging. 2022 { 2023 echo 2024 2025 $as_echo "## ---------------- ## 2026## Cache variables. ## 2027## ---------------- ##" 2028 echo 2029 # The following way of writing the cache mishandles newlines in values, 2030( 2031 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2032 eval ac_val=\$$ac_var 2033 case $ac_val in #( 2034 *${as_nl}*) 2035 case $ac_var in #( 2036 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2037$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2038 esac 2039 case $ac_var in #( 2040 _ | IFS | as_nl) ;; #( 2041 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2042 *) { eval $ac_var=; unset $ac_var;} ;; 2043 esac ;; 2044 esac 2045 done 2046 (set) 2>&1 | 2047 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2048 *${as_nl}ac_space=\ *) 2049 sed -n \ 2050 "s/'\''/'\''\\\\'\'''\''/g; 2051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2052 ;; #( 2053 *) 2054 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2055 ;; 2056 esac | 2057 sort 2058) 2059 echo 2060 2061 $as_echo "## ----------------- ## 2062## Output variables. ## 2063## ----------------- ##" 2064 echo 2065 for ac_var in $ac_subst_vars 2066 do 2067 eval ac_val=\$$ac_var 2068 case $ac_val in 2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2070 esac 2071 $as_echo "$ac_var='\''$ac_val'\''" 2072 done | sort 2073 echo 2074 2075 if test -n "$ac_subst_files"; then 2076 $as_echo "## ------------------- ## 2077## File substitutions. ## 2078## ------------------- ##" 2079 echo 2080 for ac_var in $ac_subst_files 2081 do 2082 eval ac_val=\$$ac_var 2083 case $ac_val in 2084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2085 esac 2086 $as_echo "$ac_var='\''$ac_val'\''" 2087 done | sort 2088 echo 2089 fi 2090 2091 if test -s confdefs.h; then 2092 $as_echo "## ----------- ## 2093## confdefs.h. ## 2094## ----------- ##" 2095 echo 2096 cat confdefs.h 2097 echo 2098 fi 2099 test "$ac_signal" != 0 && 2100 $as_echo "$as_me: caught signal $ac_signal" 2101 $as_echo "$as_me: exit $exit_status" 2102 } >&5 2103 rm -f core *.core core.conftest.* && 2104 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2105 exit $exit_status 2106' 0 2107for ac_signal in 1 2 13 15; do 2108 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2109done 2110ac_signal=0 2111 2112# confdefs.h avoids OS command line length limits that DEFS can exceed. 2113rm -f -r conftest* confdefs.h 2114 2115$as_echo "/* confdefs.h */" > confdefs.h 2116 2117# Predefined preprocessor variables. 2118 2119cat >>confdefs.h <<_ACEOF 2120#define PACKAGE_NAME "$PACKAGE_NAME" 2121_ACEOF 2122 2123cat >>confdefs.h <<_ACEOF 2124#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2125_ACEOF 2126 2127cat >>confdefs.h <<_ACEOF 2128#define PACKAGE_VERSION "$PACKAGE_VERSION" 2129_ACEOF 2130 2131cat >>confdefs.h <<_ACEOF 2132#define PACKAGE_STRING "$PACKAGE_STRING" 2133_ACEOF 2134 2135cat >>confdefs.h <<_ACEOF 2136#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2137_ACEOF 2138 2139cat >>confdefs.h <<_ACEOF 2140#define PACKAGE_URL "$PACKAGE_URL" 2141_ACEOF 2142 2143 2144# Let the site file select an alternate cache file if it wants to. 2145# Prefer an explicitly selected file to automatically selected ones. 2146ac_site_file1=NONE 2147ac_site_file2=NONE 2148if test -n "$CONFIG_SITE"; then 2149 # We do not want a PATH search for config.site. 2150 case $CONFIG_SITE in #(( 2151 -*) ac_site_file1=./$CONFIG_SITE;; 2152 */*) ac_site_file1=$CONFIG_SITE;; 2153 *) ac_site_file1=./$CONFIG_SITE;; 2154 esac 2155elif test "x$prefix" != xNONE; then 2156 ac_site_file1=$prefix/share/config.site 2157 ac_site_file2=$prefix/etc/config.site 2158else 2159 ac_site_file1=$ac_default_prefix/share/config.site 2160 ac_site_file2=$ac_default_prefix/etc/config.site 2161fi 2162for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2163do 2164 test "x$ac_site_file" = xNONE && continue 2165 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2167$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2168 sed 's/^/| /' "$ac_site_file" >&5 2169 . "$ac_site_file" \ 2170 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2171$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2172as_fn_error $? "failed to load site script $ac_site_file 2173See \`config.log' for more details" "$LINENO" 5; } 2174 fi 2175done 2176 2177if test -r "$cache_file"; then 2178 # Some versions of bash will fail to source /dev/null (special files 2179 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2180 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2182$as_echo "$as_me: loading cache $cache_file" >&6;} 2183 case $cache_file in 2184 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2185 *) . "./$cache_file";; 2186 esac 2187 fi 2188else 2189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2190$as_echo "$as_me: creating cache $cache_file" >&6;} 2191 >$cache_file 2192fi 2193 2194# Check that the precious variables saved in the cache have kept the same 2195# value. 2196ac_cache_corrupted=false 2197for ac_var in $ac_precious_vars; do 2198 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2199 eval ac_new_set=\$ac_env_${ac_var}_set 2200 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2201 eval ac_new_val=\$ac_env_${ac_var}_value 2202 case $ac_old_set,$ac_new_set in 2203 set,) 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2205$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2206 ac_cache_corrupted=: ;; 2207 ,set) 2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2209$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2210 ac_cache_corrupted=: ;; 2211 ,);; 2212 *) 2213 if test "x$ac_old_val" != "x$ac_new_val"; then 2214 # differences in whitespace do not lead to failure. 2215 ac_old_val_w=`echo x $ac_old_val` 2216 ac_new_val_w=`echo x $ac_new_val` 2217 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2219$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2220 ac_cache_corrupted=: 2221 else 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2223$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2224 eval $ac_var=\$ac_old_val 2225 fi 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2227$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2229$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2230 fi;; 2231 esac 2232 # Pass precious variables to config.status. 2233 if test "$ac_new_set" = set; then 2234 case $ac_new_val in 2235 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2236 *) ac_arg=$ac_var=$ac_new_val ;; 2237 esac 2238 case " $ac_configure_args " in 2239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2240 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2241 esac 2242 fi 2243done 2244if $ac_cache_corrupted; then 2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2248$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2249 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2250fi 2251## -------------------- ## 2252## Main body of script. ## 2253## -------------------- ## 2254 2255ac_ext=c 2256ac_cpp='$CPP $CPPFLAGS' 2257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2259ac_compiler_gnu=$ac_cv_c_compiler_gnu 2260 2261 2262 2263 2264ac_config_headers="$ac_config_headers src/config.h" 2265 2266ac_config_files="$ac_config_files Makefile qsynth.spec src/src.pri" 2267 2268 2269# Build version string. 2270if ${ac_cv_build_version+:} false; then : 2271 $as_echo_n "(cached) " >&6 2272else 2273 2274 ac_cv_build_version=$(git describe --tags --dirty --abbrev=6 2>/dev/null) 2275 if test -n "$ac_cv_build_version"; then 2276 ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/^[^0-9]\+//') 2277 ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/-g/git./') 2278 ac_cv_build_version=$(echo $ac_cv_build_version | sed 's/[_|-]\+/./g') 2279 ac_cv_build_version_extra=$(git rev-parse --abbrev-ref HEAD 2>/dev/null) 2280 if test "x$ac_cv_build_version_extra" != "xmaster"; then 2281 ac_cv_build_version="$ac_cv_build_version [$ac_cv_build_version_extra]" 2282 fi 2283 else 2284 ac_cv_build_version=$PACKAGE_VERSION 2285 fi 2286 2287fi 2288 2289ac_build_version="$ac_cv_build_version" 2290 2291cat >>confdefs.h <<_ACEOF 2292#define CONFIG_BUILD_VERSION "$ac_build_version" 2293_ACEOF 2294 2295 2296# Sanitized version string. 2297if ${ac_cv_version+:} false; then : 2298 $as_echo_n "(cached) " >&6 2299else 2300 2301 ac_cv_version=$(echo $PACKAGE_VERSION | sed -r 's/^([0-9|\.]+).*$/\1/') 2302 2303fi 2304 2305ac_version="$ac_cv_version" 2306 2307cat >>confdefs.h <<_ACEOF 2308#define CONFIG_VERSION "$ac_version" 2309_ACEOF 2310 2311 2312 2313# Set default installation prefix. 2314 2315if test "x$prefix" = "xNONE"; then 2316 prefix=$ac_default_prefix 2317fi 2318if test "x$exec_prefix" = "xNONE"; then 2319 exec_prefix=$prefix 2320fi 2321eval ac_prefix=$prefix 2322 2323 2324cat >>confdefs.h <<_ACEOF 2325#define CONFIG_PREFIX "$ac_prefix" 2326_ACEOF 2327 2328 2329# Set default installation directories. 2330eval ac_bindir=$bindir 2331 2332 2333cat >>confdefs.h <<_ACEOF 2334#define CONFIG_BINDIR "$ac_bindir" 2335_ACEOF 2336 2337 2338eval ac_libdir=$libdir 2339 2340 2341cat >>confdefs.h <<_ACEOF 2342#define CONFIG_LIBDIR "$ac_libdir" 2343_ACEOF 2344 2345 2346eval datarootdir=$datarootdir 2347eval ac_datadir=$datadir 2348 2349 2350cat >>confdefs.h <<_ACEOF 2351#define CONFIG_DATADIR "$ac_datadir" 2352_ACEOF 2353 2354 2355eval ac_mandir=$mandir 2356 2357 2358cat >>confdefs.h <<_ACEOF 2359#define CONFIG_MANDIR "$ac_mandir" 2360_ACEOF 2361 2362 2363 2364# Enable debugging argument option. 2365# Check whether --enable-debug was given. 2366if test "${enable_debug+set}" = set; then : 2367 enableval=$enable_debug; ac_debug="$enableval" 2368fi 2369 2370 2371if test "x$ac_debug" = "xyes"; then 2372 2373$as_echo "#define CONFIG_DEBUG 1" >>confdefs.h 2374 2375 ac_stacktrace="yes" 2376 ac_debug="debug" 2377else 2378 ac_stacktrace="no" 2379 ac_debug="release" 2380fi 2381 2382 2383 2384# Enable system tray argument option. 2385# Check whether --enable-system_tray was given. 2386if test "${enable_system_tray+set}" = set; then : 2387 enableval=$enable_system_tray; ac_system_tray="$enableval" 2388else 2389 ac_system_tray="yes" 2390fi 2391 2392 2393# Enable fluid_synth_get_channel_info function (DEPRECATED). 2394# Check whether --enable-fluid_channel_info was given. 2395if test "${enable_fluid_channel_info+set}" = set; then : 2396 enableval=$enable_fluid_channel_info; ac_fluid_channel_info="$enableval" 2397else 2398 ac_fluid_channel_info="no" 2399fi 2400 2401 2402# Enable fluid_synth_set_midi_router function (DEPRECATED). 2403# Check whether --enable-fluid_midi_router was given. 2404if test "${enable_fluid_midi_router+set}" = set; then : 2405 enableval=$enable_fluid_midi_router; ac_fluid_midi_router="$enableval" 2406else 2407 ac_fluid_midi_router="no" 2408fi 2409 2410 2411# Enable new_fluid_server function. 2412# Check whether --enable-fluid_server was given. 2413if test "${enable_fluid_server+set}" = set; then : 2414 enableval=$enable_fluid_server; ac_fluid_server="$enableval" 2415else 2416 ac_fluid_server="yes" 2417fi 2418 2419 2420# Enable unique/single instance. 2421# Check whether --enable-xunique was given. 2422if test "${enable_xunique+set}" = set; then : 2423 enableval=$enable_xunique; ac_xunique="$enableval" 2424else 2425 ac_xunique="yes" 2426fi 2427 2428 2429# Enable gradient eye-candy. 2430# Check whether --enable-gradient was given. 2431if test "${enable_gradient+set}" = set; then : 2432 enableval=$enable_gradient; ac_gradient="$enableval" 2433else 2434 ac_gradient="yes" 2435fi 2436 2437 2438# Enable debugger stack-trace option (assumes --enable-debug). 2439# Check whether --enable-stacktrace was given. 2440if test "${enable_stacktrace+set}" = set; then : 2441 enableval=$enable_stacktrace; ac_stacktrace="$enableval" 2442fi 2443 2444 2445 2446# Standard installation base dirs. 2447ac_path=$PATH 2448ac_pkg_config_path=$PKG_CONFIG_PATH 2449ac_with_paths="" 2450 2451# Set for alternate Qt installation dir. 2452 2453# Check whether --with-qt was given. 2454if test "${with_qt+set}" = set; then : 2455 withval=$with_qt; ac_qt_path="$withval" 2456else 2457 ac_qt_path="no" 2458fi 2459 2460 2461if test "x$ac_qt_path" != "xno"; then 2462 ac_path="$ac_qt_path/bin:$ac_path" 2463 ac_pkg_config_path="$ac_qt_path/lib/pkgconfig:$ac_pkg_config_path" 2464fi 2465 2466# Set for alternate fluidsynth installation dir. 2467 2468# Check whether --with-fluidsynth was given. 2469if test "${with_fluidsynth+set}" = set; then : 2470 withval=$with_fluidsynth; ac_with_paths="$ac_with_paths $withval" 2471fi 2472 2473 2474 2475# Honor user specified flags. 2476ac_cflags=$CFLAGS 2477ac_ldflags=$LDFLAGS 2478 2479 2480# Checks for programs. 2481ac_ext=c 2482ac_cpp='$CPP $CPPFLAGS' 2483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2485ac_compiler_gnu=$ac_cv_c_compiler_gnu 2486if test -n "$ac_tool_prefix"; then 2487 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2488set dummy ${ac_tool_prefix}gcc; ac_word=$2 2489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2490$as_echo_n "checking for $ac_word... " >&6; } 2491if ${ac_cv_prog_CC+:} false; then : 2492 $as_echo_n "(cached) " >&6 2493else 2494 if test -n "$CC"; then 2495 ac_cv_prog_CC="$CC" # Let the user override the test. 2496else 2497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2498for as_dir in $PATH 2499do 2500 IFS=$as_save_IFS 2501 test -z "$as_dir" && as_dir=. 2502 for ac_exec_ext in '' $ac_executable_extensions; do 2503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2504 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2506 break 2 2507 fi 2508done 2509 done 2510IFS=$as_save_IFS 2511 2512fi 2513fi 2514CC=$ac_cv_prog_CC 2515if test -n "$CC"; then 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2517$as_echo "$CC" >&6; } 2518else 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2520$as_echo "no" >&6; } 2521fi 2522 2523 2524fi 2525if test -z "$ac_cv_prog_CC"; then 2526 ac_ct_CC=$CC 2527 # Extract the first word of "gcc", so it can be a program name with args. 2528set dummy gcc; ac_word=$2 2529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2530$as_echo_n "checking for $ac_word... " >&6; } 2531if ${ac_cv_prog_ac_ct_CC+:} false; then : 2532 $as_echo_n "(cached) " >&6 2533else 2534 if test -n "$ac_ct_CC"; then 2535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2536else 2537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2538for as_dir in $PATH 2539do 2540 IFS=$as_save_IFS 2541 test -z "$as_dir" && as_dir=. 2542 for ac_exec_ext in '' $ac_executable_extensions; do 2543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2544 ac_cv_prog_ac_ct_CC="gcc" 2545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2546 break 2 2547 fi 2548done 2549 done 2550IFS=$as_save_IFS 2551 2552fi 2553fi 2554ac_ct_CC=$ac_cv_prog_ac_ct_CC 2555if test -n "$ac_ct_CC"; then 2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2557$as_echo "$ac_ct_CC" >&6; } 2558else 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2560$as_echo "no" >&6; } 2561fi 2562 2563 if test "x$ac_ct_CC" = x; then 2564 CC="" 2565 else 2566 case $cross_compiling:$ac_tool_warned in 2567yes:) 2568{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2569$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2570ac_tool_warned=yes ;; 2571esac 2572 CC=$ac_ct_CC 2573 fi 2574else 2575 CC="$ac_cv_prog_CC" 2576fi 2577 2578if test -z "$CC"; then 2579 if test -n "$ac_tool_prefix"; then 2580 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2581set dummy ${ac_tool_prefix}cc; ac_word=$2 2582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2583$as_echo_n "checking for $ac_word... " >&6; } 2584if ${ac_cv_prog_CC+:} false; then : 2585 $as_echo_n "(cached) " >&6 2586else 2587 if test -n "$CC"; then 2588 ac_cv_prog_CC="$CC" # Let the user override the test. 2589else 2590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2591for as_dir in $PATH 2592do 2593 IFS=$as_save_IFS 2594 test -z "$as_dir" && as_dir=. 2595 for ac_exec_ext in '' $ac_executable_extensions; do 2596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2597 ac_cv_prog_CC="${ac_tool_prefix}cc" 2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2599 break 2 2600 fi 2601done 2602 done 2603IFS=$as_save_IFS 2604 2605fi 2606fi 2607CC=$ac_cv_prog_CC 2608if test -n "$CC"; then 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2610$as_echo "$CC" >&6; } 2611else 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2613$as_echo "no" >&6; } 2614fi 2615 2616 2617 fi 2618fi 2619if test -z "$CC"; then 2620 # Extract the first word of "cc", so it can be a program name with args. 2621set dummy cc; ac_word=$2 2622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2623$as_echo_n "checking for $ac_word... " >&6; } 2624if ${ac_cv_prog_CC+:} false; then : 2625 $as_echo_n "(cached) " >&6 2626else 2627 if test -n "$CC"; then 2628 ac_cv_prog_CC="$CC" # Let the user override the test. 2629else 2630 ac_prog_rejected=no 2631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2632for as_dir in $PATH 2633do 2634 IFS=$as_save_IFS 2635 test -z "$as_dir" && as_dir=. 2636 for ac_exec_ext in '' $ac_executable_extensions; do 2637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2638 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2639 ac_prog_rejected=yes 2640 continue 2641 fi 2642 ac_cv_prog_CC="cc" 2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2644 break 2 2645 fi 2646done 2647 done 2648IFS=$as_save_IFS 2649 2650if test $ac_prog_rejected = yes; then 2651 # We found a bogon in the path, so make sure we never use it. 2652 set dummy $ac_cv_prog_CC 2653 shift 2654 if test $# != 0; then 2655 # We chose a different compiler from the bogus one. 2656 # However, it has the same basename, so the bogon will be chosen 2657 # first if we set CC to just the basename; use the full file name. 2658 shift 2659 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2660 fi 2661fi 2662fi 2663fi 2664CC=$ac_cv_prog_CC 2665if test -n "$CC"; then 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2667$as_echo "$CC" >&6; } 2668else 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2670$as_echo "no" >&6; } 2671fi 2672 2673 2674fi 2675if test -z "$CC"; then 2676 if test -n "$ac_tool_prefix"; then 2677 for ac_prog in cl.exe 2678 do 2679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2680set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2682$as_echo_n "checking for $ac_word... " >&6; } 2683if ${ac_cv_prog_CC+:} false; then : 2684 $as_echo_n "(cached) " >&6 2685else 2686 if test -n "$CC"; then 2687 ac_cv_prog_CC="$CC" # Let the user override the test. 2688else 2689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2690for as_dir in $PATH 2691do 2692 IFS=$as_save_IFS 2693 test -z "$as_dir" && as_dir=. 2694 for ac_exec_ext in '' $ac_executable_extensions; do 2695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2696 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2698 break 2 2699 fi 2700done 2701 done 2702IFS=$as_save_IFS 2703 2704fi 2705fi 2706CC=$ac_cv_prog_CC 2707if test -n "$CC"; then 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2709$as_echo "$CC" >&6; } 2710else 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2712$as_echo "no" >&6; } 2713fi 2714 2715 2716 test -n "$CC" && break 2717 done 2718fi 2719if test -z "$CC"; then 2720 ac_ct_CC=$CC 2721 for ac_prog in cl.exe 2722do 2723 # Extract the first word of "$ac_prog", so it can be a program name with args. 2724set dummy $ac_prog; ac_word=$2 2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2726$as_echo_n "checking for $ac_word... " >&6; } 2727if ${ac_cv_prog_ac_ct_CC+:} false; then : 2728 $as_echo_n "(cached) " >&6 2729else 2730 if test -n "$ac_ct_CC"; then 2731 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2732else 2733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2734for as_dir in $PATH 2735do 2736 IFS=$as_save_IFS 2737 test -z "$as_dir" && as_dir=. 2738 for ac_exec_ext in '' $ac_executable_extensions; do 2739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2740 ac_cv_prog_ac_ct_CC="$ac_prog" 2741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2742 break 2 2743 fi 2744done 2745 done 2746IFS=$as_save_IFS 2747 2748fi 2749fi 2750ac_ct_CC=$ac_cv_prog_ac_ct_CC 2751if test -n "$ac_ct_CC"; then 2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2753$as_echo "$ac_ct_CC" >&6; } 2754else 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2756$as_echo "no" >&6; } 2757fi 2758 2759 2760 test -n "$ac_ct_CC" && break 2761done 2762 2763 if test "x$ac_ct_CC" = x; then 2764 CC="" 2765 else 2766 case $cross_compiling:$ac_tool_warned in 2767yes:) 2768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2770ac_tool_warned=yes ;; 2771esac 2772 CC=$ac_ct_CC 2773 fi 2774fi 2775 2776fi 2777 2778 2779test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2780$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2781as_fn_error $? "no acceptable C compiler found in \$PATH 2782See \`config.log' for more details" "$LINENO" 5; } 2783 2784# Provide some information about the compiler. 2785$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2786set X $ac_compile 2787ac_compiler=$2 2788for ac_option in --version -v -V -qversion; do 2789 { { ac_try="$ac_compiler $ac_option >&5" 2790case "(($ac_try" in 2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2792 *) ac_try_echo=$ac_try;; 2793esac 2794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2795$as_echo "$ac_try_echo"; } >&5 2796 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2797 ac_status=$? 2798 if test -s conftest.err; then 2799 sed '10a\ 2800... rest of stderr output deleted ... 2801 10q' conftest.err >conftest.er1 2802 cat conftest.er1 >&5 2803 fi 2804 rm -f conftest.er1 conftest.err 2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2806 test $ac_status = 0; } 2807done 2808 2809cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2810/* end confdefs.h. */ 2811 2812int 2813main () 2814{ 2815 2816 ; 2817 return 0; 2818} 2819_ACEOF 2820ac_clean_files_save=$ac_clean_files 2821ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2822# Try to create an executable without -o first, disregard a.out. 2823# It will help us diagnose broken compilers, and finding out an intuition 2824# of exeext. 2825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2826$as_echo_n "checking whether the C compiler works... " >&6; } 2827ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2828 2829# The possible output files: 2830ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2831 2832ac_rmfiles= 2833for ac_file in $ac_files 2834do 2835 case $ac_file in 2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2837 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2838 esac 2839done 2840rm -f $ac_rmfiles 2841 2842if { { ac_try="$ac_link_default" 2843case "(($ac_try" in 2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2845 *) ac_try_echo=$ac_try;; 2846esac 2847eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2848$as_echo "$ac_try_echo"; } >&5 2849 (eval "$ac_link_default") 2>&5 2850 ac_status=$? 2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2852 test $ac_status = 0; }; then : 2853 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2854# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2855# in a Makefile. We should not override ac_cv_exeext if it was cached, 2856# so that the user can short-circuit this test for compilers unknown to 2857# Autoconf. 2858for ac_file in $ac_files '' 2859do 2860 test -f "$ac_file" || continue 2861 case $ac_file in 2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2863 ;; 2864 [ab].out ) 2865 # We found the default executable, but exeext='' is most 2866 # certainly right. 2867 break;; 2868 *.* ) 2869 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2870 then :; else 2871 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2872 fi 2873 # We set ac_cv_exeext here because the later test for it is not 2874 # safe: cross compilers may not add the suffix if given an `-o' 2875 # argument, so we may need to know it at that point already. 2876 # Even if this section looks crufty: it has the advantage of 2877 # actually working. 2878 break;; 2879 * ) 2880 break;; 2881 esac 2882done 2883test "$ac_cv_exeext" = no && ac_cv_exeext= 2884 2885else 2886 ac_file='' 2887fi 2888if test -z "$ac_file"; then : 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2890$as_echo "no" >&6; } 2891$as_echo "$as_me: failed program was:" >&5 2892sed 's/^/| /' conftest.$ac_ext >&5 2893 2894{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2895$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2896as_fn_error 77 "C compiler cannot create executables 2897See \`config.log' for more details" "$LINENO" 5; } 2898else 2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2900$as_echo "yes" >&6; } 2901fi 2902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2903$as_echo_n "checking for C compiler default output file name... " >&6; } 2904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2905$as_echo "$ac_file" >&6; } 2906ac_exeext=$ac_cv_exeext 2907 2908rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2909ac_clean_files=$ac_clean_files_save 2910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2911$as_echo_n "checking for suffix of executables... " >&6; } 2912if { { ac_try="$ac_link" 2913case "(($ac_try" in 2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *) ac_try_echo=$ac_try;; 2916esac 2917eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2918$as_echo "$ac_try_echo"; } >&5 2919 (eval "$ac_link") 2>&5 2920 ac_status=$? 2921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2922 test $ac_status = 0; }; then : 2923 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2924# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2925# work properly (i.e., refer to `conftest.exe'), while it won't with 2926# `rm'. 2927for ac_file in conftest.exe conftest conftest.*; do 2928 test -f "$ac_file" || continue 2929 case $ac_file in 2930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2931 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2932 break;; 2933 * ) break;; 2934 esac 2935done 2936else 2937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2938$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2939as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2940See \`config.log' for more details" "$LINENO" 5; } 2941fi 2942rm -f conftest conftest$ac_cv_exeext 2943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2944$as_echo "$ac_cv_exeext" >&6; } 2945 2946rm -f conftest.$ac_ext 2947EXEEXT=$ac_cv_exeext 2948ac_exeext=$EXEEXT 2949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2950/* end confdefs.h. */ 2951#include <stdio.h> 2952int 2953main () 2954{ 2955FILE *f = fopen ("conftest.out", "w"); 2956 return ferror (f) || fclose (f) != 0; 2957 2958 ; 2959 return 0; 2960} 2961_ACEOF 2962ac_clean_files="$ac_clean_files conftest.out" 2963# Check that the compiler produces executables we can run. If not, either 2964# the compiler is broken, or we cross compile. 2965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2966$as_echo_n "checking whether we are cross compiling... " >&6; } 2967if test "$cross_compiling" != yes; then 2968 { { ac_try="$ac_link" 2969case "(($ac_try" in 2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2971 *) ac_try_echo=$ac_try;; 2972esac 2973eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2974$as_echo "$ac_try_echo"; } >&5 2975 (eval "$ac_link") 2>&5 2976 ac_status=$? 2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2978 test $ac_status = 0; } 2979 if { ac_try='./conftest$ac_cv_exeext' 2980 { { case "(($ac_try" in 2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2982 *) ac_try_echo=$ac_try;; 2983esac 2984eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2985$as_echo "$ac_try_echo"; } >&5 2986 (eval "$ac_try") 2>&5 2987 ac_status=$? 2988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2989 test $ac_status = 0; }; }; then 2990 cross_compiling=no 2991 else 2992 if test "$cross_compiling" = maybe; then 2993 cross_compiling=yes 2994 else 2995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2996$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2997as_fn_error $? "cannot run C compiled programs. 2998If you meant to cross compile, use \`--host'. 2999See \`config.log' for more details" "$LINENO" 5; } 3000 fi 3001 fi 3002fi 3003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3004$as_echo "$cross_compiling" >&6; } 3005 3006rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3007ac_clean_files=$ac_clean_files_save 3008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3009$as_echo_n "checking for suffix of object files... " >&6; } 3010if ${ac_cv_objext+:} false; then : 3011 $as_echo_n "(cached) " >&6 3012else 3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3014/* end confdefs.h. */ 3015 3016int 3017main () 3018{ 3019 3020 ; 3021 return 0; 3022} 3023_ACEOF 3024rm -f conftest.o conftest.obj 3025if { { ac_try="$ac_compile" 3026case "(($ac_try" in 3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3028 *) ac_try_echo=$ac_try;; 3029esac 3030eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3031$as_echo "$ac_try_echo"; } >&5 3032 (eval "$ac_compile") 2>&5 3033 ac_status=$? 3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3035 test $ac_status = 0; }; then : 3036 for ac_file in conftest.o conftest.obj conftest.*; do 3037 test -f "$ac_file" || continue; 3038 case $ac_file in 3039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3041 break;; 3042 esac 3043done 3044else 3045 $as_echo "$as_me: failed program was:" >&5 3046sed 's/^/| /' conftest.$ac_ext >&5 3047 3048{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3049$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3050as_fn_error $? "cannot compute suffix of object files: cannot compile 3051See \`config.log' for more details" "$LINENO" 5; } 3052fi 3053rm -f conftest.$ac_cv_objext conftest.$ac_ext 3054fi 3055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3056$as_echo "$ac_cv_objext" >&6; } 3057OBJEXT=$ac_cv_objext 3058ac_objext=$OBJEXT 3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3060$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3061if ${ac_cv_c_compiler_gnu+:} false; then : 3062 $as_echo_n "(cached) " >&6 3063else 3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3065/* end confdefs.h. */ 3066 3067int 3068main () 3069{ 3070#ifndef __GNUC__ 3071 choke me 3072#endif 3073 3074 ; 3075 return 0; 3076} 3077_ACEOF 3078if ac_fn_c_try_compile "$LINENO"; then : 3079 ac_compiler_gnu=yes 3080else 3081 ac_compiler_gnu=no 3082fi 3083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3084ac_cv_c_compiler_gnu=$ac_compiler_gnu 3085 3086fi 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3088$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3089if test $ac_compiler_gnu = yes; then 3090 GCC=yes 3091else 3092 GCC= 3093fi 3094ac_test_CFLAGS=${CFLAGS+set} 3095ac_save_CFLAGS=$CFLAGS 3096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3097$as_echo_n "checking whether $CC accepts -g... " >&6; } 3098if ${ac_cv_prog_cc_g+:} false; then : 3099 $as_echo_n "(cached) " >&6 3100else 3101 ac_save_c_werror_flag=$ac_c_werror_flag 3102 ac_c_werror_flag=yes 3103 ac_cv_prog_cc_g=no 3104 CFLAGS="-g" 3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3106/* end confdefs.h. */ 3107 3108int 3109main () 3110{ 3111 3112 ; 3113 return 0; 3114} 3115_ACEOF 3116if ac_fn_c_try_compile "$LINENO"; then : 3117 ac_cv_prog_cc_g=yes 3118else 3119 CFLAGS="" 3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3121/* end confdefs.h. */ 3122 3123int 3124main () 3125{ 3126 3127 ; 3128 return 0; 3129} 3130_ACEOF 3131if ac_fn_c_try_compile "$LINENO"; then : 3132 3133else 3134 ac_c_werror_flag=$ac_save_c_werror_flag 3135 CFLAGS="-g" 3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3137/* end confdefs.h. */ 3138 3139int 3140main () 3141{ 3142 3143 ; 3144 return 0; 3145} 3146_ACEOF 3147if ac_fn_c_try_compile "$LINENO"; then : 3148 ac_cv_prog_cc_g=yes 3149fi 3150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3151fi 3152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3153fi 3154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3155 ac_c_werror_flag=$ac_save_c_werror_flag 3156fi 3157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3158$as_echo "$ac_cv_prog_cc_g" >&6; } 3159if test "$ac_test_CFLAGS" = set; then 3160 CFLAGS=$ac_save_CFLAGS 3161elif test $ac_cv_prog_cc_g = yes; then 3162 if test "$GCC" = yes; then 3163 CFLAGS="-g -O2" 3164 else 3165 CFLAGS="-g" 3166 fi 3167else 3168 if test "$GCC" = yes; then 3169 CFLAGS="-O2" 3170 else 3171 CFLAGS= 3172 fi 3173fi 3174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3175$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3176if ${ac_cv_prog_cc_c89+:} false; then : 3177 $as_echo_n "(cached) " >&6 3178else 3179 ac_cv_prog_cc_c89=no 3180ac_save_CC=$CC 3181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3182/* end confdefs.h. */ 3183#include <stdarg.h> 3184#include <stdio.h> 3185struct stat; 3186/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3187struct buf { int x; }; 3188FILE * (*rcsopen) (struct buf *, struct stat *, int); 3189static char *e (p, i) 3190 char **p; 3191 int i; 3192{ 3193 return p[i]; 3194} 3195static char *f (char * (*g) (char **, int), char **p, ...) 3196{ 3197 char *s; 3198 va_list v; 3199 va_start (v,p); 3200 s = g (p, va_arg (v,int)); 3201 va_end (v); 3202 return s; 3203} 3204 3205/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3206 function prototypes and stuff, but not '\xHH' hex character constants. 3207 These don't provoke an error unfortunately, instead are silently treated 3208 as 'x'. The following induces an error, until -std is added to get 3209 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3210 array size at least. It's necessary to write '\x00'==0 to get something 3211 that's true only with -std. */ 3212int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3213 3214/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3215 inside strings and character constants. */ 3216#define FOO(x) 'x' 3217int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3218 3219int test (int i, double x); 3220struct s1 {int (*f) (int a);}; 3221struct s2 {int (*f) (double a);}; 3222int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3223int argc; 3224char **argv; 3225int 3226main () 3227{ 3228return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3229 ; 3230 return 0; 3231} 3232_ACEOF 3233for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3234 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3235do 3236 CC="$ac_save_CC $ac_arg" 3237 if ac_fn_c_try_compile "$LINENO"; then : 3238 ac_cv_prog_cc_c89=$ac_arg 3239fi 3240rm -f core conftest.err conftest.$ac_objext 3241 test "x$ac_cv_prog_cc_c89" != "xno" && break 3242done 3243rm -f conftest.$ac_ext 3244CC=$ac_save_CC 3245 3246fi 3247# AC_CACHE_VAL 3248case "x$ac_cv_prog_cc_c89" in 3249 x) 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3251$as_echo "none needed" >&6; } ;; 3252 xno) 3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3254$as_echo "unsupported" >&6; } ;; 3255 *) 3256 CC="$CC $ac_cv_prog_cc_c89" 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3258$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3259esac 3260if test "x$ac_cv_prog_cc_c89" != xno; then : 3261 3262fi 3263 3264ac_ext=c 3265ac_cpp='$CPP $CPPFLAGS' 3266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3268ac_compiler_gnu=$ac_cv_c_compiler_gnu 3269 3270ac_ext=c 3271ac_cpp='$CPP $CPPFLAGS' 3272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3274ac_compiler_gnu=$ac_cv_c_compiler_gnu 3275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3276$as_echo_n "checking how to run the C preprocessor... " >&6; } 3277# On Suns, sometimes $CPP names a directory. 3278if test -n "$CPP" && test -d "$CPP"; then 3279 CPP= 3280fi 3281if test -z "$CPP"; then 3282 if ${ac_cv_prog_CPP+:} false; then : 3283 $as_echo_n "(cached) " >&6 3284else 3285 # Double quotes because CPP needs to be expanded 3286 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3287 do 3288 ac_preproc_ok=false 3289for ac_c_preproc_warn_flag in '' yes 3290do 3291 # Use a header file that comes with gcc, so configuring glibc 3292 # with a fresh cross-compiler works. 3293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3294 # <limits.h> exists even on freestanding compilers. 3295 # On the NeXT, cc -E runs the code through the compiler's parser, 3296 # not just through cpp. "Syntax error" is here to catch this case. 3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3298/* end confdefs.h. */ 3299#ifdef __STDC__ 3300# include <limits.h> 3301#else 3302# include <assert.h> 3303#endif 3304 Syntax error 3305_ACEOF 3306if ac_fn_c_try_cpp "$LINENO"; then : 3307 3308else 3309 # Broken: fails on valid input. 3310continue 3311fi 3312rm -f conftest.err conftest.i conftest.$ac_ext 3313 3314 # OK, works on sane cases. Now check whether nonexistent headers 3315 # can be detected and how. 3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3317/* end confdefs.h. */ 3318#include <ac_nonexistent.h> 3319_ACEOF 3320if ac_fn_c_try_cpp "$LINENO"; then : 3321 # Broken: success on invalid input. 3322continue 3323else 3324 # Passes both tests. 3325ac_preproc_ok=: 3326break 3327fi 3328rm -f conftest.err conftest.i conftest.$ac_ext 3329 3330done 3331# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3332rm -f conftest.i conftest.err conftest.$ac_ext 3333if $ac_preproc_ok; then : 3334 break 3335fi 3336 3337 done 3338 ac_cv_prog_CPP=$CPP 3339 3340fi 3341 CPP=$ac_cv_prog_CPP 3342else 3343 ac_cv_prog_CPP=$CPP 3344fi 3345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3346$as_echo "$CPP" >&6; } 3347ac_preproc_ok=false 3348for ac_c_preproc_warn_flag in '' yes 3349do 3350 # Use a header file that comes with gcc, so configuring glibc 3351 # with a fresh cross-compiler works. 3352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3353 # <limits.h> exists even on freestanding compilers. 3354 # On the NeXT, cc -E runs the code through the compiler's parser, 3355 # not just through cpp. "Syntax error" is here to catch this case. 3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3357/* end confdefs.h. */ 3358#ifdef __STDC__ 3359# include <limits.h> 3360#else 3361# include <assert.h> 3362#endif 3363 Syntax error 3364_ACEOF 3365if ac_fn_c_try_cpp "$LINENO"; then : 3366 3367else 3368 # Broken: fails on valid input. 3369continue 3370fi 3371rm -f conftest.err conftest.i conftest.$ac_ext 3372 3373 # OK, works on sane cases. Now check whether nonexistent headers 3374 # can be detected and how. 3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3376/* end confdefs.h. */ 3377#include <ac_nonexistent.h> 3378_ACEOF 3379if ac_fn_c_try_cpp "$LINENO"; then : 3380 # Broken: success on invalid input. 3381continue 3382else 3383 # Passes both tests. 3384ac_preproc_ok=: 3385break 3386fi 3387rm -f conftest.err conftest.i conftest.$ac_ext 3388 3389done 3390# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3391rm -f conftest.i conftest.err conftest.$ac_ext 3392if $ac_preproc_ok; then : 3393 3394else 3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3396$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3397as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3398See \`config.log' for more details" "$LINENO" 5; } 3399fi 3400 3401ac_ext=c 3402ac_cpp='$CPP $CPPFLAGS' 3403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3405ac_compiler_gnu=$ac_cv_c_compiler_gnu 3406 3407ac_ext=cpp 3408ac_cpp='$CXXCPP $CPPFLAGS' 3409ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3410ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3411ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3412if test -z "$CXX"; then 3413 if test -n "$CCC"; then 3414 CXX=$CCC 3415 else 3416 if test -n "$ac_tool_prefix"; then 3417 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3418 do 3419 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3420set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3422$as_echo_n "checking for $ac_word... " >&6; } 3423if ${ac_cv_prog_CXX+:} false; then : 3424 $as_echo_n "(cached) " >&6 3425else 3426 if test -n "$CXX"; then 3427 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3428else 3429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3430for as_dir in $PATH 3431do 3432 IFS=$as_save_IFS 3433 test -z "$as_dir" && as_dir=. 3434 for ac_exec_ext in '' $ac_executable_extensions; do 3435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3436 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3438 break 2 3439 fi 3440done 3441 done 3442IFS=$as_save_IFS 3443 3444fi 3445fi 3446CXX=$ac_cv_prog_CXX 3447if test -n "$CXX"; then 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3449$as_echo "$CXX" >&6; } 3450else 3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3452$as_echo "no" >&6; } 3453fi 3454 3455 3456 test -n "$CXX" && break 3457 done 3458fi 3459if test -z "$CXX"; then 3460 ac_ct_CXX=$CXX 3461 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3462do 3463 # Extract the first word of "$ac_prog", so it can be a program name with args. 3464set dummy $ac_prog; ac_word=$2 3465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3466$as_echo_n "checking for $ac_word... " >&6; } 3467if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3468 $as_echo_n "(cached) " >&6 3469else 3470 if test -n "$ac_ct_CXX"; then 3471 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3472else 3473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3474for as_dir in $PATH 3475do 3476 IFS=$as_save_IFS 3477 test -z "$as_dir" && as_dir=. 3478 for ac_exec_ext in '' $ac_executable_extensions; do 3479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3480 ac_cv_prog_ac_ct_CXX="$ac_prog" 3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3482 break 2 3483 fi 3484done 3485 done 3486IFS=$as_save_IFS 3487 3488fi 3489fi 3490ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3491if test -n "$ac_ct_CXX"; then 3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3493$as_echo "$ac_ct_CXX" >&6; } 3494else 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3496$as_echo "no" >&6; } 3497fi 3498 3499 3500 test -n "$ac_ct_CXX" && break 3501done 3502 3503 if test "x$ac_ct_CXX" = x; then 3504 CXX="g++" 3505 else 3506 case $cross_compiling:$ac_tool_warned in 3507yes:) 3508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3510ac_tool_warned=yes ;; 3511esac 3512 CXX=$ac_ct_CXX 3513 fi 3514fi 3515 3516 fi 3517fi 3518# Provide some information about the compiler. 3519$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3520set X $ac_compile 3521ac_compiler=$2 3522for ac_option in --version -v -V -qversion; do 3523 { { ac_try="$ac_compiler $ac_option >&5" 3524case "(($ac_try" in 3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3526 *) ac_try_echo=$ac_try;; 3527esac 3528eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3529$as_echo "$ac_try_echo"; } >&5 3530 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3531 ac_status=$? 3532 if test -s conftest.err; then 3533 sed '10a\ 3534... rest of stderr output deleted ... 3535 10q' conftest.err >conftest.er1 3536 cat conftest.er1 >&5 3537 fi 3538 rm -f conftest.er1 conftest.err 3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3540 test $ac_status = 0; } 3541done 3542 3543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3544$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3545if ${ac_cv_cxx_compiler_gnu+:} false; then : 3546 $as_echo_n "(cached) " >&6 3547else 3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3549/* end confdefs.h. */ 3550 3551int 3552main () 3553{ 3554#ifndef __GNUC__ 3555 choke me 3556#endif 3557 3558 ; 3559 return 0; 3560} 3561_ACEOF 3562if ac_fn_cxx_try_compile "$LINENO"; then : 3563 ac_compiler_gnu=yes 3564else 3565 ac_compiler_gnu=no 3566fi 3567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3568ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3569 3570fi 3571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3572$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3573if test $ac_compiler_gnu = yes; then 3574 GXX=yes 3575else 3576 GXX= 3577fi 3578ac_test_CXXFLAGS=${CXXFLAGS+set} 3579ac_save_CXXFLAGS=$CXXFLAGS 3580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3581$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3582if ${ac_cv_prog_cxx_g+:} false; then : 3583 $as_echo_n "(cached) " >&6 3584else 3585 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3586 ac_cxx_werror_flag=yes 3587 ac_cv_prog_cxx_g=no 3588 CXXFLAGS="-g" 3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3590/* end confdefs.h. */ 3591 3592int 3593main () 3594{ 3595 3596 ; 3597 return 0; 3598} 3599_ACEOF 3600if ac_fn_cxx_try_compile "$LINENO"; then : 3601 ac_cv_prog_cxx_g=yes 3602else 3603 CXXFLAGS="" 3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3605/* end confdefs.h. */ 3606 3607int 3608main () 3609{ 3610 3611 ; 3612 return 0; 3613} 3614_ACEOF 3615if ac_fn_cxx_try_compile "$LINENO"; then : 3616 3617else 3618 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3619 CXXFLAGS="-g" 3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3621/* end confdefs.h. */ 3622 3623int 3624main () 3625{ 3626 3627 ; 3628 return 0; 3629} 3630_ACEOF 3631if ac_fn_cxx_try_compile "$LINENO"; then : 3632 ac_cv_prog_cxx_g=yes 3633fi 3634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3635fi 3636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3637fi 3638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3639 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3640fi 3641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3642$as_echo "$ac_cv_prog_cxx_g" >&6; } 3643if test "$ac_test_CXXFLAGS" = set; then 3644 CXXFLAGS=$ac_save_CXXFLAGS 3645elif test $ac_cv_prog_cxx_g = yes; then 3646 if test "$GXX" = yes; then 3647 CXXFLAGS="-g -O2" 3648 else 3649 CXXFLAGS="-g" 3650 fi 3651else 3652 if test "$GXX" = yes; then 3653 CXXFLAGS="-O2" 3654 else 3655 CXXFLAGS= 3656 fi 3657fi 3658ac_ext=c 3659ac_cpp='$CPP $CPPFLAGS' 3660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3662ac_compiler_gnu=$ac_cv_c_compiler_gnu 3663 3664ac_ext=cpp 3665ac_cpp='$CXXCPP $CPPFLAGS' 3666ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 3670$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 3671if test -z "$CXXCPP"; then 3672 if ${ac_cv_prog_CXXCPP+:} false; then : 3673 $as_echo_n "(cached) " >&6 3674else 3675 # Double quotes because CXXCPP needs to be expanded 3676 for CXXCPP in "$CXX -E" "/lib/cpp" 3677 do 3678 ac_preproc_ok=false 3679for ac_cxx_preproc_warn_flag in '' yes 3680do 3681 # Use a header file that comes with gcc, so configuring glibc 3682 # with a fresh cross-compiler works. 3683 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3684 # <limits.h> exists even on freestanding compilers. 3685 # On the NeXT, cc -E runs the code through the compiler's parser, 3686 # not just through cpp. "Syntax error" is here to catch this case. 3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3688/* end confdefs.h. */ 3689#ifdef __STDC__ 3690# include <limits.h> 3691#else 3692# include <assert.h> 3693#endif 3694 Syntax error 3695_ACEOF 3696if ac_fn_cxx_try_cpp "$LINENO"; then : 3697 3698else 3699 # Broken: fails on valid input. 3700continue 3701fi 3702rm -f conftest.err conftest.i conftest.$ac_ext 3703 3704 # OK, works on sane cases. Now check whether nonexistent headers 3705 # can be detected and how. 3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3707/* end confdefs.h. */ 3708#include <ac_nonexistent.h> 3709_ACEOF 3710if ac_fn_cxx_try_cpp "$LINENO"; then : 3711 # Broken: success on invalid input. 3712continue 3713else 3714 # Passes both tests. 3715ac_preproc_ok=: 3716break 3717fi 3718rm -f conftest.err conftest.i conftest.$ac_ext 3719 3720done 3721# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3722rm -f conftest.i conftest.err conftest.$ac_ext 3723if $ac_preproc_ok; then : 3724 break 3725fi 3726 3727 done 3728 ac_cv_prog_CXXCPP=$CXXCPP 3729 3730fi 3731 CXXCPP=$ac_cv_prog_CXXCPP 3732else 3733 ac_cv_prog_CXXCPP=$CXXCPP 3734fi 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 3736$as_echo "$CXXCPP" >&6; } 3737ac_preproc_ok=false 3738for ac_cxx_preproc_warn_flag in '' yes 3739do 3740 # Use a header file that comes with gcc, so configuring glibc 3741 # with a fresh cross-compiler works. 3742 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3743 # <limits.h> exists even on freestanding compilers. 3744 # On the NeXT, cc -E runs the code through the compiler's parser, 3745 # not just through cpp. "Syntax error" is here to catch this case. 3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3747/* end confdefs.h. */ 3748#ifdef __STDC__ 3749# include <limits.h> 3750#else 3751# include <assert.h> 3752#endif 3753 Syntax error 3754_ACEOF 3755if ac_fn_cxx_try_cpp "$LINENO"; then : 3756 3757else 3758 # Broken: fails on valid input. 3759continue 3760fi 3761rm -f conftest.err conftest.i conftest.$ac_ext 3762 3763 # OK, works on sane cases. Now check whether nonexistent headers 3764 # can be detected and how. 3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3766/* end confdefs.h. */ 3767#include <ac_nonexistent.h> 3768_ACEOF 3769if ac_fn_cxx_try_cpp "$LINENO"; then : 3770 # Broken: success on invalid input. 3771continue 3772else 3773 # Passes both tests. 3774ac_preproc_ok=: 3775break 3776fi 3777rm -f conftest.err conftest.i conftest.$ac_ext 3778 3779done 3780# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3781rm -f conftest.i conftest.err conftest.$ac_ext 3782if $ac_preproc_ok; then : 3783 3784else 3785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3786$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3787as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 3788See \`config.log' for more details" "$LINENO" 5; } 3789fi 3790 3791ac_ext=c 3792ac_cpp='$CPP $CPPFLAGS' 3793ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3794ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3795ac_compiler_gnu=$ac_cv_c_compiler_gnu 3796 3797 3798# Checks for languages. 3799ac_ext=cpp 3800ac_cpp='$CXXCPP $CPPFLAGS' 3801ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3802ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3803ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3804 3805 3806# Check for pkg-config. 3807 3808 3809 3810 3811 3812 3813 3814if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3815 if test -n "$ac_tool_prefix"; then 3816 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3817set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3819$as_echo_n "checking for $ac_word... " >&6; } 3820if ${ac_cv_path_PKG_CONFIG+:} false; then : 3821 $as_echo_n "(cached) " >&6 3822else 3823 case $PKG_CONFIG in 3824 [\\/]* | ?:[\\/]*) 3825 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3826 ;; 3827 *) 3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3829for as_dir in $PATH 3830do 3831 IFS=$as_save_IFS 3832 test -z "$as_dir" && as_dir=. 3833 for ac_exec_ext in '' $ac_executable_extensions; do 3834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3835 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3837 break 2 3838 fi 3839done 3840 done 3841IFS=$as_save_IFS 3842 3843 ;; 3844esac 3845fi 3846PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3847if test -n "$PKG_CONFIG"; then 3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 3849$as_echo "$PKG_CONFIG" >&6; } 3850else 3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3852$as_echo "no" >&6; } 3853fi 3854 3855 3856fi 3857if test -z "$ac_cv_path_PKG_CONFIG"; then 3858 ac_pt_PKG_CONFIG=$PKG_CONFIG 3859 # Extract the first word of "pkg-config", so it can be a program name with args. 3860set dummy pkg-config; ac_word=$2 3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3862$as_echo_n "checking for $ac_word... " >&6; } 3863if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 3864 $as_echo_n "(cached) " >&6 3865else 3866 case $ac_pt_PKG_CONFIG in 3867 [\\/]* | ?:[\\/]*) 3868 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3869 ;; 3870 *) 3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3872for as_dir in $PATH 3873do 3874 IFS=$as_save_IFS 3875 test -z "$as_dir" && as_dir=. 3876 for ac_exec_ext in '' $ac_executable_extensions; do 3877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3878 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3880 break 2 3881 fi 3882done 3883 done 3884IFS=$as_save_IFS 3885 3886 ;; 3887esac 3888fi 3889ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3890if test -n "$ac_pt_PKG_CONFIG"; then 3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 3892$as_echo "$ac_pt_PKG_CONFIG" >&6; } 3893else 3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3895$as_echo "no" >&6; } 3896fi 3897 3898 if test "x$ac_pt_PKG_CONFIG" = x; then 3899 PKG_CONFIG="" 3900 else 3901 case $cross_compiling:$ac_tool_warned in 3902yes:) 3903{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3904$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3905ac_tool_warned=yes ;; 3906esac 3907 PKG_CONFIG=$ac_pt_PKG_CONFIG 3908 fi 3909else 3910 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3911fi 3912 3913fi 3914if test -n "$PKG_CONFIG"; then 3915 _pkg_min_version=0.9.0 3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 3917$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 3918 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3920$as_echo "yes" >&6; } 3921 else 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3923$as_echo "no" >&6; } 3924 PKG_CONFIG="" 3925 fi 3926fi 3927 3928# Check whether -std=c++11 support is necessary (4 < g++ version < 6). 3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ major version" >&5 3930$as_echo_n "checking for g++ major version... " >&6; } 3931if ${ac_cv_gxx_version_major+:} false; then : 3932 $as_echo_n "(cached) " >&6 3933else 3934 3935 ac_cv_gxx_version_major=$($CC -dumpversion) 3936 if test -n "$ac_cv_gxx_version_major"; then 3937 ac_cv_gxx_version_major=$(echo $ac_cv_gxx_version_major | cut -d'.' -f1); 3938 fi 3939 ac_gxx_version_major=$(($ac_cv_gxx_version_major + 0)) 3940 3941fi 3942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gxx_version_major" >&5 3943$as_echo "$ac_cv_gxx_version_major" >&6; } 3944ac_gxx_version_major=$ac_cv_gxx_version_major 3945if test $ac_gxx_version_major -ge 4 -a $ac_gxx_version_major -lt 6; then 3946 CXXFLAGS="-std=c++11 $CXXFLAGS" 3947 ac_cflags="-std=c++11 $ac_cflags" 3948elif test $ac_gxx_version_major -ge 6 -a $ac_gxx_version_major -lt 11; then 3949 CXXFLAGS="-std=c++17 $CXXFLAGS" 3950 ac_cflags="-std=c++17 $ac_cflags" 3951fi 3952 3953# Check for proper flags. 3954ac_arch=$(uname -m) 3955 3956# Check for install paths and alternatives... 3957ac_libdirs="lib" 3958 3959if test "x$ac_arch" = "xx86_64"; then 3960 ac_libdirs="$ac_libdirs lib64" 3961fi 3962 3963CFLAGS="-fPIC $CFLAGS" 3964CPPFLAGS="-fPIC $CPPFLAGS" 3965 3966# Prepend alternate dependencies paths. 3967for X in $ac_with_paths; do 3968 if test -d $X/bin; then 3969 ac_path="$X/bin:$ac_path" 3970 fi 3971 if test -d $X/include; then 3972 CFLAGS="-I$X/include $CFLAGS " 3973 CPPFLAGS="-I$X/include $CPPFLAGS" 3974 ac_incpath="$X/include $ac_incpath" 3975 fi 3976 for Y in $ac_libdirs; do 3977 if test -d $X/$Y; then 3978 LIBS="-L$X/$Y $LIBS" 3979 ac_libs="-L$X/$Y $ac_libs" 3980 if test -d $X/$Y/pkgconfig; then 3981 ac_pkg_config_path="$X/$Y/pkgconfig:$ac_pkg_config_path" 3982 fi 3983 fi 3984 done 3985done 3986 3987# Set pkg-config path. 3988if test -n "$ac_pkg_config_path"; then 3989 export PKG_CONFIG_PATH=$ac_pkg_config_path 3990fi 3991 3992 3993# A common error message: 3994ac_errmsg="not found in current PATH. Maybe QT development environment isn't available." 3995 3996# Check for qtchooser availability. 3997if test -n "$ac_tool_prefix"; then 3998 # Extract the first word of "${ac_tool_prefix}qtchooser", so it can be a program name with args. 3999set dummy ${ac_tool_prefix}qtchooser; ac_word=$2 4000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4001$as_echo_n "checking for $ac_word... " >&6; } 4002if ${ac_cv_path_ac_qtchooser+:} false; then : 4003 $as_echo_n "(cached) " >&6 4004else 4005 case $ac_qtchooser in 4006 [\\/]* | ?:[\\/]*) 4007 ac_cv_path_ac_qtchooser="$ac_qtchooser" # Let the user override the test with a path. 4008 ;; 4009 *) 4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4011for as_dir in $ac_path 4012do 4013 IFS=$as_save_IFS 4014 test -z "$as_dir" && as_dir=. 4015 for ac_exec_ext in '' $ac_executable_extensions; do 4016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4017 ac_cv_path_ac_qtchooser="$as_dir/$ac_word$ac_exec_ext" 4018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4019 break 2 4020 fi 4021done 4022 done 4023IFS=$as_save_IFS 4024 4025 ;; 4026esac 4027fi 4028ac_qtchooser=$ac_cv_path_ac_qtchooser 4029if test -n "$ac_qtchooser"; then 4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_qtchooser" >&5 4031$as_echo "$ac_qtchooser" >&6; } 4032else 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4034$as_echo "no" >&6; } 4035fi 4036 4037 4038fi 4039if test -z "$ac_cv_path_ac_qtchooser"; then 4040 ac_pt_ac_qtchooser=$ac_qtchooser 4041 # Extract the first word of "qtchooser", so it can be a program name with args. 4042set dummy qtchooser; ac_word=$2 4043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4044$as_echo_n "checking for $ac_word... " >&6; } 4045if ${ac_cv_path_ac_pt_ac_qtchooser+:} false; then : 4046 $as_echo_n "(cached) " >&6 4047else 4048 case $ac_pt_ac_qtchooser in 4049 [\\/]* | ?:[\\/]*) 4050 ac_cv_path_ac_pt_ac_qtchooser="$ac_pt_ac_qtchooser" # Let the user override the test with a path. 4051 ;; 4052 *) 4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4054for as_dir in $ac_path 4055do 4056 IFS=$as_save_IFS 4057 test -z "$as_dir" && as_dir=. 4058 for ac_exec_ext in '' $ac_executable_extensions; do 4059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4060 ac_cv_path_ac_pt_ac_qtchooser="$as_dir/$ac_word$ac_exec_ext" 4061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4062 break 2 4063 fi 4064done 4065 done 4066IFS=$as_save_IFS 4067 4068 ;; 4069esac 4070fi 4071ac_pt_ac_qtchooser=$ac_cv_path_ac_pt_ac_qtchooser 4072if test -n "$ac_pt_ac_qtchooser"; then 4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_qtchooser" >&5 4074$as_echo "$ac_pt_ac_qtchooser" >&6; } 4075else 4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4077$as_echo "no" >&6; } 4078fi 4079 4080 if test "x$ac_pt_ac_qtchooser" = x; then 4081 ac_qtchooser="no" 4082 else 4083 case $cross_compiling:$ac_tool_warned in 4084yes:) 4085{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4086$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4087ac_tool_warned=yes ;; 4088esac 4089 ac_qtchooser=$ac_pt_ac_qtchooser 4090 fi 4091else 4092 ac_qtchooser="$ac_cv_path_ac_qtchooser" 4093fi 4094 4095if test -x $ac_qtchooser; then 4096 export QT_SELECT=5 4097fi 4098 4099# Check for proper qmake path/version alternatives. 4100if test -n "$ac_tool_prefix"; then 4101 # Extract the first word of "${ac_tool_prefix}qmake", so it can be a program name with args. 4102set dummy ${ac_tool_prefix}qmake; ac_word=$2 4103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4104$as_echo_n "checking for $ac_word... " >&6; } 4105if ${ac_cv_path_ac_qmake+:} false; then : 4106 $as_echo_n "(cached) " >&6 4107else 4108 case $ac_qmake in 4109 [\\/]* | ?:[\\/]*) 4110 ac_cv_path_ac_qmake="$ac_qmake" # Let the user override the test with a path. 4111 ;; 4112 *) 4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4114for as_dir in $ac_path 4115do 4116 IFS=$as_save_IFS 4117 test -z "$as_dir" && as_dir=. 4118 for ac_exec_ext in '' $ac_executable_extensions; do 4119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4120 ac_cv_path_ac_qmake="$as_dir/$ac_word$ac_exec_ext" 4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4122 break 2 4123 fi 4124done 4125 done 4126IFS=$as_save_IFS 4127 4128 ;; 4129esac 4130fi 4131ac_qmake=$ac_cv_path_ac_qmake 4132if test -n "$ac_qmake"; then 4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_qmake" >&5 4134$as_echo "$ac_qmake" >&6; } 4135else 4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4137$as_echo "no" >&6; } 4138fi 4139 4140 4141fi 4142if test -z "$ac_cv_path_ac_qmake"; then 4143 ac_pt_ac_qmake=$ac_qmake 4144 # Extract the first word of "qmake", so it can be a program name with args. 4145set dummy qmake; ac_word=$2 4146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4147$as_echo_n "checking for $ac_word... " >&6; } 4148if ${ac_cv_path_ac_pt_ac_qmake+:} false; then : 4149 $as_echo_n "(cached) " >&6 4150else 4151 case $ac_pt_ac_qmake in 4152 [\\/]* | ?:[\\/]*) 4153 ac_cv_path_ac_pt_ac_qmake="$ac_pt_ac_qmake" # Let the user override the test with a path. 4154 ;; 4155 *) 4156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4157for as_dir in $ac_path 4158do 4159 IFS=$as_save_IFS 4160 test -z "$as_dir" && as_dir=. 4161 for ac_exec_ext in '' $ac_executable_extensions; do 4162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4163 ac_cv_path_ac_pt_ac_qmake="$as_dir/$ac_word$ac_exec_ext" 4164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4165 break 2 4166 fi 4167done 4168 done 4169IFS=$as_save_IFS 4170 4171 ;; 4172esac 4173fi 4174ac_pt_ac_qmake=$ac_cv_path_ac_pt_ac_qmake 4175if test -n "$ac_pt_ac_qmake"; then 4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_qmake" >&5 4177$as_echo "$ac_pt_ac_qmake" >&6; } 4178else 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4180$as_echo "no" >&6; } 4181fi 4182 4183 if test "x$ac_pt_ac_qmake" = x; then 4184 ac_qmake="no" 4185 else 4186 case $cross_compiling:$ac_tool_warned in 4187yes:) 4188{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4189$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4190ac_tool_warned=yes ;; 4191esac 4192 ac_qmake=$ac_pt_ac_qmake 4193 fi 4194else 4195 ac_qmake="$ac_cv_path_ac_qmake" 4196fi 4197 4198if test "x$ac_qmake" = "xno"; then 4199 if test -n "$ac_tool_prefix"; then 4200 # Extract the first word of "${ac_tool_prefix}qmake-qt5", so it can be a program name with args. 4201set dummy ${ac_tool_prefix}qmake-qt5; ac_word=$2 4202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4203$as_echo_n "checking for $ac_word... " >&6; } 4204if ${ac_cv_path_ac_cv_qmake+:} false; then : 4205 $as_echo_n "(cached) " >&6 4206else 4207 case $ac_cv_qmake in 4208 [\\/]* | ?:[\\/]*) 4209 ac_cv_path_ac_cv_qmake="$ac_cv_qmake" # Let the user override the test with a path. 4210 ;; 4211 *) 4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4213for as_dir in $ac_path 4214do 4215 IFS=$as_save_IFS 4216 test -z "$as_dir" && as_dir=. 4217 for ac_exec_ext in '' $ac_executable_extensions; do 4218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4219 ac_cv_path_ac_cv_qmake="$as_dir/$ac_word$ac_exec_ext" 4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4221 break 2 4222 fi 4223done 4224 done 4225IFS=$as_save_IFS 4226 4227 ;; 4228esac 4229fi 4230ac_cv_qmake=$ac_cv_path_ac_cv_qmake 4231if test -n "$ac_cv_qmake"; then 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qmake" >&5 4233$as_echo "$ac_cv_qmake" >&6; } 4234else 4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4236$as_echo "no" >&6; } 4237fi 4238 4239 4240fi 4241if test -z "$ac_cv_path_ac_cv_qmake"; then 4242 ac_pt_ac_cv_qmake=$ac_cv_qmake 4243 # Extract the first word of "qmake-qt5", so it can be a program name with args. 4244set dummy qmake-qt5; ac_word=$2 4245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4246$as_echo_n "checking for $ac_word... " >&6; } 4247if ${ac_cv_path_ac_pt_ac_cv_qmake+:} false; then : 4248 $as_echo_n "(cached) " >&6 4249else 4250 case $ac_pt_ac_cv_qmake in 4251 [\\/]* | ?:[\\/]*) 4252 ac_cv_path_ac_pt_ac_cv_qmake="$ac_pt_ac_cv_qmake" # Let the user override the test with a path. 4253 ;; 4254 *) 4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4256for as_dir in $ac_path 4257do 4258 IFS=$as_save_IFS 4259 test -z "$as_dir" && as_dir=. 4260 for ac_exec_ext in '' $ac_executable_extensions; do 4261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4262 ac_cv_path_ac_pt_ac_cv_qmake="$as_dir/$ac_word$ac_exec_ext" 4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4264 break 2 4265 fi 4266done 4267 done 4268IFS=$as_save_IFS 4269 4270 ;; 4271esac 4272fi 4273ac_pt_ac_cv_qmake=$ac_cv_path_ac_pt_ac_cv_qmake 4274if test -n "$ac_pt_ac_cv_qmake"; then 4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_cv_qmake" >&5 4276$as_echo "$ac_pt_ac_cv_qmake" >&6; } 4277else 4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4279$as_echo "no" >&6; } 4280fi 4281 4282 if test "x$ac_pt_ac_cv_qmake" = x; then 4283 ac_cv_qmake="no" 4284 else 4285 case $cross_compiling:$ac_tool_warned in 4286yes:) 4287{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4288$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4289ac_tool_warned=yes ;; 4290esac 4291 ac_cv_qmake=$ac_pt_ac_cv_qmake 4292 fi 4293else 4294 ac_cv_qmake="$ac_cv_path_ac_cv_qmake" 4295fi 4296 4297 ac_qmake=$ac_cv_qmake 4298fi 4299if test "x$ac_qmake" = "xno"; then 4300 if test -n "$ac_tool_prefix"; then 4301 # Extract the first word of "${ac_tool_prefix}qmake-qt6", so it can be a program name with args. 4302set dummy ${ac_tool_prefix}qmake-qt6; ac_word=$2 4303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4304$as_echo_n "checking for $ac_word... " >&6; } 4305if ${ac_cv_path_ac_cv_qmake+:} false; then : 4306 $as_echo_n "(cached) " >&6 4307else 4308 case $ac_cv_qmake in 4309 [\\/]* | ?:[\\/]*) 4310 ac_cv_path_ac_cv_qmake="$ac_cv_qmake" # Let the user override the test with a path. 4311 ;; 4312 *) 4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4314for as_dir in $ac_path 4315do 4316 IFS=$as_save_IFS 4317 test -z "$as_dir" && as_dir=. 4318 for ac_exec_ext in '' $ac_executable_extensions; do 4319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4320 ac_cv_path_ac_cv_qmake="$as_dir/$ac_word$ac_exec_ext" 4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4322 break 2 4323 fi 4324done 4325 done 4326IFS=$as_save_IFS 4327 4328 ;; 4329esac 4330fi 4331ac_cv_qmake=$ac_cv_path_ac_cv_qmake 4332if test -n "$ac_cv_qmake"; then 4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qmake" >&5 4334$as_echo "$ac_cv_qmake" >&6; } 4335else 4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4337$as_echo "no" >&6; } 4338fi 4339 4340 4341fi 4342if test -z "$ac_cv_path_ac_cv_qmake"; then 4343 ac_pt_ac_cv_qmake=$ac_cv_qmake 4344 # Extract the first word of "qmake-qt6", so it can be a program name with args. 4345set dummy qmake-qt6; ac_word=$2 4346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4347$as_echo_n "checking for $ac_word... " >&6; } 4348if ${ac_cv_path_ac_pt_ac_cv_qmake+:} false; then : 4349 $as_echo_n "(cached) " >&6 4350else 4351 case $ac_pt_ac_cv_qmake in 4352 [\\/]* | ?:[\\/]*) 4353 ac_cv_path_ac_pt_ac_cv_qmake="$ac_pt_ac_cv_qmake" # Let the user override the test with a path. 4354 ;; 4355 *) 4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4357for as_dir in $ac_path 4358do 4359 IFS=$as_save_IFS 4360 test -z "$as_dir" && as_dir=. 4361 for ac_exec_ext in '' $ac_executable_extensions; do 4362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4363 ac_cv_path_ac_pt_ac_cv_qmake="$as_dir/$ac_word$ac_exec_ext" 4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4365 break 2 4366 fi 4367done 4368 done 4369IFS=$as_save_IFS 4370 4371 ;; 4372esac 4373fi 4374ac_pt_ac_cv_qmake=$ac_cv_path_ac_pt_ac_cv_qmake 4375if test -n "$ac_pt_ac_cv_qmake"; then 4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_cv_qmake" >&5 4377$as_echo "$ac_pt_ac_cv_qmake" >&6; } 4378else 4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4380$as_echo "no" >&6; } 4381fi 4382 4383 if test "x$ac_pt_ac_cv_qmake" = x; then 4384 ac_cv_qmake="no" 4385 else 4386 case $cross_compiling:$ac_tool_warned in 4387yes:) 4388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4390ac_tool_warned=yes ;; 4391esac 4392 ac_cv_qmake=$ac_pt_ac_cv_qmake 4393 fi 4394else 4395 ac_cv_qmake="$ac_cv_path_ac_cv_qmake" 4396fi 4397 4398 ac_qmake=$ac_cv_qmake 4399fi 4400 4401# Check for proper Qt major version. 4402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt major version" >&5 4403$as_echo_n "checking for Qt major version... " >&6; } 4404if ${ac_cv_qt_version_major+:} false; then : 4405 $as_echo_n "(cached) " >&6 4406else 4407 4408 ac_cv_qt_version_major=$($ac_qmake -query QT_VERSION | cut -d'.' -f1) 4409 ac_cv_qt_version_major=$(($ac_cv_qt_version_major + 0)) 4410 4411fi 4412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qt_version_major" >&5 4413$as_echo "$ac_cv_qt_version_major" >&6; } 4414ac_qt_version_major=$ac_cv_qt_version_major 4415if test "x$ac_qmake" = "xno"; then 4416 if test $ac_qt_version_major -lt 6; then 4417 as_fn_error $? "qmake-qt5 $ac_errmsg (qt5-devel)" "$LINENO" 5 4418 else 4419 as_fn_error $? "qmake-qt6 $ac_errmsg (qt6-devel)" "$LINENO" 5 4420 fi 4421fi 4422 4423# Check for proper Qt install path. 4424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt install path" >&5 4425$as_echo_n "checking for Qt install path... " >&6; } 4426if ${ac_cv_qt_install_path+:} false; then : 4427 $as_echo_n "(cached) " >&6 4428else 4429 4430 ac_cv_qt_install_path=$($ac_qmake -query QT_INSTALL_BINS) 4431 4432fi 4433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qt_install_path" >&5 4434$as_echo "$ac_cv_qt_install_path" >&6; } 4435ac_qt_install_path=$ac_cv_qt_install_path 4436if test -d $ac_qt_install_path; then 4437 ac_path="$ac_qt_install_path:$ac_path" 4438fi 4439 4440# Check it again, now with updated PATH, just in case... 4441if test -n "$ac_tool_prefix"; then 4442 # Extract the first word of "${ac_tool_prefix}qmake", so it can be a program name with args. 4443set dummy ${ac_tool_prefix}qmake; ac_word=$2 4444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4445$as_echo_n "checking for $ac_word... " >&6; } 4446if ${ac_cv_path_ac_cv_qmake+:} false; then : 4447 $as_echo_n "(cached) " >&6 4448else 4449 case $ac_cv_qmake in 4450 [\\/]* | ?:[\\/]*) 4451 ac_cv_path_ac_cv_qmake="$ac_cv_qmake" # Let the user override the test with a path. 4452 ;; 4453 *) 4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4455for as_dir in $ac_path 4456do 4457 IFS=$as_save_IFS 4458 test -z "$as_dir" && as_dir=. 4459 for ac_exec_ext in '' $ac_executable_extensions; do 4460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4461 ac_cv_path_ac_cv_qmake="$as_dir/$ac_word$ac_exec_ext" 4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4463 break 2 4464 fi 4465done 4466 done 4467IFS=$as_save_IFS 4468 4469 ;; 4470esac 4471fi 4472ac_cv_qmake=$ac_cv_path_ac_cv_qmake 4473if test -n "$ac_cv_qmake"; then 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qmake" >&5 4475$as_echo "$ac_cv_qmake" >&6; } 4476else 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4478$as_echo "no" >&6; } 4479fi 4480 4481 4482fi 4483if test -z "$ac_cv_path_ac_cv_qmake"; then 4484 ac_pt_ac_cv_qmake=$ac_cv_qmake 4485 # Extract the first word of "qmake", so it can be a program name with args. 4486set dummy qmake; ac_word=$2 4487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4488$as_echo_n "checking for $ac_word... " >&6; } 4489if ${ac_cv_path_ac_pt_ac_cv_qmake+:} false; then : 4490 $as_echo_n "(cached) " >&6 4491else 4492 case $ac_pt_ac_cv_qmake in 4493 [\\/]* | ?:[\\/]*) 4494 ac_cv_path_ac_pt_ac_cv_qmake="$ac_pt_ac_cv_qmake" # Let the user override the test with a path. 4495 ;; 4496 *) 4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4498for as_dir in $ac_path 4499do 4500 IFS=$as_save_IFS 4501 test -z "$as_dir" && as_dir=. 4502 for ac_exec_ext in '' $ac_executable_extensions; do 4503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4504 ac_cv_path_ac_pt_ac_cv_qmake="$as_dir/$ac_word$ac_exec_ext" 4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4506 break 2 4507 fi 4508done 4509 done 4510IFS=$as_save_IFS 4511 4512 ;; 4513esac 4514fi 4515ac_pt_ac_cv_qmake=$ac_cv_path_ac_pt_ac_cv_qmake 4516if test -n "$ac_pt_ac_cv_qmake"; then 4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_cv_qmake" >&5 4518$as_echo "$ac_pt_ac_cv_qmake" >&6; } 4519else 4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4521$as_echo "no" >&6; } 4522fi 4523 4524 if test "x$ac_pt_ac_cv_qmake" = x; then 4525 ac_cv_qmake="no" 4526 else 4527 case $cross_compiling:$ac_tool_warned in 4528yes:) 4529{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4530$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4531ac_tool_warned=yes ;; 4532esac 4533 ac_cv_qmake=$ac_pt_ac_cv_qmake 4534 fi 4535else 4536 ac_cv_qmake="$ac_cv_path_ac_cv_qmake" 4537fi 4538 4539ac_qmake=$ac_cv_qmake 4540if test "x$ac_qmake" = "xno"; then 4541 as_fn_error $? "qmake $ac_errmsg" "$LINENO" 5 4542fi 4543 4544 4545 4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt install headers" >&5 4547$as_echo_n "checking for Qt install headers... " >&6; } 4548if ${ac_cv_qt_install_headers+:} false; then : 4549 $as_echo_n "(cached) " >&6 4550else 4551 4552 ac_cv_qt_install_headers=$($ac_qmake -query QT_INSTALL_HEADERS) 4553 4554fi 4555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qt_install_headers" >&5 4556$as_echo "$ac_cv_qt_install_headers" >&6; } 4557ac_qt_install_headers=$ac_cv_qt_install_headers 4558if test -d $ac_qt_install_headers; then 4559 CFLAGS="-I$ac_qt_install_headers $CFLAGS " 4560 CPPFLAGS="-I$ac_qt_install_headers $CPPFLAGS" 4561 ac_incpath="$ac_qt_install_headers $ac_incpath" 4562fi 4563 4564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt install libraries" >&5 4565$as_echo_n "checking for Qt install libraries... " >&6; } 4566if ${ac_cv_qt_install_libs+:} false; then : 4567 $as_echo_n "(cached) " >&6 4568else 4569 4570 ac_cv_qt_install_libs=$($ac_qmake -query QT_INSTALL_LIBS) 4571 4572fi 4573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qt_install_libs" >&5 4574$as_echo "$ac_cv_qt_install_libs" >&6; } 4575ac_qt_install_libs=$ac_cv_qt_install_libs 4576if test -d $ac_qt_install_libs; then 4577 LIBS="-L$ac_qt_install_libs $LIBS" 4578 ac_libs="-L$ac_qt_install_libs $ac_libs" 4579fi 4580 4581# Finally, check for proper Qt version. 4582 4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt library version >= 5.1" >&5 4584$as_echo_n "checking for Qt library version >= 5.1... " >&6; } 4585if ${ac_cv_qtversion+:} false; then : 4586 $as_echo_n "(cached) " >&6 4587else 4588 4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4590/* end confdefs.h. */ 4591#include "QtCore/qglobal.h" 4592int 4593main () 4594{ 4595 4596 #if QT_VERSION < 0x050100 4597 #error Qt library 5.1 or greater required. 4598 #endif 4599 4600 ; 4601 return 0; 4602} 4603_ACEOF 4604if ac_fn_cxx_try_compile "$LINENO"; then : 4605 ac_cv_qtversion="yes" 4606else 4607 4608 echo "no; Qt 5.1 or greater is required" 4609 exit 1 4610 4611fi 4612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4613 4614fi 4615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_qtversion" >&5 4616$as_echo "$ac_cv_qtversion" >&6; } 4617 4618# Check for Qt moc utility. 4619if test -n "$ac_tool_prefix"; then 4620 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args. 4621set dummy ${ac_tool_prefix}moc; ac_word=$2 4622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4623$as_echo_n "checking for $ac_word... " >&6; } 4624if ${ac_cv_path_ac_moc+:} false; then : 4625 $as_echo_n "(cached) " >&6 4626else 4627 case $ac_moc in 4628 [\\/]* | ?:[\\/]*) 4629 ac_cv_path_ac_moc="$ac_moc" # Let the user override the test with a path. 4630 ;; 4631 *) 4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4633for as_dir in $ac_path 4634do 4635 IFS=$as_save_IFS 4636 test -z "$as_dir" && as_dir=. 4637 for ac_exec_ext in '' $ac_executable_extensions; do 4638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4639 ac_cv_path_ac_moc="$as_dir/$ac_word$ac_exec_ext" 4640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4641 break 2 4642 fi 4643done 4644 done 4645IFS=$as_save_IFS 4646 4647 ;; 4648esac 4649fi 4650ac_moc=$ac_cv_path_ac_moc 4651if test -n "$ac_moc"; then 4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_moc" >&5 4653$as_echo "$ac_moc" >&6; } 4654else 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4656$as_echo "no" >&6; } 4657fi 4658 4659 4660fi 4661if test -z "$ac_cv_path_ac_moc"; then 4662 ac_pt_ac_moc=$ac_moc 4663 # Extract the first word of "moc", so it can be a program name with args. 4664set dummy moc; ac_word=$2 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4666$as_echo_n "checking for $ac_word... " >&6; } 4667if ${ac_cv_path_ac_pt_ac_moc+:} false; then : 4668 $as_echo_n "(cached) " >&6 4669else 4670 case $ac_pt_ac_moc in 4671 [\\/]* | ?:[\\/]*) 4672 ac_cv_path_ac_pt_ac_moc="$ac_pt_ac_moc" # Let the user override the test with a path. 4673 ;; 4674 *) 4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4676for as_dir in $ac_path 4677do 4678 IFS=$as_save_IFS 4679 test -z "$as_dir" && as_dir=. 4680 for ac_exec_ext in '' $ac_executable_extensions; do 4681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4682 ac_cv_path_ac_pt_ac_moc="$as_dir/$ac_word$ac_exec_ext" 4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4684 break 2 4685 fi 4686done 4687 done 4688IFS=$as_save_IFS 4689 4690 ;; 4691esac 4692fi 4693ac_pt_ac_moc=$ac_cv_path_ac_pt_ac_moc 4694if test -n "$ac_pt_ac_moc"; then 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_moc" >&5 4696$as_echo "$ac_pt_ac_moc" >&6; } 4697else 4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4699$as_echo "no" >&6; } 4700fi 4701 4702 if test "x$ac_pt_ac_moc" = x; then 4703 ac_moc="no" 4704 else 4705 case $cross_compiling:$ac_tool_warned in 4706yes:) 4707{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4708$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4709ac_tool_warned=yes ;; 4710esac 4711 ac_moc=$ac_pt_ac_moc 4712 fi 4713else 4714 ac_moc="$ac_cv_path_ac_moc" 4715fi 4716 4717if test "x$ac_moc" = "xno"; then 4718 as_fn_error $? "moc $ac_errmsg" "$LINENO" 5 4719fi 4720 4721 4722# Check for Qt uic utility. 4723if test -n "$ac_tool_prefix"; then 4724 # Extract the first word of "${ac_tool_prefix}uic", so it can be a program name with args. 4725set dummy ${ac_tool_prefix}uic; ac_word=$2 4726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4727$as_echo_n "checking for $ac_word... " >&6; } 4728if ${ac_cv_path_ac_uic+:} false; then : 4729 $as_echo_n "(cached) " >&6 4730else 4731 case $ac_uic in 4732 [\\/]* | ?:[\\/]*) 4733 ac_cv_path_ac_uic="$ac_uic" # Let the user override the test with a path. 4734 ;; 4735 *) 4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4737for as_dir in $ac_path 4738do 4739 IFS=$as_save_IFS 4740 test -z "$as_dir" && as_dir=. 4741 for ac_exec_ext in '' $ac_executable_extensions; do 4742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4743 ac_cv_path_ac_uic="$as_dir/$ac_word$ac_exec_ext" 4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4745 break 2 4746 fi 4747done 4748 done 4749IFS=$as_save_IFS 4750 4751 ;; 4752esac 4753fi 4754ac_uic=$ac_cv_path_ac_uic 4755if test -n "$ac_uic"; then 4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uic" >&5 4757$as_echo "$ac_uic" >&6; } 4758else 4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4760$as_echo "no" >&6; } 4761fi 4762 4763 4764fi 4765if test -z "$ac_cv_path_ac_uic"; then 4766 ac_pt_ac_uic=$ac_uic 4767 # Extract the first word of "uic", so it can be a program name with args. 4768set dummy uic; ac_word=$2 4769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4770$as_echo_n "checking for $ac_word... " >&6; } 4771if ${ac_cv_path_ac_pt_ac_uic+:} false; then : 4772 $as_echo_n "(cached) " >&6 4773else 4774 case $ac_pt_ac_uic in 4775 [\\/]* | ?:[\\/]*) 4776 ac_cv_path_ac_pt_ac_uic="$ac_pt_ac_uic" # Let the user override the test with a path. 4777 ;; 4778 *) 4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4780for as_dir in $ac_path 4781do 4782 IFS=$as_save_IFS 4783 test -z "$as_dir" && as_dir=. 4784 for ac_exec_ext in '' $ac_executable_extensions; do 4785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4786 ac_cv_path_ac_pt_ac_uic="$as_dir/$ac_word$ac_exec_ext" 4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4788 break 2 4789 fi 4790done 4791 done 4792IFS=$as_save_IFS 4793 4794 ;; 4795esac 4796fi 4797ac_pt_ac_uic=$ac_cv_path_ac_pt_ac_uic 4798if test -n "$ac_pt_ac_uic"; then 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_uic" >&5 4800$as_echo "$ac_pt_ac_uic" >&6; } 4801else 4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4803$as_echo "no" >&6; } 4804fi 4805 4806 if test "x$ac_pt_ac_uic" = x; then 4807 ac_uic="no" 4808 else 4809 case $cross_compiling:$ac_tool_warned in 4810yes:) 4811{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4812$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4813ac_tool_warned=yes ;; 4814esac 4815 ac_uic=$ac_pt_ac_uic 4816 fi 4817else 4818 ac_uic="$ac_cv_path_ac_uic" 4819fi 4820 4821if test "x$ac_uic" = "xno"; then 4822 as_fn_error $? "uic $ac_errmsg" "$LINENO" 5 4823fi 4824 4825 4826 4827# Check for Qt lupdate utility. 4828if test -n "$ac_tool_prefix"; then 4829 # Extract the first word of "${ac_tool_prefix}lupdate", so it can be a program name with args. 4830set dummy ${ac_tool_prefix}lupdate; ac_word=$2 4831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4832$as_echo_n "checking for $ac_word... " >&6; } 4833if ${ac_cv_path_ac_lupdate+:} false; then : 4834 $as_echo_n "(cached) " >&6 4835else 4836 case $ac_lupdate in 4837 [\\/]* | ?:[\\/]*) 4838 ac_cv_path_ac_lupdate="$ac_lupdate" # Let the user override the test with a path. 4839 ;; 4840 *) 4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4842for as_dir in $ac_path 4843do 4844 IFS=$as_save_IFS 4845 test -z "$as_dir" && as_dir=. 4846 for ac_exec_ext in '' $ac_executable_extensions; do 4847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4848 ac_cv_path_ac_lupdate="$as_dir/$ac_word$ac_exec_ext" 4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4850 break 2 4851 fi 4852done 4853 done 4854IFS=$as_save_IFS 4855 4856 ;; 4857esac 4858fi 4859ac_lupdate=$ac_cv_path_ac_lupdate 4860if test -n "$ac_lupdate"; then 4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_lupdate" >&5 4862$as_echo "$ac_lupdate" >&6; } 4863else 4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4865$as_echo "no" >&6; } 4866fi 4867 4868 4869fi 4870if test -z "$ac_cv_path_ac_lupdate"; then 4871 ac_pt_ac_lupdate=$ac_lupdate 4872 # Extract the first word of "lupdate", so it can be a program name with args. 4873set dummy lupdate; ac_word=$2 4874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4875$as_echo_n "checking for $ac_word... " >&6; } 4876if ${ac_cv_path_ac_pt_ac_lupdate+:} false; then : 4877 $as_echo_n "(cached) " >&6 4878else 4879 case $ac_pt_ac_lupdate in 4880 [\\/]* | ?:[\\/]*) 4881 ac_cv_path_ac_pt_ac_lupdate="$ac_pt_ac_lupdate" # Let the user override the test with a path. 4882 ;; 4883 *) 4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4885for as_dir in $ac_path 4886do 4887 IFS=$as_save_IFS 4888 test -z "$as_dir" && as_dir=. 4889 for ac_exec_ext in '' $ac_executable_extensions; do 4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4891 ac_cv_path_ac_pt_ac_lupdate="$as_dir/$ac_word$ac_exec_ext" 4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4893 break 2 4894 fi 4895done 4896 done 4897IFS=$as_save_IFS 4898 4899 ;; 4900esac 4901fi 4902ac_pt_ac_lupdate=$ac_cv_path_ac_pt_ac_lupdate 4903if test -n "$ac_pt_ac_lupdate"; then 4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_lupdate" >&5 4905$as_echo "$ac_pt_ac_lupdate" >&6; } 4906else 4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4908$as_echo "no" >&6; } 4909fi 4910 4911 if test "x$ac_pt_ac_lupdate" = x; then 4912 ac_lupdate="no" 4913 else 4914 case $cross_compiling:$ac_tool_warned in 4915yes:) 4916{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4917$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4918ac_tool_warned=yes ;; 4919esac 4920 ac_lupdate=$ac_pt_ac_lupdate 4921 fi 4922else 4923 ac_lupdate="$ac_cv_path_ac_lupdate" 4924fi 4925 4926if test "x$ac_lupdate" = "xno"; then 4927 if test $ac_qt_version_major -lt 6; then 4928 if test -n "$ac_tool_prefix"; then 4929 # Extract the first word of "${ac_tool_prefix}lupdate-qt5", so it can be a program name with args. 4930set dummy ${ac_tool_prefix}lupdate-qt5; ac_word=$2 4931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4932$as_echo_n "checking for $ac_word... " >&6; } 4933if ${ac_cv_path_ac_cv_lupdate+:} false; then : 4934 $as_echo_n "(cached) " >&6 4935else 4936 case $ac_cv_lupdate in 4937 [\\/]* | ?:[\\/]*) 4938 ac_cv_path_ac_cv_lupdate="$ac_cv_lupdate" # Let the user override the test with a path. 4939 ;; 4940 *) 4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4942for as_dir in $ac_path 4943do 4944 IFS=$as_save_IFS 4945 test -z "$as_dir" && as_dir=. 4946 for ac_exec_ext in '' $ac_executable_extensions; do 4947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4948 ac_cv_path_ac_cv_lupdate="$as_dir/$ac_word$ac_exec_ext" 4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4950 break 2 4951 fi 4952done 4953 done 4954IFS=$as_save_IFS 4955 4956 ;; 4957esac 4958fi 4959ac_cv_lupdate=$ac_cv_path_ac_cv_lupdate 4960if test -n "$ac_cv_lupdate"; then 4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lupdate" >&5 4962$as_echo "$ac_cv_lupdate" >&6; } 4963else 4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4965$as_echo "no" >&6; } 4966fi 4967 4968 4969fi 4970if test -z "$ac_cv_path_ac_cv_lupdate"; then 4971 ac_pt_ac_cv_lupdate=$ac_cv_lupdate 4972 # Extract the first word of "lupdate-qt5", so it can be a program name with args. 4973set dummy lupdate-qt5; ac_word=$2 4974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4975$as_echo_n "checking for $ac_word... " >&6; } 4976if ${ac_cv_path_ac_pt_ac_cv_lupdate+:} false; then : 4977 $as_echo_n "(cached) " >&6 4978else 4979 case $ac_pt_ac_cv_lupdate in 4980 [\\/]* | ?:[\\/]*) 4981 ac_cv_path_ac_pt_ac_cv_lupdate="$ac_pt_ac_cv_lupdate" # Let the user override the test with a path. 4982 ;; 4983 *) 4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4985for as_dir in $ac_path 4986do 4987 IFS=$as_save_IFS 4988 test -z "$as_dir" && as_dir=. 4989 for ac_exec_ext in '' $ac_executable_extensions; do 4990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4991 ac_cv_path_ac_pt_ac_cv_lupdate="$as_dir/$ac_word$ac_exec_ext" 4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4993 break 2 4994 fi 4995done 4996 done 4997IFS=$as_save_IFS 4998 4999 ;; 5000esac 5001fi 5002ac_pt_ac_cv_lupdate=$ac_cv_path_ac_pt_ac_cv_lupdate 5003if test -n "$ac_pt_ac_cv_lupdate"; then 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_cv_lupdate" >&5 5005$as_echo "$ac_pt_ac_cv_lupdate" >&6; } 5006else 5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5008$as_echo "no" >&6; } 5009fi 5010 5011 if test "x$ac_pt_ac_cv_lupdate" = x; then 5012 ac_cv_lupdate="no" 5013 else 5014 case $cross_compiling:$ac_tool_warned in 5015yes:) 5016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5018ac_tool_warned=yes ;; 5019esac 5020 ac_cv_lupdate=$ac_pt_ac_cv_lupdate 5021 fi 5022else 5023 ac_cv_lupdate="$ac_cv_path_ac_cv_lupdate" 5024fi 5025 5026 else 5027 if test -n "$ac_tool_prefix"; then 5028 # Extract the first word of "${ac_tool_prefix}lupdate-qt6", so it can be a program name with args. 5029set dummy ${ac_tool_prefix}lupdate-qt6; ac_word=$2 5030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5031$as_echo_n "checking for $ac_word... " >&6; } 5032if ${ac_cv_path_ac_cv_lupdate+:} false; then : 5033 $as_echo_n "(cached) " >&6 5034else 5035 case $ac_cv_lupdate in 5036 [\\/]* | ?:[\\/]*) 5037 ac_cv_path_ac_cv_lupdate="$ac_cv_lupdate" # Let the user override the test with a path. 5038 ;; 5039 *) 5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5041for as_dir in $ac_path 5042do 5043 IFS=$as_save_IFS 5044 test -z "$as_dir" && as_dir=. 5045 for ac_exec_ext in '' $ac_executable_extensions; do 5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5047 ac_cv_path_ac_cv_lupdate="$as_dir/$ac_word$ac_exec_ext" 5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5049 break 2 5050 fi 5051done 5052 done 5053IFS=$as_save_IFS 5054 5055 ;; 5056esac 5057fi 5058ac_cv_lupdate=$ac_cv_path_ac_cv_lupdate 5059if test -n "$ac_cv_lupdate"; then 5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lupdate" >&5 5061$as_echo "$ac_cv_lupdate" >&6; } 5062else 5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5064$as_echo "no" >&6; } 5065fi 5066 5067 5068fi 5069if test -z "$ac_cv_path_ac_cv_lupdate"; then 5070 ac_pt_ac_cv_lupdate=$ac_cv_lupdate 5071 # Extract the first word of "lupdate-qt6", so it can be a program name with args. 5072set dummy lupdate-qt6; ac_word=$2 5073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5074$as_echo_n "checking for $ac_word... " >&6; } 5075if ${ac_cv_path_ac_pt_ac_cv_lupdate+:} false; then : 5076 $as_echo_n "(cached) " >&6 5077else 5078 case $ac_pt_ac_cv_lupdate in 5079 [\\/]* | ?:[\\/]*) 5080 ac_cv_path_ac_pt_ac_cv_lupdate="$ac_pt_ac_cv_lupdate" # Let the user override the test with a path. 5081 ;; 5082 *) 5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5084for as_dir in $ac_path 5085do 5086 IFS=$as_save_IFS 5087 test -z "$as_dir" && as_dir=. 5088 for ac_exec_ext in '' $ac_executable_extensions; do 5089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5090 ac_cv_path_ac_pt_ac_cv_lupdate="$as_dir/$ac_word$ac_exec_ext" 5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5092 break 2 5093 fi 5094done 5095 done 5096IFS=$as_save_IFS 5097 5098 ;; 5099esac 5100fi 5101ac_pt_ac_cv_lupdate=$ac_cv_path_ac_pt_ac_cv_lupdate 5102if test -n "$ac_pt_ac_cv_lupdate"; then 5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_cv_lupdate" >&5 5104$as_echo "$ac_pt_ac_cv_lupdate" >&6; } 5105else 5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5107$as_echo "no" >&6; } 5108fi 5109 5110 if test "x$ac_pt_ac_cv_lupdate" = x; then 5111 ac_cv_lupdate="no" 5112 else 5113 case $cross_compiling:$ac_tool_warned in 5114yes:) 5115{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5117ac_tool_warned=yes ;; 5118esac 5119 ac_cv_lupdate=$ac_pt_ac_cv_lupdate 5120 fi 5121else 5122 ac_cv_lupdate="$ac_cv_path_ac_cv_lupdate" 5123fi 5124 5125 fi 5126 if test "x$ac_cv_lupdate" = "xno"; then 5127 if test $ac_qt_version_major -lt 6; then 5128 as_fn_error $? "lupdate $ac_errmsg (qt5-linguist)" "$LINENO" 5 5129 else 5130 as_fn_error $? "lupdate $ac_errmsg (qt6-linguist)" "$LINENO" 5 5131 fi 5132 else 5133 ac_lupdate=$ac_cv_lupdate; 5134 fi 5135fi 5136 5137 5138# Check for Qt lrelease utility. 5139if test -n "$ac_tool_prefix"; then 5140 # Extract the first word of "${ac_tool_prefix}lrelease", so it can be a program name with args. 5141set dummy ${ac_tool_prefix}lrelease; ac_word=$2 5142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5143$as_echo_n "checking for $ac_word... " >&6; } 5144if ${ac_cv_path_ac_lrelease+:} false; then : 5145 $as_echo_n "(cached) " >&6 5146else 5147 case $ac_lrelease in 5148 [\\/]* | ?:[\\/]*) 5149 ac_cv_path_ac_lrelease="$ac_lrelease" # Let the user override the test with a path. 5150 ;; 5151 *) 5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5153for as_dir in $ac_path 5154do 5155 IFS=$as_save_IFS 5156 test -z "$as_dir" && as_dir=. 5157 for ac_exec_ext in '' $ac_executable_extensions; do 5158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5159 ac_cv_path_ac_lrelease="$as_dir/$ac_word$ac_exec_ext" 5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5161 break 2 5162 fi 5163done 5164 done 5165IFS=$as_save_IFS 5166 5167 ;; 5168esac 5169fi 5170ac_lrelease=$ac_cv_path_ac_lrelease 5171if test -n "$ac_lrelease"; then 5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_lrelease" >&5 5173$as_echo "$ac_lrelease" >&6; } 5174else 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5176$as_echo "no" >&6; } 5177fi 5178 5179 5180fi 5181if test -z "$ac_cv_path_ac_lrelease"; then 5182 ac_pt_ac_lrelease=$ac_lrelease 5183 # Extract the first word of "lrelease", so it can be a program name with args. 5184set dummy lrelease; ac_word=$2 5185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5186$as_echo_n "checking for $ac_word... " >&6; } 5187if ${ac_cv_path_ac_pt_ac_lrelease+:} false; then : 5188 $as_echo_n "(cached) " >&6 5189else 5190 case $ac_pt_ac_lrelease in 5191 [\\/]* | ?:[\\/]*) 5192 ac_cv_path_ac_pt_ac_lrelease="$ac_pt_ac_lrelease" # Let the user override the test with a path. 5193 ;; 5194 *) 5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5196for as_dir in $ac_path 5197do 5198 IFS=$as_save_IFS 5199 test -z "$as_dir" && as_dir=. 5200 for ac_exec_ext in '' $ac_executable_extensions; do 5201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5202 ac_cv_path_ac_pt_ac_lrelease="$as_dir/$ac_word$ac_exec_ext" 5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5204 break 2 5205 fi 5206done 5207 done 5208IFS=$as_save_IFS 5209 5210 ;; 5211esac 5212fi 5213ac_pt_ac_lrelease=$ac_cv_path_ac_pt_ac_lrelease 5214if test -n "$ac_pt_ac_lrelease"; then 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_lrelease" >&5 5216$as_echo "$ac_pt_ac_lrelease" >&6; } 5217else 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5219$as_echo "no" >&6; } 5220fi 5221 5222 if test "x$ac_pt_ac_lrelease" = x; then 5223 ac_lrelease="no" 5224 else 5225 case $cross_compiling:$ac_tool_warned in 5226yes:) 5227{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5228$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5229ac_tool_warned=yes ;; 5230esac 5231 ac_lrelease=$ac_pt_ac_lrelease 5232 fi 5233else 5234 ac_lrelease="$ac_cv_path_ac_lrelease" 5235fi 5236 5237if test "x$ac_lrelease" = "xno"; then 5238 if test $ac_qt_version_major -lt 6; then 5239 if test -n "$ac_tool_prefix"; then 5240 # Extract the first word of "${ac_tool_prefix}lrelease-qt5", so it can be a program name with args. 5241set dummy ${ac_tool_prefix}lrelease-qt5; ac_word=$2 5242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5243$as_echo_n "checking for $ac_word... " >&6; } 5244if ${ac_cv_path_ac_cv_lrelease+:} false; then : 5245 $as_echo_n "(cached) " >&6 5246else 5247 case $ac_cv_lrelease in 5248 [\\/]* | ?:[\\/]*) 5249 ac_cv_path_ac_cv_lrelease="$ac_cv_lrelease" # Let the user override the test with a path. 5250 ;; 5251 *) 5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5253for as_dir in $ac_path 5254do 5255 IFS=$as_save_IFS 5256 test -z "$as_dir" && as_dir=. 5257 for ac_exec_ext in '' $ac_executable_extensions; do 5258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5259 ac_cv_path_ac_cv_lrelease="$as_dir/$ac_word$ac_exec_ext" 5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5261 break 2 5262 fi 5263done 5264 done 5265IFS=$as_save_IFS 5266 5267 ;; 5268esac 5269fi 5270ac_cv_lrelease=$ac_cv_path_ac_cv_lrelease 5271if test -n "$ac_cv_lrelease"; then 5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lrelease" >&5 5273$as_echo "$ac_cv_lrelease" >&6; } 5274else 5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5276$as_echo "no" >&6; } 5277fi 5278 5279 5280fi 5281if test -z "$ac_cv_path_ac_cv_lrelease"; then 5282 ac_pt_ac_cv_lrelease=$ac_cv_lrelease 5283 # Extract the first word of "lrelease-qt5", so it can be a program name with args. 5284set dummy lrelease-qt5; ac_word=$2 5285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5286$as_echo_n "checking for $ac_word... " >&6; } 5287if ${ac_cv_path_ac_pt_ac_cv_lrelease+:} false; then : 5288 $as_echo_n "(cached) " >&6 5289else 5290 case $ac_pt_ac_cv_lrelease in 5291 [\\/]* | ?:[\\/]*) 5292 ac_cv_path_ac_pt_ac_cv_lrelease="$ac_pt_ac_cv_lrelease" # Let the user override the test with a path. 5293 ;; 5294 *) 5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5296for as_dir in $ac_path 5297do 5298 IFS=$as_save_IFS 5299 test -z "$as_dir" && as_dir=. 5300 for ac_exec_ext in '' $ac_executable_extensions; do 5301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5302 ac_cv_path_ac_pt_ac_cv_lrelease="$as_dir/$ac_word$ac_exec_ext" 5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5304 break 2 5305 fi 5306done 5307 done 5308IFS=$as_save_IFS 5309 5310 ;; 5311esac 5312fi 5313ac_pt_ac_cv_lrelease=$ac_cv_path_ac_pt_ac_cv_lrelease 5314if test -n "$ac_pt_ac_cv_lrelease"; then 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_cv_lrelease" >&5 5316$as_echo "$ac_pt_ac_cv_lrelease" >&6; } 5317else 5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5319$as_echo "no" >&6; } 5320fi 5321 5322 if test "x$ac_pt_ac_cv_lrelease" = x; then 5323 ac_cv_lrelease="no" 5324 else 5325 case $cross_compiling:$ac_tool_warned in 5326yes:) 5327{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5328$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5329ac_tool_warned=yes ;; 5330esac 5331 ac_cv_lrelease=$ac_pt_ac_cv_lrelease 5332 fi 5333else 5334 ac_cv_lrelease="$ac_cv_path_ac_cv_lrelease" 5335fi 5336 5337 else 5338 if test -n "$ac_tool_prefix"; then 5339 # Extract the first word of "${ac_tool_prefix}lrelease-qt6", so it can be a program name with args. 5340set dummy ${ac_tool_prefix}lrelease-qt6; ac_word=$2 5341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5342$as_echo_n "checking for $ac_word... " >&6; } 5343if ${ac_cv_path_ac_cv_lrelease+:} false; then : 5344 $as_echo_n "(cached) " >&6 5345else 5346 case $ac_cv_lrelease in 5347 [\\/]* | ?:[\\/]*) 5348 ac_cv_path_ac_cv_lrelease="$ac_cv_lrelease" # Let the user override the test with a path. 5349 ;; 5350 *) 5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5352for as_dir in $ac_path 5353do 5354 IFS=$as_save_IFS 5355 test -z "$as_dir" && as_dir=. 5356 for ac_exec_ext in '' $ac_executable_extensions; do 5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5358 ac_cv_path_ac_cv_lrelease="$as_dir/$ac_word$ac_exec_ext" 5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5360 break 2 5361 fi 5362done 5363 done 5364IFS=$as_save_IFS 5365 5366 ;; 5367esac 5368fi 5369ac_cv_lrelease=$ac_cv_path_ac_cv_lrelease 5370if test -n "$ac_cv_lrelease"; then 5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lrelease" >&5 5372$as_echo "$ac_cv_lrelease" >&6; } 5373else 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5375$as_echo "no" >&6; } 5376fi 5377 5378 5379fi 5380if test -z "$ac_cv_path_ac_cv_lrelease"; then 5381 ac_pt_ac_cv_lrelease=$ac_cv_lrelease 5382 # Extract the first word of "lrelease-qt6", so it can be a program name with args. 5383set dummy lrelease-qt6; ac_word=$2 5384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5385$as_echo_n "checking for $ac_word... " >&6; } 5386if ${ac_cv_path_ac_pt_ac_cv_lrelease+:} false; then : 5387 $as_echo_n "(cached) " >&6 5388else 5389 case $ac_pt_ac_cv_lrelease in 5390 [\\/]* | ?:[\\/]*) 5391 ac_cv_path_ac_pt_ac_cv_lrelease="$ac_pt_ac_cv_lrelease" # Let the user override the test with a path. 5392 ;; 5393 *) 5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5395for as_dir in $ac_path 5396do 5397 IFS=$as_save_IFS 5398 test -z "$as_dir" && as_dir=. 5399 for ac_exec_ext in '' $ac_executable_extensions; do 5400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5401 ac_cv_path_ac_pt_ac_cv_lrelease="$as_dir/$ac_word$ac_exec_ext" 5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5403 break 2 5404 fi 5405done 5406 done 5407IFS=$as_save_IFS 5408 5409 ;; 5410esac 5411fi 5412ac_pt_ac_cv_lrelease=$ac_cv_path_ac_pt_ac_cv_lrelease 5413if test -n "$ac_pt_ac_cv_lrelease"; then 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ac_cv_lrelease" >&5 5415$as_echo "$ac_pt_ac_cv_lrelease" >&6; } 5416else 5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5418$as_echo "no" >&6; } 5419fi 5420 5421 if test "x$ac_pt_ac_cv_lrelease" = x; then 5422 ac_cv_lrelease="no" 5423 else 5424 case $cross_compiling:$ac_tool_warned in 5425yes:) 5426{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5427$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5428ac_tool_warned=yes ;; 5429esac 5430 ac_cv_lrelease=$ac_pt_ac_cv_lrelease 5431 fi 5432else 5433 ac_cv_lrelease="$ac_cv_path_ac_cv_lrelease" 5434fi 5435 5436 fi 5437 if test "x$ac_cv_lrelease" = "xno"; then 5438 if test $ac_qt_version_major -lt 6; then 5439 as_fn_error $? "lrelease $ac_errmsg (qt5-linguist)" "$LINENO" 5 5440 else 5441 as_fn_error $? "lrelease $ac_errmsg (qt6-linguist)" "$LINENO" 5 5442 fi 5443 else 5444 ac_lrelease=$ac_cv_lrelease; 5445 fi 5446fi 5447 5448 5449 5450# Checks for libraries. 5451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 5452$as_echo_n "checking for main in -lm... " >&6; } 5453if ${ac_cv_lib_m_main+:} false; then : 5454 $as_echo_n "(cached) " >&6 5455else 5456 ac_check_lib_save_LIBS=$LIBS 5457LIBS="-lm $LIBS" 5458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5459/* end confdefs.h. */ 5460 5461 5462int 5463main () 5464{ 5465return main (); 5466 ; 5467 return 0; 5468} 5469_ACEOF 5470if ac_fn_cxx_try_link "$LINENO"; then : 5471 ac_cv_lib_m_main=yes 5472else 5473 ac_cv_lib_m_main=no 5474fi 5475rm -f core conftest.err conftest.$ac_objext \ 5476 conftest$ac_exeext conftest.$ac_ext 5477LIBS=$ac_check_lib_save_LIBS 5478fi 5479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 5480$as_echo "$ac_cv_lib_m_main" >&6; } 5481if test "x$ac_cv_lib_m_main" = xyes; then : 5482 cat >>confdefs.h <<_ACEOF 5483#define HAVE_LIBM 1 5484_ACEOF 5485 5486 LIBS="-lm $LIBS" 5487 5488fi 5489 5490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5 5491$as_echo_n "checking for main in -lX11... " >&6; } 5492if ${ac_cv_lib_X11_main+:} false; then : 5493 $as_echo_n "(cached) " >&6 5494else 5495 ac_check_lib_save_LIBS=$LIBS 5496LIBS="-lX11 $LIBS" 5497cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5498/* end confdefs.h. */ 5499 5500 5501int 5502main () 5503{ 5504return main (); 5505 ; 5506 return 0; 5507} 5508_ACEOF 5509if ac_fn_cxx_try_link "$LINENO"; then : 5510 ac_cv_lib_X11_main=yes 5511else 5512 ac_cv_lib_X11_main=no 5513fi 5514rm -f core conftest.err conftest.$ac_objext \ 5515 conftest$ac_exeext conftest.$ac_ext 5516LIBS=$ac_check_lib_save_LIBS 5517fi 5518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5 5519$as_echo "$ac_cv_lib_X11_main" >&6; } 5520if test "x$ac_cv_lib_X11_main" = xyes; then : 5521 cat >>confdefs.h <<_ACEOF 5522#define HAVE_LIBX11 1 5523_ACEOF 5524 5525 LIBS="-lX11 $LIBS" 5526 5527fi 5528 5529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXext" >&5 5530$as_echo_n "checking for main in -lXext... " >&6; } 5531if ${ac_cv_lib_Xext_main+:} false; then : 5532 $as_echo_n "(cached) " >&6 5533else 5534 ac_check_lib_save_LIBS=$LIBS 5535LIBS="-lXext $LIBS" 5536cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5537/* end confdefs.h. */ 5538 5539 5540int 5541main () 5542{ 5543return main (); 5544 ; 5545 return 0; 5546} 5547_ACEOF 5548if ac_fn_cxx_try_link "$LINENO"; then : 5549 ac_cv_lib_Xext_main=yes 5550else 5551 ac_cv_lib_Xext_main=no 5552fi 5553rm -f core conftest.err conftest.$ac_objext \ 5554 conftest$ac_exeext conftest.$ac_ext 5555LIBS=$ac_check_lib_save_LIBS 5556fi 5557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_main" >&5 5558$as_echo "$ac_cv_lib_Xext_main" >&6; } 5559if test "x$ac_cv_lib_Xext_main" = xyes; then : 5560 cat >>confdefs.h <<_ACEOF 5561#define HAVE_LIBXEXT 1 5562_ACEOF 5563 5564 LIBS="-lXext $LIBS" 5565 5566fi 5567 5568 5569# Check for lroundf math function. 5570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5 5571$as_echo_n "checking for lroundf in -lm... " >&6; } 5572if ${ac_cv_lib_m_lroundf+:} false; then : 5573 $as_echo_n "(cached) " >&6 5574else 5575 ac_check_lib_save_LIBS=$LIBS 5576LIBS="-lm $LIBS" 5577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5578/* end confdefs.h. */ 5579 5580/* Override any GCC internal prototype to avoid an error. 5581 Use char because int might match the return type of a GCC 5582 builtin and then its argument prototype would still apply. */ 5583#ifdef __cplusplus 5584extern "C" 5585#endif 5586char lroundf (); 5587int 5588main () 5589{ 5590return lroundf (); 5591 ; 5592 return 0; 5593} 5594_ACEOF 5595if ac_fn_cxx_try_link "$LINENO"; then : 5596 ac_cv_lib_m_lroundf=yes 5597else 5598 ac_cv_lib_m_lroundf=no 5599fi 5600rm -f core conftest.err conftest.$ac_objext \ 5601 conftest$ac_exeext conftest.$ac_ext 5602LIBS=$ac_check_lib_save_LIBS 5603fi 5604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5 5605$as_echo "$ac_cv_lib_m_lroundf" >&6; } 5606if test "x$ac_cv_lib_m_lroundf" = xyes; then : 5607 ac_round="yes" 5608else 5609 ac_round="no" 5610fi 5611 5612if test "x$ac_round" = "xyes"; then 5613 5614$as_echo "#define CONFIG_ROUND 1" >>confdefs.h 5615 5616fi 5617 5618# Check for fluidsynth library. 5619 5620pkg_failed=no 5621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLUIDSYNTH" >&5 5622$as_echo_n "checking for FLUIDSYNTH... " >&6; } 5623 5624if test -n "$FLUIDSYNTH_CFLAGS"; then 5625 pkg_cv_FLUIDSYNTH_CFLAGS="$FLUIDSYNTH_CFLAGS" 5626 elif test -n "$PKG_CONFIG"; then 5627 if test -n "$PKG_CONFIG" && \ 5628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 0.80.0\""; } >&5 5629 ($PKG_CONFIG --exists --print-errors "fluidsynth >= 0.80.0") 2>&5 5630 ac_status=$? 5631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5632 test $ac_status = 0; }; then 5633 pkg_cv_FLUIDSYNTH_CFLAGS=`$PKG_CONFIG --cflags "fluidsynth >= 0.80.0" 2>/dev/null` 5634 test "x$?" != "x0" && pkg_failed=yes 5635else 5636 pkg_failed=yes 5637fi 5638 else 5639 pkg_failed=untried 5640fi 5641if test -n "$FLUIDSYNTH_LIBS"; then 5642 pkg_cv_FLUIDSYNTH_LIBS="$FLUIDSYNTH_LIBS" 5643 elif test -n "$PKG_CONFIG"; then 5644 if test -n "$PKG_CONFIG" && \ 5645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth >= 0.80.0\""; } >&5 5646 ($PKG_CONFIG --exists --print-errors "fluidsynth >= 0.80.0") 2>&5 5647 ac_status=$? 5648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5649 test $ac_status = 0; }; then 5650 pkg_cv_FLUIDSYNTH_LIBS=`$PKG_CONFIG --libs "fluidsynth >= 0.80.0" 2>/dev/null` 5651 test "x$?" != "x0" && pkg_failed=yes 5652else 5653 pkg_failed=yes 5654fi 5655 else 5656 pkg_failed=untried 5657fi 5658 5659 5660 5661if test $pkg_failed = yes; then 5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5663$as_echo "no" >&6; } 5664 5665if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5666 _pkg_short_errors_supported=yes 5667else 5668 _pkg_short_errors_supported=no 5669fi 5670 if test $_pkg_short_errors_supported = yes; then 5671 FLUIDSYNTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fluidsynth >= 0.80.0" 2>&1` 5672 else 5673 FLUIDSYNTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fluidsynth >= 0.80.0" 2>&1` 5674 fi 5675 # Put the nasty error message in config.log where it belongs 5676 echo "$FLUIDSYNTH_PKG_ERRORS" >&5 5677 5678 ac_fluidsynth_lib="no" 5679elif test $pkg_failed = untried; then 5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5681$as_echo "no" >&6; } 5682 ac_fluidsynth_lib="no" 5683else 5684 FLUIDSYNTH_CFLAGS=$pkg_cv_FLUIDSYNTH_CFLAGS 5685 FLUIDSYNTH_LIBS=$pkg_cv_FLUIDSYNTH_LIBS 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5687$as_echo "yes" >&6; } 5688 ac_fluidsynth_lib="yes" 5689fi 5690if test "x$ac_fluidsynth_lib" = "xyes"; then 5691 5692$as_echo "#define CONFIG_FLUIDSYNTH 1" >>confdefs.h 5693 5694 ac_cflags="$ac_cflags $FLUIDSYNTH_CFLAGS" 5695 ac_libs="$ac_libs $FLUIDSYNTH_LIBS" 5696 CFLAGS="$CFLAGS $FLUIDSYNTH_CFLAGS" 5697 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_CFLAGS" 5698 LIBS="$LIBS $FLUIDSYNTH_LIBS" 5699else 5700 as_fn_error $? "*** FLUIDSYNTH library not found." "$LINENO" 5 5701fi 5702 5703 5704# Checks for header files. 5705 5706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5707$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5708if ${ac_cv_path_GREP+:} false; then : 5709 $as_echo_n "(cached) " >&6 5710else 5711 if test -z "$GREP"; then 5712 ac_path_GREP_found=false 5713 # Loop through the user's path and test for each of PROGNAME-LIST 5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5715for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5716do 5717 IFS=$as_save_IFS 5718 test -z "$as_dir" && as_dir=. 5719 for ac_prog in grep ggrep; do 5720 for ac_exec_ext in '' $ac_executable_extensions; do 5721 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5722 as_fn_executable_p "$ac_path_GREP" || continue 5723# Check for GNU ac_path_GREP and select it if it is found. 5724 # Check for GNU $ac_path_GREP 5725case `"$ac_path_GREP" --version 2>&1` in 5726*GNU*) 5727 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5728*) 5729 ac_count=0 5730 $as_echo_n 0123456789 >"conftest.in" 5731 while : 5732 do 5733 cat "conftest.in" "conftest.in" >"conftest.tmp" 5734 mv "conftest.tmp" "conftest.in" 5735 cp "conftest.in" "conftest.nl" 5736 $as_echo 'GREP' >> "conftest.nl" 5737 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5738 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5739 as_fn_arith $ac_count + 1 && ac_count=$as_val 5740 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5741 # Best one so far, save it but keep looking for a better one 5742 ac_cv_path_GREP="$ac_path_GREP" 5743 ac_path_GREP_max=$ac_count 5744 fi 5745 # 10*(2^10) chars as input seems more than enough 5746 test $ac_count -gt 10 && break 5747 done 5748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5749esac 5750 5751 $ac_path_GREP_found && break 3 5752 done 5753 done 5754 done 5755IFS=$as_save_IFS 5756 if test -z "$ac_cv_path_GREP"; then 5757 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5758 fi 5759else 5760 ac_cv_path_GREP=$GREP 5761fi 5762 5763fi 5764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5765$as_echo "$ac_cv_path_GREP" >&6; } 5766 GREP="$ac_cv_path_GREP" 5767 5768 5769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5770$as_echo_n "checking for egrep... " >&6; } 5771if ${ac_cv_path_EGREP+:} false; then : 5772 $as_echo_n "(cached) " >&6 5773else 5774 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5775 then ac_cv_path_EGREP="$GREP -E" 5776 else 5777 if test -z "$EGREP"; then 5778 ac_path_EGREP_found=false 5779 # Loop through the user's path and test for each of PROGNAME-LIST 5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5781for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5782do 5783 IFS=$as_save_IFS 5784 test -z "$as_dir" && as_dir=. 5785 for ac_prog in egrep; do 5786 for ac_exec_ext in '' $ac_executable_extensions; do 5787 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5788 as_fn_executable_p "$ac_path_EGREP" || continue 5789# Check for GNU ac_path_EGREP and select it if it is found. 5790 # Check for GNU $ac_path_EGREP 5791case `"$ac_path_EGREP" --version 2>&1` in 5792*GNU*) 5793 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5794*) 5795 ac_count=0 5796 $as_echo_n 0123456789 >"conftest.in" 5797 while : 5798 do 5799 cat "conftest.in" "conftest.in" >"conftest.tmp" 5800 mv "conftest.tmp" "conftest.in" 5801 cp "conftest.in" "conftest.nl" 5802 $as_echo 'EGREP' >> "conftest.nl" 5803 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5804 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5805 as_fn_arith $ac_count + 1 && ac_count=$as_val 5806 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5807 # Best one so far, save it but keep looking for a better one 5808 ac_cv_path_EGREP="$ac_path_EGREP" 5809 ac_path_EGREP_max=$ac_count 5810 fi 5811 # 10*(2^10) chars as input seems more than enough 5812 test $ac_count -gt 10 && break 5813 done 5814 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5815esac 5816 5817 $ac_path_EGREP_found && break 3 5818 done 5819 done 5820 done 5821IFS=$as_save_IFS 5822 if test -z "$ac_cv_path_EGREP"; then 5823 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5824 fi 5825else 5826 ac_cv_path_EGREP=$EGREP 5827fi 5828 5829 fi 5830fi 5831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5832$as_echo "$ac_cv_path_EGREP" >&6; } 5833 EGREP="$ac_cv_path_EGREP" 5834 5835 5836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5837$as_echo_n "checking for ANSI C header files... " >&6; } 5838if ${ac_cv_header_stdc+:} false; then : 5839 $as_echo_n "(cached) " >&6 5840else 5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5842/* end confdefs.h. */ 5843#include <stdlib.h> 5844#include <stdarg.h> 5845#include <string.h> 5846#include <float.h> 5847 5848int 5849main () 5850{ 5851 5852 ; 5853 return 0; 5854} 5855_ACEOF 5856if ac_fn_cxx_try_compile "$LINENO"; then : 5857 ac_cv_header_stdc=yes 5858else 5859 ac_cv_header_stdc=no 5860fi 5861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5862 5863if test $ac_cv_header_stdc = yes; then 5864 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5866/* end confdefs.h. */ 5867#include <string.h> 5868 5869_ACEOF 5870if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5871 $EGREP "memchr" >/dev/null 2>&1; then : 5872 5873else 5874 ac_cv_header_stdc=no 5875fi 5876rm -f conftest* 5877 5878fi 5879 5880if test $ac_cv_header_stdc = yes; then 5881 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5883/* end confdefs.h. */ 5884#include <stdlib.h> 5885 5886_ACEOF 5887if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5888 $EGREP "free" >/dev/null 2>&1; then : 5889 5890else 5891 ac_cv_header_stdc=no 5892fi 5893rm -f conftest* 5894 5895fi 5896 5897if test $ac_cv_header_stdc = yes; then 5898 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5899 if test "$cross_compiling" = yes; then : 5900 : 5901else 5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5903/* end confdefs.h. */ 5904#include <ctype.h> 5905#include <stdlib.h> 5906#if ((' ' & 0x0FF) == 0x020) 5907# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5908# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5909#else 5910# define ISLOWER(c) \ 5911 (('a' <= (c) && (c) <= 'i') \ 5912 || ('j' <= (c) && (c) <= 'r') \ 5913 || ('s' <= (c) && (c) <= 'z')) 5914# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5915#endif 5916 5917#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5918int 5919main () 5920{ 5921 int i; 5922 for (i = 0; i < 256; i++) 5923 if (XOR (islower (i), ISLOWER (i)) 5924 || toupper (i) != TOUPPER (i)) 5925 return 2; 5926 return 0; 5927} 5928_ACEOF 5929if ac_fn_cxx_try_run "$LINENO"; then : 5930 5931else 5932 ac_cv_header_stdc=no 5933fi 5934rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5935 conftest.$ac_objext conftest.beam conftest.$ac_ext 5936fi 5937 5938fi 5939fi 5940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5941$as_echo "$ac_cv_header_stdc" >&6; } 5942if test $ac_cv_header_stdc = yes; then 5943 5944$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5945 5946fi 5947 5948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 5949$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 5950if ${ac_cv_header_sys_wait_h+:} false; then : 5951 $as_echo_n "(cached) " >&6 5952else 5953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5954/* end confdefs.h. */ 5955#include <sys/types.h> 5956#include <sys/wait.h> 5957#ifndef WEXITSTATUS 5958# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 5959#endif 5960#ifndef WIFEXITED 5961# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 5962#endif 5963 5964int 5965main () 5966{ 5967 int s; 5968 wait (&s); 5969 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 5970 ; 5971 return 0; 5972} 5973_ACEOF 5974if ac_fn_cxx_try_compile "$LINENO"; then : 5975 ac_cv_header_sys_wait_h=yes 5976else 5977 ac_cv_header_sys_wait_h=no 5978fi 5979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5980fi 5981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 5982$as_echo "$ac_cv_header_sys_wait_h" >&6; } 5983if test $ac_cv_header_sys_wait_h = yes; then 5984 5985$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 5986 5987fi 5988 5989# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5990for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5991 inttypes.h stdint.h unistd.h 5992do : 5993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5994ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5995" 5996if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5997 cat >>confdefs.h <<_ACEOF 5998#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5999_ACEOF 6000 6001fi 6002 6003done 6004 6005 6006for ac_header in fcntl.h sys/ioctl.h unistd.h signal.h 6007do : 6008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6009ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6010if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6011 cat >>confdefs.h <<_ACEOF 6012#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6013_ACEOF 6014 6015fi 6016 6017done 6018 6019 6020# Check for unique/single instance support. 6021if test "x$ac_xunique" = "xyes"; then 6022 if test $ac_qt_version_major -lt 6; then 6023 6024pkg_failed=no 6025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT5NETWORK" >&5 6026$as_echo_n "checking for QT5NETWORK... " >&6; } 6027 6028if test -n "$QT5NETWORK_CFLAGS"; then 6029 pkg_cv_QT5NETWORK_CFLAGS="$QT5NETWORK_CFLAGS" 6030 elif test -n "$PKG_CONFIG"; then 6031 if test -n "$PKG_CONFIG" && \ 6032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Network\""; } >&5 6033 ($PKG_CONFIG --exists --print-errors "Qt5Network") 2>&5 6034 ac_status=$? 6035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6036 test $ac_status = 0; }; then 6037 pkg_cv_QT5NETWORK_CFLAGS=`$PKG_CONFIG --cflags "Qt5Network" 2>/dev/null` 6038 test "x$?" != "x0" && pkg_failed=yes 6039else 6040 pkg_failed=yes 6041fi 6042 else 6043 pkg_failed=untried 6044fi 6045if test -n "$QT5NETWORK_LIBS"; then 6046 pkg_cv_QT5NETWORK_LIBS="$QT5NETWORK_LIBS" 6047 elif test -n "$PKG_CONFIG"; then 6048 if test -n "$PKG_CONFIG" && \ 6049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Network\""; } >&5 6050 ($PKG_CONFIG --exists --print-errors "Qt5Network") 2>&5 6051 ac_status=$? 6052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6053 test $ac_status = 0; }; then 6054 pkg_cv_QT5NETWORK_LIBS=`$PKG_CONFIG --libs "Qt5Network" 2>/dev/null` 6055 test "x$?" != "x0" && pkg_failed=yes 6056else 6057 pkg_failed=yes 6058fi 6059 else 6060 pkg_failed=untried 6061fi 6062 6063 6064 6065if test $pkg_failed = yes; then 6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6067$as_echo "no" >&6; } 6068 6069if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6070 _pkg_short_errors_supported=yes 6071else 6072 _pkg_short_errors_supported=no 6073fi 6074 if test $_pkg_short_errors_supported = yes; then 6075 QT5NETWORK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Network" 2>&1` 6076 else 6077 QT5NETWORK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Network" 2>&1` 6078 fi 6079 # Put the nasty error message in config.log where it belongs 6080 echo "$QT5NETWORK_PKG_ERRORS" >&5 6081 6082 ac_xunique="no" 6083elif test $pkg_failed = untried; then 6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6085$as_echo "no" >&6; } 6086 ac_xunique="no" 6087else 6088 QT5NETWORK_CFLAGS=$pkg_cv_QT5NETWORK_CFLAGS 6089 QT5NETWORK_LIBS=$pkg_cv_QT5NETWORK_LIBS 6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6091$as_echo "yes" >&6; } 6092 ac_xunique="yes" 6093fi 6094 else 6095 6096pkg_failed=no 6097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT6NETWORK" >&5 6098$as_echo_n "checking for QT6NETWORK... " >&6; } 6099 6100if test -n "$QT6NETWORK_CFLAGS"; then 6101 pkg_cv_QT6NETWORK_CFLAGS="$QT6NETWORK_CFLAGS" 6102 elif test -n "$PKG_CONFIG"; then 6103 if test -n "$PKG_CONFIG" && \ 6104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt6Network\""; } >&5 6105 ($PKG_CONFIG --exists --print-errors "Qt6Network") 2>&5 6106 ac_status=$? 6107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6108 test $ac_status = 0; }; then 6109 pkg_cv_QT6NETWORK_CFLAGS=`$PKG_CONFIG --cflags "Qt6Network" 2>/dev/null` 6110 test "x$?" != "x0" && pkg_failed=yes 6111else 6112 pkg_failed=yes 6113fi 6114 else 6115 pkg_failed=untried 6116fi 6117if test -n "$QT6NETWORK_LIBS"; then 6118 pkg_cv_QT6NETWORK_LIBS="$QT6NETWORK_LIBS" 6119 elif test -n "$PKG_CONFIG"; then 6120 if test -n "$PKG_CONFIG" && \ 6121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt6Network\""; } >&5 6122 ($PKG_CONFIG --exists --print-errors "Qt6Network") 2>&5 6123 ac_status=$? 6124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6125 test $ac_status = 0; }; then 6126 pkg_cv_QT6NETWORK_LIBS=`$PKG_CONFIG --libs "Qt6Network" 2>/dev/null` 6127 test "x$?" != "x0" && pkg_failed=yes 6128else 6129 pkg_failed=yes 6130fi 6131 else 6132 pkg_failed=untried 6133fi 6134 6135 6136 6137if test $pkg_failed = yes; then 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6139$as_echo "no" >&6; } 6140 6141if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6142 _pkg_short_errors_supported=yes 6143else 6144 _pkg_short_errors_supported=no 6145fi 6146 if test $_pkg_short_errors_supported = yes; then 6147 QT6NETWORK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt6Network" 2>&1` 6148 else 6149 QT6NETWORK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Qt6Network" 2>&1` 6150 fi 6151 # Put the nasty error message in config.log where it belongs 6152 echo "$QT6NETWORK_PKG_ERRORS" >&5 6153 6154 ac_xunique="no" 6155elif test $pkg_failed = untried; then 6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6157$as_echo "no" >&6; } 6158 ac_xunique="no" 6159else 6160 QT6NETWORK_CFLAGS=$pkg_cv_QT6NETWORK_CFLAGS 6161 QT6NETWORK_LIBS=$pkg_cv_QT6NETWORK_LIBS 6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6163$as_echo "yes" >&6; } 6164 ac_xunique="yes" 6165fi 6166 fi 6167fi 6168if test "x$ac_xunique" = "xyes"; then 6169 6170$as_echo "#define CONFIG_XUNIQUE 1" >>confdefs.h 6171 6172 ac_qnetwork="network" 6173fi 6174 6175 6176# Check for gradient eye-candy. 6177if test "x$ac_gradient" = "xyes"; then 6178 6179$as_echo "#define CONFIG_GRADIENT 1" >>confdefs.h 6180 6181fi 6182 6183# Check for debugging stack-trace. 6184if test "x$ac_stacktrace" = "xyes"; then 6185 6186$as_echo "#define CONFIG_STACKTRACE 1" >>confdefs.h 6187 6188fi 6189 6190 6191 6192 6193 6194 6195 6196# Checks for typedefs, structures, and compiler characteristics. 6197# AC_C_CONST 6198 6199# Checks for library functions. 6200for ac_func in system 6201do : 6202 ac_fn_cxx_check_func "$LINENO" "system" "ac_cv_func_system" 6203if test "x$ac_cv_func_system" = xyes; then : 6204 cat >>confdefs.h <<_ACEOF 6205#define HAVE_SYSTEM 1 6206_ACEOF 6207 6208fi 6209done 6210 6211 6212# Check for system-tray icon. 6213if test "x$ac_system_tray" = "xyes"; then 6214 6215$as_echo "#define CONFIG_SYSTEM_TRAY 1" >>confdefs.h 6216 6217fi 6218 6219# Check for new_fluid_server function. 6220if test "x$ac_fluid_server" = "xyes"; then 6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_fluid_server in -lfluidsynth" >&5 6222$as_echo_n "checking for new_fluid_server in -lfluidsynth... " >&6; } 6223if ${ac_cv_lib_fluidsynth_new_fluid_server+:} false; then : 6224 $as_echo_n "(cached) " >&6 6225else 6226 ac_check_lib_save_LIBS=$LIBS 6227LIBS="-lfluidsynth $LIBS" 6228cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6229/* end confdefs.h. */ 6230 6231/* Override any GCC internal prototype to avoid an error. 6232 Use char because int might match the return type of a GCC 6233 builtin and then its argument prototype would still apply. */ 6234#ifdef __cplusplus 6235extern "C" 6236#endif 6237char new_fluid_server (); 6238int 6239main () 6240{ 6241return new_fluid_server (); 6242 ; 6243 return 0; 6244} 6245_ACEOF 6246if ac_fn_cxx_try_link "$LINENO"; then : 6247 ac_cv_lib_fluidsynth_new_fluid_server=yes 6248else 6249 ac_cv_lib_fluidsynth_new_fluid_server=no 6250fi 6251rm -f core conftest.err conftest.$ac_objext \ 6252 conftest$ac_exeext conftest.$ac_ext 6253LIBS=$ac_check_lib_save_LIBS 6254fi 6255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_new_fluid_server" >&5 6256$as_echo "$ac_cv_lib_fluidsynth_new_fluid_server" >&6; } 6257if test "x$ac_cv_lib_fluidsynth_new_fluid_server" = xyes; then : 6258 ac_fluid_server="yes" 6259else 6260 ac_fluid_server="no" 6261fi 6262 6263 if test "x$ac_fluid_server" = "xyes"; then 6264 6265$as_echo "#define CONFIG_FLUID_SERVER 1" >>confdefs.h 6266 6267 fi 6268fi 6269 6270# Check for fluid_synth_system_reset function. 6271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_synth_system_reset in -lfluidsynth" >&5 6272$as_echo_n "checking for fluid_synth_system_reset in -lfluidsynth... " >&6; } 6273if ${ac_cv_lib_fluidsynth_fluid_synth_system_reset+:} false; then : 6274 $as_echo_n "(cached) " >&6 6275else 6276 ac_check_lib_save_LIBS=$LIBS 6277LIBS="-lfluidsynth $LIBS" 6278cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6279/* end confdefs.h. */ 6280 6281/* Override any GCC internal prototype to avoid an error. 6282 Use char because int might match the return type of a GCC 6283 builtin and then its argument prototype would still apply. */ 6284#ifdef __cplusplus 6285extern "C" 6286#endif 6287char fluid_synth_system_reset (); 6288int 6289main () 6290{ 6291return fluid_synth_system_reset (); 6292 ; 6293 return 0; 6294} 6295_ACEOF 6296if ac_fn_cxx_try_link "$LINENO"; then : 6297 ac_cv_lib_fluidsynth_fluid_synth_system_reset=yes 6298else 6299 ac_cv_lib_fluidsynth_fluid_synth_system_reset=no 6300fi 6301rm -f core conftest.err conftest.$ac_objext \ 6302 conftest$ac_exeext conftest.$ac_ext 6303LIBS=$ac_check_lib_save_LIBS 6304fi 6305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_synth_system_reset" >&5 6306$as_echo "$ac_cv_lib_fluidsynth_fluid_synth_system_reset" >&6; } 6307if test "x$ac_cv_lib_fluidsynth_fluid_synth_system_reset" = xyes; then : 6308 ac_fluid_system_reset="yes" 6309else 6310 ac_fluid_system_reset="no" 6311fi 6312 6313if test "x$ac_fluid_system_reset" = "xyes"; then 6314 6315$as_echo "#define CONFIG_FLUID_SYSTEM_RESET 1" >>confdefs.h 6316 6317fi 6318 6319# Check for fluid_synth_set_bank_offset function. 6320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_synth_set_bank_offset in -lfluidsynth" >&5 6321$as_echo_n "checking for fluid_synth_set_bank_offset in -lfluidsynth... " >&6; } 6322if ${ac_cv_lib_fluidsynth_fluid_synth_set_bank_offset+:} false; then : 6323 $as_echo_n "(cached) " >&6 6324else 6325 ac_check_lib_save_LIBS=$LIBS 6326LIBS="-lfluidsynth $LIBS" 6327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6328/* end confdefs.h. */ 6329 6330/* Override any GCC internal prototype to avoid an error. 6331 Use char because int might match the return type of a GCC 6332 builtin and then its argument prototype would still apply. */ 6333#ifdef __cplusplus 6334extern "C" 6335#endif 6336char fluid_synth_set_bank_offset (); 6337int 6338main () 6339{ 6340return fluid_synth_set_bank_offset (); 6341 ; 6342 return 0; 6343} 6344_ACEOF 6345if ac_fn_cxx_try_link "$LINENO"; then : 6346 ac_cv_lib_fluidsynth_fluid_synth_set_bank_offset=yes 6347else 6348 ac_cv_lib_fluidsynth_fluid_synth_set_bank_offset=no 6349fi 6350rm -f core conftest.err conftest.$ac_objext \ 6351 conftest$ac_exeext conftest.$ac_ext 6352LIBS=$ac_check_lib_save_LIBS 6353fi 6354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_synth_set_bank_offset" >&5 6355$as_echo "$ac_cv_lib_fluidsynth_fluid_synth_set_bank_offset" >&6; } 6356if test "x$ac_cv_lib_fluidsynth_fluid_synth_set_bank_offset" = xyes; then : 6357 ac_fluid_bank_offset="yes" 6358else 6359 ac_fluid_bank_offset="no" 6360fi 6361 6362if test "x$ac_fluid_bank_offset" = "xyes"; then 6363 6364$as_echo "#define CONFIG_FLUID_BANK_OFFSET 1" >>confdefs.h 6365 6366fi 6367 6368# Check for fluid_synth_get_channel_info function (DEPRECATED). 6369if test "x$ac_fluid_channel_info" = "xyes"; then 6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_synth_get_channel_info in -lfluidsynth" >&5 6371$as_echo_n "checking for fluid_synth_get_channel_info in -lfluidsynth... " >&6; } 6372if ${ac_cv_lib_fluidsynth_fluid_synth_get_channel_info+:} false; then : 6373 $as_echo_n "(cached) " >&6 6374else 6375 ac_check_lib_save_LIBS=$LIBS 6376LIBS="-lfluidsynth $LIBS" 6377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6378/* end confdefs.h. */ 6379 6380/* Override any GCC internal prototype to avoid an error. 6381 Use char because int might match the return type of a GCC 6382 builtin and then its argument prototype would still apply. */ 6383#ifdef __cplusplus 6384extern "C" 6385#endif 6386char fluid_synth_get_channel_info (); 6387int 6388main () 6389{ 6390return fluid_synth_get_channel_info (); 6391 ; 6392 return 0; 6393} 6394_ACEOF 6395if ac_fn_cxx_try_link "$LINENO"; then : 6396 ac_cv_lib_fluidsynth_fluid_synth_get_channel_info=yes 6397else 6398 ac_cv_lib_fluidsynth_fluid_synth_get_channel_info=no 6399fi 6400rm -f core conftest.err conftest.$ac_objext \ 6401 conftest$ac_exeext conftest.$ac_ext 6402LIBS=$ac_check_lib_save_LIBS 6403fi 6404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_synth_get_channel_info" >&5 6405$as_echo "$ac_cv_lib_fluidsynth_fluid_synth_get_channel_info" >&6; } 6406if test "x$ac_cv_lib_fluidsynth_fluid_synth_get_channel_info" = xyes; then : 6407 ac_fluid_channel_info="yes" 6408else 6409 ac_fluid_channel_info="no" 6410fi 6411 6412 if test "x$ac_fluid_channel_info" = "xyes"; then 6413 6414$as_echo "#define CONFIG_FLUID_CHANNEL_INFO 1" >>confdefs.h 6415 6416 fi 6417fi 6418 6419# Check for fluid_synth_set_midi_router function (DEPRECATED). 6420if test "x$ac_fluid_midi_router" = "xyes"; then 6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_synth_set_midi_router in -lfluidsynth" >&5 6422$as_echo_n "checking for fluid_synth_set_midi_router in -lfluidsynth... " >&6; } 6423if ${ac_cv_lib_fluidsynth_fluid_synth_set_midi_router+:} false; then : 6424 $as_echo_n "(cached) " >&6 6425else 6426 ac_check_lib_save_LIBS=$LIBS 6427LIBS="-lfluidsynth $LIBS" 6428cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6429/* end confdefs.h. */ 6430 6431/* Override any GCC internal prototype to avoid an error. 6432 Use char because int might match the return type of a GCC 6433 builtin and then its argument prototype would still apply. */ 6434#ifdef __cplusplus 6435extern "C" 6436#endif 6437char fluid_synth_set_midi_router (); 6438int 6439main () 6440{ 6441return fluid_synth_set_midi_router (); 6442 ; 6443 return 0; 6444} 6445_ACEOF 6446if ac_fn_cxx_try_link "$LINENO"; then : 6447 ac_cv_lib_fluidsynth_fluid_synth_set_midi_router=yes 6448else 6449 ac_cv_lib_fluidsynth_fluid_synth_set_midi_router=no 6450fi 6451rm -f core conftest.err conftest.$ac_objext \ 6452 conftest$ac_exeext conftest.$ac_ext 6453LIBS=$ac_check_lib_save_LIBS 6454fi 6455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_synth_set_midi_router" >&5 6456$as_echo "$ac_cv_lib_fluidsynth_fluid_synth_set_midi_router" >&6; } 6457if test "x$ac_cv_lib_fluidsynth_fluid_synth_set_midi_router" = xyes; then : 6458 ac_fluid_midi_router="yes" 6459else 6460 ac_fluid_midi_router="no" 6461fi 6462 6463 if test "x$ac_fluid_midi_router" = "xyes"; then 6464 6465$as_echo "#define CONFIG_FLUID_MIDI_ROUTER 1" >>confdefs.h 6466 6467 fi 6468fi 6469 6470# Check for fluid_synth_unset_program function. 6471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_synth_unset_program in -lfluidsynth" >&5 6472$as_echo_n "checking for fluid_synth_unset_program in -lfluidsynth... " >&6; } 6473if ${ac_cv_lib_fluidsynth_fluid_synth_unset_program+:} false; then : 6474 $as_echo_n "(cached) " >&6 6475else 6476 ac_check_lib_save_LIBS=$LIBS 6477LIBS="-lfluidsynth $LIBS" 6478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6479/* end confdefs.h. */ 6480 6481/* Override any GCC internal prototype to avoid an error. 6482 Use char because int might match the return type of a GCC 6483 builtin and then its argument prototype would still apply. */ 6484#ifdef __cplusplus 6485extern "C" 6486#endif 6487char fluid_synth_unset_program (); 6488int 6489main () 6490{ 6491return fluid_synth_unset_program (); 6492 ; 6493 return 0; 6494} 6495_ACEOF 6496if ac_fn_cxx_try_link "$LINENO"; then : 6497 ac_cv_lib_fluidsynth_fluid_synth_unset_program=yes 6498else 6499 ac_cv_lib_fluidsynth_fluid_synth_unset_program=no 6500fi 6501rm -f core conftest.err conftest.$ac_objext \ 6502 conftest$ac_exeext conftest.$ac_ext 6503LIBS=$ac_check_lib_save_LIBS 6504fi 6505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_synth_unset_program" >&5 6506$as_echo "$ac_cv_lib_fluidsynth_fluid_synth_unset_program" >&6; } 6507if test "x$ac_cv_lib_fluidsynth_fluid_synth_unset_program" = xyes; then : 6508 ac_fluid_unset_program="yes" 6509else 6510 ac_fluid_unset_program="no" 6511fi 6512 6513if test "x$ac_fluid_unset_program" = "xyes"; then 6514 6515$as_echo "#define CONFIG_FLUID_UNSET_PROGRAM 1" >>confdefs.h 6516 6517fi 6518 6519# Check for fluid_version_str function. 6520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_version_str in -lfluidsynth" >&5 6521$as_echo_n "checking for fluid_version_str in -lfluidsynth... " >&6; } 6522if ${ac_cv_lib_fluidsynth_fluid_version_str+:} false; then : 6523 $as_echo_n "(cached) " >&6 6524else 6525 ac_check_lib_save_LIBS=$LIBS 6526LIBS="-lfluidsynth $LIBS" 6527cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6528/* end confdefs.h. */ 6529 6530/* Override any GCC internal prototype to avoid an error. 6531 Use char because int might match the return type of a GCC 6532 builtin and then its argument prototype would still apply. */ 6533#ifdef __cplusplus 6534extern "C" 6535#endif 6536char fluid_version_str (); 6537int 6538main () 6539{ 6540return fluid_version_str (); 6541 ; 6542 return 0; 6543} 6544_ACEOF 6545if ac_fn_cxx_try_link "$LINENO"; then : 6546 ac_cv_lib_fluidsynth_fluid_version_str=yes 6547else 6548 ac_cv_lib_fluidsynth_fluid_version_str=no 6549fi 6550rm -f core conftest.err conftest.$ac_objext \ 6551 conftest$ac_exeext conftest.$ac_ext 6552LIBS=$ac_check_lib_save_LIBS 6553fi 6554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_version_str" >&5 6555$as_echo "$ac_cv_lib_fluidsynth_fluid_version_str" >&6; } 6556if test "x$ac_cv_lib_fluidsynth_fluid_version_str" = xyes; then : 6557 ac_fluid_version_str="yes" 6558else 6559 ac_fluid_version_str="no" 6560fi 6561 6562if test "x$ac_fluid_version_str" = "xyes"; then 6563 6564$as_echo "#define CONFIG_FLUID_VERSION_STR 1" >>confdefs.h 6565 6566fi 6567 6568# Check for fluid_settings_dupstr function. 6569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_settings_dupstr in -lfluidsynth" >&5 6570$as_echo_n "checking for fluid_settings_dupstr in -lfluidsynth... " >&6; } 6571if ${ac_cv_lib_fluidsynth_fluid_settings_dupstr+:} false; then : 6572 $as_echo_n "(cached) " >&6 6573else 6574 ac_check_lib_save_LIBS=$LIBS 6575LIBS="-lfluidsynth $LIBS" 6576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6577/* end confdefs.h. */ 6578 6579/* Override any GCC internal prototype to avoid an error. 6580 Use char because int might match the return type of a GCC 6581 builtin and then its argument prototype would still apply. */ 6582#ifdef __cplusplus 6583extern "C" 6584#endif 6585char fluid_settings_dupstr (); 6586int 6587main () 6588{ 6589return fluid_settings_dupstr (); 6590 ; 6591 return 0; 6592} 6593_ACEOF 6594if ac_fn_cxx_try_link "$LINENO"; then : 6595 ac_cv_lib_fluidsynth_fluid_settings_dupstr=yes 6596else 6597 ac_cv_lib_fluidsynth_fluid_settings_dupstr=no 6598fi 6599rm -f core conftest.err conftest.$ac_objext \ 6600 conftest$ac_exeext conftest.$ac_ext 6601LIBS=$ac_check_lib_save_LIBS 6602fi 6603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_settings_dupstr" >&5 6604$as_echo "$ac_cv_lib_fluidsynth_fluid_settings_dupstr" >&6; } 6605if test "x$ac_cv_lib_fluidsynth_fluid_settings_dupstr" = xyes; then : 6606 ac_fluid_settings_dupstr="yes" 6607else 6608 ac_fluid_settings_dupstr="no" 6609fi 6610 6611if test "x$ac_fluid_settings_dupstr" = "xyes"; then 6612 6613$as_echo "#define CONFIG_FLUID_SETTINGS_DUPSTR 1" >>confdefs.h 6614 6615fi 6616 6617 6618# Check for fluid_preset_get_banknum function. 6619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_preset_get_banknum in -lfluidsynth" >&5 6620$as_echo_n "checking for fluid_preset_get_banknum in -lfluidsynth... " >&6; } 6621if ${ac_cv_lib_fluidsynth_fluid_preset_get_banknum+:} false; then : 6622 $as_echo_n "(cached) " >&6 6623else 6624 ac_check_lib_save_LIBS=$LIBS 6625LIBS="-lfluidsynth $LIBS" 6626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6627/* end confdefs.h. */ 6628 6629/* Override any GCC internal prototype to avoid an error. 6630 Use char because int might match the return type of a GCC 6631 builtin and then its argument prototype would still apply. */ 6632#ifdef __cplusplus 6633extern "C" 6634#endif 6635char fluid_preset_get_banknum (); 6636int 6637main () 6638{ 6639return fluid_preset_get_banknum (); 6640 ; 6641 return 0; 6642} 6643_ACEOF 6644if ac_fn_cxx_try_link "$LINENO"; then : 6645 ac_cv_lib_fluidsynth_fluid_preset_get_banknum=yes 6646else 6647 ac_cv_lib_fluidsynth_fluid_preset_get_banknum=no 6648fi 6649rm -f core conftest.err conftest.$ac_objext \ 6650 conftest$ac_exeext conftest.$ac_ext 6651LIBS=$ac_check_lib_save_LIBS 6652fi 6653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_preset_get_banknum" >&5 6654$as_echo "$ac_cv_lib_fluidsynth_fluid_preset_get_banknum" >&6; } 6655if test "x$ac_cv_lib_fluidsynth_fluid_preset_get_banknum" = xyes; then : 6656 ac_fluid_preset_get_banknum="yes" 6657else 6658 ac_fluid_preet_get_banknum="no" 6659fi 6660 6661if test "x$ac_fluid_preset_get_banknum" = "xyes"; then 6662 6663$as_echo "#define CONFIG_FLUID_PRESET_GET_BANKNUM 1" >>confdefs.h 6664 6665fi 6666 6667# Check for fluid_preset_get_num function. 6668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_preset_get_num in -lfluidsynth" >&5 6669$as_echo_n "checking for fluid_preset_get_num in -lfluidsynth... " >&6; } 6670if ${ac_cv_lib_fluidsynth_fluid_preset_get_num+:} false; then : 6671 $as_echo_n "(cached) " >&6 6672else 6673 ac_check_lib_save_LIBS=$LIBS 6674LIBS="-lfluidsynth $LIBS" 6675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6676/* end confdefs.h. */ 6677 6678/* Override any GCC internal prototype to avoid an error. 6679 Use char because int might match the return type of a GCC 6680 builtin and then its argument prototype would still apply. */ 6681#ifdef __cplusplus 6682extern "C" 6683#endif 6684char fluid_preset_get_num (); 6685int 6686main () 6687{ 6688return fluid_preset_get_num (); 6689 ; 6690 return 0; 6691} 6692_ACEOF 6693if ac_fn_cxx_try_link "$LINENO"; then : 6694 ac_cv_lib_fluidsynth_fluid_preset_get_num=yes 6695else 6696 ac_cv_lib_fluidsynth_fluid_preset_get_num=no 6697fi 6698rm -f core conftest.err conftest.$ac_objext \ 6699 conftest$ac_exeext conftest.$ac_ext 6700LIBS=$ac_check_lib_save_LIBS 6701fi 6702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_preset_get_num" >&5 6703$as_echo "$ac_cv_lib_fluidsynth_fluid_preset_get_num" >&6; } 6704if test "x$ac_cv_lib_fluidsynth_fluid_preset_get_num" = xyes; then : 6705 ac_fluid_preset_get_num="yes" 6706else 6707 ac_fluid_preet_get_num="no" 6708fi 6709 6710if test "x$ac_fluid_preset_get_num" = "xyes"; then 6711 6712$as_echo "#define CONFIG_FLUID_PRESET_GET_NUM 1" >>confdefs.h 6713 6714fi 6715 6716# Check for fluid_preset_get_name function. 6717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_preset_get_name in -lfluidsynth" >&5 6718$as_echo_n "checking for fluid_preset_get_name in -lfluidsynth... " >&6; } 6719if ${ac_cv_lib_fluidsynth_fluid_preset_get_name+:} false; then : 6720 $as_echo_n "(cached) " >&6 6721else 6722 ac_check_lib_save_LIBS=$LIBS 6723LIBS="-lfluidsynth $LIBS" 6724cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6725/* end confdefs.h. */ 6726 6727/* Override any GCC internal prototype to avoid an error. 6728 Use char because int might match the return type of a GCC 6729 builtin and then its argument prototype would still apply. */ 6730#ifdef __cplusplus 6731extern "C" 6732#endif 6733char fluid_preset_get_name (); 6734int 6735main () 6736{ 6737return fluid_preset_get_name (); 6738 ; 6739 return 0; 6740} 6741_ACEOF 6742if ac_fn_cxx_try_link "$LINENO"; then : 6743 ac_cv_lib_fluidsynth_fluid_preset_get_name=yes 6744else 6745 ac_cv_lib_fluidsynth_fluid_preset_get_name=no 6746fi 6747rm -f core conftest.err conftest.$ac_objext \ 6748 conftest$ac_exeext conftest.$ac_ext 6749LIBS=$ac_check_lib_save_LIBS 6750fi 6751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_preset_get_name" >&5 6752$as_echo "$ac_cv_lib_fluidsynth_fluid_preset_get_name" >&6; } 6753if test "x$ac_cv_lib_fluidsynth_fluid_preset_get_name" = xyes; then : 6754 ac_fluid_preset_get_name="yes" 6755else 6756 ac_fluid_preet_get_name="no" 6757fi 6758 6759if test "x$ac_fluid_preset_get_name" = "xyes"; then 6760 6761$as_echo "#define CONFIG_FLUID_PRESET_GET_NAME 1" >>confdefs.h 6762 6763fi 6764 6765 6766# Check for fluid_preset_get_sfont function. 6767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_preset_get_sfont in -lfluidsynth" >&5 6768$as_echo_n "checking for fluid_preset_get_sfont in -lfluidsynth... " >&6; } 6769if ${ac_cv_lib_fluidsynth_fluid_preset_get_sfont+:} false; then : 6770 $as_echo_n "(cached) " >&6 6771else 6772 ac_check_lib_save_LIBS=$LIBS 6773LIBS="-lfluidsynth $LIBS" 6774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6775/* end confdefs.h. */ 6776 6777/* Override any GCC internal prototype to avoid an error. 6778 Use char because int might match the return type of a GCC 6779 builtin and then its argument prototype would still apply. */ 6780#ifdef __cplusplus 6781extern "C" 6782#endif 6783char fluid_preset_get_sfont (); 6784int 6785main () 6786{ 6787return fluid_preset_get_sfont (); 6788 ; 6789 return 0; 6790} 6791_ACEOF 6792if ac_fn_cxx_try_link "$LINENO"; then : 6793 ac_cv_lib_fluidsynth_fluid_preset_get_sfont=yes 6794else 6795 ac_cv_lib_fluidsynth_fluid_preset_get_sfont=no 6796fi 6797rm -f core conftest.err conftest.$ac_objext \ 6798 conftest$ac_exeext conftest.$ac_ext 6799LIBS=$ac_check_lib_save_LIBS 6800fi 6801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_preset_get_sfont" >&5 6802$as_echo "$ac_cv_lib_fluidsynth_fluid_preset_get_sfont" >&6; } 6803if test "x$ac_cv_lib_fluidsynth_fluid_preset_get_sfont" = xyes; then : 6804 ac_fluid_preset_get_sfont="yes" 6805else 6806 ac_fluid_preet_get_sfont="no" 6807fi 6808 6809if test "x$ac_fluid_preset_get_sfont" = "xyes"; then 6810 6811$as_echo "#define CONFIG_FLUID_PRESET_GET_SFONT 1" >>confdefs.h 6812 6813fi 6814 6815# Check for fluid_sfont_get_id function. 6816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_sfont_get_id in -lfluidsynth" >&5 6817$as_echo_n "checking for fluid_sfont_get_id in -lfluidsynth... " >&6; } 6818if ${ac_cv_lib_fluidsynth_fluid_sfont_get_id+:} false; then : 6819 $as_echo_n "(cached) " >&6 6820else 6821 ac_check_lib_save_LIBS=$LIBS 6822LIBS="-lfluidsynth $LIBS" 6823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6824/* end confdefs.h. */ 6825 6826/* Override any GCC internal prototype to avoid an error. 6827 Use char because int might match the return type of a GCC 6828 builtin and then its argument prototype would still apply. */ 6829#ifdef __cplusplus 6830extern "C" 6831#endif 6832char fluid_sfont_get_id (); 6833int 6834main () 6835{ 6836return fluid_sfont_get_id (); 6837 ; 6838 return 0; 6839} 6840_ACEOF 6841if ac_fn_cxx_try_link "$LINENO"; then : 6842 ac_cv_lib_fluidsynth_fluid_sfont_get_id=yes 6843else 6844 ac_cv_lib_fluidsynth_fluid_sfont_get_id=no 6845fi 6846rm -f core conftest.err conftest.$ac_objext \ 6847 conftest$ac_exeext conftest.$ac_ext 6848LIBS=$ac_check_lib_save_LIBS 6849fi 6850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_sfont_get_id" >&5 6851$as_echo "$ac_cv_lib_fluidsynth_fluid_sfont_get_id" >&6; } 6852if test "x$ac_cv_lib_fluidsynth_fluid_sfont_get_id" = xyes; then : 6853 ac_fluid_sfont_get_id="yes" 6854else 6855 ac_fluid_sfont_get_id="no" 6856fi 6857 6858if test "x$ac_fluid_sfont_get_id" = "xyes"; then 6859 6860$as_echo "#define CONFIG_FLUID_SFONT_GET_ID 1" >>confdefs.h 6861 6862fi 6863 6864# Check for fluid_sfont_get_name function. 6865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_sfont_get_name in -lfluidsynth" >&5 6866$as_echo_n "checking for fluid_sfont_get_name in -lfluidsynth... " >&6; } 6867if ${ac_cv_lib_fluidsynth_fluid_sfont_get_name+:} false; then : 6868 $as_echo_n "(cached) " >&6 6869else 6870 ac_check_lib_save_LIBS=$LIBS 6871LIBS="-lfluidsynth $LIBS" 6872cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6873/* end confdefs.h. */ 6874 6875/* Override any GCC internal prototype to avoid an error. 6876 Use char because int might match the return type of a GCC 6877 builtin and then its argument prototype would still apply. */ 6878#ifdef __cplusplus 6879extern "C" 6880#endif 6881char fluid_sfont_get_name (); 6882int 6883main () 6884{ 6885return fluid_sfont_get_name (); 6886 ; 6887 return 0; 6888} 6889_ACEOF 6890if ac_fn_cxx_try_link "$LINENO"; then : 6891 ac_cv_lib_fluidsynth_fluid_sfont_get_name=yes 6892else 6893 ac_cv_lib_fluidsynth_fluid_sfont_get_name=no 6894fi 6895rm -f core conftest.err conftest.$ac_objext \ 6896 conftest$ac_exeext conftest.$ac_ext 6897LIBS=$ac_check_lib_save_LIBS 6898fi 6899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_sfont_get_name" >&5 6900$as_echo "$ac_cv_lib_fluidsynth_fluid_sfont_get_name" >&6; } 6901if test "x$ac_cv_lib_fluidsynth_fluid_sfont_get_name" = xyes; then : 6902 ac_fluid_sfont_get_name="yes" 6903else 6904 ac_fluid_sfont_get_name="no" 6905fi 6906 6907if test "x$ac_fluid_sfont_get_name" = "xyes"; then 6908 6909$as_echo "#define CONFIG_FLUID_SFONT_GET_NAME 1" >>confdefs.h 6910 6911fi 6912 6913 6914# Check for fluid_sfont_iteration_start function. 6915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_sfont_iteration_start in -lfluidsynth" >&5 6916$as_echo_n "checking for fluid_sfont_iteration_start in -lfluidsynth... " >&6; } 6917if ${ac_cv_lib_fluidsynth_fluid_sfont_iteration_start+:} false; then : 6918 $as_echo_n "(cached) " >&6 6919else 6920 ac_check_lib_save_LIBS=$LIBS 6921LIBS="-lfluidsynth $LIBS" 6922cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6923/* end confdefs.h. */ 6924 6925/* Override any GCC internal prototype to avoid an error. 6926 Use char because int might match the return type of a GCC 6927 builtin and then its argument prototype would still apply. */ 6928#ifdef __cplusplus 6929extern "C" 6930#endif 6931char fluid_sfont_iteration_start (); 6932int 6933main () 6934{ 6935return fluid_sfont_iteration_start (); 6936 ; 6937 return 0; 6938} 6939_ACEOF 6940if ac_fn_cxx_try_link "$LINENO"; then : 6941 ac_cv_lib_fluidsynth_fluid_sfont_iteration_start=yes 6942else 6943 ac_cv_lib_fluidsynth_fluid_sfont_iteration_start=no 6944fi 6945rm -f core conftest.err conftest.$ac_objext \ 6946 conftest$ac_exeext conftest.$ac_ext 6947LIBS=$ac_check_lib_save_LIBS 6948fi 6949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_sfont_iteration_start" >&5 6950$as_echo "$ac_cv_lib_fluidsynth_fluid_sfont_iteration_start" >&6; } 6951if test "x$ac_cv_lib_fluidsynth_fluid_sfont_iteration_start" = xyes; then : 6952 ac_fluid_sfont_iteration_start="yes" 6953else 6954 ac_fluid_sfont_iteration_start="no" 6955fi 6956 6957if test "x$ac_fluid_sfont_iteration_start" = "xyes"; then 6958 6959$as_echo "#define CONFIG_FLUID_SFONT_ITERATION_START 1" >>confdefs.h 6960 6961fi 6962 6963# Check for fluid_sfont_iteration_next function. 6964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_sfont_iteration_next in -lfluidsynth" >&5 6965$as_echo_n "checking for fluid_sfont_iteration_next in -lfluidsynth... " >&6; } 6966if ${ac_cv_lib_fluidsynth_fluid_sfont_iteration_next+:} false; then : 6967 $as_echo_n "(cached) " >&6 6968else 6969 ac_check_lib_save_LIBS=$LIBS 6970LIBS="-lfluidsynth $LIBS" 6971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6972/* end confdefs.h. */ 6973 6974/* Override any GCC internal prototype to avoid an error. 6975 Use char because int might match the return type of a GCC 6976 builtin and then its argument prototype would still apply. */ 6977#ifdef __cplusplus 6978extern "C" 6979#endif 6980char fluid_sfont_iteration_next (); 6981int 6982main () 6983{ 6984return fluid_sfont_iteration_next (); 6985 ; 6986 return 0; 6987} 6988_ACEOF 6989if ac_fn_cxx_try_link "$LINENO"; then : 6990 ac_cv_lib_fluidsynth_fluid_sfont_iteration_next=yes 6991else 6992 ac_cv_lib_fluidsynth_fluid_sfont_iteration_next=no 6993fi 6994rm -f core conftest.err conftest.$ac_objext \ 6995 conftest$ac_exeext conftest.$ac_ext 6996LIBS=$ac_check_lib_save_LIBS 6997fi 6998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_sfont_iteration_next" >&5 6999$as_echo "$ac_cv_lib_fluidsynth_fluid_sfont_iteration_next" >&6; } 7000if test "x$ac_cv_lib_fluidsynth_fluid_sfont_iteration_next" = xyes; then : 7001 ac_fluid_sfont_iteration_next="yes" 7002else 7003 ac_fluid_sfont_iteration_next="no" 7004fi 7005 7006if test "x$ac_fluid_sfont_iteration_next" = "xyes"; then 7007 7008$as_echo "#define CONFIG_FLUID_SFONT_ITERATION_NEXT 1" >>confdefs.h 7009 7010fi 7011 7012 7013# Check for fluid_synth_get_chorus_speed function. 7014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_synth_get_chorus_speed in -lfluidsynth" >&5 7015$as_echo_n "checking for fluid_synth_get_chorus_speed in -lfluidsynth... " >&6; } 7016if ${ac_cv_lib_fluidsynth_fluid_synth_get_chorus_speed+:} false; then : 7017 $as_echo_n "(cached) " >&6 7018else 7019 ac_check_lib_save_LIBS=$LIBS 7020LIBS="-lfluidsynth $LIBS" 7021cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7022/* end confdefs.h. */ 7023 7024/* Override any GCC internal prototype to avoid an error. 7025 Use char because int might match the return type of a GCC 7026 builtin and then its argument prototype would still apply. */ 7027#ifdef __cplusplus 7028extern "C" 7029#endif 7030char fluid_synth_get_chorus_speed (); 7031int 7032main () 7033{ 7034return fluid_synth_get_chorus_speed (); 7035 ; 7036 return 0; 7037} 7038_ACEOF 7039if ac_fn_cxx_try_link "$LINENO"; then : 7040 ac_cv_lib_fluidsynth_fluid_synth_get_chorus_speed=yes 7041else 7042 ac_cv_lib_fluidsynth_fluid_synth_get_chorus_speed=no 7043fi 7044rm -f core conftest.err conftest.$ac_objext \ 7045 conftest$ac_exeext conftest.$ac_ext 7046LIBS=$ac_check_lib_save_LIBS 7047fi 7048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_synth_get_chorus_speed" >&5 7049$as_echo "$ac_cv_lib_fluidsynth_fluid_synth_get_chorus_speed" >&6; } 7050if test "x$ac_cv_lib_fluidsynth_fluid_synth_get_chorus_speed" = xyes; then : 7051 ac_fluid_synth_get_chorus_speed="yes" 7052else 7053 ac_fluid_synth_get_chorus_speed="no" 7054fi 7055 7056if test "x$ac_fluid_synth_get_chorus_speed" = "xyes"; then 7057 7058$as_echo "#define CONFIG_FLUID_SYNTH_GET_CHORUS_SPEED 1" >>confdefs.h 7059 7060fi 7061 7062# Check for fluid_synth_get_chorus_depth function. 7063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_synth_get_chorus_depth in -lfluidsynth" >&5 7064$as_echo_n "checking for fluid_synth_get_chorus_depth in -lfluidsynth... " >&6; } 7065if ${ac_cv_lib_fluidsynth_fluid_synth_get_chorus_depth+:} false; then : 7066 $as_echo_n "(cached) " >&6 7067else 7068 ac_check_lib_save_LIBS=$LIBS 7069LIBS="-lfluidsynth $LIBS" 7070cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7071/* end confdefs.h. */ 7072 7073/* Override any GCC internal prototype to avoid an error. 7074 Use char because int might match the return type of a GCC 7075 builtin and then its argument prototype would still apply. */ 7076#ifdef __cplusplus 7077extern "C" 7078#endif 7079char fluid_synth_get_chorus_depth (); 7080int 7081main () 7082{ 7083return fluid_synth_get_chorus_depth (); 7084 ; 7085 return 0; 7086} 7087_ACEOF 7088if ac_fn_cxx_try_link "$LINENO"; then : 7089 ac_cv_lib_fluidsynth_fluid_synth_get_chorus_depth=yes 7090else 7091 ac_cv_lib_fluidsynth_fluid_synth_get_chorus_depth=no 7092fi 7093rm -f core conftest.err conftest.$ac_objext \ 7094 conftest$ac_exeext conftest.$ac_ext 7095LIBS=$ac_check_lib_save_LIBS 7096fi 7097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_synth_get_chorus_depth" >&5 7098$as_echo "$ac_cv_lib_fluidsynth_fluid_synth_get_chorus_depth" >&6; } 7099if test "x$ac_cv_lib_fluidsynth_fluid_synth_get_chorus_depth" = xyes; then : 7100 ac_fluid_synth_get_chorus_depth="yes" 7101else 7102 ac_fluid_synth_get_chorus_speed="no" 7103fi 7104 7105if test "x$ac_fluid_synth_get_chorus_depth" = "xyes"; then 7106 7107$as_echo "#define CONFIG_FLUID_SYNTH_GET_CHORUS_DEPTH 1" >>confdefs.h 7108 7109fi 7110 7111 7112# Check for FluidSynth API V2 (>= 2.0.0). 7113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FluidSynth API V2 (>= 2.0.0)" >&5 7114$as_echo_n "checking for FluidSynth API V2 (>= 2.0.0)... " >&6; } 7115if ${ac_cv_fluidsynth2+:} false; then : 7116 $as_echo_n "(cached) " >&6 7117else 7118 7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7120/* end confdefs.h. */ 7121#include "fluidsynth.h" 7122int 7123main () 7124{ 7125 7126 #if FLUIDSYNTH_VERSION_MAJOR < 2 7127 #error FluidSynth API V2 or greater is not available. 7128 #endif 7129 7130 ; 7131 return 0; 7132} 7133_ACEOF 7134if ac_fn_cxx_try_compile "$LINENO"; then : 7135 ac_cv_fluidsynth2="yes" 7136else 7137 ac_cv_fluidsynth2="no" 7138fi 7139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7140 7141fi 7142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fluidsynth2" >&5 7143$as_echo "$ac_cv_fluidsynth2" >&6; } 7144if test "x$ac_cv_fluidsynth2" = "xyes"; then 7145 # Check for fluid_settings_getnum_default function. 7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_settings_getnum_default in -lfluidsynth" >&5 7147$as_echo_n "checking for fluid_settings_getnum_default in -lfluidsynth... " >&6; } 7148if ${ac_cv_lib_fluidsynth_fluid_settings_getnum_default+:} false; then : 7149 $as_echo_n "(cached) " >&6 7150else 7151 ac_check_lib_save_LIBS=$LIBS 7152LIBS="-lfluidsynth $LIBS" 7153cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7154/* end confdefs.h. */ 7155 7156/* Override any GCC internal prototype to avoid an error. 7157 Use char because int might match the return type of a GCC 7158 builtin and then its argument prototype would still apply. */ 7159#ifdef __cplusplus 7160extern "C" 7161#endif 7162char fluid_settings_getnum_default (); 7163int 7164main () 7165{ 7166return fluid_settings_getnum_default (); 7167 ; 7168 return 0; 7169} 7170_ACEOF 7171if ac_fn_cxx_try_link "$LINENO"; then : 7172 ac_cv_lib_fluidsynth_fluid_settings_getnum_default=yes 7173else 7174 ac_cv_lib_fluidsynth_fluid_settings_getnum_default=no 7175fi 7176rm -f core conftest.err conftest.$ac_objext \ 7177 conftest$ac_exeext conftest.$ac_ext 7178LIBS=$ac_check_lib_save_LIBS 7179fi 7180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_settings_getnum_default" >&5 7181$as_echo "$ac_cv_lib_fluidsynth_fluid_settings_getnum_default" >&6; } 7182if test "x$ac_cv_lib_fluidsynth_fluid_settings_getnum_default" = xyes; then : 7183 ac_fluid_settings_getnum_default="yes" 7184else 7185 ac_fluid_settings_getnum_default="no" 7186fi 7187 7188 if test "x$ac_fluid_settings_getnum_default" = "xyes"; then 7189 7190$as_echo "#define CONFIG_FLUID_SETTINGS_GETNUM_DEFAULT 1" >>confdefs.h 7191 7192 fi 7193 # Check for fluid_settings_getint_default function. 7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_settings_getint_default in -lfluidsynth" >&5 7195$as_echo_n "checking for fluid_settings_getint_default in -lfluidsynth... " >&6; } 7196if ${ac_cv_lib_fluidsynth_fluid_settings_getint_default+:} false; then : 7197 $as_echo_n "(cached) " >&6 7198else 7199 ac_check_lib_save_LIBS=$LIBS 7200LIBS="-lfluidsynth $LIBS" 7201cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7202/* end confdefs.h. */ 7203 7204/* Override any GCC internal prototype to avoid an error. 7205 Use char because int might match the return type of a GCC 7206 builtin and then its argument prototype would still apply. */ 7207#ifdef __cplusplus 7208extern "C" 7209#endif 7210char fluid_settings_getint_default (); 7211int 7212main () 7213{ 7214return fluid_settings_getint_default (); 7215 ; 7216 return 0; 7217} 7218_ACEOF 7219if ac_fn_cxx_try_link "$LINENO"; then : 7220 ac_cv_lib_fluidsynth_fluid_settings_getint_default=yes 7221else 7222 ac_cv_lib_fluidsynth_fluid_settings_getint_default=no 7223fi 7224rm -f core conftest.err conftest.$ac_objext \ 7225 conftest$ac_exeext conftest.$ac_ext 7226LIBS=$ac_check_lib_save_LIBS 7227fi 7228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_settings_getint_default" >&5 7229$as_echo "$ac_cv_lib_fluidsynth_fluid_settings_getint_default" >&6; } 7230if test "x$ac_cv_lib_fluidsynth_fluid_settings_getint_default" = xyes; then : 7231 ac_fluid_settings_getint_default="yes" 7232else 7233 ac_fluid_settings_getint_default="no" 7234fi 7235 7236 if test "x$ac_fluid_settings_getint_default" = "xyes"; then 7237 7238$as_echo "#define CONFIG_FLUID_SETTINGS_GETINT_DEFAULT 1" >>confdefs.h 7239 7240 fi 7241 # Check for fluid_settings_getstr_default function. 7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_settings_getstr_default in -lfluidsynth" >&5 7243$as_echo_n "checking for fluid_settings_getstr_default in -lfluidsynth... " >&6; } 7244if ${ac_cv_lib_fluidsynth_fluid_settings_getstr_default+:} false; then : 7245 $as_echo_n "(cached) " >&6 7246else 7247 ac_check_lib_save_LIBS=$LIBS 7248LIBS="-lfluidsynth $LIBS" 7249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7250/* end confdefs.h. */ 7251 7252/* Override any GCC internal prototype to avoid an error. 7253 Use char because int might match the return type of a GCC 7254 builtin and then its argument prototype would still apply. */ 7255#ifdef __cplusplus 7256extern "C" 7257#endif 7258char fluid_settings_getstr_default (); 7259int 7260main () 7261{ 7262return fluid_settings_getstr_default (); 7263 ; 7264 return 0; 7265} 7266_ACEOF 7267if ac_fn_cxx_try_link "$LINENO"; then : 7268 ac_cv_lib_fluidsynth_fluid_settings_getstr_default=yes 7269else 7270 ac_cv_lib_fluidsynth_fluid_settings_getstr_default=no 7271fi 7272rm -f core conftest.err conftest.$ac_objext \ 7273 conftest$ac_exeext conftest.$ac_ext 7274LIBS=$ac_check_lib_save_LIBS 7275fi 7276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_settings_getstr_default" >&5 7277$as_echo "$ac_cv_lib_fluidsynth_fluid_settings_getstr_default" >&6; } 7278if test "x$ac_cv_lib_fluidsynth_fluid_settings_getstr_default" = xyes; then : 7279 ac_fluid_settings_getstr_default="yes" 7280else 7281 ac_fluid_settings_getstr_default="no" 7282fi 7283 7284 if test "x$ac_fluid_settings_getstr_default" = "xyes"; then 7285 7286$as_echo "#define CONFIG_FLUID_SETTINGS_GETSTR_DEFAULT 1" >>confdefs.h 7287 7288 fi 7289 # Check for fluid_settings_foreach function. 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_settings_foreach in -lfluidsynth" >&5 7291$as_echo_n "checking for fluid_settings_foreach in -lfluidsynth... " >&6; } 7292if ${ac_cv_lib_fluidsynth_fluid_settings_foreach+:} false; then : 7293 $as_echo_n "(cached) " >&6 7294else 7295 ac_check_lib_save_LIBS=$LIBS 7296LIBS="-lfluidsynth $LIBS" 7297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7298/* end confdefs.h. */ 7299 7300/* Override any GCC internal prototype to avoid an error. 7301 Use char because int might match the return type of a GCC 7302 builtin and then its argument prototype would still apply. */ 7303#ifdef __cplusplus 7304extern "C" 7305#endif 7306char fluid_settings_foreach (); 7307int 7308main () 7309{ 7310return fluid_settings_foreach (); 7311 ; 7312 return 0; 7313} 7314_ACEOF 7315if ac_fn_cxx_try_link "$LINENO"; then : 7316 ac_cv_lib_fluidsynth_fluid_settings_foreach=yes 7317else 7318 ac_cv_lib_fluidsynth_fluid_settings_foreach=no 7319fi 7320rm -f core conftest.err conftest.$ac_objext \ 7321 conftest$ac_exeext conftest.$ac_ext 7322LIBS=$ac_check_lib_save_LIBS 7323fi 7324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_settings_foreach" >&5 7325$as_echo "$ac_cv_lib_fluidsynth_fluid_settings_foreach" >&6; } 7326if test "x$ac_cv_lib_fluidsynth_fluid_settings_foreach" = xyes; then : 7327 ac_fluid_settings_foreach="yes" 7328else 7329 ac_fluid_settings_foreach="no" 7330fi 7331 7332 if test "x$ac_fluid_settings_foreach" = "xyes"; then 7333 7334$as_echo "#define CONFIG_FLUID_SETTINGS_FOREACH 1" >>confdefs.h 7335 7336 fi 7337 # Check for fluid_settings_foreach_option function. 7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fluid_settings_foreach_option in -lfluidsynth" >&5 7339$as_echo_n "checking for fluid_settings_foreach_option in -lfluidsynth... " >&6; } 7340if ${ac_cv_lib_fluidsynth_fluid_settings_foreach_option+:} false; then : 7341 $as_echo_n "(cached) " >&6 7342else 7343 ac_check_lib_save_LIBS=$LIBS 7344LIBS="-lfluidsynth $LIBS" 7345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7346/* end confdefs.h. */ 7347 7348/* Override any GCC internal prototype to avoid an error. 7349 Use char because int might match the return type of a GCC 7350 builtin and then its argument prototype would still apply. */ 7351#ifdef __cplusplus 7352extern "C" 7353#endif 7354char fluid_settings_foreach_option (); 7355int 7356main () 7357{ 7358return fluid_settings_foreach_option (); 7359 ; 7360 return 0; 7361} 7362_ACEOF 7363if ac_fn_cxx_try_link "$LINENO"; then : 7364 ac_cv_lib_fluidsynth_fluid_settings_foreach_option=yes 7365else 7366 ac_cv_lib_fluidsynth_fluid_settings_foreach_option=no 7367fi 7368rm -f core conftest.err conftest.$ac_objext \ 7369 conftest$ac_exeext conftest.$ac_ext 7370LIBS=$ac_check_lib_save_LIBS 7371fi 7372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_fluid_settings_foreach_option" >&5 7373$as_echo "$ac_cv_lib_fluidsynth_fluid_settings_foreach_option" >&6; } 7374if test "x$ac_cv_lib_fluidsynth_fluid_settings_foreach_option" = xyes; then : 7375 ac_fluid_settings_foreach_option="yes" 7376else 7377 ac_fluid_settings_foreach_option="no" 7378fi 7379 7380 if test "x$ac_fluid_settings_foreach_option" = "xyes"; then 7381 7382$as_echo "#define CONFIG_FLUID_SETTINGS_FOREACH_OPTION 1" >>confdefs.h 7383 7384 fi 7385 # Check for new_fluid_server function. 7386 if test "x$ac_fluid_server" = "xyes"; then 7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_fluid_server in -lfluidsynth" >&5 7388$as_echo_n "checking for new_fluid_server in -lfluidsynth... " >&6; } 7389if ${ac_cv_lib_fluidsynth_new_fluid_server+:} false; then : 7390 $as_echo_n "(cached) " >&6 7391else 7392 ac_check_lib_save_LIBS=$LIBS 7393LIBS="-lfluidsynth $LIBS" 7394cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7395/* end confdefs.h. */ 7396 7397/* Override any GCC internal prototype to avoid an error. 7398 Use char because int might match the return type of a GCC 7399 builtin and then its argument prototype would still apply. */ 7400#ifdef __cplusplus 7401extern "C" 7402#endif 7403char new_fluid_server (); 7404int 7405main () 7406{ 7407return new_fluid_server (); 7408 ; 7409 return 0; 7410} 7411_ACEOF 7412if ac_fn_cxx_try_link "$LINENO"; then : 7413 ac_cv_lib_fluidsynth_new_fluid_server=yes 7414else 7415 ac_cv_lib_fluidsynth_new_fluid_server=no 7416fi 7417rm -f core conftest.err conftest.$ac_objext \ 7418 conftest$ac_exeext conftest.$ac_ext 7419LIBS=$ac_check_lib_save_LIBS 7420fi 7421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fluidsynth_new_fluid_server" >&5 7422$as_echo "$ac_cv_lib_fluidsynth_new_fluid_server" >&6; } 7423if test "x$ac_cv_lib_fluidsynth_new_fluid_server" = xyes; then : 7424 ac_new_fluid_server="yes" 7425else 7426 ac_new_fluid_server="no" 7427fi 7428 7429 if test "x$ac_new_fluid_server" = "xyes"; then 7430 7431$as_echo "#define CONFIG_NEW_FLUID_SERVER 1" >>confdefs.h 7432 7433 fi 7434 fi 7435fi 7436 7437 7438# Finally produce a configure header file and the makefiles. 7439cat >confcache <<\_ACEOF 7440# This file is a shell script that caches the results of configure 7441# tests run on this system so they can be shared between configure 7442# scripts and configure runs, see configure's option --config-cache. 7443# It is not useful on other systems. If it contains results you don't 7444# want to keep, you may remove or edit it. 7445# 7446# config.status only pays attention to the cache file if you give it 7447# the --recheck option to rerun configure. 7448# 7449# `ac_cv_env_foo' variables (set or unset) will be overridden when 7450# loading this file, other *unset* `ac_cv_foo' will be assigned the 7451# following values. 7452 7453_ACEOF 7454 7455# The following way of writing the cache mishandles newlines in values, 7456# but we know of no workaround that is simple, portable, and efficient. 7457# So, we kill variables containing newlines. 7458# Ultrix sh set writes to stderr and can't be redirected directly, 7459# and sets the high bit in the cache file unless we assign to the vars. 7460( 7461 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7462 eval ac_val=\$$ac_var 7463 case $ac_val in #( 7464 *${as_nl}*) 7465 case $ac_var in #( 7466 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7467$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7468 esac 7469 case $ac_var in #( 7470 _ | IFS | as_nl) ;; #( 7471 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7472 *) { eval $ac_var=; unset $ac_var;} ;; 7473 esac ;; 7474 esac 7475 done 7476 7477 (set) 2>&1 | 7478 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7479 *${as_nl}ac_space=\ *) 7480 # `set' does not quote correctly, so add quotes: double-quote 7481 # substitution turns \\\\ into \\, and sed turns \\ into \. 7482 sed -n \ 7483 "s/'/'\\\\''/g; 7484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7485 ;; #( 7486 *) 7487 # `set' quotes correctly as required by POSIX, so do not add quotes. 7488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7489 ;; 7490 esac | 7491 sort 7492) | 7493 sed ' 7494 /^ac_cv_env_/b end 7495 t clear 7496 :clear 7497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7498 t end 7499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7500 :end' >>confcache 7501if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7502 if test -w "$cache_file"; then 7503 if test "x$cache_file" != "x/dev/null"; then 7504 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7505$as_echo "$as_me: updating cache $cache_file" >&6;} 7506 if test ! -f "$cache_file" || test -h "$cache_file"; then 7507 cat confcache >"$cache_file" 7508 else 7509 case $cache_file in #( 7510 */* | ?:*) 7511 mv -f confcache "$cache_file"$$ && 7512 mv -f "$cache_file"$$ "$cache_file" ;; #( 7513 *) 7514 mv -f confcache "$cache_file" ;; 7515 esac 7516 fi 7517 fi 7518 else 7519 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7520$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7521 fi 7522fi 7523rm -f confcache 7524 7525test "x$prefix" = xNONE && prefix=$ac_default_prefix 7526# Let make expand exec_prefix. 7527test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7528 7529DEFS=-DHAVE_CONFIG_H 7530 7531ac_libobjs= 7532ac_ltlibobjs= 7533U= 7534for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7535 # 1. Remove the extension, and $U if already installed. 7536 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7537 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7538 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7539 # will be set to the directory where LIBOBJS objects are built. 7540 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7541 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7542done 7543LIBOBJS=$ac_libobjs 7544 7545LTLIBOBJS=$ac_ltlibobjs 7546 7547 7548 7549: "${CONFIG_STATUS=./config.status}" 7550ac_write_fail=0 7551ac_clean_files_save=$ac_clean_files 7552ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7553{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7554$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7555as_write_fail=0 7556cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7557#! $SHELL 7558# Generated by $as_me. 7559# Run this file to recreate the current configuration. 7560# Compiler output produced by configure, useful for debugging 7561# configure, is in config.log if it exists. 7562 7563debug=false 7564ac_cs_recheck=false 7565ac_cs_silent=false 7566 7567SHELL=\${CONFIG_SHELL-$SHELL} 7568export SHELL 7569_ASEOF 7570cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7571## -------------------- ## 7572## M4sh Initialization. ## 7573## -------------------- ## 7574 7575# Be more Bourne compatible 7576DUALCASE=1; export DUALCASE # for MKS sh 7577if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7578 emulate sh 7579 NULLCMD=: 7580 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7581 # is contrary to our usage. Disable this feature. 7582 alias -g '${1+"$@"}'='"$@"' 7583 setopt NO_GLOB_SUBST 7584else 7585 case `(set -o) 2>/dev/null` in #( 7586 *posix*) : 7587 set -o posix ;; #( 7588 *) : 7589 ;; 7590esac 7591fi 7592 7593 7594as_nl=' 7595' 7596export as_nl 7597# Printing a long string crashes Solaris 7 /usr/bin/printf. 7598as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7599as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 7600as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 7601# Prefer a ksh shell builtin over an external printf program on Solaris, 7602# but without wasting forks for bash or zsh. 7603if test -z "$BASH_VERSION$ZSH_VERSION" \ 7604 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7605 as_echo='print -r --' 7606 as_echo_n='print -rn --' 7607elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7608 as_echo='printf %s\n' 7609 as_echo_n='printf %s' 7610else 7611 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 7612 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 7613 as_echo_n='/usr/ucb/echo -n' 7614 else 7615 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7616 as_echo_n_body='eval 7617 arg=$1; 7618 case $arg in #( 7619 *"$as_nl"*) 7620 expr "X$arg" : "X\\(.*\\)$as_nl"; 7621 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 7622 esac; 7623 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 7624 ' 7625 export as_echo_n_body 7626 as_echo_n='sh -c $as_echo_n_body as_echo' 7627 fi 7628 export as_echo_body 7629 as_echo='sh -c $as_echo_body as_echo' 7630fi 7631 7632# The user is always right. 7633if test "${PATH_SEPARATOR+set}" != set; then 7634 PATH_SEPARATOR=: 7635 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7636 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7637 PATH_SEPARATOR=';' 7638 } 7639fi 7640 7641 7642# IFS 7643# We need space, tab and new line, in precisely that order. Quoting is 7644# there to prevent editors from complaining about space-tab. 7645# (If _AS_PATH_WALK were called with IFS unset, it would disable word 7646# splitting by setting IFS to empty value.) 7647IFS=" "" $as_nl" 7648 7649# Find who we are. Look in the path if we contain no directory separator. 7650as_myself= 7651case $0 in #(( 7652 *[\\/]* ) as_myself=$0 ;; 7653 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7654for as_dir in $PATH 7655do 7656 IFS=$as_save_IFS 7657 test -z "$as_dir" && as_dir=. 7658 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7659 done 7660IFS=$as_save_IFS 7661 7662 ;; 7663esac 7664# We did not find ourselves, most probably we were run as `sh COMMAND' 7665# in which case we are not to be found in the path. 7666if test "x$as_myself" = x; then 7667 as_myself=$0 7668fi 7669if test ! -f "$as_myself"; then 7670 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7671 exit 1 7672fi 7673 7674# Unset variables that we do not need and which cause bugs (e.g. in 7675# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7676# suppresses any "Segmentation fault" message there. '((' could 7677# trigger a bug in pdksh 5.2.14. 7678for as_var in BASH_ENV ENV MAIL MAILPATH 7679do eval test x\${$as_var+set} = xset \ 7680 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7681done 7682PS1='$ ' 7683PS2='> ' 7684PS4='+ ' 7685 7686# NLS nuisances. 7687LC_ALL=C 7688export LC_ALL 7689LANGUAGE=C 7690export LANGUAGE 7691 7692# CDPATH. 7693(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7694 7695 7696# as_fn_error STATUS ERROR [LINENO LOG_FD] 7697# ---------------------------------------- 7698# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7699# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7700# script with STATUS, using 1 if that was 0. 7701as_fn_error () 7702{ 7703 as_status=$1; test $as_status -eq 0 && as_status=1 7704 if test "$4"; then 7705 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7706 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7707 fi 7708 $as_echo "$as_me: error: $2" >&2 7709 as_fn_exit $as_status 7710} # as_fn_error 7711 7712 7713# as_fn_set_status STATUS 7714# ----------------------- 7715# Set $? to STATUS, without forking. 7716as_fn_set_status () 7717{ 7718 return $1 7719} # as_fn_set_status 7720 7721# as_fn_exit STATUS 7722# ----------------- 7723# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7724as_fn_exit () 7725{ 7726 set +e 7727 as_fn_set_status $1 7728 exit $1 7729} # as_fn_exit 7730 7731# as_fn_unset VAR 7732# --------------- 7733# Portably unset VAR. 7734as_fn_unset () 7735{ 7736 { eval $1=; unset $1;} 7737} 7738as_unset=as_fn_unset 7739# as_fn_append VAR VALUE 7740# ---------------------- 7741# Append the text in VALUE to the end of the definition contained in VAR. Take 7742# advantage of any shell optimizations that allow amortized linear growth over 7743# repeated appends, instead of the typical quadratic growth present in naive 7744# implementations. 7745if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7746 eval 'as_fn_append () 7747 { 7748 eval $1+=\$2 7749 }' 7750else 7751 as_fn_append () 7752 { 7753 eval $1=\$$1\$2 7754 } 7755fi # as_fn_append 7756 7757# as_fn_arith ARG... 7758# ------------------ 7759# Perform arithmetic evaluation on the ARGs, and store the result in the 7760# global $as_val. Take advantage of shells that can avoid forks. The arguments 7761# must be portable across $(()) and expr. 7762if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7763 eval 'as_fn_arith () 7764 { 7765 as_val=$(( $* )) 7766 }' 7767else 7768 as_fn_arith () 7769 { 7770 as_val=`expr "$@" || test $? -eq 1` 7771 } 7772fi # as_fn_arith 7773 7774 7775if expr a : '\(a\)' >/dev/null 2>&1 && 7776 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7777 as_expr=expr 7778else 7779 as_expr=false 7780fi 7781 7782if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7783 as_basename=basename 7784else 7785 as_basename=false 7786fi 7787 7788if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7789 as_dirname=dirname 7790else 7791 as_dirname=false 7792fi 7793 7794as_me=`$as_basename -- "$0" || 7795$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7796 X"$0" : 'X\(//\)$' \| \ 7797 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7798$as_echo X/"$0" | 7799 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7800 s//\1/ 7801 q 7802 } 7803 /^X\/\(\/\/\)$/{ 7804 s//\1/ 7805 q 7806 } 7807 /^X\/\(\/\).*/{ 7808 s//\1/ 7809 q 7810 } 7811 s/.*/./; q'` 7812 7813# Avoid depending upon Character Ranges. 7814as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7815as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7816as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7817as_cr_digits='0123456789' 7818as_cr_alnum=$as_cr_Letters$as_cr_digits 7819 7820ECHO_C= ECHO_N= ECHO_T= 7821case `echo -n x` in #((((( 7822-n*) 7823 case `echo 'xy\c'` in 7824 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7825 xy) ECHO_C='\c';; 7826 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7827 ECHO_T=' ';; 7828 esac;; 7829*) 7830 ECHO_N='-n';; 7831esac 7832 7833rm -f conf$$ conf$$.exe conf$$.file 7834if test -d conf$$.dir; then 7835 rm -f conf$$.dir/conf$$.file 7836else 7837 rm -f conf$$.dir 7838 mkdir conf$$.dir 2>/dev/null 7839fi 7840if (echo >conf$$.file) 2>/dev/null; then 7841 if ln -s conf$$.file conf$$ 2>/dev/null; then 7842 as_ln_s='ln -s' 7843 # ... but there are two gotchas: 7844 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7845 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7846 # In both cases, we have to default to `cp -pR'. 7847 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7848 as_ln_s='cp -pR' 7849 elif ln conf$$.file conf$$ 2>/dev/null; then 7850 as_ln_s=ln 7851 else 7852 as_ln_s='cp -pR' 7853 fi 7854else 7855 as_ln_s='cp -pR' 7856fi 7857rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7858rmdir conf$$.dir 2>/dev/null 7859 7860 7861# as_fn_mkdir_p 7862# ------------- 7863# Create "$as_dir" as a directory, including parents if necessary. 7864as_fn_mkdir_p () 7865{ 7866 7867 case $as_dir in #( 7868 -*) as_dir=./$as_dir;; 7869 esac 7870 test -d "$as_dir" || eval $as_mkdir_p || { 7871 as_dirs= 7872 while :; do 7873 case $as_dir in #( 7874 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7875 *) as_qdir=$as_dir;; 7876 esac 7877 as_dirs="'$as_qdir' $as_dirs" 7878 as_dir=`$as_dirname -- "$as_dir" || 7879$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7880 X"$as_dir" : 'X\(//\)[^/]' \| \ 7881 X"$as_dir" : 'X\(//\)$' \| \ 7882 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7883$as_echo X"$as_dir" | 7884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7885 s//\1/ 7886 q 7887 } 7888 /^X\(\/\/\)[^/].*/{ 7889 s//\1/ 7890 q 7891 } 7892 /^X\(\/\/\)$/{ 7893 s//\1/ 7894 q 7895 } 7896 /^X\(\/\).*/{ 7897 s//\1/ 7898 q 7899 } 7900 s/.*/./; q'` 7901 test -d "$as_dir" && break 7902 done 7903 test -z "$as_dirs" || eval "mkdir $as_dirs" 7904 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7905 7906 7907} # as_fn_mkdir_p 7908if mkdir -p . 2>/dev/null; then 7909 as_mkdir_p='mkdir -p "$as_dir"' 7910else 7911 test -d ./-p && rmdir ./-p 7912 as_mkdir_p=false 7913fi 7914 7915 7916# as_fn_executable_p FILE 7917# ----------------------- 7918# Test if FILE is an executable regular file. 7919as_fn_executable_p () 7920{ 7921 test -f "$1" && test -x "$1" 7922} # as_fn_executable_p 7923as_test_x='test -x' 7924as_executable_p=as_fn_executable_p 7925 7926# Sed expression to map a string onto a valid CPP name. 7927as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7928 7929# Sed expression to map a string onto a valid variable name. 7930as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7931 7932 7933exec 6>&1 7934## ----------------------------------- ## 7935## Main body of $CONFIG_STATUS script. ## 7936## ----------------------------------- ## 7937_ASEOF 7938test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7939 7940cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7941# Save the log message, to keep $0 and so on meaningful, and to 7942# report actual input values of CONFIG_FILES etc. instead of their 7943# values after options handling. 7944ac_log=" 7945This file was extended by Qsynth $as_me 0.9.2, which was 7946generated by GNU Autoconf 2.69. Invocation command line was 7947 7948 CONFIG_FILES = $CONFIG_FILES 7949 CONFIG_HEADERS = $CONFIG_HEADERS 7950 CONFIG_LINKS = $CONFIG_LINKS 7951 CONFIG_COMMANDS = $CONFIG_COMMANDS 7952 $ $0 $@ 7953 7954on `(hostname || uname -n) 2>/dev/null | sed 1q` 7955" 7956 7957_ACEOF 7958 7959case $ac_config_files in *" 7960"*) set x $ac_config_files; shift; ac_config_files=$*;; 7961esac 7962 7963case $ac_config_headers in *" 7964"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7965esac 7966 7967 7968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7969# Files that config.status was made for. 7970config_files="$ac_config_files" 7971config_headers="$ac_config_headers" 7972 7973_ACEOF 7974 7975cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7976ac_cs_usage="\ 7977\`$as_me' instantiates files and other configuration actions 7978from templates according to the current configuration. Unless the files 7979and actions are specified as TAGs, all are instantiated by default. 7980 7981Usage: $0 [OPTION]... [TAG]... 7982 7983 -h, --help print this help, then exit 7984 -V, --version print version number and configuration settings, then exit 7985 --config print configuration, then exit 7986 -q, --quiet, --silent 7987 do not print progress messages 7988 -d, --debug don't remove temporary files 7989 --recheck update $as_me by reconfiguring in the same conditions 7990 --file=FILE[:TEMPLATE] 7991 instantiate the configuration file FILE 7992 --header=FILE[:TEMPLATE] 7993 instantiate the configuration header FILE 7994 7995Configuration files: 7996$config_files 7997 7998Configuration headers: 7999$config_headers 8000 8001Report bugs to <rncbc@rncbc.org>." 8002 8003_ACEOF 8004cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8005ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8006ac_cs_version="\\ 8007Qsynth config.status 0.9.2 8008configured by $0, generated by GNU Autoconf 2.69, 8009 with options \\"\$ac_cs_config\\" 8010 8011Copyright (C) 2012 Free Software Foundation, Inc. 8012This config.status script is free software; the Free Software Foundation 8013gives unlimited permission to copy, distribute and modify it." 8014 8015ac_pwd='$ac_pwd' 8016srcdir='$srcdir' 8017test -n "\$AWK" || AWK=awk 8018_ACEOF 8019 8020cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8021# The default lists apply if the user does not specify any file. 8022ac_need_defaults=: 8023while test $# != 0 8024do 8025 case $1 in 8026 --*=?*) 8027 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8028 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8029 ac_shift=: 8030 ;; 8031 --*=) 8032 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8033 ac_optarg= 8034 ac_shift=: 8035 ;; 8036 *) 8037 ac_option=$1 8038 ac_optarg=$2 8039 ac_shift=shift 8040 ;; 8041 esac 8042 8043 case $ac_option in 8044 # Handling of the options. 8045 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8046 ac_cs_recheck=: ;; 8047 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8048 $as_echo "$ac_cs_version"; exit ;; 8049 --config | --confi | --conf | --con | --co | --c ) 8050 $as_echo "$ac_cs_config"; exit ;; 8051 --debug | --debu | --deb | --de | --d | -d ) 8052 debug=: ;; 8053 --file | --fil | --fi | --f ) 8054 $ac_shift 8055 case $ac_optarg in 8056 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8057 '') as_fn_error $? "missing file argument" ;; 8058 esac 8059 as_fn_append CONFIG_FILES " '$ac_optarg'" 8060 ac_need_defaults=false;; 8061 --header | --heade | --head | --hea ) 8062 $ac_shift 8063 case $ac_optarg in 8064 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8065 esac 8066 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8067 ac_need_defaults=false;; 8068 --he | --h) 8069 # Conflict between --help and --header 8070 as_fn_error $? "ambiguous option: \`$1' 8071Try \`$0 --help' for more information.";; 8072 --help | --hel | -h ) 8073 $as_echo "$ac_cs_usage"; exit ;; 8074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8075 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8076 ac_cs_silent=: ;; 8077 8078 # This is an error. 8079 -*) as_fn_error $? "unrecognized option: \`$1' 8080Try \`$0 --help' for more information." ;; 8081 8082 *) as_fn_append ac_config_targets " $1" 8083 ac_need_defaults=false ;; 8084 8085 esac 8086 shift 8087done 8088 8089ac_configure_extra_args= 8090 8091if $ac_cs_silent; then 8092 exec 6>/dev/null 8093 ac_configure_extra_args="$ac_configure_extra_args --silent" 8094fi 8095 8096_ACEOF 8097cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8098if \$ac_cs_recheck; then 8099 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8100 shift 8101 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 8102 CONFIG_SHELL='$SHELL' 8103 export CONFIG_SHELL 8104 exec "\$@" 8105fi 8106 8107_ACEOF 8108cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8109exec 5>>config.log 8110{ 8111 echo 8112 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8113## Running $as_me. ## 8114_ASBOX 8115 $as_echo "$ac_log" 8116} >&5 8117 8118_ACEOF 8119cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8120_ACEOF 8121 8122cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8123 8124# Handling of arguments. 8125for ac_config_target in $ac_config_targets 8126do 8127 case $ac_config_target in 8128 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 8129 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8130 "qsynth.spec") CONFIG_FILES="$CONFIG_FILES qsynth.spec" ;; 8131 "src/src.pri") CONFIG_FILES="$CONFIG_FILES src/src.pri" ;; 8132 8133 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8134 esac 8135done 8136 8137 8138# If the user did not use the arguments to specify the items to instantiate, 8139# then the envvar interface is used. Set only those that are not. 8140# We use the long form for the default assignment because of an extremely 8141# bizarre bug on SunOS 4.1.3. 8142if $ac_need_defaults; then 8143 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8144 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8145fi 8146 8147# Have a temporary directory for convenience. Make it in the build tree 8148# simply because there is no reason against having it here, and in addition, 8149# creating and moving files from /tmp can sometimes cause problems. 8150# Hook for its removal unless debugging. 8151# Note that there is a small window in which the directory will not be cleaned: 8152# after its creation but before its name has been assigned to `$tmp'. 8153$debug || 8154{ 8155 tmp= ac_tmp= 8156 trap 'exit_status=$? 8157 : "${ac_tmp:=$tmp}" 8158 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8159' 0 8160 trap 'as_fn_exit 1' 1 2 13 15 8161} 8162# Create a (secure) tmp directory for tmp files. 8163 8164{ 8165 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8166 test -d "$tmp" 8167} || 8168{ 8169 tmp=./conf$$-$RANDOM 8170 (umask 077 && mkdir "$tmp") 8171} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8172ac_tmp=$tmp 8173 8174# Set up the scripts for CONFIG_FILES section. 8175# No need to generate them if there are no CONFIG_FILES. 8176# This happens for instance with `./config.status config.h'. 8177if test -n "$CONFIG_FILES"; then 8178 8179 8180ac_cr=`echo X | tr X '\015'` 8181# On cygwin, bash can eat \r inside `` if the user requested igncr. 8182# But we know of no other shell where ac_cr would be empty at this 8183# point, so we can use a bashism as a fallback. 8184if test "x$ac_cr" = x; then 8185 eval ac_cr=\$\'\\r\' 8186fi 8187ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8188if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8189 ac_cs_awk_cr='\\r' 8190else 8191 ac_cs_awk_cr=$ac_cr 8192fi 8193 8194echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8195_ACEOF 8196 8197 8198{ 8199 echo "cat >conf$$subs.awk <<_ACEOF" && 8200 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8201 echo "_ACEOF" 8202} >conf$$subs.sh || 8203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8204ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8205ac_delim='%!_!# ' 8206for ac_last_try in false false false false false :; do 8207 . ./conf$$subs.sh || 8208 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8209 8210 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8211 if test $ac_delim_n = $ac_delim_num; then 8212 break 8213 elif $ac_last_try; then 8214 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8215 else 8216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8217 fi 8218done 8219rm -f conf$$subs.sh 8220 8221cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8222cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8223_ACEOF 8224sed -n ' 8225h 8226s/^/S["/; s/!.*/"]=/ 8227p 8228g 8229s/^[^!]*!// 8230:repl 8231t repl 8232s/'"$ac_delim"'$// 8233t delim 8234:nl 8235h 8236s/\(.\{148\}\)..*/\1/ 8237t more1 8238s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8239p 8240n 8241b repl 8242:more1 8243s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8244p 8245g 8246s/.\{148\}// 8247t nl 8248:delim 8249h 8250s/\(.\{148\}\)..*/\1/ 8251t more2 8252s/["\\]/\\&/g; s/^/"/; s/$/"/ 8253p 8254b 8255:more2 8256s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8257p 8258g 8259s/.\{148\}// 8260t delim 8261' <conf$$subs.awk | sed ' 8262/^[^""]/{ 8263 N 8264 s/\n// 8265} 8266' >>$CONFIG_STATUS || ac_write_fail=1 8267rm -f conf$$subs.awk 8268cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8269_ACAWK 8270cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8271 for (key in S) S_is_set[key] = 1 8272 FS = "" 8273 8274} 8275{ 8276 line = $ 0 8277 nfields = split(line, field, "@") 8278 substed = 0 8279 len = length(field[1]) 8280 for (i = 2; i < nfields; i++) { 8281 key = field[i] 8282 keylen = length(key) 8283 if (S_is_set[key]) { 8284 value = S[key] 8285 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8286 len += length(value) + length(field[++i]) 8287 substed = 1 8288 } else 8289 len += 1 + keylen 8290 } 8291 8292 print line 8293} 8294 8295_ACAWK 8296_ACEOF 8297cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8298if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8299 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8300else 8301 cat 8302fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 8303 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8304_ACEOF 8305 8306# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8307# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8308# trailing colons and then remove the whole line if VPATH becomes empty 8309# (actually we leave an empty line to preserve line numbers). 8310if test "x$srcdir" = x.; then 8311 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 8312h 8313s/// 8314s/^/:/ 8315s/[ ]*$/:/ 8316s/:\$(srcdir):/:/g 8317s/:\${srcdir}:/:/g 8318s/:@srcdir@:/:/g 8319s/^:*// 8320s/:*$// 8321x 8322s/\(=[ ]*\).*/\1/ 8323G 8324s/\n// 8325s/^[^=]*=[ ]*$// 8326}' 8327fi 8328 8329cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8330fi # test -n "$CONFIG_FILES" 8331 8332# Set up the scripts for CONFIG_HEADERS section. 8333# No need to generate them if there are no CONFIG_HEADERS. 8334# This happens for instance with `./config.status Makefile'. 8335if test -n "$CONFIG_HEADERS"; then 8336cat >"$ac_tmp/defines.awk" <<\_ACAWK || 8337BEGIN { 8338_ACEOF 8339 8340# Transform confdefs.h into an awk script `defines.awk', embedded as 8341# here-document in config.status, that substitutes the proper values into 8342# config.h.in to produce config.h. 8343 8344# Create a delimiter string that does not exist in confdefs.h, to ease 8345# handling of long lines. 8346ac_delim='%!_!# ' 8347for ac_last_try in false false :; do 8348 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 8349 if test -z "$ac_tt"; then 8350 break 8351 elif $ac_last_try; then 8352 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8353 else 8354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8355 fi 8356done 8357 8358# For the awk script, D is an array of macro values keyed by name, 8359# likewise P contains macro parameters if any. Preserve backslash 8360# newline sequences. 8361 8362ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8363sed -n ' 8364s/.\{148\}/&'"$ac_delim"'/g 8365t rset 8366:rset 8367s/^[ ]*#[ ]*define[ ][ ]*/ / 8368t def 8369d 8370:def 8371s/\\$// 8372t bsnl 8373s/["\\]/\\&/g 8374s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8375D["\1"]=" \3"/p 8376s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 8377d 8378:bsnl 8379s/["\\]/\\&/g 8380s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8381D["\1"]=" \3\\\\\\n"\\/p 8382t cont 8383s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 8384t cont 8385d 8386:cont 8387n 8388s/.\{148\}/&'"$ac_delim"'/g 8389t clear 8390:clear 8391s/\\$// 8392t bsnlc 8393s/["\\]/\\&/g; s/^/"/; s/$/"/p 8394d 8395:bsnlc 8396s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 8397b cont 8398' <confdefs.h | sed ' 8399s/'"$ac_delim"'/"\\\ 8400"/g' >>$CONFIG_STATUS || ac_write_fail=1 8401 8402cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8403 for (key in D) D_is_set[key] = 1 8404 FS = "" 8405} 8406/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 8407 line = \$ 0 8408 split(line, arg, " ") 8409 if (arg[1] == "#") { 8410 defundef = arg[2] 8411 mac1 = arg[3] 8412 } else { 8413 defundef = substr(arg[1], 2) 8414 mac1 = arg[2] 8415 } 8416 split(mac1, mac2, "(") #) 8417 macro = mac2[1] 8418 prefix = substr(line, 1, index(line, defundef) - 1) 8419 if (D_is_set[macro]) { 8420 # Preserve the white space surrounding the "#". 8421 print prefix "define", macro P[macro] D[macro] 8422 next 8423 } else { 8424 # Replace #undef with comments. This is necessary, for example, 8425 # in the case of _POSIX_SOURCE, which is predefined and required 8426 # on some systems where configure will not decide to define it. 8427 if (defundef == "undef") { 8428 print "/*", prefix defundef, macro, "*/" 8429 next 8430 } 8431 } 8432} 8433{ print } 8434_ACAWK 8435_ACEOF 8436cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8437 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 8438fi # test -n "$CONFIG_HEADERS" 8439 8440 8441eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 8442shift 8443for ac_tag 8444do 8445 case $ac_tag in 8446 :[FHLC]) ac_mode=$ac_tag; continue;; 8447 esac 8448 case $ac_mode$ac_tag in 8449 :[FHL]*:*);; 8450 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 8451 :[FH]-) ac_tag=-:-;; 8452 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8453 esac 8454 ac_save_IFS=$IFS 8455 IFS=: 8456 set x $ac_tag 8457 IFS=$ac_save_IFS 8458 shift 8459 ac_file=$1 8460 shift 8461 8462 case $ac_mode in 8463 :L) ac_source=$1;; 8464 :[FH]) 8465 ac_file_inputs= 8466 for ac_f 8467 do 8468 case $ac_f in 8469 -) ac_f="$ac_tmp/stdin";; 8470 *) # Look for the file first in the build tree, then in the source tree 8471 # (if the path is not absolute). The absolute path cannot be DOS-style, 8472 # because $ac_f cannot contain `:'. 8473 test -f "$ac_f" || 8474 case $ac_f in 8475 [\\/$]*) false;; 8476 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8477 esac || 8478 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8479 esac 8480 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8481 as_fn_append ac_file_inputs " '$ac_f'" 8482 done 8483 8484 # Let's still pretend it is `configure' which instantiates (i.e., don't 8485 # use $as_me), people would be surprised to read: 8486 # /* config.h. Generated by config.status. */ 8487 configure_input='Generated from '` 8488 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8489 `' by configure.' 8490 if test x"$ac_file" != x-; then 8491 configure_input="$ac_file. $configure_input" 8492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8493$as_echo "$as_me: creating $ac_file" >&6;} 8494 fi 8495 # Neutralize special characters interpreted by sed in replacement strings. 8496 case $configure_input in #( 8497 *\&* | *\|* | *\\* ) 8498 ac_sed_conf_input=`$as_echo "$configure_input" | 8499 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8500 *) ac_sed_conf_input=$configure_input;; 8501 esac 8502 8503 case $ac_tag in 8504 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 8505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8506 esac 8507 ;; 8508 esac 8509 8510 ac_dir=`$as_dirname -- "$ac_file" || 8511$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8512 X"$ac_file" : 'X\(//\)[^/]' \| \ 8513 X"$ac_file" : 'X\(//\)$' \| \ 8514 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8515$as_echo X"$ac_file" | 8516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8517 s//\1/ 8518 q 8519 } 8520 /^X\(\/\/\)[^/].*/{ 8521 s//\1/ 8522 q 8523 } 8524 /^X\(\/\/\)$/{ 8525 s//\1/ 8526 q 8527 } 8528 /^X\(\/\).*/{ 8529 s//\1/ 8530 q 8531 } 8532 s/.*/./; q'` 8533 as_dir="$ac_dir"; as_fn_mkdir_p 8534 ac_builddir=. 8535 8536case "$ac_dir" in 8537.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8538*) 8539 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8540 # A ".." for each directory in $ac_dir_suffix. 8541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8542 case $ac_top_builddir_sub in 8543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8545 esac ;; 8546esac 8547ac_abs_top_builddir=$ac_pwd 8548ac_abs_builddir=$ac_pwd$ac_dir_suffix 8549# for backward compatibility: 8550ac_top_builddir=$ac_top_build_prefix 8551 8552case $srcdir in 8553 .) # We are building in place. 8554 ac_srcdir=. 8555 ac_top_srcdir=$ac_top_builddir_sub 8556 ac_abs_top_srcdir=$ac_pwd ;; 8557 [\\/]* | ?:[\\/]* ) # Absolute name. 8558 ac_srcdir=$srcdir$ac_dir_suffix; 8559 ac_top_srcdir=$srcdir 8560 ac_abs_top_srcdir=$srcdir ;; 8561 *) # Relative name. 8562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8563 ac_top_srcdir=$ac_top_build_prefix$srcdir 8564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8565esac 8566ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8567 8568 8569 case $ac_mode in 8570 :F) 8571 # 8572 # CONFIG_FILE 8573 # 8574 8575_ACEOF 8576 8577cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8578# If the template does not know about datarootdir, expand it. 8579# FIXME: This hack should be removed a few years after 2.60. 8580ac_datarootdir_hack=; ac_datarootdir_seen= 8581ac_sed_dataroot=' 8582/datarootdir/ { 8583 p 8584 q 8585} 8586/@datadir@/p 8587/@docdir@/p 8588/@infodir@/p 8589/@localedir@/p 8590/@mandir@/p' 8591case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 8592*datarootdir*) ac_datarootdir_seen=yes;; 8593*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8595$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8596_ACEOF 8597cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8598 ac_datarootdir_hack=' 8599 s&@datadir@&$datadir&g 8600 s&@docdir@&$docdir&g 8601 s&@infodir@&$infodir&g 8602 s&@localedir@&$localedir&g 8603 s&@mandir@&$mandir&g 8604 s&\\\${datarootdir}&$datarootdir&g' ;; 8605esac 8606_ACEOF 8607 8608# Neutralize VPATH when `$srcdir' = `.'. 8609# Shell code in configure.ac might set extrasub. 8610# FIXME: do we really want to maintain this feature? 8611cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8612ac_sed_extra="$ac_vpsub 8613$extrasub 8614_ACEOF 8615cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8616:t 8617/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8618s|@configure_input@|$ac_sed_conf_input|;t t 8619s&@top_builddir@&$ac_top_builddir_sub&;t t 8620s&@top_build_prefix@&$ac_top_build_prefix&;t t 8621s&@srcdir@&$ac_srcdir&;t t 8622s&@abs_srcdir@&$ac_abs_srcdir&;t t 8623s&@top_srcdir@&$ac_top_srcdir&;t t 8624s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8625s&@builddir@&$ac_builddir&;t t 8626s&@abs_builddir@&$ac_abs_builddir&;t t 8627s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8628$ac_datarootdir_hack 8629" 8630eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 8631 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8632 8633test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8634 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 8635 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 8636 "$ac_tmp/out"`; test -z "$ac_out"; } && 8637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8638which seems to be undefined. Please make sure it is defined" >&5 8639$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8640which seems to be undefined. Please make sure it is defined" >&2;} 8641 8642 rm -f "$ac_tmp/stdin" 8643 case $ac_file in 8644 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 8645 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 8646 esac \ 8647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8648 ;; 8649 :H) 8650 # 8651 # CONFIG_HEADER 8652 # 8653 if test x"$ac_file" != x-; then 8654 { 8655 $as_echo "/* $configure_input */" \ 8656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 8657 } >"$ac_tmp/config.h" \ 8658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8659 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 8660 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8661$as_echo "$as_me: $ac_file is unchanged" >&6;} 8662 else 8663 rm -f "$ac_file" 8664 mv "$ac_tmp/config.h" "$ac_file" \ 8665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8666 fi 8667 else 8668 $as_echo "/* $configure_input */" \ 8669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 8670 || as_fn_error $? "could not create -" "$LINENO" 5 8671 fi 8672 ;; 8673 8674 8675 esac 8676 8677done # for ac_tag 8678 8679 8680as_fn_exit 0 8681_ACEOF 8682ac_clean_files=$ac_clean_files_save 8683 8684test $ac_write_fail = 0 || 8685 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8686 8687 8688# configure is writing to config.log, and then calls config.status. 8689# config.status does its own redirection, appending to config.log. 8690# Unfortunately, on DOS this fails, as config.log is still kept open 8691# by configure, so config.status won't be able to write to it; its 8692# output is simply discarded. So we exec the FD to /dev/null, 8693# effectively closing config.log, so it can be properly (re)opened and 8694# appended to by config.status. When coming back to configure, we 8695# need to make the FD available again. 8696if test "$no_create" != yes; then 8697 ac_cs_success=: 8698 ac_config_status_args= 8699 test "$silent" = yes && 8700 ac_config_status_args="$ac_config_status_args --quiet" 8701 exec 5>/dev/null 8702 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8703 exec 5>>config.log 8704 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8705 # would make configure fail if this is the last instruction. 8706 $ac_cs_success || as_fn_exit 1 8707fi 8708if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8710$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8711fi 8712 8713 8714# make clean > /dev/null 2>&1 8715 8716# Output summary message 8717 8718echo 8719echo " $PACKAGE_NAME $ac_build_version" 8720echo 8721echo " Build target . . . . . . . . . . . . . . . . . . .: $ac_debug" 8722echo 8723echo " FluidSynth library support . . . . . . . . . . . .: $ac_fluidsynth_lib" 8724echo " FluidSynth server support . . . . . . . . . . . .: $ac_fluid_server" 8725echo " FluidSynth system reset support . . . . . . . . .: $ac_fluid_system_reset" 8726echo " FluidSynth bank offset support . . . . . . . . . .: $ac_fluid_bank_offset" 8727echo " FluidSynth channel info support (DEPRECATED) . . .: $ac_fluid_channel_info" 8728echo " FluidSynth MIDI router support (DEPRECATED) . . .: $ac_fluid_midi_router" 8729echo " FluidSynth unset program support . . . . . . . . .: $ac_fluid_unset_program" 8730echo " FluidSynth version string support . . . . . . . .: $ac_fluid_version_str" 8731echo 8732echo " System tray icon support . . . . . . . . . . . . .: $ac_system_tray" 8733echo 8734echo " Unique/Single instance support . . . . . . . . . .: $ac_xunique" 8735echo " Gradient eye-candy . . . . . . . . . . . . . . . .: $ac_gradient" 8736echo " Debugger stack-trace (gdb) . . . . . . . . . . . .: $ac_stacktrace" 8737echo 8738echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" 8739echo 8740echo "Now type 'make', followed by 'make install' as root." 8741echo 8742 8743