f4aafabb3be8877449f5850fd251314db4eac3d3
[jackctlmmc.git] / configure
blobf4aafabb3be8877449f5850fd251314db4eac3d3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for QjackMMC 4.
5 # Report bugs to <apmontgo@users.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
153 esac
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 else
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in # ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: apmontgo@users.sourceforge.net about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
247 exit 1
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
265 { eval $1=; unset $1;}
267 as_unset=as_fn_unset
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
274 return $1
275 } # as_fn_set_status
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
282 set +e
283 as_fn_set_status $1
284 exit $1
285 } # as_fn_exit
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
293 case $as_dir in #(
294 -*) as_dir=./$as_dir;;
295 esac
296 test -d "$as_dir" || eval $as_mkdir_p || {
297 as_dirs=
298 while :; do
299 case $as_dir in #(
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 *) as_qdir=$as_dir;;
302 esac
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 s//\1/
314 /^X\(\/\/\)[^/].*/{
315 s//\1/
318 /^X\(\/\/\)$/{
319 s//\1/
322 /^X\(\/\).*/{
323 s//\1/
326 s/.*/./; q'`
327 test -d "$as_dir" && break
328 done
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
343 eval $1+=\$2
345 else
346 as_fn_append ()
348 eval $1=\$$1\$2
350 fi # as_fn_append
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 eval 'as_fn_arith ()
360 as_val=$(( $* ))
362 else
363 as_fn_arith ()
365 as_val=`expr "$@" || test $? -eq 1`
367 fi # as_fn_arith
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
384 } # as_fn_error
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 as_expr=expr
389 else
390 as_expr=false
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 as_basename=basename
395 else
396 as_basename=false
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_dirname=dirname
401 else
402 as_dirname=false
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 s//\1/
414 /^X\/\(\/\/\)$/{
415 s//\1/
418 /^X\/\(\/\).*/{
419 s//\1/
422 s/.*/./; q'`
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 sed -n '
439 /[$]LINENO/=
440 ' <$as_myself |
441 sed '
442 s/[$]LINENO.*/&-/
443 t lineno
445 :lineno
447 :loop
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 t loop
450 s/-\n.*//
451 ' >$as_me.lineno &&
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
458 . "./$as_me.lineno"
459 # Exit status is that of the last command.
460 exit
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
471 esac;;
473 ECHO_N='-n';;
474 esac
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
479 else
480 rm -f conf$$.dir
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s='ln -s'
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 as_ln_s='cp -p'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
495 as_ln_s='cp -p'
497 else
498 as_ln_s='cp -p'
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
505 else
506 test -d ./-p && rmdir ./-p
507 as_mkdir_p=false
510 if test -x / >/dev/null 2>&1; then
511 as_test_x='test -x'
512 else
513 if ls -dL / >/dev/null 2>&1; then
514 as_ls_L_option=L
515 else
516 as_ls_L_option=
518 as_test_x='
519 eval sh -c '\''
520 if test -d "$1"; then
521 test -d "$1/.";
522 else
523 case $1 in #(
524 -*)set "./$1";;
525 esac;
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
528 '\'' sh
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 # Initializations.
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
560 # Identity of this package.
561 PACKAGE_NAME='QjackMMC'
562 PACKAGE_TARNAME='qjackmmc'
563 PACKAGE_VERSION='4'
564 PACKAGE_STRING='QjackMMC 4'
565 PACKAGE_BUGREPORT='apmontgo@users.sourceforge.net'
566 PACKAGE_URL=''
568 ac_unique_file="main.c"
569 ac_default_prefix=/usr/local
570 # Factoring default headers for most tests.
571 ac_includes_default="\
572 #include <stdio.h>
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
575 #endif
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
578 #endif
579 #ifdef STDC_HEADERS
580 # include <stdlib.h>
581 # include <stddef.h>
582 #else
583 # ifdef HAVE_STDLIB_H
584 # include <stdlib.h>
585 # endif
586 #endif
587 #ifdef HAVE_STRING_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 # include <memory.h>
590 # endif
591 # include <string.h>
592 #endif
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
595 #endif
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
598 #endif
599 #ifdef HAVE_STDINT_H
600 # include <stdint.h>
601 #endif
602 #ifdef HAVE_UNISTD_H
603 # include <unistd.h>
604 #endif"
606 ac_subst_vars='LTLIBOBJS
607 LIBOBJS
608 ALLOCA
609 ac_pkgs
610 ac_cflags
611 ac_libs
612 LASH_LIBS
613 LASH_CFLAGS
614 EGREP
615 GREP
616 CXXCPP
617 ac_default_uninstall
618 ac_default_install
619 ac_default_deps
620 ac_uic
621 ac_moc
622 ac_qmake
623 QT_UP_TO_DATE_LIBS
624 QT_UP_TO_DATE_CFLAGS
625 REQUIREDPKGS_LIBS
626 REQUIREDPKGS_CFLAGS
627 PKG_CONFIG_LIBDIR
628 PKG_CONFIG_PATH
629 INSTALL_DATA
630 INSTALL_SCRIPT
631 INSTALL_PROGRAM
632 SET_MAKE
633 LN_S
634 ac_ct_CC
635 CFLAGS
637 OBJEXT
638 EXEEXT
639 ac_ct_CXX
640 CPPFLAGS
641 LDFLAGS
642 CXXFLAGS
644 PKG_CONFIG
645 ac_debug
646 ac_prefix
647 target_alias
648 host_alias
649 build_alias
650 LIBS
651 ECHO_T
652 ECHO_N
653 ECHO_C
654 DEFS
655 mandir
656 localedir
657 libdir
658 psdir
659 pdfdir
660 dvidir
661 htmldir
662 infodir
663 docdir
664 oldincludedir
665 includedir
666 localstatedir
667 sharedstatedir
668 sysconfdir
669 datadir
670 datarootdir
671 libexecdir
672 sbindir
673 bindir
674 program_transform_name
675 prefix
676 exec_prefix
677 PACKAGE_URL
678 PACKAGE_BUGREPORT
679 PACKAGE_STRING
680 PACKAGE_VERSION
681 PACKAGE_TARNAME
682 PACKAGE_NAME
683 PATH_SEPARATOR
684 SHELL'
685 ac_subst_files=''
686 ac_user_opts='
687 enable_option_checking
688 enable_debug
689 enable_gui
690 enable_cli
691 with_qt
692 with_jack
693 with_alsa
694 with_lash
695 enable_lash
696 enable_jackmidi
698 ac_precious_vars='build_alias
699 host_alias
700 target_alias
702 CXXFLAGS
703 LDFLAGS
704 LIBS
705 CPPFLAGS
708 CFLAGS
709 LDFLAGS
710 LIBS
711 CPPFLAGS
712 PKG_CONFIG
713 PKG_CONFIG_PATH
714 PKG_CONFIG_LIBDIR
715 REQUIREDPKGS_CFLAGS
716 REQUIREDPKGS_LIBS
717 QT_UP_TO_DATE_CFLAGS
718 QT_UP_TO_DATE_LIBS
719 CXXCPP
720 CPPFLAGS
721 LASH_CFLAGS
722 LASH_LIBS'
725 # Initialize some variables set by options.
726 ac_init_help=
727 ac_init_version=false
728 ac_unrecognized_opts=
729 ac_unrecognized_sep=
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
732 cache_file=/dev/null
733 exec_prefix=NONE
734 no_create=
735 no_recursion=
736 prefix=NONE
737 program_prefix=NONE
738 program_suffix=NONE
739 program_transform_name=s,x,x,
740 silent=
741 site=
742 srcdir=
743 verbose=
744 x_includes=NONE
745 x_libraries=NONE
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir='${exec_prefix}/bin'
754 sbindir='${exec_prefix}/sbin'
755 libexecdir='${exec_prefix}/libexec'
756 datarootdir='${prefix}/share'
757 datadir='${datarootdir}'
758 sysconfdir='${prefix}/etc'
759 sharedstatedir='${prefix}/com'
760 localstatedir='${prefix}/var'
761 includedir='${prefix}/include'
762 oldincludedir='/usr/include'
763 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
764 infodir='${datarootdir}/info'
765 htmldir='${docdir}'
766 dvidir='${docdir}'
767 pdfdir='${docdir}'
768 psdir='${docdir}'
769 libdir='${exec_prefix}/lib'
770 localedir='${datarootdir}/locale'
771 mandir='${datarootdir}/man'
773 ac_prev=
774 ac_dashdash=
775 for ac_option
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\$ac_option
780 ac_prev=
781 continue
784 case $ac_option in
785 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786 *=) ac_optarg= ;;
787 *) ac_optarg=yes ;;
788 esac
790 # Accept the important Cygnus configure options, so we can diagnose typos.
792 case $ac_dashdash$ac_option in
794 ac_dashdash=yes ;;
796 -bindir | --bindir | --bindi | --bind | --bin | --bi)
797 ac_prev=bindir ;;
798 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799 bindir=$ac_optarg ;;
801 -build | --build | --buil | --bui | --bu)
802 ac_prev=build_alias ;;
803 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804 build_alias=$ac_optarg ;;
806 -cache-file | --cache-file | --cache-fil | --cache-fi \
807 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808 ac_prev=cache_file ;;
809 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811 cache_file=$ac_optarg ;;
813 --config-cache | -C)
814 cache_file=config.cache ;;
816 -datadir | --datadir | --datadi | --datad)
817 ac_prev=datadir ;;
818 -datadir=* | --datadir=* | --datadi=* | --datad=*)
819 datadir=$ac_optarg ;;
821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822 | --dataroo | --dataro | --datar)
823 ac_prev=datarootdir ;;
824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826 datarootdir=$ac_optarg ;;
828 -disable-* | --disable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: $ac_useropt"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
837 "enable_$ac_useropt"
838 "*) ;;
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
841 esac
842 eval enable_$ac_useropt=no ;;
844 -docdir | --docdir | --docdi | --doc | --do)
845 ac_prev=docdir ;;
846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847 docdir=$ac_optarg ;;
849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850 ac_prev=dvidir ;;
851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852 dvidir=$ac_optarg ;;
854 -enable-* | --enable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
863 "enable_$ac_useropt"
864 "*) ;;
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
867 esac
868 eval enable_$ac_useropt=\$ac_optarg ;;
870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872 | --exec | --exe | --ex)
873 ac_prev=exec_prefix ;;
874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876 | --exec=* | --exe=* | --ex=*)
877 exec_prefix=$ac_optarg ;;
879 -gas | --gas | --ga | --g)
880 # Obsolete; use --with-gas.
881 with_gas=yes ;;
883 -help | --help | --hel | --he | -h)
884 ac_init_help=long ;;
885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886 ac_init_help=recursive ;;
887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888 ac_init_help=short ;;
890 -host | --host | --hos | --ho)
891 ac_prev=host_alias ;;
892 -host=* | --host=* | --hos=* | --ho=*)
893 host_alias=$ac_optarg ;;
895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896 ac_prev=htmldir ;;
897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898 | --ht=*)
899 htmldir=$ac_optarg ;;
901 -includedir | --includedir | --includedi | --included | --include \
902 | --includ | --inclu | --incl | --inc)
903 ac_prev=includedir ;;
904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905 | --includ=* | --inclu=* | --incl=* | --inc=*)
906 includedir=$ac_optarg ;;
908 -infodir | --infodir | --infodi | --infod | --info | --inf)
909 ac_prev=infodir ;;
910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911 infodir=$ac_optarg ;;
913 -libdir | --libdir | --libdi | --libd)
914 ac_prev=libdir ;;
915 -libdir=* | --libdir=* | --libdi=* | --libd=*)
916 libdir=$ac_optarg ;;
918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919 | --libexe | --libex | --libe)
920 ac_prev=libexecdir ;;
921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922 | --libexe=* | --libex=* | --libe=*)
923 libexecdir=$ac_optarg ;;
925 -localedir | --localedir | --localedi | --localed | --locale)
926 ac_prev=localedir ;;
927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928 localedir=$ac_optarg ;;
930 -localstatedir | --localstatedir | --localstatedi | --localstated \
931 | --localstate | --localstat | --localsta | --localst | --locals)
932 ac_prev=localstatedir ;;
933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935 localstatedir=$ac_optarg ;;
937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938 ac_prev=mandir ;;
939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940 mandir=$ac_optarg ;;
942 -nfp | --nfp | --nf)
943 # Obsolete; use --without-fp.
944 with_fp=no ;;
946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947 | --no-cr | --no-c | -n)
948 no_create=yes ;;
950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952 no_recursion=yes ;;
954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956 | --oldin | --oldi | --old | --ol | --o)
957 ac_prev=oldincludedir ;;
958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961 oldincludedir=$ac_optarg ;;
963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964 ac_prev=prefix ;;
965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966 prefix=$ac_optarg ;;
968 -program-prefix | --program-prefix | --program-prefi | --program-pref \
969 | --program-pre | --program-pr | --program-p)
970 ac_prev=program_prefix ;;
971 -program-prefix=* | --program-prefix=* | --program-prefi=* \
972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973 program_prefix=$ac_optarg ;;
975 -program-suffix | --program-suffix | --program-suffi | --program-suff \
976 | --program-suf | --program-su | --program-s)
977 ac_prev=program_suffix ;;
978 -program-suffix=* | --program-suffix=* | --program-suffi=* \
979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980 program_suffix=$ac_optarg ;;
982 -program-transform-name | --program-transform-name \
983 | --program-transform-nam | --program-transform-na \
984 | --program-transform-n | --program-transform- \
985 | --program-transform | --program-transfor \
986 | --program-transfo | --program-transf \
987 | --program-trans | --program-tran \
988 | --progr-tra | --program-tr | --program-t)
989 ac_prev=program_transform_name ;;
990 -program-transform-name=* | --program-transform-name=* \
991 | --program-transform-nam=* | --program-transform-na=* \
992 | --program-transform-n=* | --program-transform-=* \
993 | --program-transform=* | --program-transfor=* \
994 | --program-transfo=* | --program-transf=* \
995 | --program-trans=* | --program-tran=* \
996 | --progr-tra=* | --program-tr=* | --program-t=*)
997 program_transform_name=$ac_optarg ;;
999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000 ac_prev=pdfdir ;;
1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002 pdfdir=$ac_optarg ;;
1004 -psdir | --psdir | --psdi | --psd | --ps)
1005 ac_prev=psdir ;;
1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007 psdir=$ac_optarg ;;
1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010 | -silent | --silent | --silen | --sile | --sil)
1011 silent=yes ;;
1013 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014 ac_prev=sbindir ;;
1015 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016 | --sbi=* | --sb=*)
1017 sbindir=$ac_optarg ;;
1019 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1020 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021 | --sharedst | --shareds | --shared | --share | --shar \
1022 | --sha | --sh)
1023 ac_prev=sharedstatedir ;;
1024 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027 | --sha=* | --sh=*)
1028 sharedstatedir=$ac_optarg ;;
1030 -site | --site | --sit)
1031 ac_prev=site ;;
1032 -site=* | --site=* | --sit=*)
1033 site=$ac_optarg ;;
1035 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036 ac_prev=srcdir ;;
1037 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038 srcdir=$ac_optarg ;;
1040 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1041 | --syscon | --sysco | --sysc | --sys | --sy)
1042 ac_prev=sysconfdir ;;
1043 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1044 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1045 sysconfdir=$ac_optarg ;;
1047 -target | --target | --targe | --targ | --tar | --ta | --t)
1048 ac_prev=target_alias ;;
1049 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1050 target_alias=$ac_optarg ;;
1052 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1053 verbose=yes ;;
1055 -version | --version | --versio | --versi | --vers | -V)
1056 ac_init_version=: ;;
1058 -with-* | --with-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "with_$ac_useropt"
1068 "*) ;;
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1071 esac
1072 eval with_$ac_useropt=\$ac_optarg ;;
1074 -without-* | --without-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1083 "with_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval with_$ac_useropt=no ;;
1090 --x)
1091 # Obsolete; use --with-x.
1092 with_x=yes ;;
1094 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095 | --x-incl | --x-inc | --x-in | --x-i)
1096 ac_prev=x_includes ;;
1097 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099 x_includes=$ac_optarg ;;
1101 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1102 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103 ac_prev=x_libraries ;;
1104 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106 x_libraries=$ac_optarg ;;
1108 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1109 Try \`$0 --help' for more information"
1112 *=*)
1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names.
1115 case $ac_envvar in #(
1116 '' | [0-9]* | *[!_$as_cr_alnum]* )
1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1118 esac
1119 eval $ac_envvar=\$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1130 esac
1131 done
1133 if test -n "$ac_prev"; then
1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135 as_fn_error $? "missing argument to $ac_option"
1138 if test -n "$ac_unrecognized_opts"; then
1139 case $enable_option_checking in
1140 no) ;;
1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143 esac
1146 # Check all directory arguments for consistency.
1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148 datadir sysconfdir sharedstatedir localstatedir includedir \
1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150 libdir localedir mandir
1152 eval ac_val=\$$ac_var
1153 # Remove trailing slashes.
1154 case $ac_val in
1155 */ )
1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157 eval $ac_var=\$ac_val;;
1158 esac
1159 # Be sure to have absolute directory names.
1160 case $ac_val in
1161 [\\/$]* | ?:[\\/]* ) continue;;
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163 esac
1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1165 done
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1170 build=$build_alias
1171 host=$host_alias
1172 target=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x; then
1176 if test "x$build_alias" = x; then
1177 cross_compiling=maybe
1178 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1179 If a cross compiler is detected then cross compile mode will be used" >&2
1180 elif test "x$build_alias" != "x$host_alias"; then
1181 cross_compiling=yes
1185 ac_tool_prefix=
1186 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188 test "$silent" = yes && exec 6>/dev/null
1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192 ac_ls_di=`ls -di .` &&
1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194 as_fn_error $? "working directory cannot be determined"
1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196 as_fn_error $? "pwd does not report name of working directory"
1199 # Find the source files, if location was not specified.
1200 if test -z "$srcdir"; then
1201 ac_srcdir_defaulted=yes
1202 # Try the directory containing this script, then the parent directory.
1203 ac_confdir=`$as_dirname -- "$as_myself" ||
1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205 X"$as_myself" : 'X\(//\)[^/]' \| \
1206 X"$as_myself" : 'X\(//\)$' \| \
1207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1208 $as_echo X"$as_myself" |
1209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210 s//\1/
1213 /^X\(\/\/\)[^/].*/{
1214 s//\1/
1217 /^X\(\/\/\)$/{
1218 s//\1/
1221 /^X\(\/\).*/{
1222 s//\1/
1225 s/.*/./; q'`
1226 srcdir=$ac_confdir
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 srcdir=..
1230 else
1231 ac_srcdir_defaulted=no
1233 if test ! -r "$srcdir/$ac_unique_file"; then
1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1238 ac_abs_confdir=`(
1239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1240 pwd)`
1241 # When building in place, set srcdir=.
1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
1243 srcdir=.
1245 # Remove unnecessary trailing slashes from srcdir.
1246 # Double slashes in file names in object file debugging info
1247 # mess up M-x gdb in Emacs.
1248 case $srcdir in
1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1250 esac
1251 for ac_var in $ac_precious_vars; do
1252 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1253 eval ac_env_${ac_var}_value=\$${ac_var}
1254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1256 done
1259 # Report the --help message.
1261 if test "$ac_init_help" = "long"; then
1262 # Omit some internal or obsolete options to make the list less imposing.
1263 # This message is too long to be a string in the A/UX 3.1 sh.
1264 cat <<_ACEOF
1265 \`configure' configures QjackMMC 4 to adapt to many kinds of systems.
1267 Usage: $0 [OPTION]... [VAR=VALUE]...
1269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1270 VAR=VALUE. See below for descriptions of some of the useful variables.
1272 Defaults for the options are specified in brackets.
1274 Configuration:
1275 -h, --help display this help and exit
1276 --help=short display options specific to this package
1277 --help=recursive display the short help of all the included packages
1278 -V, --version display version information and exit
1279 -q, --quiet, --silent do not print \`checking ...' messages
1280 --cache-file=FILE cache test results in FILE [disabled]
1281 -C, --config-cache alias for \`--cache-file=config.cache'
1282 -n, --no-create do not create output files
1283 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1285 Installation directories:
1286 --prefix=PREFIX install architecture-independent files in PREFIX
1287 [$ac_default_prefix]
1288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1289 [PREFIX]
1291 By default, \`make install' will install all the files in
1292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1294 for instance \`--prefix=\$HOME'.
1296 For better control, use the options below.
1298 Fine tuning of the installation directories:
1299 --bindir=DIR user executables [EPREFIX/bin]
1300 --sbindir=DIR system admin executables [EPREFIX/sbin]
1301 --libexecdir=DIR program executables [EPREFIX/libexec]
1302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1304 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1305 --libdir=DIR object code libraries [EPREFIX/lib]
1306 --includedir=DIR C header files [PREFIX/include]
1307 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1310 --infodir=DIR info documentation [DATAROOTDIR/info]
1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1312 --mandir=DIR man documentation [DATAROOTDIR/man]
1313 --docdir=DIR documentation root [DATAROOTDIR/doc/qjackmmc]
1314 --htmldir=DIR html documentation [DOCDIR]
1315 --dvidir=DIR dvi documentation [DOCDIR]
1316 --pdfdir=DIR pdf documentation [DOCDIR]
1317 --psdir=DIR ps documentation [DOCDIR]
1318 _ACEOF
1320 cat <<\_ACEOF
1321 _ACEOF
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive ) echo "Configuration of QjackMMC 4:";;
1327 esac
1328 cat <<\_ACEOF
1330 Optional Features:
1331 --disable-option-checking ignore unrecognized --enable/--with options
1332 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1333 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1334 --enable-debug enable debugging (default=no)
1335 --enable-gui build the gui program qjackmmc (default=yes)
1336 --enable-cli build the command line program jackctlmmc
1337 (default=yes)
1338 --enable-lash enable LASH support (default=yes)
1339 --enable-jackmidi enable JACK MIDI support (default=yes)
1341 Optional Packages:
1342 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1343 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1344 --with-qt=PATH use alternate Qt install path
1345 --with-jack=PATH use alternate JACK install path
1346 --with-alsa=PATH use alternate ALSA install path
1347 --with-lash=PATH use alternate LASH install path
1349 Some influential environment variables:
1350 CXX C++ compiler command
1351 CXXFLAGS C++ compiler flags
1352 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1353 nonstandard directory <lib dir>
1354 LIBS libraries to pass to the linker, e.g. -l<library>
1355 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1356 you have headers in a nonstandard directory <include dir>
1357 CC C compiler command
1358 CFLAGS C compiler flags
1359 PKG_CONFIG path to pkg-config utility
1360 PKG_CONFIG_PATH
1361 directories to add to pkg-config's search path
1362 PKG_CONFIG_LIBDIR
1363 path overriding pkg-config's built-in search path
1364 REQUIREDPKGS_CFLAGS
1365 C compiler flags for REQUIREDPKGS, overriding pkg-config
1366 REQUIREDPKGS_LIBS
1367 linker flags for REQUIREDPKGS, overriding pkg-config
1368 QT_UP_TO_DATE_CFLAGS
1369 C compiler flags for QT_UP_TO_DATE, overriding pkg-config
1370 QT_UP_TO_DATE_LIBS
1371 linker flags for QT_UP_TO_DATE, overriding pkg-config
1372 CXXCPP C++ preprocessor
1373 LASH_CFLAGS C compiler flags for LASH, overriding pkg-config
1374 LASH_LIBS linker flags for LASH, overriding pkg-config
1376 Use these variables to override the choices made by `configure' or to help
1377 it to find libraries and programs with nonstandard names/locations.
1379 Report bugs to <apmontgo@users.sourceforge.net>.
1380 _ACEOF
1381 ac_status=$?
1384 if test "$ac_init_help" = "recursive"; then
1385 # If there are subdirs, report their specific --help.
1386 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1387 test -d "$ac_dir" ||
1388 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1389 continue
1390 ac_builddir=.
1392 case "$ac_dir" in
1393 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1395 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1396 # A ".." for each directory in $ac_dir_suffix.
1397 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1398 case $ac_top_builddir_sub in
1399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1401 esac ;;
1402 esac
1403 ac_abs_top_builddir=$ac_pwd
1404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1405 # for backward compatibility:
1406 ac_top_builddir=$ac_top_build_prefix
1408 case $srcdir in
1409 .) # We are building in place.
1410 ac_srcdir=.
1411 ac_top_srcdir=$ac_top_builddir_sub
1412 ac_abs_top_srcdir=$ac_pwd ;;
1413 [\\/]* | ?:[\\/]* ) # Absolute name.
1414 ac_srcdir=$srcdir$ac_dir_suffix;
1415 ac_top_srcdir=$srcdir
1416 ac_abs_top_srcdir=$srcdir ;;
1417 *) # Relative name.
1418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1419 ac_top_srcdir=$ac_top_build_prefix$srcdir
1420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1421 esac
1422 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1424 cd "$ac_dir" || { ac_status=$?; continue; }
1425 # Check for guested configure.
1426 if test -f "$ac_srcdir/configure.gnu"; then
1427 echo &&
1428 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1429 elif test -f "$ac_srcdir/configure"; then
1430 echo &&
1431 $SHELL "$ac_srcdir/configure" --help=recursive
1432 else
1433 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1434 fi || ac_status=$?
1435 cd "$ac_pwd" || { ac_status=$?; break; }
1436 done
1439 test -n "$ac_init_help" && exit $ac_status
1440 if $ac_init_version; then
1441 cat <<\_ACEOF
1442 QjackMMC configure 4
1443 generated by GNU Autoconf 2.68
1445 Copyright (C) 2010 Free Software Foundation, Inc.
1446 This configure script is free software; the Free Software Foundation
1447 gives unlimited permission to copy, distribute and modify it.
1448 _ACEOF
1449 exit
1452 ## ------------------------ ##
1453 ## Autoconf initialization. ##
1454 ## ------------------------ ##
1456 # ac_fn_cxx_try_compile LINENO
1457 # ----------------------------
1458 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1459 ac_fn_cxx_try_compile ()
1461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1462 rm -f conftest.$ac_objext
1463 if { { ac_try="$ac_compile"
1464 case "(($ac_try" in
1465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1466 *) ac_try_echo=$ac_try;;
1467 esac
1468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1469 $as_echo "$ac_try_echo"; } >&5
1470 (eval "$ac_compile") 2>conftest.err
1471 ac_status=$?
1472 if test -s conftest.err; then
1473 grep -v '^ *+' conftest.err >conftest.er1
1474 cat conftest.er1 >&5
1475 mv -f conftest.er1 conftest.err
1477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1478 test $ac_status = 0; } && {
1479 test -z "$ac_cxx_werror_flag" ||
1480 test ! -s conftest.err
1481 } && test -s conftest.$ac_objext; then :
1482 ac_retval=0
1483 else
1484 $as_echo "$as_me: failed program was:" >&5
1485 sed 's/^/| /' conftest.$ac_ext >&5
1487 ac_retval=1
1489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1490 as_fn_set_status $ac_retval
1492 } # ac_fn_cxx_try_compile
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compile ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rm -f conftest.$ac_objext
1501 if { { ac_try="$ac_compile"
1502 case "(($ac_try" in
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1505 esac
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1509 ac_status=$?
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest.$ac_objext; then :
1520 ac_retval=0
1521 else
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1525 ac_retval=1
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1530 } # ac_fn_c_try_compile
1532 # ac_fn_cxx_try_cpp LINENO
1533 # ------------------------
1534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1535 ac_fn_cxx_try_cpp ()
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 if { { ac_try="$ac_cpp conftest.$ac_ext"
1539 case "(($ac_try" in
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1542 esac
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1546 ac_status=$?
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } > conftest.i && {
1554 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1555 test ! -s conftest.err
1556 }; then :
1557 ac_retval=0
1558 else
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1562 ac_retval=1
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1567 } # ac_fn_cxx_try_cpp
1569 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1570 # ---------------------------------------------------------
1571 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1572 # the include files in INCLUDES and setting the cache variable VAR
1573 # accordingly.
1574 ac_fn_cxx_check_header_mongrel ()
1576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1577 if eval \${$3+:} false; then :
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1579 $as_echo_n "checking for $2... " >&6; }
1580 if eval \${$3+:} false; then :
1581 $as_echo_n "(cached) " >&6
1583 eval ac_res=\$$3
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1585 $as_echo "$ac_res" >&6; }
1586 else
1587 # Is the header compilable?
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1589 $as_echo_n "checking $2 usability... " >&6; }
1590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1591 /* end confdefs.h. */
1593 #include <$2>
1594 _ACEOF
1595 if ac_fn_cxx_try_compile "$LINENO"; then :
1596 ac_header_compiler=yes
1597 else
1598 ac_header_compiler=no
1600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1602 $as_echo "$ac_header_compiler" >&6; }
1604 # Is the header present?
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1606 $as_echo_n "checking $2 presence... " >&6; }
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1609 #include <$2>
1610 _ACEOF
1611 if ac_fn_cxx_try_cpp "$LINENO"; then :
1612 ac_header_preproc=yes
1613 else
1614 ac_header_preproc=no
1616 rm -f conftest.err conftest.i conftest.$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1618 $as_echo "$ac_header_preproc" >&6; }
1620 # So? What about this header?
1621 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1622 yes:no: )
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1624 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1626 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1628 no:yes:* )
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1630 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1632 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1634 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1636 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1638 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1639 ( $as_echo "## --------------------------------------------- ##
1640 ## Report this to apmontgo@users.sourceforge.net ##
1641 ## --------------------------------------------- ##"
1642 ) | sed "s/^/$as_me: WARNING: /" >&2
1644 esac
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646 $as_echo_n "checking for $2... " >&6; }
1647 if eval \${$3+:} false; then :
1648 $as_echo_n "(cached) " >&6
1649 else
1650 eval "$3=\$ac_header_compiler"
1652 eval ac_res=\$$3
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 } # ac_fn_cxx_check_header_mongrel
1660 # ac_fn_cxx_try_run LINENO
1661 # ------------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1663 # that executables *can* be run.
1664 ac_fn_cxx_try_run ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 if { { ac_try="$ac_link"
1668 case "(($ac_try" in
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1671 esac
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_link") 2>&5
1675 ac_status=$?
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1678 { { case "(($ac_try" in
1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1681 esac
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_try") 2>&5
1685 ac_status=$?
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; }; }; then :
1688 ac_retval=0
1689 else
1690 $as_echo "$as_me: program exited with status $ac_status" >&5
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1694 ac_retval=$ac_status
1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status $ac_retval
1700 } # ac_fn_cxx_try_run
1702 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1703 # ---------------------------------------------------------
1704 # Tests whether HEADER exists and can be compiled using the include files in
1705 # INCLUDES, setting the cache variable VAR accordingly.
1706 ac_fn_cxx_check_header_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \${$3+:} false; then :
1712 $as_echo_n "(cached) " >&6
1713 else
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1717 #include <$2>
1718 _ACEOF
1719 if ac_fn_cxx_try_compile "$LINENO"; then :
1720 eval "$3=yes"
1721 else
1722 eval "$3=no"
1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726 eval ac_res=\$$3
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 } # ac_fn_cxx_check_header_compile
1733 # ac_fn_cxx_try_link LINENO
1734 # -------------------------
1735 # Try to link conftest.$ac_ext, and return whether this succeeded.
1736 ac_fn_cxx_try_link ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 rm -f conftest.$ac_objext conftest$ac_exeext
1740 if { { ac_try="$ac_link"
1741 case "(($ac_try" in
1742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1744 esac
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_link") 2>conftest.err
1748 ac_status=$?
1749 if test -s conftest.err; then
1750 grep -v '^ *+' conftest.err >conftest.er1
1751 cat conftest.er1 >&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } && {
1756 test -z "$ac_cxx_werror_flag" ||
1757 test ! -s conftest.err
1758 } && test -s conftest$ac_exeext && {
1759 test "$cross_compiling" = yes ||
1760 $as_test_x conftest$ac_exeext
1761 }; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=1
1769 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1770 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1771 # interfere with the next link command; also delete a directory that is
1772 # left behind by Apple's compiler. We do this before executing the actions.
1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 as_fn_set_status $ac_retval
1777 } # ac_fn_cxx_try_link
1779 # ac_fn_cxx_check_func LINENO FUNC VAR
1780 # ------------------------------------
1781 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1782 ac_fn_cxx_check_func ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if eval \${$3+:} false; then :
1788 $as_echo_n "(cached) " >&6
1789 else
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1792 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1794 #define $2 innocuous_$2
1796 /* System header to define __stub macros and hopefully few prototypes,
1797 which can conflict with char $2 (); below.
1798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1799 <limits.h> exists even on freestanding compilers. */
1801 #ifdef __STDC__
1802 # include <limits.h>
1803 #else
1804 # include <assert.h>
1805 #endif
1807 #undef $2
1809 /* Override any GCC internal prototype to avoid an error.
1810 Use char because int might match the return type of a GCC
1811 builtin and then its argument prototype would still apply. */
1812 #ifdef __cplusplus
1813 extern "C"
1814 #endif
1815 char $2 ();
1816 /* The GNU C library defines this for functions which it implements
1817 to always fail with ENOSYS. Some functions are actually named
1818 something starting with __ and the normal name is an alias. */
1819 #if defined __stub_$2 || defined __stub___$2
1820 choke me
1821 #endif
1824 main ()
1826 return $2 ();
1828 return 0;
1830 _ACEOF
1831 if ac_fn_cxx_try_link "$LINENO"; then :
1832 eval "$3=yes"
1833 else
1834 eval "$3=no"
1836 rm -f core conftest.err conftest.$ac_objext \
1837 conftest$ac_exeext conftest.$ac_ext
1839 eval ac_res=\$$3
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 } # ac_fn_cxx_check_func
1846 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1847 # ---------------------------------------------
1848 # Tests whether TYPE exists after having included INCLUDES, setting cache
1849 # variable VAR accordingly.
1850 ac_fn_cxx_check_type ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856 $as_echo_n "(cached) " >&6
1857 else
1858 eval "$3=no"
1859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1863 main ()
1865 if (sizeof ($2))
1866 return 0;
1868 return 0;
1870 _ACEOF
1871 if ac_fn_cxx_try_compile "$LINENO"; then :
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1876 main ()
1878 if (sizeof (($2)))
1879 return 0;
1881 return 0;
1883 _ACEOF
1884 if ac_fn_cxx_try_compile "$LINENO"; then :
1886 else
1887 eval "$3=yes"
1889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893 eval ac_res=\$$3
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898 } # ac_fn_cxx_check_type
1900 # ac_fn_c_find_uintX_t LINENO BITS VAR
1901 # ------------------------------------
1902 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1903 # accordingly.
1904 ac_fn_c_find_uintX_t ()
1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1908 $as_echo_n "checking for uint$2_t... " >&6; }
1909 if eval \${$3+:} false; then :
1910 $as_echo_n "(cached) " >&6
1911 else
1912 eval "$3=no"
1913 # Order is important - never check a type that is potentially smaller
1914 # than half of the expected target width.
1915 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1916 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1919 $ac_includes_default
1921 main ()
1923 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1924 test_array [0] = 0
1927 return 0;
1929 _ACEOF
1930 if ac_fn_cxx_try_compile "$LINENO"; then :
1931 case $ac_type in #(
1932 uint$2_t) :
1933 eval "$3=yes" ;; #(
1934 *) :
1935 eval "$3=\$ac_type" ;;
1936 esac
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 if eval test \"x\$"$3"\" = x"no"; then :
1941 else
1942 break
1944 done
1946 eval ac_res=\$$3
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_find_uintX_t
1952 cat >config.log <<_ACEOF
1953 This file contains any messages produced by compilers while
1954 running configure, to aid debugging if configure makes a mistake.
1956 It was created by QjackMMC $as_me 4, which was
1957 generated by GNU Autoconf 2.68. Invocation command line was
1959 $ $0 $@
1961 _ACEOF
1962 exec 5>>config.log
1964 cat <<_ASUNAME
1965 ## --------- ##
1966 ## Platform. ##
1967 ## --------- ##
1969 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1970 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1971 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1972 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1973 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1975 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1976 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1978 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1979 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1980 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1981 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1982 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1983 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1984 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1986 _ASUNAME
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 for as_dir in $PATH
1991 IFS=$as_save_IFS
1992 test -z "$as_dir" && as_dir=.
1993 $as_echo "PATH: $as_dir"
1994 done
1995 IFS=$as_save_IFS
1997 } >&5
1999 cat >&5 <<_ACEOF
2002 ## ----------- ##
2003 ## Core tests. ##
2004 ## ----------- ##
2006 _ACEOF
2009 # Keep a trace of the command line.
2010 # Strip out --no-create and --no-recursion so they do not pile up.
2011 # Strip out --silent because we don't want to record it for future runs.
2012 # Also quote any args containing shell meta-characters.
2013 # Make two passes to allow for proper duplicate-argument suppression.
2014 ac_configure_args=
2015 ac_configure_args0=
2016 ac_configure_args1=
2017 ac_must_keep_next=false
2018 for ac_pass in 1 2
2020 for ac_arg
2022 case $ac_arg in
2023 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2025 | -silent | --silent | --silen | --sile | --sil)
2026 continue ;;
2027 *\'*)
2028 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2029 esac
2030 case $ac_pass in
2031 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2033 as_fn_append ac_configure_args1 " '$ac_arg'"
2034 if test $ac_must_keep_next = true; then
2035 ac_must_keep_next=false # Got value, back to normal.
2036 else
2037 case $ac_arg in
2038 *=* | --config-cache | -C | -disable-* | --disable-* \
2039 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2040 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2041 | -with-* | --with-* | -without-* | --without-* | --x)
2042 case "$ac_configure_args0 " in
2043 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2044 esac
2046 -* ) ac_must_keep_next=true ;;
2047 esac
2049 as_fn_append ac_configure_args " '$ac_arg'"
2051 esac
2052 done
2053 done
2054 { ac_configure_args0=; unset ac_configure_args0;}
2055 { ac_configure_args1=; unset ac_configure_args1;}
2057 # When interrupted or exit'd, cleanup temporary files, and complete
2058 # config.log. We remove comments because anyway the quotes in there
2059 # would cause problems or look ugly.
2060 # WARNING: Use '\'' to represent an apostrophe within the trap.
2061 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2062 trap 'exit_status=$?
2063 # Save into config.log some information that might help in debugging.
2065 echo
2067 $as_echo "## ---------------- ##
2068 ## Cache variables. ##
2069 ## ---------------- ##"
2070 echo
2071 # The following way of writing the cache mishandles newlines in values,
2073 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2074 eval ac_val=\$$ac_var
2075 case $ac_val in #(
2076 *${as_nl}*)
2077 case $ac_var in #(
2078 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2079 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2080 esac
2081 case $ac_var in #(
2082 _ | IFS | as_nl) ;; #(
2083 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2084 *) { eval $ac_var=; unset $ac_var;} ;;
2085 esac ;;
2086 esac
2087 done
2088 (set) 2>&1 |
2089 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2090 *${as_nl}ac_space=\ *)
2091 sed -n \
2092 "s/'\''/'\''\\\\'\'''\''/g;
2093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2094 ;; #(
2096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2098 esac |
2099 sort
2101 echo
2103 $as_echo "## ----------------- ##
2104 ## Output variables. ##
2105 ## ----------------- ##"
2106 echo
2107 for ac_var in $ac_subst_vars
2109 eval ac_val=\$$ac_var
2110 case $ac_val in
2111 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112 esac
2113 $as_echo "$ac_var='\''$ac_val'\''"
2114 done | sort
2115 echo
2117 if test -n "$ac_subst_files"; then
2118 $as_echo "## ------------------- ##
2119 ## File substitutions. ##
2120 ## ------------------- ##"
2121 echo
2122 for ac_var in $ac_subst_files
2124 eval ac_val=\$$ac_var
2125 case $ac_val in
2126 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2127 esac
2128 $as_echo "$ac_var='\''$ac_val'\''"
2129 done | sort
2130 echo
2133 if test -s confdefs.h; then
2134 $as_echo "## ----------- ##
2135 ## confdefs.h. ##
2136 ## ----------- ##"
2137 echo
2138 cat confdefs.h
2139 echo
2141 test "$ac_signal" != 0 &&
2142 $as_echo "$as_me: caught signal $ac_signal"
2143 $as_echo "$as_me: exit $exit_status"
2144 } >&5
2145 rm -f core *.core core.conftest.* &&
2146 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2147 exit $exit_status
2149 for ac_signal in 1 2 13 15; do
2150 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2151 done
2152 ac_signal=0
2154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2155 rm -f -r conftest* confdefs.h
2157 $as_echo "/* confdefs.h */" > confdefs.h
2159 # Predefined preprocessor variables.
2161 cat >>confdefs.h <<_ACEOF
2162 #define PACKAGE_NAME "$PACKAGE_NAME"
2163 _ACEOF
2165 cat >>confdefs.h <<_ACEOF
2166 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2167 _ACEOF
2169 cat >>confdefs.h <<_ACEOF
2170 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2171 _ACEOF
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_STRING "$PACKAGE_STRING"
2175 _ACEOF
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2179 _ACEOF
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_URL "$PACKAGE_URL"
2183 _ACEOF
2186 # Let the site file select an alternate cache file if it wants to.
2187 # Prefer an explicitly selected file to automatically selected ones.
2188 ac_site_file1=NONE
2189 ac_site_file2=NONE
2190 if test -n "$CONFIG_SITE"; then
2191 # We do not want a PATH search for config.site.
2192 case $CONFIG_SITE in #((
2193 -*) ac_site_file1=./$CONFIG_SITE;;
2194 */*) ac_site_file1=$CONFIG_SITE;;
2195 *) ac_site_file1=./$CONFIG_SITE;;
2196 esac
2197 elif test "x$prefix" != xNONE; then
2198 ac_site_file1=$prefix/share/config.site
2199 ac_site_file2=$prefix/etc/config.site
2200 else
2201 ac_site_file1=$ac_default_prefix/share/config.site
2202 ac_site_file2=$ac_default_prefix/etc/config.site
2204 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2206 test "x$ac_site_file" = xNONE && continue
2207 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2209 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2210 sed 's/^/| /' "$ac_site_file" >&5
2211 . "$ac_site_file" \
2212 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 as_fn_error $? "failed to load site script $ac_site_file
2215 See \`config.log' for more details" "$LINENO" 5; }
2217 done
2219 if test -r "$cache_file"; then
2220 # Some versions of bash will fail to source /dev/null (special files
2221 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2222 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2224 $as_echo "$as_me: loading cache $cache_file" >&6;}
2225 case $cache_file in
2226 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2227 *) . "./$cache_file";;
2228 esac
2230 else
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2232 $as_echo "$as_me: creating cache $cache_file" >&6;}
2233 >$cache_file
2236 # Check that the precious variables saved in the cache have kept the same
2237 # value.
2238 ac_cache_corrupted=false
2239 for ac_var in $ac_precious_vars; do
2240 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2241 eval ac_new_set=\$ac_env_${ac_var}_set
2242 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2243 eval ac_new_val=\$ac_env_${ac_var}_value
2244 case $ac_old_set,$ac_new_set in
2245 set,)
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2247 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2248 ac_cache_corrupted=: ;;
2249 ,set)
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2251 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2252 ac_cache_corrupted=: ;;
2253 ,);;
2255 if test "x$ac_old_val" != "x$ac_new_val"; then
2256 # differences in whitespace do not lead to failure.
2257 ac_old_val_w=`echo x $ac_old_val`
2258 ac_new_val_w=`echo x $ac_new_val`
2259 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2261 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2262 ac_cache_corrupted=:
2263 else
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2265 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2266 eval $ac_var=\$ac_old_val
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2269 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2271 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2272 fi;;
2273 esac
2274 # Pass precious variables to config.status.
2275 if test "$ac_new_set" = set; then
2276 case $ac_new_val in
2277 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2278 *) ac_arg=$ac_var=$ac_new_val ;;
2279 esac
2280 case " $ac_configure_args " in
2281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2282 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2283 esac
2285 done
2286 if $ac_cache_corrupted; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2290 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2291 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2293 ## -------------------- ##
2294 ## Main body of script. ##
2295 ## -------------------- ##
2297 ac_ext=c
2298 ac_cpp='$CPP $CPPFLAGS'
2299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2305 ac_config_headers="$ac_config_headers config.h"
2309 ac_prefix=$prefix
2310 if test "x$ac_prefix" = "xNONE"; then
2311 ac_prefix=$ac_default_prefix
2315 cat >>confdefs.h <<_ACEOF
2316 #define CONFIG_PREFIX "$ac_prefix"
2317 _ACEOF
2320 ac_icon_dir="$ac_prefix/share/pixmaps"
2322 cat >>confdefs.h <<_ACEOF
2323 #define ICON_DIR "$ac_icon_dir"
2324 _ACEOF
2327 ac_cflags="$ac_cflags -Wall"
2328 ac_build_jackctlmmc="yes"
2329 ac_build_qjackmmc="yes"
2331 # Enable debugging argument option.
2332 # Check whether --enable-debug was given.
2333 if test "${enable_debug+set}" = set; then :
2334 enableval=$enable_debug; ac_debug="$enableval"
2338 if test "x$ac_debug" = "xyes"; then
2339 ac_debug="debug"
2340 else
2341 ac_debug="release"
2346 # check if the user wants QJackMMC built
2347 # Check whether --enable-gui was given.
2348 if test "${enable_gui+set}" = set; then :
2349 enableval=$enable_gui; ac_build_qjackmmc="$enableval"
2350 else
2351 ac_build_qjackmmc="yes"
2355 # check if the user wants jackctlmmc built
2356 # Check whether --enable-cli was given.
2357 if test "${enable_cli+set}" = set; then :
2358 enableval=$enable_cli; ac_build_jackctlmmc="$enableval"
2359 else
2360 ac_build_jackctlmmc="yes"
2364 # Extract the first word of "pkg-config", so it can be a program name with args.
2365 set dummy pkg-config; ac_word=$2
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2367 $as_echo_n "checking for $ac_word... " >&6; }
2368 if ${ac_cv_path_PKG_CONFIG+:} false; then :
2369 $as_echo_n "(cached) " >&6
2370 else
2371 case $PKG_CONFIG in
2372 [\\/]* | ?:[\\/]*)
2373 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 for as_dir in $PATH
2379 IFS=$as_save_IFS
2380 test -z "$as_dir" && as_dir=.
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 break 2
2387 done
2388 done
2389 IFS=$as_save_IFS
2391 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
2393 esac
2395 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2396 if test -n "$PKG_CONFIG"; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2398 $as_echo "$PKG_CONFIG" >&6; }
2399 else
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2401 $as_echo "no" >&6; }
2406 # Standard installation base dirs.
2407 ac_with_paths="/usr /usr/local"
2409 # Some a-la-debian alternatives...
2410 for X in /usr/lib /usr/lib64 /usr/share; do
2411 for Y in qt qt4; do
2412 if test -d $X/$Y/bin; then
2413 ac_with_paths="$ac_with_paths $X/$Y"
2415 done
2416 done
2418 # Set for alternate Qt installation dir.
2420 # Check whether --with-qt was given.
2421 if test "${with_qt+set}" = set; then :
2422 withval=$with_qt; ac_with_paths="$ac_with_paths $withval"
2426 # Set for alternate JACK installation dir.
2428 # Check whether --with-jack was given.
2429 if test "${with_jack+set}" = set; then :
2430 withval=$with_jack; ac_with_paths="$ac_with_paths $withval"
2434 # Set for alternate ALSA installation dir.
2436 # Check whether --with-alsa was given.
2437 if test "${with_alsa+set}" = set; then :
2438 withval=$with_alsa; ac_with_paths="$ac_with_paths $withval"
2442 # Set for alternate LASH installation dir.
2444 # Check whether --with-lash was given.
2445 if test "${with_lash+set}" = set; then :
2446 withval=$with_lash; ac_with_paths="$ac_with_paths $withval"
2450 # Checks for programs.
2451 ac_ext=cpp
2452 ac_cpp='$CXXCPP $CPPFLAGS'
2453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2456 if test -z "$CXX"; then
2457 if test -n "$CCC"; then
2458 CXX=$CCC
2459 else
2460 if test -n "$ac_tool_prefix"; then
2461 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_CXX+:} false; then :
2468 $as_echo_n "(cached) " >&6
2469 else
2470 if test -n "$CXX"; then
2471 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2472 else
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2476 IFS=$as_save_IFS
2477 test -z "$as_dir" && as_dir=.
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 break 2
2484 done
2485 done
2486 IFS=$as_save_IFS
2490 CXX=$ac_cv_prog_CXX
2491 if test -n "$CXX"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2493 $as_echo "$CXX" >&6; }
2494 else
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2500 test -n "$CXX" && break
2501 done
2503 if test -z "$CXX"; then
2504 ac_ct_CXX=$CXX
2505 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy $ac_prog; ac_word=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2512 $as_echo_n "(cached) " >&6
2513 else
2514 if test -n "$ac_ct_CXX"; then
2515 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_ac_ct_CXX="$ac_prog"
2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 break 2
2528 done
2529 done
2530 IFS=$as_save_IFS
2534 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2535 if test -n "$ac_ct_CXX"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2537 $as_echo "$ac_ct_CXX" >&6; }
2538 else
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2544 test -n "$ac_ct_CXX" && break
2545 done
2547 if test "x$ac_ct_CXX" = x; then
2548 CXX="g++"
2549 else
2550 case $cross_compiling:$ac_tool_warned in
2551 yes:)
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2554 ac_tool_warned=yes ;;
2555 esac
2556 CXX=$ac_ct_CXX
2562 # Provide some information about the compiler.
2563 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2564 set X $ac_compile
2565 ac_compiler=$2
2566 for ac_option in --version -v -V -qversion; do
2567 { { ac_try="$ac_compiler $ac_option >&5"
2568 case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2575 ac_status=$?
2576 if test -s conftest.err; then
2577 sed '10a\
2578 ... rest of stderr output deleted ...
2579 10q' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2582 rm -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }
2585 done
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2591 main ()
2595 return 0;
2597 _ACEOF
2598 ac_clean_files_save=$ac_clean_files
2599 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2600 # Try to create an executable without -o first, disregard a.out.
2601 # It will help us diagnose broken compilers, and finding out an intuition
2602 # of exeext.
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2604 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2605 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2607 # The possible output files:
2608 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2610 ac_rmfiles=
2611 for ac_file in $ac_files
2613 case $ac_file in
2614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2615 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2616 esac
2617 done
2618 rm -f $ac_rmfiles
2620 if { { ac_try="$ac_link_default"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_link_default") 2>&5
2628 ac_status=$?
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; }; then :
2631 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2632 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2633 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2634 # so that the user can short-circuit this test for compilers unknown to
2635 # Autoconf.
2636 for ac_file in $ac_files ''
2638 test -f "$ac_file" || continue
2639 case $ac_file in
2640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2642 [ab].out )
2643 # We found the default executable, but exeext='' is most
2644 # certainly right.
2645 break;;
2646 *.* )
2647 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2648 then :; else
2649 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 # We set ac_cv_exeext here because the later test for it is not
2652 # safe: cross compilers may not add the suffix if given an `-o'
2653 # argument, so we may need to know it at that point already.
2654 # Even if this section looks crufty: it has the advantage of
2655 # actually working.
2656 break;;
2658 break;;
2659 esac
2660 done
2661 test "$ac_cv_exeext" = no && ac_cv_exeext=
2663 else
2664 ac_file=''
2666 if test -z "$ac_file"; then :
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674 as_fn_error 77 "C++ compiler cannot create executables
2675 See \`config.log' for more details" "$LINENO" 5; }
2676 else
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2678 $as_echo "yes" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2681 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2683 $as_echo "$ac_file" >&6; }
2684 ac_exeext=$ac_cv_exeext
2686 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2687 ac_clean_files=$ac_clean_files_save
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2689 $as_echo_n "checking for suffix of executables... " >&6; }
2690 if { { ac_try="$ac_link"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link") 2>&5
2698 ac_status=$?
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; }; then :
2701 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2702 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2703 # work properly (i.e., refer to `conftest.exe'), while it won't with
2704 # `rm'.
2705 for ac_file in conftest.exe conftest conftest.*; do
2706 test -f "$ac_file" || continue
2707 case $ac_file in
2708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2709 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2710 break;;
2711 * ) break;;
2712 esac
2713 done
2714 else
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2718 See \`config.log' for more details" "$LINENO" 5; }
2720 rm -f conftest conftest$ac_cv_exeext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2722 $as_echo "$ac_cv_exeext" >&6; }
2724 rm -f conftest.$ac_ext
2725 EXEEXT=$ac_cv_exeext
2726 ac_exeext=$EXEEXT
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2729 #include <stdio.h>
2731 main ()
2733 FILE *f = fopen ("conftest.out", "w");
2734 return ferror (f) || fclose (f) != 0;
2737 return 0;
2739 _ACEOF
2740 ac_clean_files="$ac_clean_files conftest.out"
2741 # Check that the compiler produces executables we can run. If not, either
2742 # the compiler is broken, or we cross compile.
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2744 $as_echo_n "checking whether we are cross compiling... " >&6; }
2745 if test "$cross_compiling" != yes; then
2746 { { ac_try="$ac_link"
2747 case "(($ac_try" in
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2750 esac
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>&5
2754 ac_status=$?
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; }
2757 if { ac_try='./conftest$ac_cv_exeext'
2758 { { case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_try") 2>&5
2765 ac_status=$?
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; }; then
2768 cross_compiling=no
2769 else
2770 if test "$cross_compiling" = maybe; then
2771 cross_compiling=yes
2772 else
2773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2775 as_fn_error $? "cannot run C++ compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \`config.log' for more details" "$LINENO" 5; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2782 $as_echo "$cross_compiling" >&6; }
2784 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2785 ac_clean_files=$ac_clean_files_save
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2787 $as_echo_n "checking for suffix of object files... " >&6; }
2788 if ${ac_cv_objext+:} false; then :
2789 $as_echo_n "(cached) " >&6
2790 else
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2795 main ()
2799 return 0;
2801 _ACEOF
2802 rm -f conftest.o conftest.obj
2803 if { { ac_try="$ac_compile"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>&5
2811 ac_status=$?
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; }; then :
2814 for ac_file in conftest.o conftest.obj conftest.*; do
2815 test -f "$ac_file" || continue;
2816 case $ac_file in
2817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2818 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2819 break;;
2820 esac
2821 done
2822 else
2823 $as_echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2828 as_fn_error $? "cannot compute suffix of object files: cannot compile
2829 See \`config.log' for more details" "$LINENO" 5; }
2831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2834 $as_echo "$ac_cv_objext" >&6; }
2835 OBJEXT=$ac_cv_objext
2836 ac_objext=$OBJEXT
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2838 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2839 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2840 $as_echo_n "(cached) " >&6
2841 else
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2846 main ()
2848 #ifndef __GNUC__
2849 choke me
2850 #endif
2853 return 0;
2855 _ACEOF
2856 if ac_fn_cxx_try_compile "$LINENO"; then :
2857 ac_compiler_gnu=yes
2858 else
2859 ac_compiler_gnu=no
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2866 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2867 if test $ac_compiler_gnu = yes; then
2868 GXX=yes
2869 else
2870 GXX=
2872 ac_test_CXXFLAGS=${CXXFLAGS+set}
2873 ac_save_CXXFLAGS=$CXXFLAGS
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2875 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2876 if ${ac_cv_prog_cxx_g+:} false; then :
2877 $as_echo_n "(cached) " >&6
2878 else
2879 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2880 ac_cxx_werror_flag=yes
2881 ac_cv_prog_cxx_g=no
2882 CXXFLAGS="-g"
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2887 main ()
2891 return 0;
2893 _ACEOF
2894 if ac_fn_cxx_try_compile "$LINENO"; then :
2895 ac_cv_prog_cxx_g=yes
2896 else
2897 CXXFLAGS=""
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2902 main ()
2906 return 0;
2908 _ACEOF
2909 if ac_fn_cxx_try_compile "$LINENO"; then :
2911 else
2912 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2913 CXXFLAGS="-g"
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2918 main ()
2922 return 0;
2924 _ACEOF
2925 if ac_fn_cxx_try_compile "$LINENO"; then :
2926 ac_cv_prog_cxx_g=yes
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2936 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2937 if test "$ac_test_CXXFLAGS" = set; then
2938 CXXFLAGS=$ac_save_CXXFLAGS
2939 elif test $ac_cv_prog_cxx_g = yes; then
2940 if test "$GXX" = yes; then
2941 CXXFLAGS="-g -O2"
2942 else
2943 CXXFLAGS="-g"
2945 else
2946 if test "$GXX" = yes; then
2947 CXXFLAGS="-O2"
2948 else
2949 CXXFLAGS=
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_ext=c
2959 ac_cpp='$CPP $CPPFLAGS'
2960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2963 if test -n "$ac_tool_prefix"; then
2964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2965 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if ${ac_cv_prog_CC+:} false; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test -n "$CC"; then
2972 ac_cv_prog_CC="$CC" # Let the user override the test.
2973 else
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 for as_dir in $PATH
2977 IFS=$as_save_IFS
2978 test -z "$as_dir" && as_dir=.
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 break 2
2985 done
2986 done
2987 IFS=$as_save_IFS
2991 CC=$ac_cv_prog_CC
2992 if test -n "$CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2994 $as_echo "$CC" >&6; }
2995 else
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3002 if test -z "$ac_cv_prog_CC"; then
3003 ac_ct_CC=$CC
3004 # Extract the first word of "gcc", so it can be a program name with args.
3005 set dummy gcc; ac_word=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3009 $as_echo_n "(cached) " >&6
3010 else
3011 if test -n "$ac_ct_CC"; then
3012 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021 ac_cv_prog_ac_ct_CC="gcc"
3022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3025 done
3026 done
3027 IFS=$as_save_IFS
3031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3032 if test -n "$ac_ct_CC"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3034 $as_echo "$ac_ct_CC" >&6; }
3035 else
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3040 if test "x$ac_ct_CC" = x; then
3041 CC=""
3042 else
3043 case $cross_compiling:$ac_tool_warned in
3044 yes:)
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned=yes ;;
3048 esac
3049 CC=$ac_ct_CC
3051 else
3052 CC="$ac_cv_prog_CC"
3055 if test -z "$CC"; then
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}cc; ac_word=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_CC+:} false; then :
3062 $as_echo_n "(cached) " >&6
3063 else
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC="$CC" # Let the user override the test.
3066 else
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_CC="${ac_tool_prefix}cc"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 break 2
3078 done
3079 done
3080 IFS=$as_save_IFS
3084 CC=$ac_cv_prog_CC
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3088 else
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3096 if test -z "$CC"; then
3097 # Extract the first word of "cc", so it can be a program name with args.
3098 set dummy cc; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_CC+:} false; then :
3102 $as_echo_n "(cached) " >&6
3103 else
3104 if test -n "$CC"; then
3105 ac_cv_prog_CC="$CC" # Let the user override the test.
3106 else
3107 ac_prog_rejected=no
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3111 IFS=$as_save_IFS
3112 test -z "$as_dir" && as_dir=.
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3116 ac_prog_rejected=yes
3117 continue
3119 ac_cv_prog_CC="cc"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 break 2
3123 done
3124 done
3125 IFS=$as_save_IFS
3127 if test $ac_prog_rejected = yes; then
3128 # We found a bogon in the path, so make sure we never use it.
3129 set dummy $ac_cv_prog_CC
3130 shift
3131 if test $# != 0; then
3132 # We chose a different compiler from the bogus one.
3133 # However, it has the same basename, so the bogon will be chosen
3134 # first if we set CC to just the basename; use the full file name.
3135 shift
3136 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3141 CC=$ac_cv_prog_CC
3142 if test -n "$CC"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3144 $as_echo "$CC" >&6; }
3145 else
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3152 if test -z "$CC"; then
3153 if test -n "$ac_tool_prefix"; then
3154 for ac_prog in cl.exe
3156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if ${ac_cv_prog_CC+:} false; then :
3161 $as_echo_n "(cached) " >&6
3162 else
3163 if test -n "$CC"; then
3164 ac_cv_prog_CC="$CC" # Let the user override the test.
3165 else
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 for as_dir in $PATH
3169 IFS=$as_save_IFS
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 break 2
3177 done
3178 done
3179 IFS=$as_save_IFS
3183 CC=$ac_cv_prog_CC
3184 if test -n "$CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3186 $as_echo "$CC" >&6; }
3187 else
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3193 test -n "$CC" && break
3194 done
3196 if test -z "$CC"; then
3197 ac_ct_CC=$CC
3198 for ac_prog in cl.exe
3200 # Extract the first word of "$ac_prog", so it can be a program name with args.
3201 set dummy $ac_prog; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3209 else
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 for as_dir in $PATH
3213 IFS=$as_save_IFS
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC="$ac_prog"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 break 2
3221 done
3222 done
3223 IFS=$as_save_IFS
3227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3231 else
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3237 test -n "$ac_ct_CC" && break
3238 done
3240 if test "x$ac_ct_CC" = x; then
3241 CC=""
3242 else
3243 case $cross_compiling:$ac_tool_warned in
3244 yes:)
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned=yes ;;
3248 esac
3249 CC=$ac_ct_CC
3256 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error $? "no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details" "$LINENO" 5; }
3261 # Provide some information about the compiler.
3262 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3263 set X $ac_compile
3264 ac_compiler=$2
3265 for ac_option in --version -v -V -qversion; do
3266 { { ac_try="$ac_compiler $ac_option >&5"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3274 ac_status=$?
3275 if test -s conftest.err; then
3276 sed '10a\
3277 ... rest of stderr output deleted ...
3278 10q' conftest.err >conftest.er1
3279 cat conftest.er1 >&5
3281 rm -f conftest.er1 conftest.err
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }
3284 done
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3287 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3288 if ${ac_cv_c_compiler_gnu+:} false; then :
3289 $as_echo_n "(cached) " >&6
3290 else
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 main ()
3297 #ifndef __GNUC__
3298 choke me
3299 #endif
3302 return 0;
3304 _ACEOF
3305 if ac_fn_c_try_compile "$LINENO"; then :
3306 ac_compiler_gnu=yes
3307 else
3308 ac_compiler_gnu=no
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3315 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3316 if test $ac_compiler_gnu = yes; then
3317 GCC=yes
3318 else
3319 GCC=
3321 ac_test_CFLAGS=${CFLAGS+set}
3322 ac_save_CFLAGS=$CFLAGS
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3324 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3325 if ${ac_cv_prog_cc_g+:} false; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 ac_save_c_werror_flag=$ac_c_werror_flag
3329 ac_c_werror_flag=yes
3330 ac_cv_prog_cc_g=no
3331 CFLAGS="-g"
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3336 main ()
3340 return 0;
3342 _ACEOF
3343 if ac_fn_c_try_compile "$LINENO"; then :
3344 ac_cv_prog_cc_g=yes
3345 else
3346 CFLAGS=""
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3351 main ()
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3360 else
3361 ac_c_werror_flag=$ac_save_c_werror_flag
3362 CFLAGS="-g"
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3371 return 0;
3373 _ACEOF
3374 if ac_fn_c_try_compile "$LINENO"; then :
3375 ac_cv_prog_cc_g=yes
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_c_werror_flag=$ac_save_c_werror_flag
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3385 $as_echo "$ac_cv_prog_cc_g" >&6; }
3386 if test "$ac_test_CFLAGS" = set; then
3387 CFLAGS=$ac_save_CFLAGS
3388 elif test $ac_cv_prog_cc_g = yes; then
3389 if test "$GCC" = yes; then
3390 CFLAGS="-g -O2"
3391 else
3392 CFLAGS="-g"
3394 else
3395 if test "$GCC" = yes; then
3396 CFLAGS="-O2"
3397 else
3398 CFLAGS=
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3402 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3403 if ${ac_cv_prog_cc_c89+:} false; then :
3404 $as_echo_n "(cached) " >&6
3405 else
3406 ac_cv_prog_cc_c89=no
3407 ac_save_CC=$CC
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3410 #include <stdarg.h>
3411 #include <stdio.h>
3412 #include <sys/types.h>
3413 #include <sys/stat.h>
3414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3415 struct buf { int x; };
3416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3417 static char *e (p, i)
3418 char **p;
3419 int i;
3421 return p[i];
3423 static char *f (char * (*g) (char **, int), char **p, ...)
3425 char *s;
3426 va_list v;
3427 va_start (v,p);
3428 s = g (p, va_arg (v,int));
3429 va_end (v);
3430 return s;
3433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3434 function prototypes and stuff, but not '\xHH' hex character constants.
3435 These don't provoke an error unfortunately, instead are silently treated
3436 as 'x'. The following induces an error, until -std is added to get
3437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3438 array size at least. It's necessary to write '\x00'==0 to get something
3439 that's true only with -std. */
3440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3442 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3443 inside strings and character constants. */
3444 #define FOO(x) 'x'
3445 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3447 int test (int i, double x);
3448 struct s1 {int (*f) (int a);};
3449 struct s2 {int (*f) (double a);};
3450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3451 int argc;
3452 char **argv;
3454 main ()
3456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3458 return 0;
3460 _ACEOF
3461 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3462 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3464 CC="$ac_save_CC $ac_arg"
3465 if ac_fn_c_try_compile "$LINENO"; then :
3466 ac_cv_prog_cc_c89=$ac_arg
3468 rm -f core conftest.err conftest.$ac_objext
3469 test "x$ac_cv_prog_cc_c89" != "xno" && break
3470 done
3471 rm -f conftest.$ac_ext
3472 CC=$ac_save_CC
3475 # AC_CACHE_VAL
3476 case "x$ac_cv_prog_cc_c89" in
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3479 $as_echo "none needed" >&6; } ;;
3480 xno)
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3482 $as_echo "unsupported" >&6; } ;;
3484 CC="$CC $ac_cv_prog_cc_c89"
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3487 esac
3488 if test "x$ac_cv_prog_cc_c89" != xno; then :
3492 ac_ext=c
3493 ac_cpp='$CPP $CPPFLAGS'
3494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3499 $as_echo_n "checking whether ln -s works... " >&6; }
3500 LN_S=$as_ln_s
3501 if test "$LN_S" = "ln -s"; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3503 $as_echo "yes" >&6; }
3504 else
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3506 $as_echo "no, using $LN_S" >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3510 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3511 set x ${MAKE-make}
3512 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3513 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3514 $as_echo_n "(cached) " >&6
3515 else
3516 cat >conftest.make <<\_ACEOF
3517 SHELL = /bin/sh
3518 all:
3519 @echo '@@@%%%=$(MAKE)=@@@%%%'
3520 _ACEOF
3521 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3522 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3523 *@@@%%%=?*=@@@%%%*)
3524 eval ac_cv_prog_make_${ac_make}_set=yes;;
3526 eval ac_cv_prog_make_${ac_make}_set=no;;
3527 esac
3528 rm -f conftest.make
3530 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3532 $as_echo "yes" >&6; }
3533 SET_MAKE=
3534 else
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3537 SET_MAKE="MAKE=${MAKE-make}"
3540 ac_aux_dir=
3541 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3542 if test -f "$ac_dir/install-sh"; then
3543 ac_aux_dir=$ac_dir
3544 ac_install_sh="$ac_aux_dir/install-sh -c"
3545 break
3546 elif test -f "$ac_dir/install.sh"; then
3547 ac_aux_dir=$ac_dir
3548 ac_install_sh="$ac_aux_dir/install.sh -c"
3549 break
3550 elif test -f "$ac_dir/shtool"; then
3551 ac_aux_dir=$ac_dir
3552 ac_install_sh="$ac_aux_dir/shtool install -c"
3553 break
3555 done
3556 if test -z "$ac_aux_dir"; then
3557 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3560 # These three variables are undocumented and unsupported,
3561 # and are intended to be withdrawn in a future Autoconf release.
3562 # They can cause serious problems if a builder's source tree is in a directory
3563 # whose full name contains unusual characters.
3564 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3565 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3566 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3569 # Find a good install program. We prefer a C program (faster),
3570 # so one script is as good as another. But avoid the broken or
3571 # incompatible versions:
3572 # SysV /etc/install, /usr/sbin/install
3573 # SunOS /usr/etc/install
3574 # IRIX /sbin/install
3575 # AIX /bin/install
3576 # AmigaOS /C/install, which installs bootblocks on floppy discs
3577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3580 # OS/2's system install, which has a completely different semantic
3581 # ./install, which can be erroneously created by make from ./install.sh.
3582 # Reject install programs that cannot install multiple files.
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3584 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3585 if test -z "$INSTALL"; then
3586 if ${ac_cv_path_install+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3592 IFS=$as_save_IFS
3593 test -z "$as_dir" && as_dir=.
3594 # Account for people who put trailing slashes in PATH elements.
3595 case $as_dir/ in #((
3596 ./ | .// | /[cC]/* | \
3597 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3598 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3599 /usr/ucb/* ) ;;
3601 # OSF1 and SCO ODT 3.0 have their own names for install.
3602 # Don't use installbsd from OSF since it installs stuff as root
3603 # by default.
3604 for ac_prog in ginstall scoinst install; do
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3607 if test $ac_prog = install &&
3608 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3609 # AIX install. It has an incompatible calling convention.
3611 elif test $ac_prog = install &&
3612 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3613 # program-specific install script used by HP pwplus--don't use.
3615 else
3616 rm -rf conftest.one conftest.two conftest.dir
3617 echo one > conftest.one
3618 echo two > conftest.two
3619 mkdir conftest.dir
3620 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3621 test -s conftest.one && test -s conftest.two &&
3622 test -s conftest.dir/conftest.one &&
3623 test -s conftest.dir/conftest.two
3624 then
3625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3626 break 3
3630 done
3631 done
3633 esac
3635 done
3636 IFS=$as_save_IFS
3638 rm -rf conftest.one conftest.two conftest.dir
3641 if test "${ac_cv_path_install+set}" = set; then
3642 INSTALL=$ac_cv_path_install
3643 else
3644 # As a last resort, use the slow shell script. Don't cache a
3645 # value for INSTALL within a source directory, because that will
3646 # break other packages using the cache if that directory is
3647 # removed, or if the value is a relative name.
3648 INSTALL=$ac_install_sh
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3652 $as_echo "$INSTALL" >&6; }
3654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3655 # It thinks the first close brace ends the variable substitution.
3656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3660 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3663 # Checks for languages.
3664 ac_ext=c
3665 ac_cpp='$CPP $CPPFLAGS'
3666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670 ac_ext=cpp
3671 ac_cpp='$CXXCPP $CPPFLAGS'
3672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3677 # Prepend alternate dependencies paths.
3678 ac_path=$PATH
3679 for X in $ac_with_paths; do
3680 if test -d $X/bin; then
3681 ac_path="$X/bin:$ac_path"
3683 if test -x $X/qmake; then
3684 ac_path="$X:$ac_path"
3686 if test -d $X/lib64; then
3687 ac_libs="-L$X/lib64 $ac_libs"
3689 if test -d $X/lib; then
3690 ac_libs="-L$X/lib $ac_libs"
3692 done
3701 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3702 if test -n "$ac_tool_prefix"; then
3703 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3704 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3706 $as_echo_n "checking for $ac_word... " >&6; }
3707 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3708 $as_echo_n "(cached) " >&6
3709 else
3710 case $PKG_CONFIG in
3711 [\\/]* | ?:[\\/]*)
3712 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3718 IFS=$as_save_IFS
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3722 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 break 2
3726 done
3727 done
3728 IFS=$as_save_IFS
3731 esac
3733 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3734 if test -n "$PKG_CONFIG"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3736 $as_echo "$PKG_CONFIG" >&6; }
3737 else
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3744 if test -z "$ac_cv_path_PKG_CONFIG"; then
3745 ac_pt_PKG_CONFIG=$PKG_CONFIG
3746 # Extract the first word of "pkg-config", so it can be a program name with args.
3747 set dummy pkg-config; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3751 $as_echo_n "(cached) " >&6
3752 else
3753 case $ac_pt_PKG_CONFIG in
3754 [\\/]* | ?:[\\/]*)
3755 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 for as_dir in $PATH
3761 IFS=$as_save_IFS
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3765 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 break 2
3769 done
3770 done
3771 IFS=$as_save_IFS
3774 esac
3776 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3777 if test -n "$ac_pt_PKG_CONFIG"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3779 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3785 if test "x$ac_pt_PKG_CONFIG" = x; then
3786 PKG_CONFIG=""
3787 else
3788 case $cross_compiling:$ac_tool_warned in
3789 yes:)
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3792 ac_tool_warned=yes ;;
3793 esac
3794 PKG_CONFIG=$ac_pt_PKG_CONFIG
3796 else
3797 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3801 if test -n "$PKG_CONFIG"; then
3802 _pkg_min_version=0.9.0
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3804 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3805 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3807 $as_echo "yes" >&6; }
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3811 PKG_CONFIG=""
3815 # Check for JACK and ALSA libraries.
3817 pkg_failed=no
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REQUIREDPKGS" >&5
3819 $as_echo_n "checking for REQUIREDPKGS... " >&6; }
3821 if test -n "$REQUIREDPKGS_CFLAGS"; then
3822 pkg_cv_REQUIREDPKGS_CFLAGS="$REQUIREDPKGS_CFLAGS"
3823 elif test -n "$PKG_CONFIG"; then
3824 if test -n "$PKG_CONFIG" && \
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.0 alsa >= 1.0.0\""; } >&5
3826 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.0 alsa >= 1.0.0") 2>&5
3827 ac_status=$?
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }; then
3830 pkg_cv_REQUIREDPKGS_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.0 alsa >= 1.0.0" 2>/dev/null`
3831 else
3832 pkg_failed=yes
3834 else
3835 pkg_failed=untried
3837 if test -n "$REQUIREDPKGS_LIBS"; then
3838 pkg_cv_REQUIREDPKGS_LIBS="$REQUIREDPKGS_LIBS"
3839 elif test -n "$PKG_CONFIG"; then
3840 if test -n "$PKG_CONFIG" && \
3841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.0 alsa >= 1.0.0\""; } >&5
3842 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.0 alsa >= 1.0.0") 2>&5
3843 ac_status=$?
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }; then
3846 pkg_cv_REQUIREDPKGS_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.0 alsa >= 1.0.0" 2>/dev/null`
3847 else
3848 pkg_failed=yes
3850 else
3851 pkg_failed=untried
3856 if test $pkg_failed = yes; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3861 _pkg_short_errors_supported=yes
3862 else
3863 _pkg_short_errors_supported=no
3865 if test $_pkg_short_errors_supported = yes; then
3866 REQUIREDPKGS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "jack >= 0.99.0 alsa >= 1.0.0" 2>&1`
3867 else
3868 REQUIREDPKGS_PKG_ERRORS=`$PKG_CONFIG --print-errors "jack >= 0.99.0 alsa >= 1.0.0" 2>&1`
3870 # Put the nasty error message in config.log where it belongs
3871 echo "$REQUIREDPKGS_PKG_ERRORS" >&5
3873 as_fn_error $? "Package requirements (jack >= 0.99.0 alsa >= 1.0.0) were not met:
3875 $REQUIREDPKGS_PKG_ERRORS
3877 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3878 installed software in a non-standard prefix.
3880 Alternatively, you may set the environment variables REQUIREDPKGS_CFLAGS
3881 and REQUIREDPKGS_LIBS to avoid the need to call pkg-config.
3882 See the pkg-config man page for more details." "$LINENO" 5
3883 elif test $pkg_failed = untried; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3889 is in your PATH or set the PKG_CONFIG environment variable to the full
3890 path to pkg-config.
3892 Alternatively, you may set the environment variables REQUIREDPKGS_CFLAGS
3893 and REQUIREDPKGS_LIBS to avoid the need to call pkg-config.
3894 See the pkg-config man page for more details.
3896 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3897 See \`config.log' for more details" "$LINENO" 5; }
3898 else
3899 REQUIREDPKGS_CFLAGS=$pkg_cv_REQUIREDPKGS_CFLAGS
3900 REQUIREDPKGS_LIBS=$pkg_cv_REQUIREDPKGS_LIBS
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3902 $as_echo "yes" >&6; }
3905 ac_cflags="$CFLAGS $REQUIREDPKGS_CFLAGS"
3906 ac_libs="$ac_libs $REQUIREDPKGS_LIBS"
3907 ac_pkgs="alsa jack"
3909 # Check for proper Qt version.
3910 if test "x$ac_build_qjackmmc" = "xyes"; then
3912 pkg_failed=no
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_UP_TO_DATE" >&5
3914 $as_echo_n "checking for QT_UP_TO_DATE... " >&6; }
3916 if test -n "$QT_UP_TO_DATE_CFLAGS"; then
3917 pkg_cv_QT_UP_TO_DATE_CFLAGS="$QT_UP_TO_DATE_CFLAGS"
3918 elif test -n "$PKG_CONFIG"; then
3919 if test -n "$PKG_CONFIG" && \
3920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.4\""; } >&5
3921 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.4") 2>&5
3922 ac_status=$?
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }; then
3925 pkg_cv_QT_UP_TO_DATE_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.4" 2>/dev/null`
3926 else
3927 pkg_failed=yes
3929 else
3930 pkg_failed=untried
3932 if test -n "$QT_UP_TO_DATE_LIBS"; then
3933 pkg_cv_QT_UP_TO_DATE_LIBS="$QT_UP_TO_DATE_LIBS"
3934 elif test -n "$PKG_CONFIG"; then
3935 if test -n "$PKG_CONFIG" && \
3936 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.4\""; } >&5
3937 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.4") 2>&5
3938 ac_status=$?
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then
3941 pkg_cv_QT_UP_TO_DATE_LIBS=`$PKG_CONFIG --libs "QtCore >= 4.4" 2>/dev/null`
3942 else
3943 pkg_failed=yes
3945 else
3946 pkg_failed=untried
3951 if test $pkg_failed = yes; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3955 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3956 _pkg_short_errors_supported=yes
3957 else
3958 _pkg_short_errors_supported=no
3960 if test $_pkg_short_errors_supported = yes; then
3961 QT_UP_TO_DATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "QtCore >= 4.4" 2>&1`
3962 else
3963 QT_UP_TO_DATE_PKG_ERRORS=`$PKG_CONFIG --print-errors "QtCore >= 4.4" 2>&1`
3965 # Put the nasty error message in config.log where it belongs
3966 echo "$QT_UP_TO_DATE_PKG_ERRORS" >&5
3968 ac_build_qjackmmc="no"
3969 elif test $pkg_failed = untried; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3972 ac_build_qjackmmc="no"
3973 else
3974 QT_UP_TO_DATE_CFLAGS=$pkg_cv_QT_UP_TO_DATE_CFLAGS
3975 QT_UP_TO_DATE_LIBS=$pkg_cv_QT_UP_TO_DATE_LIBS
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3977 $as_echo "yes" >&6; }
3981 # A common error message:
3982 ac_errmsg="not found in current PATH. Maybe QT development environment isn't available (qt-devel). QJackMMC cannot be built."
3984 # Check for Qt qmake utility.
3985 # Extract the first word of "qmake", so it can be a program name with args.
3986 set dummy qmake; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_path_ac_qmake+:} false; then :
3990 $as_echo_n "(cached) " >&6
3991 else
3992 case $ac_qmake in
3993 [\\/]* | ?:[\\/]*)
3994 ac_cv_path_ac_qmake="$ac_qmake" # Let the user override the test with a path.
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $ac_path
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004 ac_cv_path_ac_qmake="$as_dir/$ac_word$ac_exec_ext"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4008 done
4009 done
4010 IFS=$as_save_IFS
4012 test -z "$ac_cv_path_ac_qmake" && ac_cv_path_ac_qmake="no"
4014 esac
4016 ac_qmake=$ac_cv_path_ac_qmake
4017 if test -n "$ac_qmake"; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_qmake" >&5
4019 $as_echo "$ac_qmake" >&6; }
4020 else
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4026 if test "x$ac_qmake" = "xno"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** qmake $ac_errmsg" >&5
4028 $as_echo "$as_me: WARNING: *** qmake $ac_errmsg" >&2;}
4029 ac_build_qjackmmc="no"
4033 # Check for Qt moc utility.
4034 # Extract the first word of "moc", so it can be a program name with args.
4035 set dummy moc; ac_word=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if ${ac_cv_path_ac_moc+:} false; then :
4039 $as_echo_n "(cached) " >&6
4040 else
4041 case $ac_moc in
4042 [\\/]* | ?:[\\/]*)
4043 ac_cv_path_ac_moc="$ac_moc" # Let the user override the test with a path.
4046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 for as_dir in $ac_path
4049 IFS=$as_save_IFS
4050 test -z "$as_dir" && as_dir=.
4051 for ac_exec_ext in '' $ac_executable_extensions; do
4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4053 ac_cv_path_ac_moc="$as_dir/$ac_word$ac_exec_ext"
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 break 2
4057 done
4058 done
4059 IFS=$as_save_IFS
4061 test -z "$ac_cv_path_ac_moc" && ac_cv_path_ac_moc="no"
4063 esac
4065 ac_moc=$ac_cv_path_ac_moc
4066 if test -n "$ac_moc"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_moc" >&5
4068 $as_echo "$ac_moc" >&6; }
4069 else
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4075 if test "x$ac_moc" = "xno"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** moc $ac_errmsg" >&5
4077 $as_echo "$as_me: WARNING: *** moc $ac_errmsg" >&2;}
4078 ac_build_qjackmmc="no"
4082 # Check for Qt uic utility.
4083 # Extract the first word of "uic", so it can be a program name with args.
4084 set dummy uic; ac_word=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if ${ac_cv_path_ac_uic+:} false; then :
4088 $as_echo_n "(cached) " >&6
4089 else
4090 case $ac_uic in
4091 [\\/]* | ?:[\\/]*)
4092 ac_cv_path_ac_uic="$ac_uic" # Let the user override the test with a path.
4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 for as_dir in $ac_path
4098 IFS=$as_save_IFS
4099 test -z "$as_dir" && as_dir=.
4100 for ac_exec_ext in '' $ac_executable_extensions; do
4101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4102 ac_cv_path_ac_uic="$as_dir/$ac_word$ac_exec_ext"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 break 2
4106 done
4107 done
4108 IFS=$as_save_IFS
4110 test -z "$ac_cv_path_ac_uic" && ac_cv_path_ac_uic="no"
4112 esac
4114 ac_uic=$ac_cv_path_ac_uic
4115 if test -n "$ac_uic"; then
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uic" >&5
4117 $as_echo "$ac_uic" >&6; }
4118 else
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120 $as_echo "no" >&6; }
4124 if test "x$ac_uic" = "xno"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** uic $ac_errmsg" >&5
4126 $as_echo "$as_me: WARNING: *** uic $ac_errmsg" >&2;}
4127 ac_build_qjackmmc="no"
4130 fi # ac_build_qjackmmc
4132 if test "x$ac_build_qjackmmc" = "xyes"; then
4134 $as_echo "#define ENABLE_QJACKMMC 1" >>confdefs.h
4136 ac_libs="$ac_libs -lX11"
4137 else
4139 $as_echo "#define ENABLE_QJACKMMC 0" >>confdefs.h
4143 ac_default_deps=""
4144 ac_default_install=""
4145 ac_default_uninstall=""
4147 if test "x$ac_build_jackctlmmc" = "xyes"; then
4148 ac_default_deps="jackctlmmc"
4149 ac_default_install="cli_install"
4150 ac_default_uninstall="cli_uninstall"
4153 if test "x$ac_build_qjackmmc" = "xyes"; then
4154 ac_default_deps="$ac_default_deps qjackmmc"
4155 ac_default_install="$ac_default_install gui_install"
4156 ac_default_uninstall="$ac_default_uninstall gui_uninstall"
4159 if test "x$ac_default_deps" = "x"; then
4160 as_fn_error $? "both jackctlmmc and qjackmmc have been disabled, either voluntarily or by missing dependencies, bailing out." "$LINENO" 5
4168 # Check for JACK headers.
4170 ac_ext=cpp
4171 ac_cpp='$CXXCPP $CPPFLAGS'
4172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4176 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4177 if test -z "$CXXCPP"; then
4178 if ${ac_cv_prog_CXXCPP+:} false; then :
4179 $as_echo_n "(cached) " >&6
4180 else
4181 # Double quotes because CXXCPP needs to be expanded
4182 for CXXCPP in "$CXX -E" "/lib/cpp"
4184 ac_preproc_ok=false
4185 for ac_cxx_preproc_warn_flag in '' yes
4187 # Use a header file that comes with gcc, so configuring glibc
4188 # with a fresh cross-compiler works.
4189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4190 # <limits.h> exists even on freestanding compilers.
4191 # On the NeXT, cc -E runs the code through the compiler's parser,
4192 # not just through cpp. "Syntax error" is here to catch this case.
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4195 #ifdef __STDC__
4196 # include <limits.h>
4197 #else
4198 # include <assert.h>
4199 #endif
4200 Syntax error
4201 _ACEOF
4202 if ac_fn_cxx_try_cpp "$LINENO"; then :
4204 else
4205 # Broken: fails on valid input.
4206 continue
4208 rm -f conftest.err conftest.i conftest.$ac_ext
4210 # OK, works on sane cases. Now check whether nonexistent headers
4211 # can be detected and how.
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214 #include <ac_nonexistent.h>
4215 _ACEOF
4216 if ac_fn_cxx_try_cpp "$LINENO"; then :
4217 # Broken: success on invalid input.
4218 continue
4219 else
4220 # Passes both tests.
4221 ac_preproc_ok=:
4222 break
4224 rm -f conftest.err conftest.i conftest.$ac_ext
4226 done
4227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4228 rm -f conftest.i conftest.err conftest.$ac_ext
4229 if $ac_preproc_ok; then :
4230 break
4233 done
4234 ac_cv_prog_CXXCPP=$CXXCPP
4237 CXXCPP=$ac_cv_prog_CXXCPP
4238 else
4239 ac_cv_prog_CXXCPP=$CXXCPP
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4242 $as_echo "$CXXCPP" >&6; }
4243 ac_preproc_ok=false
4244 for ac_cxx_preproc_warn_flag in '' yes
4246 # Use a header file that comes with gcc, so configuring glibc
4247 # with a fresh cross-compiler works.
4248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4249 # <limits.h> exists even on freestanding compilers.
4250 # On the NeXT, cc -E runs the code through the compiler's parser,
4251 # not just through cpp. "Syntax error" is here to catch this case.
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4254 #ifdef __STDC__
4255 # include <limits.h>
4256 #else
4257 # include <assert.h>
4258 #endif
4259 Syntax error
4260 _ACEOF
4261 if ac_fn_cxx_try_cpp "$LINENO"; then :
4263 else
4264 # Broken: fails on valid input.
4265 continue
4267 rm -f conftest.err conftest.i conftest.$ac_ext
4269 # OK, works on sane cases. Now check whether nonexistent headers
4270 # can be detected and how.
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4273 #include <ac_nonexistent.h>
4274 _ACEOF
4275 if ac_fn_cxx_try_cpp "$LINENO"; then :
4276 # Broken: success on invalid input.
4277 continue
4278 else
4279 # Passes both tests.
4280 ac_preproc_ok=:
4281 break
4283 rm -f conftest.err conftest.i conftest.$ac_ext
4285 done
4286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4287 rm -f conftest.i conftest.err conftest.$ac_ext
4288 if $ac_preproc_ok; then :
4290 else
4291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4293 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4294 See \`config.log' for more details" "$LINENO" 5; }
4297 ac_ext=cpp
4298 ac_cpp='$CXXCPP $CPPFLAGS'
4299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4305 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4306 if ${ac_cv_path_GREP+:} false; then :
4307 $as_echo_n "(cached) " >&6
4308 else
4309 if test -z "$GREP"; then
4310 ac_path_GREP_found=false
4311 # Loop through the user's path and test for each of PROGNAME-LIST
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4315 IFS=$as_save_IFS
4316 test -z "$as_dir" && as_dir=.
4317 for ac_prog in grep ggrep; do
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4320 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4321 # Check for GNU ac_path_GREP and select it if it is found.
4322 # Check for GNU $ac_path_GREP
4323 case `"$ac_path_GREP" --version 2>&1` in
4324 *GNU*)
4325 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4327 ac_count=0
4328 $as_echo_n 0123456789 >"conftest.in"
4329 while :
4331 cat "conftest.in" "conftest.in" >"conftest.tmp"
4332 mv "conftest.tmp" "conftest.in"
4333 cp "conftest.in" "conftest.nl"
4334 $as_echo 'GREP' >> "conftest.nl"
4335 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4337 as_fn_arith $ac_count + 1 && ac_count=$as_val
4338 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4339 # Best one so far, save it but keep looking for a better one
4340 ac_cv_path_GREP="$ac_path_GREP"
4341 ac_path_GREP_max=$ac_count
4343 # 10*(2^10) chars as input seems more than enough
4344 test $ac_count -gt 10 && break
4345 done
4346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4347 esac
4349 $ac_path_GREP_found && break 3
4350 done
4351 done
4352 done
4353 IFS=$as_save_IFS
4354 if test -z "$ac_cv_path_GREP"; then
4355 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4357 else
4358 ac_cv_path_GREP=$GREP
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4363 $as_echo "$ac_cv_path_GREP" >&6; }
4364 GREP="$ac_cv_path_GREP"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4368 $as_echo_n "checking for egrep... " >&6; }
4369 if ${ac_cv_path_EGREP+:} false; then :
4370 $as_echo_n "(cached) " >&6
4371 else
4372 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4373 then ac_cv_path_EGREP="$GREP -E"
4374 else
4375 if test -z "$EGREP"; then
4376 ac_path_EGREP_found=false
4377 # Loop through the user's path and test for each of PROGNAME-LIST
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4381 IFS=$as_save_IFS
4382 test -z "$as_dir" && as_dir=.
4383 for ac_prog in egrep; do
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4386 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4387 # Check for GNU ac_path_EGREP and select it if it is found.
4388 # Check for GNU $ac_path_EGREP
4389 case `"$ac_path_EGREP" --version 2>&1` in
4390 *GNU*)
4391 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4393 ac_count=0
4394 $as_echo_n 0123456789 >"conftest.in"
4395 while :
4397 cat "conftest.in" "conftest.in" >"conftest.tmp"
4398 mv "conftest.tmp" "conftest.in"
4399 cp "conftest.in" "conftest.nl"
4400 $as_echo 'EGREP' >> "conftest.nl"
4401 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403 as_fn_arith $ac_count + 1 && ac_count=$as_val
4404 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4405 # Best one so far, save it but keep looking for a better one
4406 ac_cv_path_EGREP="$ac_path_EGREP"
4407 ac_path_EGREP_max=$ac_count
4409 # 10*(2^10) chars as input seems more than enough
4410 test $ac_count -gt 10 && break
4411 done
4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4413 esac
4415 $ac_path_EGREP_found && break 3
4416 done
4417 done
4418 done
4419 IFS=$as_save_IFS
4420 if test -z "$ac_cv_path_EGREP"; then
4421 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4423 else
4424 ac_cv_path_EGREP=$EGREP
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4430 $as_echo "$ac_cv_path_EGREP" >&6; }
4431 EGREP="$ac_cv_path_EGREP"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4435 $as_echo_n "checking for ANSI C header files... " >&6; }
4436 if ${ac_cv_header_stdc+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 #include <stdlib.h>
4442 #include <stdarg.h>
4443 #include <string.h>
4444 #include <float.h>
4447 main ()
4451 return 0;
4453 _ACEOF
4454 if ac_fn_cxx_try_compile "$LINENO"; then :
4455 ac_cv_header_stdc=yes
4456 else
4457 ac_cv_header_stdc=no
4459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4461 if test $ac_cv_header_stdc = yes; then
4462 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4465 #include <string.h>
4467 _ACEOF
4468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4469 $EGREP "memchr" >/dev/null 2>&1; then :
4471 else
4472 ac_cv_header_stdc=no
4474 rm -f conftest*
4478 if test $ac_cv_header_stdc = yes; then
4479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4482 #include <stdlib.h>
4484 _ACEOF
4485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4486 $EGREP "free" >/dev/null 2>&1; then :
4488 else
4489 ac_cv_header_stdc=no
4491 rm -f conftest*
4495 if test $ac_cv_header_stdc = yes; then
4496 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4497 if test "$cross_compiling" = yes; then :
4499 else
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502 #include <ctype.h>
4503 #include <stdlib.h>
4504 #if ((' ' & 0x0FF) == 0x020)
4505 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4506 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4507 #else
4508 # define ISLOWER(c) \
4509 (('a' <= (c) && (c) <= 'i') \
4510 || ('j' <= (c) && (c) <= 'r') \
4511 || ('s' <= (c) && (c) <= 'z'))
4512 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4513 #endif
4515 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4517 main ()
4519 int i;
4520 for (i = 0; i < 256; i++)
4521 if (XOR (islower (i), ISLOWER (i))
4522 || toupper (i) != TOUPPER (i))
4523 return 2;
4524 return 0;
4526 _ACEOF
4527 if ac_fn_cxx_try_run "$LINENO"; then :
4529 else
4530 ac_cv_header_stdc=no
4532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4533 conftest.$ac_objext conftest.beam conftest.$ac_ext
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4539 $as_echo "$ac_cv_header_stdc" >&6; }
4540 if test $ac_cv_header_stdc = yes; then
4542 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4546 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4547 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4548 inttypes.h stdint.h unistd.h
4549 do :
4550 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4551 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4554 cat >>confdefs.h <<_ACEOF
4555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4556 _ACEOF
4560 done
4563 ac_fn_cxx_check_header_mongrel "$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
4564 if test "x$ac_cv_header_jack_jack_h" = xyes; then :
4565 ac_jack_h="yes"
4566 else
4567 ac_jack_h="no"
4571 if test "x$ac_jack_h" = "xno"; then
4572 as_fn_error $? "JACK headers not found." "$LINENO" 5
4575 # Check for ALSA headers and ultimately
4576 # for ALSA/MIDI sequencer support.
4577 if test "x$ac_alsa_seq" = "xyes"; then
4578 ac_fn_cxx_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
4579 if test "x$ac_cv_header_alsa_asoundlib_h" = xyes; then :
4580 ac_alsa_h="yes"
4581 else
4582 ac_alsa_h="no"
4586 if test "x$ac_alsa_h" = "xyes"; then
4588 $as_echo "#define CONFIG_ALSA_SEQ 1" >>confdefs.h
4590 else
4591 as_fn_error $? "*** ALSA headers not found." "$LINENO" 5
4595 # check if the user wants LASH support
4596 # Check whether --enable-lash was given.
4597 if test "${enable_lash+set}" = set; then :
4598 enableval=$enable_lash; ac_lashsupport="$enableval"
4599 else
4600 ac_lashsupport="yes"
4604 # check if the user wants JACK midi support
4605 # Check whether --enable-jackmidi was given.
4606 if test "${enable_jackmidi+set}" = set; then :
4607 enableval=$enable_jackmidi; ac_jack_midi="$enableval"
4608 else
4609 ac_jack_midi="yes"
4613 # Check for JACK MIDI headers availability.
4614 if test "x$ac_jack_midi" = "xyes"; then
4615 ac_fn_cxx_check_header_mongrel "$LINENO" "jack/midiport.h" "ac_cv_header_jack_midiport_h" "$ac_includes_default"
4616 if test "x$ac_cv_header_jack_midiport_h" = xyes; then :
4617 ac_jack_midi="yes"
4618 else
4619 ac_jack_midi="no"
4623 if test "x$ac_jack_midi" = "xyes"; then
4625 $as_echo "#define JACK_MIDI_SUPPORT 1" >>confdefs.h
4627 else
4629 $as_echo "#define JACK_MIDI_SUPPORT 0" >>confdefs.h
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack/midiport.h file not found." >&5
4632 $as_echo "$as_me: WARNING: *** jack/midiport.h file not found." >&2;}
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JACK 0.103.0 or later may be required." >&5
4634 $as_echo "$as_me: WARNING: *** JACK 0.103.0 or later may be required." >&2;}
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JACK MIDI support will be disabled." >&5
4636 $as_echo "$as_me: WARNING: *** JACK MIDI support will be disabled." >&2;}
4638 else
4640 $as_echo "#define JACK_MIDI_SUPPORT 0" >>confdefs.h
4645 pkg_failed=no
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LASH" >&5
4647 $as_echo_n "checking for LASH... " >&6; }
4649 if test -n "$LASH_CFLAGS"; then
4650 pkg_cv_LASH_CFLAGS="$LASH_CFLAGS"
4651 elif test -n "$PKG_CONFIG"; then
4652 if test -n "$PKG_CONFIG" && \
4653 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.5.0\""; } >&5
4654 ($PKG_CONFIG --exists --print-errors "lash-1.0 >= 0.5.0") 2>&5
4655 ac_status=$?
4656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4657 test $ac_status = 0; }; then
4658 pkg_cv_LASH_CFLAGS=`$PKG_CONFIG --cflags "lash-1.0 >= 0.5.0" 2>/dev/null`
4659 else
4660 pkg_failed=yes
4662 else
4663 pkg_failed=untried
4665 if test -n "$LASH_LIBS"; then
4666 pkg_cv_LASH_LIBS="$LASH_LIBS"
4667 elif test -n "$PKG_CONFIG"; then
4668 if test -n "$PKG_CONFIG" && \
4669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.5.0\""; } >&5
4670 ($PKG_CONFIG --exists --print-errors "lash-1.0 >= 0.5.0") 2>&5
4671 ac_status=$?
4672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4673 test $ac_status = 0; }; then
4674 pkg_cv_LASH_LIBS=`$PKG_CONFIG --libs "lash-1.0 >= 0.5.0" 2>/dev/null`
4675 else
4676 pkg_failed=yes
4678 else
4679 pkg_failed=untried
4684 if test $pkg_failed = yes; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4689 _pkg_short_errors_supported=yes
4690 else
4691 _pkg_short_errors_supported=no
4693 if test $_pkg_short_errors_supported = yes; then
4694 LASH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lash-1.0 >= 0.5.0" 2>&1`
4695 else
4696 LASH_PKG_ERRORS=`$PKG_CONFIG --print-errors "lash-1.0 >= 0.5.0" 2>&1`
4698 # Put the nasty error message in config.log where it belongs
4699 echo "$LASH_PKG_ERRORS" >&5
4701 have_lash="no"
4702 elif test $pkg_failed = untried; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4705 have_lash="no"
4706 else
4707 LASH_CFLAGS=$pkg_cv_LASH_CFLAGS
4708 LASH_LIBS=$pkg_cv_LASH_LIBS
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4710 $as_echo "yes" >&6; }
4711 have_lash="yes"
4713 if test "x$ac_lashsupport" = "xyes"; then
4714 if test "$have_lash" = "yes"; then
4716 $as_echo "#define LASH_SUPPORT 1" >>confdefs.h
4718 ac_cflags="$ac_cflags $LASH_CFLAGS"
4719 ac_libs="$ac_libs $LASH_LIBS"
4720 ac_pkgs="$ac_pkgs lash-1.0"
4721 else
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LASH not found, session support will not be built." >&5
4723 $as_echo "$as_me: WARNING: LASH not found, session support will not be built." >&2;}
4725 $as_echo "#define LASH_SUPPORT 0" >>confdefs.h
4728 else
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LASH intentionally disabled." >&5
4730 $as_echo "$as_me: WARNING: LASH intentionally disabled." >&2;}
4732 $as_echo "#define LASH_SUPPORT 0" >>confdefs.h
4736 # export makefile variables
4741 # Checks for library functions.
4742 for ac_func in system
4743 do :
4744 ac_fn_cxx_check_func "$LINENO" "system" "ac_cv_func_system"
4745 if test "x$ac_cv_func_system" = xyes; then :
4746 cat >>confdefs.h <<_ACEOF
4747 #define HAVE_SYSTEM 1
4748 _ACEOF
4751 done
4754 # Checks for header files.
4755 for ac_header in stdlib.h unistd.h
4756 do :
4757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4758 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4759 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4760 cat >>confdefs.h <<_ACEOF
4761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4762 _ACEOF
4766 done
4769 # Checks for typedefs, structures, and compiler characteristics.
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4771 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4772 if ${ac_cv_header_stdbool_h+:} false; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4778 #include <stdbool.h>
4779 #ifndef bool
4780 "error: bool is not defined"
4781 #endif
4782 #ifndef false
4783 "error: false is not defined"
4784 #endif
4785 #if false
4786 "error: false is not 0"
4787 #endif
4788 #ifndef true
4789 "error: true is not defined"
4790 #endif
4791 #if true != 1
4792 "error: true is not 1"
4793 #endif
4794 #ifndef __bool_true_false_are_defined
4795 "error: __bool_true_false_are_defined is not defined"
4796 #endif
4798 struct s { _Bool s: 1; _Bool t; } s;
4800 char a[true == 1 ? 1 : -1];
4801 char b[false == 0 ? 1 : -1];
4802 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4803 char d[(bool) 0.5 == true ? 1 : -1];
4804 /* See body of main program for 'e'. */
4805 char f[(_Bool) 0.0 == false ? 1 : -1];
4806 char g[true];
4807 char h[sizeof (_Bool)];
4808 char i[sizeof s.t];
4809 enum { j = false, k = true, l = false * true, m = true * 256 };
4810 /* The following fails for
4811 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4812 _Bool n[m];
4813 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4814 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4815 /* Catch a bug in an HP-UX C compiler. See
4816 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4817 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4819 _Bool q = true;
4820 _Bool *pq = &q;
4823 main ()
4826 bool e = &s;
4827 *pq |= q;
4828 *pq |= ! q;
4829 /* Refer to every declared value, to avoid compiler optimizations. */
4830 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4831 + !m + !n + !o + !p + !q + !pq);
4834 return 0;
4836 _ACEOF
4837 if ac_fn_cxx_try_compile "$LINENO"; then :
4838 ac_cv_header_stdbool_h=yes
4839 else
4840 ac_cv_header_stdbool_h=no
4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4845 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4846 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4847 if test "x$ac_cv_type__Bool" = xyes; then :
4849 cat >>confdefs.h <<_ACEOF
4850 #define HAVE__BOOL 1
4851 _ACEOF
4856 if test $ac_cv_header_stdbool_h = yes; then
4858 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4862 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4863 if test "x$ac_cv_type_size_t" = xyes; then :
4865 else
4867 cat >>confdefs.h <<_ACEOF
4868 #define size_t unsigned int
4869 _ACEOF
4873 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
4874 case $ac_cv_c_uint32_t in #(
4875 no|yes) ;; #(
4878 $as_echo "#define _UINT32_T 1" >>confdefs.h
4881 cat >>confdefs.h <<_ACEOF
4882 #define uint32_t $ac_cv_c_uint32_t
4883 _ACEOF
4885 esac
4887 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
4888 case $ac_cv_c_uint64_t in #(
4889 no|yes) ;; #(
4892 $as_echo "#define _UINT64_T 1" >>confdefs.h
4895 cat >>confdefs.h <<_ACEOF
4896 #define uint64_t $ac_cv_c_uint64_t
4897 _ACEOF
4899 esac
4901 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
4902 case $ac_cv_c_uint8_t in #(
4903 no|yes) ;; #(
4906 $as_echo "#define _UINT8_T 1" >>confdefs.h
4909 cat >>confdefs.h <<_ACEOF
4910 #define uint8_t $ac_cv_c_uint8_t
4911 _ACEOF
4913 esac
4916 # Checks for library functions.
4917 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4918 # for constant arguments. Useless!
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4920 $as_echo_n "checking for working alloca.h... " >&6; }
4921 if ${ac_cv_working_alloca_h+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4926 #include <alloca.h>
4928 main ()
4930 char *p = (char *) alloca (2 * sizeof (int));
4931 if (p) return 0;
4933 return 0;
4935 _ACEOF
4936 if ac_fn_cxx_try_link "$LINENO"; then :
4937 ac_cv_working_alloca_h=yes
4938 else
4939 ac_cv_working_alloca_h=no
4941 rm -f core conftest.err conftest.$ac_objext \
4942 conftest$ac_exeext conftest.$ac_ext
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4945 $as_echo "$ac_cv_working_alloca_h" >&6; }
4946 if test $ac_cv_working_alloca_h = yes; then
4948 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4953 $as_echo_n "checking for alloca... " >&6; }
4954 if ${ac_cv_func_alloca_works+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4959 #ifdef __GNUC__
4960 # define alloca __builtin_alloca
4961 #else
4962 # ifdef _MSC_VER
4963 # include <malloc.h>
4964 # define alloca _alloca
4965 # else
4966 # ifdef HAVE_ALLOCA_H
4967 # include <alloca.h>
4968 # else
4969 # ifdef _AIX
4970 #pragma alloca
4971 # else
4972 # ifndef alloca /* predefined by HP cc +Olibcalls */
4973 void *alloca (size_t);
4974 # endif
4975 # endif
4976 # endif
4977 # endif
4978 #endif
4981 main ()
4983 char *p = (char *) alloca (1);
4984 if (p) return 0;
4986 return 0;
4988 _ACEOF
4989 if ac_fn_cxx_try_link "$LINENO"; then :
4990 ac_cv_func_alloca_works=yes
4991 else
4992 ac_cv_func_alloca_works=no
4994 rm -f core conftest.err conftest.$ac_objext \
4995 conftest$ac_exeext conftest.$ac_ext
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4998 $as_echo "$ac_cv_func_alloca_works" >&6; }
5000 if test $ac_cv_func_alloca_works = yes; then
5002 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5004 else
5005 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5006 # that cause trouble. Some versions do not even contain alloca or
5007 # contain a buggy version. If you still want to use their alloca,
5008 # use ar to extract alloca.o from them instead of compiling alloca.c.
5010 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5012 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5016 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5017 if ${ac_cv_os_cray+:} false; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5022 #if defined CRAY && ! defined CRAY2
5023 webecray
5024 #else
5025 wenotbecray
5026 #endif
5028 _ACEOF
5029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5030 $EGREP "webecray" >/dev/null 2>&1; then :
5031 ac_cv_os_cray=yes
5032 else
5033 ac_cv_os_cray=no
5035 rm -f conftest*
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5039 $as_echo "$ac_cv_os_cray" >&6; }
5040 if test $ac_cv_os_cray = yes; then
5041 for ac_func in _getb67 GETB67 getb67; do
5042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5043 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
5044 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5046 cat >>confdefs.h <<_ACEOF
5047 #define CRAY_STACKSEG_END $ac_func
5048 _ACEOF
5050 break
5053 done
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5057 $as_echo_n "checking stack direction for C alloca... " >&6; }
5058 if ${ac_cv_c_stack_direction+:} false; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test "$cross_compiling" = yes; then :
5062 ac_cv_c_stack_direction=0
5063 else
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5066 $ac_includes_default
5068 find_stack_direction ()
5070 static char *addr = 0;
5071 auto char dummy;
5072 if (addr == 0)
5074 addr = &dummy;
5075 return find_stack_direction ();
5077 else
5078 return (&dummy > addr) ? 1 : -1;
5082 main ()
5084 return find_stack_direction () < 0;
5086 _ACEOF
5087 if ac_fn_cxx_try_run "$LINENO"; then :
5088 ac_cv_c_stack_direction=1
5089 else
5090 ac_cv_c_stack_direction=-1
5092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5093 conftest.$ac_objext conftest.beam conftest.$ac_ext
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5098 $as_echo "$ac_cv_c_stack_direction" >&6; }
5099 cat >>confdefs.h <<_ACEOF
5100 #define STACK_DIRECTION $ac_cv_c_stack_direction
5101 _ACEOF
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
5107 $as_echo_n "checking for error_at_line... " >&6; }
5108 if ${ac_cv_lib_error_at_line+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5113 #include <error.h>
5115 main ()
5117 error_at_line (0, 0, "", 0, "an error occurred");
5119 return 0;
5121 _ACEOF
5122 if ac_fn_cxx_try_link "$LINENO"; then :
5123 ac_cv_lib_error_at_line=yes
5124 else
5125 ac_cv_lib_error_at_line=no
5127 rm -f core conftest.err conftest.$ac_objext \
5128 conftest$ac_exeext conftest.$ac_ext
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
5131 $as_echo "$ac_cv_lib_error_at_line" >&6; }
5132 if test $ac_cv_lib_error_at_line = no; then
5133 case " $LIBOBJS " in
5134 *" error.$ac_objext "* ) ;;
5135 *) LIBOBJS="$LIBOBJS error.$ac_objext"
5137 esac
5141 for ac_func in strtol
5142 do :
5143 ac_fn_cxx_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
5144 if test "x$ac_cv_func_strtol" = xyes; then :
5145 cat >>confdefs.h <<_ACEOF
5146 #define HAVE_STRTOL 1
5147 _ACEOF
5150 done
5153 ac_config_files="$ac_config_files GNUmakefile qt/qjackmmc.desktop qt/src/src.pro"
5155 cat >confcache <<\_ACEOF
5156 # This file is a shell script that caches the results of configure
5157 # tests run on this system so they can be shared between configure
5158 # scripts and configure runs, see configure's option --config-cache.
5159 # It is not useful on other systems. If it contains results you don't
5160 # want to keep, you may remove or edit it.
5162 # config.status only pays attention to the cache file if you give it
5163 # the --recheck option to rerun configure.
5165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5167 # following values.
5169 _ACEOF
5171 # The following way of writing the cache mishandles newlines in values,
5172 # but we know of no workaround that is simple, portable, and efficient.
5173 # So, we kill variables containing newlines.
5174 # Ultrix sh set writes to stderr and can't be redirected directly,
5175 # and sets the high bit in the cache file unless we assign to the vars.
5177 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5178 eval ac_val=\$$ac_var
5179 case $ac_val in #(
5180 *${as_nl}*)
5181 case $ac_var in #(
5182 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5184 esac
5185 case $ac_var in #(
5186 _ | IFS | as_nl) ;; #(
5187 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5188 *) { eval $ac_var=; unset $ac_var;} ;;
5189 esac ;;
5190 esac
5191 done
5193 (set) 2>&1 |
5194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5195 *${as_nl}ac_space=\ *)
5196 # `set' does not quote correctly, so add quotes: double-quote
5197 # substitution turns \\\\ into \\, and sed turns \\ into \.
5198 sed -n \
5199 "s/'/'\\\\''/g;
5200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5201 ;; #(
5203 # `set' quotes correctly as required by POSIX, so do not add quotes.
5204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5206 esac |
5207 sort
5209 sed '
5210 /^ac_cv_env_/b end
5211 t clear
5212 :clear
5213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5214 t end
5215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5216 :end' >>confcache
5217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5218 if test -w "$cache_file"; then
5219 if test "x$cache_file" != "x/dev/null"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5221 $as_echo "$as_me: updating cache $cache_file" >&6;}
5222 if test ! -f "$cache_file" || test -h "$cache_file"; then
5223 cat confcache >"$cache_file"
5224 else
5225 case $cache_file in #(
5226 */* | ?:*)
5227 mv -f confcache "$cache_file"$$ &&
5228 mv -f "$cache_file"$$ "$cache_file" ;; #(
5230 mv -f confcache "$cache_file" ;;
5231 esac
5234 else
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5239 rm -f confcache
5241 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5242 # Let make expand exec_prefix.
5243 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5245 DEFS=-DHAVE_CONFIG_H
5247 ac_libobjs=
5248 ac_ltlibobjs=
5250 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5251 # 1. Remove the extension, and $U if already installed.
5252 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5253 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5254 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5255 # will be set to the directory where LIBOBJS objects are built.
5256 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5257 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5258 done
5259 LIBOBJS=$ac_libobjs
5261 LTLIBOBJS=$ac_ltlibobjs
5265 : "${CONFIG_STATUS=./config.status}"
5266 ac_write_fail=0
5267 ac_clean_files_save=$ac_clean_files
5268 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5270 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5271 as_write_fail=0
5272 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5273 #! $SHELL
5274 # Generated by $as_me.
5275 # Run this file to recreate the current configuration.
5276 # Compiler output produced by configure, useful for debugging
5277 # configure, is in config.log if it exists.
5279 debug=false
5280 ac_cs_recheck=false
5281 ac_cs_silent=false
5283 SHELL=\${CONFIG_SHELL-$SHELL}
5284 export SHELL
5285 _ASEOF
5286 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5287 ## -------------------- ##
5288 ## M4sh Initialization. ##
5289 ## -------------------- ##
5291 # Be more Bourne compatible
5292 DUALCASE=1; export DUALCASE # for MKS sh
5293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5294 emulate sh
5295 NULLCMD=:
5296 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5297 # is contrary to our usage. Disable this feature.
5298 alias -g '${1+"$@"}'='"$@"'
5299 setopt NO_GLOB_SUBST
5300 else
5301 case `(set -o) 2>/dev/null` in #(
5302 *posix*) :
5303 set -o posix ;; #(
5304 *) :
5306 esac
5310 as_nl='
5312 export as_nl
5313 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5314 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5317 # Prefer a ksh shell builtin over an external printf program on Solaris,
5318 # but without wasting forks for bash or zsh.
5319 if test -z "$BASH_VERSION$ZSH_VERSION" \
5320 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5321 as_echo='print -r --'
5322 as_echo_n='print -rn --'
5323 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5324 as_echo='printf %s\n'
5325 as_echo_n='printf %s'
5326 else
5327 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5328 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5329 as_echo_n='/usr/ucb/echo -n'
5330 else
5331 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5332 as_echo_n_body='eval
5333 arg=$1;
5334 case $arg in #(
5335 *"$as_nl"*)
5336 expr "X$arg" : "X\\(.*\\)$as_nl";
5337 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5338 esac;
5339 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5341 export as_echo_n_body
5342 as_echo_n='sh -c $as_echo_n_body as_echo'
5344 export as_echo_body
5345 as_echo='sh -c $as_echo_body as_echo'
5348 # The user is always right.
5349 if test "${PATH_SEPARATOR+set}" != set; then
5350 PATH_SEPARATOR=:
5351 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5352 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5353 PATH_SEPARATOR=';'
5358 # IFS
5359 # We need space, tab and new line, in precisely that order. Quoting is
5360 # there to prevent editors from complaining about space-tab.
5361 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5362 # splitting by setting IFS to empty value.)
5363 IFS=" "" $as_nl"
5365 # Find who we are. Look in the path if we contain no directory separator.
5366 as_myself=
5367 case $0 in #((
5368 *[\\/]* ) as_myself=$0 ;;
5369 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5375 done
5376 IFS=$as_save_IFS
5379 esac
5380 # We did not find ourselves, most probably we were run as `sh COMMAND'
5381 # in which case we are not to be found in the path.
5382 if test "x$as_myself" = x; then
5383 as_myself=$0
5385 if test ! -f "$as_myself"; then
5386 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5387 exit 1
5390 # Unset variables that we do not need and which cause bugs (e.g. in
5391 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5392 # suppresses any "Segmentation fault" message there. '((' could
5393 # trigger a bug in pdksh 5.2.14.
5394 for as_var in BASH_ENV ENV MAIL MAILPATH
5395 do eval test x\${$as_var+set} = xset \
5396 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5397 done
5398 PS1='$ '
5399 PS2='> '
5400 PS4='+ '
5402 # NLS nuisances.
5403 LC_ALL=C
5404 export LC_ALL
5405 LANGUAGE=C
5406 export LANGUAGE
5408 # CDPATH.
5409 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5412 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5413 # ----------------------------------------
5414 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5415 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5416 # script with STATUS, using 1 if that was 0.
5417 as_fn_error ()
5419 as_status=$1; test $as_status -eq 0 && as_status=1
5420 if test "$4"; then
5421 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5422 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5424 $as_echo "$as_me: error: $2" >&2
5425 as_fn_exit $as_status
5426 } # as_fn_error
5429 # as_fn_set_status STATUS
5430 # -----------------------
5431 # Set $? to STATUS, without forking.
5432 as_fn_set_status ()
5434 return $1
5435 } # as_fn_set_status
5437 # as_fn_exit STATUS
5438 # -----------------
5439 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5440 as_fn_exit ()
5442 set +e
5443 as_fn_set_status $1
5444 exit $1
5445 } # as_fn_exit
5447 # as_fn_unset VAR
5448 # ---------------
5449 # Portably unset VAR.
5450 as_fn_unset ()
5452 { eval $1=; unset $1;}
5454 as_unset=as_fn_unset
5455 # as_fn_append VAR VALUE
5456 # ----------------------
5457 # Append the text in VALUE to the end of the definition contained in VAR. Take
5458 # advantage of any shell optimizations that allow amortized linear growth over
5459 # repeated appends, instead of the typical quadratic growth present in naive
5460 # implementations.
5461 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5462 eval 'as_fn_append ()
5464 eval $1+=\$2
5466 else
5467 as_fn_append ()
5469 eval $1=\$$1\$2
5471 fi # as_fn_append
5473 # as_fn_arith ARG...
5474 # ------------------
5475 # Perform arithmetic evaluation on the ARGs, and store the result in the
5476 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5477 # must be portable across $(()) and expr.
5478 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5479 eval 'as_fn_arith ()
5481 as_val=$(( $* ))
5483 else
5484 as_fn_arith ()
5486 as_val=`expr "$@" || test $? -eq 1`
5488 fi # as_fn_arith
5491 if expr a : '\(a\)' >/dev/null 2>&1 &&
5492 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5493 as_expr=expr
5494 else
5495 as_expr=false
5498 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5499 as_basename=basename
5500 else
5501 as_basename=false
5504 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5505 as_dirname=dirname
5506 else
5507 as_dirname=false
5510 as_me=`$as_basename -- "$0" ||
5511 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5512 X"$0" : 'X\(//\)$' \| \
5513 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5514 $as_echo X/"$0" |
5515 sed '/^.*\/\([^/][^/]*\)\/*$/{
5516 s//\1/
5519 /^X\/\(\/\/\)$/{
5520 s//\1/
5523 /^X\/\(\/\).*/{
5524 s//\1/
5527 s/.*/./; q'`
5529 # Avoid depending upon Character Ranges.
5530 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5531 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5532 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5533 as_cr_digits='0123456789'
5534 as_cr_alnum=$as_cr_Letters$as_cr_digits
5536 ECHO_C= ECHO_N= ECHO_T=
5537 case `echo -n x` in #(((((
5538 -n*)
5539 case `echo 'xy\c'` in
5540 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5541 xy) ECHO_C='\c';;
5542 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5543 ECHO_T=' ';;
5544 esac;;
5546 ECHO_N='-n';;
5547 esac
5549 rm -f conf$$ conf$$.exe conf$$.file
5550 if test -d conf$$.dir; then
5551 rm -f conf$$.dir/conf$$.file
5552 else
5553 rm -f conf$$.dir
5554 mkdir conf$$.dir 2>/dev/null
5556 if (echo >conf$$.file) 2>/dev/null; then
5557 if ln -s conf$$.file conf$$ 2>/dev/null; then
5558 as_ln_s='ln -s'
5559 # ... but there are two gotchas:
5560 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5561 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5562 # In both cases, we have to default to `cp -p'.
5563 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5564 as_ln_s='cp -p'
5565 elif ln conf$$.file conf$$ 2>/dev/null; then
5566 as_ln_s=ln
5567 else
5568 as_ln_s='cp -p'
5570 else
5571 as_ln_s='cp -p'
5573 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5574 rmdir conf$$.dir 2>/dev/null
5577 # as_fn_mkdir_p
5578 # -------------
5579 # Create "$as_dir" as a directory, including parents if necessary.
5580 as_fn_mkdir_p ()
5583 case $as_dir in #(
5584 -*) as_dir=./$as_dir;;
5585 esac
5586 test -d "$as_dir" || eval $as_mkdir_p || {
5587 as_dirs=
5588 while :; do
5589 case $as_dir in #(
5590 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5591 *) as_qdir=$as_dir;;
5592 esac
5593 as_dirs="'$as_qdir' $as_dirs"
5594 as_dir=`$as_dirname -- "$as_dir" ||
5595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5596 X"$as_dir" : 'X\(//\)[^/]' \| \
5597 X"$as_dir" : 'X\(//\)$' \| \
5598 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5599 $as_echo X"$as_dir" |
5600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5601 s//\1/
5604 /^X\(\/\/\)[^/].*/{
5605 s//\1/
5608 /^X\(\/\/\)$/{
5609 s//\1/
5612 /^X\(\/\).*/{
5613 s//\1/
5616 s/.*/./; q'`
5617 test -d "$as_dir" && break
5618 done
5619 test -z "$as_dirs" || eval "mkdir $as_dirs"
5620 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5623 } # as_fn_mkdir_p
5624 if mkdir -p . 2>/dev/null; then
5625 as_mkdir_p='mkdir -p "$as_dir"'
5626 else
5627 test -d ./-p && rmdir ./-p
5628 as_mkdir_p=false
5631 if test -x / >/dev/null 2>&1; then
5632 as_test_x='test -x'
5633 else
5634 if ls -dL / >/dev/null 2>&1; then
5635 as_ls_L_option=L
5636 else
5637 as_ls_L_option=
5639 as_test_x='
5640 eval sh -c '\''
5641 if test -d "$1"; then
5642 test -d "$1/.";
5643 else
5644 case $1 in #(
5645 -*)set "./$1";;
5646 esac;
5647 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5648 ???[sx]*):;;*)false;;esac;fi
5649 '\'' sh
5652 as_executable_p=$as_test_x
5654 # Sed expression to map a string onto a valid CPP name.
5655 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5657 # Sed expression to map a string onto a valid variable name.
5658 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5661 exec 6>&1
5662 ## ----------------------------------- ##
5663 ## Main body of $CONFIG_STATUS script. ##
5664 ## ----------------------------------- ##
5665 _ASEOF
5666 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5669 # Save the log message, to keep $0 and so on meaningful, and to
5670 # report actual input values of CONFIG_FILES etc. instead of their
5671 # values after options handling.
5672 ac_log="
5673 This file was extended by QjackMMC $as_me 4, which was
5674 generated by GNU Autoconf 2.68. Invocation command line was
5676 CONFIG_FILES = $CONFIG_FILES
5677 CONFIG_HEADERS = $CONFIG_HEADERS
5678 CONFIG_LINKS = $CONFIG_LINKS
5679 CONFIG_COMMANDS = $CONFIG_COMMANDS
5680 $ $0 $@
5682 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5685 _ACEOF
5687 case $ac_config_files in *"
5688 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5689 esac
5691 case $ac_config_headers in *"
5692 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5693 esac
5696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5697 # Files that config.status was made for.
5698 config_files="$ac_config_files"
5699 config_headers="$ac_config_headers"
5701 _ACEOF
5703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5704 ac_cs_usage="\
5705 \`$as_me' instantiates files and other configuration actions
5706 from templates according to the current configuration. Unless the files
5707 and actions are specified as TAGs, all are instantiated by default.
5709 Usage: $0 [OPTION]... [TAG]...
5711 -h, --help print this help, then exit
5712 -V, --version print version number and configuration settings, then exit
5713 --config print configuration, then exit
5714 -q, --quiet, --silent
5715 do not print progress messages
5716 -d, --debug don't remove temporary files
5717 --recheck update $as_me by reconfiguring in the same conditions
5718 --file=FILE[:TEMPLATE]
5719 instantiate the configuration file FILE
5720 --header=FILE[:TEMPLATE]
5721 instantiate the configuration header FILE
5723 Configuration files:
5724 $config_files
5726 Configuration headers:
5727 $config_headers
5729 Report bugs to <apmontgo@users.sourceforge.net>."
5731 _ACEOF
5732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5733 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5734 ac_cs_version="\\
5735 QjackMMC config.status 4
5736 configured by $0, generated by GNU Autoconf 2.68,
5737 with options \\"\$ac_cs_config\\"
5739 Copyright (C) 2010 Free Software Foundation, Inc.
5740 This config.status script is free software; the Free Software Foundation
5741 gives unlimited permission to copy, distribute and modify it."
5743 ac_pwd='$ac_pwd'
5744 srcdir='$srcdir'
5745 INSTALL='$INSTALL'
5746 test -n "\$AWK" || AWK=awk
5747 _ACEOF
5749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5750 # The default lists apply if the user does not specify any file.
5751 ac_need_defaults=:
5752 while test $# != 0
5754 case $1 in
5755 --*=?*)
5756 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5757 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5758 ac_shift=:
5760 --*=)
5761 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5762 ac_optarg=
5763 ac_shift=:
5766 ac_option=$1
5767 ac_optarg=$2
5768 ac_shift=shift
5770 esac
5772 case $ac_option in
5773 # Handling of the options.
5774 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5775 ac_cs_recheck=: ;;
5776 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5777 $as_echo "$ac_cs_version"; exit ;;
5778 --config | --confi | --conf | --con | --co | --c )
5779 $as_echo "$ac_cs_config"; exit ;;
5780 --debug | --debu | --deb | --de | --d | -d )
5781 debug=: ;;
5782 --file | --fil | --fi | --f )
5783 $ac_shift
5784 case $ac_optarg in
5785 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5786 '') as_fn_error $? "missing file argument" ;;
5787 esac
5788 as_fn_append CONFIG_FILES " '$ac_optarg'"
5789 ac_need_defaults=false;;
5790 --header | --heade | --head | --hea )
5791 $ac_shift
5792 case $ac_optarg in
5793 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5794 esac
5795 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5796 ac_need_defaults=false;;
5797 --he | --h)
5798 # Conflict between --help and --header
5799 as_fn_error $? "ambiguous option: \`$1'
5800 Try \`$0 --help' for more information.";;
5801 --help | --hel | -h )
5802 $as_echo "$ac_cs_usage"; exit ;;
5803 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5804 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5805 ac_cs_silent=: ;;
5807 # This is an error.
5808 -*) as_fn_error $? "unrecognized option: \`$1'
5809 Try \`$0 --help' for more information." ;;
5811 *) as_fn_append ac_config_targets " $1"
5812 ac_need_defaults=false ;;
5814 esac
5815 shift
5816 done
5818 ac_configure_extra_args=
5820 if $ac_cs_silent; then
5821 exec 6>/dev/null
5822 ac_configure_extra_args="$ac_configure_extra_args --silent"
5825 _ACEOF
5826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5827 if \$ac_cs_recheck; then
5828 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5829 shift
5830 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5831 CONFIG_SHELL='$SHELL'
5832 export CONFIG_SHELL
5833 exec "\$@"
5836 _ACEOF
5837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5838 exec 5>>config.log
5840 echo
5841 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5842 ## Running $as_me. ##
5843 _ASBOX
5844 $as_echo "$ac_log"
5845 } >&5
5847 _ACEOF
5848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5849 _ACEOF
5851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5853 # Handling of arguments.
5854 for ac_config_target in $ac_config_targets
5856 case $ac_config_target in
5857 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5858 "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
5859 "qt/qjackmmc.desktop") CONFIG_FILES="$CONFIG_FILES qt/qjackmmc.desktop" ;;
5860 "qt/src/src.pro") CONFIG_FILES="$CONFIG_FILES qt/src/src.pro" ;;
5862 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5863 esac
5864 done
5867 # If the user did not use the arguments to specify the items to instantiate,
5868 # then the envvar interface is used. Set only those that are not.
5869 # We use the long form for the default assignment because of an extremely
5870 # bizarre bug on SunOS 4.1.3.
5871 if $ac_need_defaults; then
5872 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5873 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5876 # Have a temporary directory for convenience. Make it in the build tree
5877 # simply because there is no reason against having it here, and in addition,
5878 # creating and moving files from /tmp can sometimes cause problems.
5879 # Hook for its removal unless debugging.
5880 # Note that there is a small window in which the directory will not be cleaned:
5881 # after its creation but before its name has been assigned to `$tmp'.
5882 $debug ||
5884 tmp= ac_tmp=
5885 trap 'exit_status=$?
5886 : "${ac_tmp:=$tmp}"
5887 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5889 trap 'as_fn_exit 1' 1 2 13 15
5891 # Create a (secure) tmp directory for tmp files.
5894 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5895 test -d "$tmp"
5896 } ||
5898 tmp=./conf$$-$RANDOM
5899 (umask 077 && mkdir "$tmp")
5900 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5901 ac_tmp=$tmp
5903 # Set up the scripts for CONFIG_FILES section.
5904 # No need to generate them if there are no CONFIG_FILES.
5905 # This happens for instance with `./config.status config.h'.
5906 if test -n "$CONFIG_FILES"; then
5909 ac_cr=`echo X | tr X '\015'`
5910 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5911 # But we know of no other shell where ac_cr would be empty at this
5912 # point, so we can use a bashism as a fallback.
5913 if test "x$ac_cr" = x; then
5914 eval ac_cr=\$\'\\r\'
5916 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5917 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5918 ac_cs_awk_cr='\\r'
5919 else
5920 ac_cs_awk_cr=$ac_cr
5923 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5924 _ACEOF
5928 echo "cat >conf$$subs.awk <<_ACEOF" &&
5929 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5930 echo "_ACEOF"
5931 } >conf$$subs.sh ||
5932 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5933 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5934 ac_delim='%!_!# '
5935 for ac_last_try in false false false false false :; do
5936 . ./conf$$subs.sh ||
5937 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5939 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5940 if test $ac_delim_n = $ac_delim_num; then
5941 break
5942 elif $ac_last_try; then
5943 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5944 else
5945 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5947 done
5948 rm -f conf$$subs.sh
5950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5951 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5952 _ACEOF
5953 sed -n '
5955 s/^/S["/; s/!.*/"]=/
5958 s/^[^!]*!//
5959 :repl
5960 t repl
5961 s/'"$ac_delim"'$//
5962 t delim
5965 s/\(.\{148\}\)..*/\1/
5966 t more1
5967 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5970 b repl
5971 :more1
5972 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5975 s/.\{148\}//
5976 t nl
5977 :delim
5979 s/\(.\{148\}\)..*/\1/
5980 t more2
5981 s/["\\]/\\&/g; s/^/"/; s/$/"/
5984 :more2
5985 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5988 s/.\{148\}//
5989 t delim
5990 ' <conf$$subs.awk | sed '
5991 /^[^""]/{
5993 s/\n//
5995 ' >>$CONFIG_STATUS || ac_write_fail=1
5996 rm -f conf$$subs.awk
5997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5998 _ACAWK
5999 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6000 for (key in S) S_is_set[key] = 1
6001 FS = "\a"
6005 line = $ 0
6006 nfields = split(line, field, "@")
6007 substed = 0
6008 len = length(field[1])
6009 for (i = 2; i < nfields; i++) {
6010 key = field[i]
6011 keylen = length(key)
6012 if (S_is_set[key]) {
6013 value = S[key]
6014 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6015 len += length(value) + length(field[++i])
6016 substed = 1
6017 } else
6018 len += 1 + keylen
6021 print line
6024 _ACAWK
6025 _ACEOF
6026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6027 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6028 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6029 else
6031 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6032 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6033 _ACEOF
6035 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6036 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6037 # trailing colons and then remove the whole line if VPATH becomes empty
6038 # (actually we leave an empty line to preserve line numbers).
6039 if test "x$srcdir" = x.; then
6040 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6042 s///
6043 s/^/:/
6044 s/[ ]*$/:/
6045 s/:\$(srcdir):/:/g
6046 s/:\${srcdir}:/:/g
6047 s/:@srcdir@:/:/g
6048 s/^:*//
6049 s/:*$//
6051 s/\(=[ ]*\).*/\1/
6053 s/\n//
6054 s/^[^=]*=[ ]*$//
6058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6059 fi # test -n "$CONFIG_FILES"
6061 # Set up the scripts for CONFIG_HEADERS section.
6062 # No need to generate them if there are no CONFIG_HEADERS.
6063 # This happens for instance with `./config.status Makefile'.
6064 if test -n "$CONFIG_HEADERS"; then
6065 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6066 BEGIN {
6067 _ACEOF
6069 # Transform confdefs.h into an awk script `defines.awk', embedded as
6070 # here-document in config.status, that substitutes the proper values into
6071 # config.h.in to produce config.h.
6073 # Create a delimiter string that does not exist in confdefs.h, to ease
6074 # handling of long lines.
6075 ac_delim='%!_!# '
6076 for ac_last_try in false false :; do
6077 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6078 if test -z "$ac_tt"; then
6079 break
6080 elif $ac_last_try; then
6081 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6082 else
6083 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6085 done
6087 # For the awk script, D is an array of macro values keyed by name,
6088 # likewise P contains macro parameters if any. Preserve backslash
6089 # newline sequences.
6091 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6092 sed -n '
6093 s/.\{148\}/&'"$ac_delim"'/g
6094 t rset
6095 :rset
6096 s/^[ ]*#[ ]*define[ ][ ]*/ /
6097 t def
6099 :def
6100 s/\\$//
6101 t bsnl
6102 s/["\\]/\\&/g
6103 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6104 D["\1"]=" \3"/p
6105 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6107 :bsnl
6108 s/["\\]/\\&/g
6109 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6110 D["\1"]=" \3\\\\\\n"\\/p
6111 t cont
6112 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6113 t cont
6115 :cont
6117 s/.\{148\}/&'"$ac_delim"'/g
6118 t clear
6119 :clear
6120 s/\\$//
6121 t bsnlc
6122 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6124 :bsnlc
6125 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6126 b cont
6127 ' <confdefs.h | sed '
6128 s/'"$ac_delim"'/"\\\
6129 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6132 for (key in D) D_is_set[key] = 1
6133 FS = "\a"
6135 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6136 line = \$ 0
6137 split(line, arg, " ")
6138 if (arg[1] == "#") {
6139 defundef = arg[2]
6140 mac1 = arg[3]
6141 } else {
6142 defundef = substr(arg[1], 2)
6143 mac1 = arg[2]
6145 split(mac1, mac2, "(") #)
6146 macro = mac2[1]
6147 prefix = substr(line, 1, index(line, defundef) - 1)
6148 if (D_is_set[macro]) {
6149 # Preserve the white space surrounding the "#".
6150 print prefix "define", macro P[macro] D[macro]
6151 next
6152 } else {
6153 # Replace #undef with comments. This is necessary, for example,
6154 # in the case of _POSIX_SOURCE, which is predefined and required
6155 # on some systems where configure will not decide to define it.
6156 if (defundef == "undef") {
6157 print "/*", prefix defundef, macro, "*/"
6158 next
6162 { print }
6163 _ACAWK
6164 _ACEOF
6165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6166 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6167 fi # test -n "$CONFIG_HEADERS"
6170 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6171 shift
6172 for ac_tag
6174 case $ac_tag in
6175 :[FHLC]) ac_mode=$ac_tag; continue;;
6176 esac
6177 case $ac_mode$ac_tag in
6178 :[FHL]*:*);;
6179 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6180 :[FH]-) ac_tag=-:-;;
6181 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6182 esac
6183 ac_save_IFS=$IFS
6184 IFS=:
6185 set x $ac_tag
6186 IFS=$ac_save_IFS
6187 shift
6188 ac_file=$1
6189 shift
6191 case $ac_mode in
6192 :L) ac_source=$1;;
6193 :[FH])
6194 ac_file_inputs=
6195 for ac_f
6197 case $ac_f in
6198 -) ac_f="$ac_tmp/stdin";;
6199 *) # Look for the file first in the build tree, then in the source tree
6200 # (if the path is not absolute). The absolute path cannot be DOS-style,
6201 # because $ac_f cannot contain `:'.
6202 test -f "$ac_f" ||
6203 case $ac_f in
6204 [\\/$]*) false;;
6205 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6206 esac ||
6207 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6208 esac
6209 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6210 as_fn_append ac_file_inputs " '$ac_f'"
6211 done
6213 # Let's still pretend it is `configure' which instantiates (i.e., don't
6214 # use $as_me), people would be surprised to read:
6215 # /* config.h. Generated by config.status. */
6216 configure_input='Generated from '`
6217 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6218 `' by configure.'
6219 if test x"$ac_file" != x-; then
6220 configure_input="$ac_file. $configure_input"
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6222 $as_echo "$as_me: creating $ac_file" >&6;}
6224 # Neutralize special characters interpreted by sed in replacement strings.
6225 case $configure_input in #(
6226 *\&* | *\|* | *\\* )
6227 ac_sed_conf_input=`$as_echo "$configure_input" |
6228 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6229 *) ac_sed_conf_input=$configure_input;;
6230 esac
6232 case $ac_tag in
6233 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6235 esac
6237 esac
6239 ac_dir=`$as_dirname -- "$ac_file" ||
6240 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6241 X"$ac_file" : 'X\(//\)[^/]' \| \
6242 X"$ac_file" : 'X\(//\)$' \| \
6243 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6244 $as_echo X"$ac_file" |
6245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6246 s//\1/
6249 /^X\(\/\/\)[^/].*/{
6250 s//\1/
6253 /^X\(\/\/\)$/{
6254 s//\1/
6257 /^X\(\/\).*/{
6258 s//\1/
6261 s/.*/./; q'`
6262 as_dir="$ac_dir"; as_fn_mkdir_p
6263 ac_builddir=.
6265 case "$ac_dir" in
6266 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6268 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6269 # A ".." for each directory in $ac_dir_suffix.
6270 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6271 case $ac_top_builddir_sub in
6272 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6273 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6274 esac ;;
6275 esac
6276 ac_abs_top_builddir=$ac_pwd
6277 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6278 # for backward compatibility:
6279 ac_top_builddir=$ac_top_build_prefix
6281 case $srcdir in
6282 .) # We are building in place.
6283 ac_srcdir=.
6284 ac_top_srcdir=$ac_top_builddir_sub
6285 ac_abs_top_srcdir=$ac_pwd ;;
6286 [\\/]* | ?:[\\/]* ) # Absolute name.
6287 ac_srcdir=$srcdir$ac_dir_suffix;
6288 ac_top_srcdir=$srcdir
6289 ac_abs_top_srcdir=$srcdir ;;
6290 *) # Relative name.
6291 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6292 ac_top_srcdir=$ac_top_build_prefix$srcdir
6293 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6294 esac
6295 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6298 case $ac_mode in
6301 # CONFIG_FILE
6304 case $INSTALL in
6305 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6306 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6307 esac
6308 _ACEOF
6310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6311 # If the template does not know about datarootdir, expand it.
6312 # FIXME: This hack should be removed a few years after 2.60.
6313 ac_datarootdir_hack=; ac_datarootdir_seen=
6314 ac_sed_dataroot='
6315 /datarootdir/ {
6319 /@datadir@/p
6320 /@docdir@/p
6321 /@infodir@/p
6322 /@localedir@/p
6323 /@mandir@/p'
6324 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6325 *datarootdir*) ac_datarootdir_seen=yes;;
6326 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6328 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6329 _ACEOF
6330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6331 ac_datarootdir_hack='
6332 s&@datadir@&$datadir&g
6333 s&@docdir@&$docdir&g
6334 s&@infodir@&$infodir&g
6335 s&@localedir@&$localedir&g
6336 s&@mandir@&$mandir&g
6337 s&\\\${datarootdir}&$datarootdir&g' ;;
6338 esac
6339 _ACEOF
6341 # Neutralize VPATH when `$srcdir' = `.'.
6342 # Shell code in configure.ac might set extrasub.
6343 # FIXME: do we really want to maintain this feature?
6344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6345 ac_sed_extra="$ac_vpsub
6346 $extrasub
6347 _ACEOF
6348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6351 s|@configure_input@|$ac_sed_conf_input|;t t
6352 s&@top_builddir@&$ac_top_builddir_sub&;t t
6353 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6354 s&@srcdir@&$ac_srcdir&;t t
6355 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6356 s&@top_srcdir@&$ac_top_srcdir&;t t
6357 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6358 s&@builddir@&$ac_builddir&;t t
6359 s&@abs_builddir@&$ac_abs_builddir&;t t
6360 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6361 s&@INSTALL@&$ac_INSTALL&;t t
6362 $ac_datarootdir_hack
6364 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6365 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6367 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6368 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6369 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6370 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6372 which seems to be undefined. Please make sure it is defined" >&5
6373 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6374 which seems to be undefined. Please make sure it is defined" >&2;}
6376 rm -f "$ac_tmp/stdin"
6377 case $ac_file in
6378 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6379 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6380 esac \
6381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6385 # CONFIG_HEADER
6387 if test x"$ac_file" != x-; then
6389 $as_echo "/* $configure_input */" \
6390 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6391 } >"$ac_tmp/config.h" \
6392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6393 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6395 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6396 else
6397 rm -f "$ac_file"
6398 mv "$ac_tmp/config.h" "$ac_file" \
6399 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6401 else
6402 $as_echo "/* $configure_input */" \
6403 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6404 || as_fn_error $? "could not create -" "$LINENO" 5
6409 esac
6411 done # for ac_tag
6414 as_fn_exit 0
6415 _ACEOF
6416 ac_clean_files=$ac_clean_files_save
6418 test $ac_write_fail = 0 ||
6419 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6422 # configure is writing to config.log, and then calls config.status.
6423 # config.status does its own redirection, appending to config.log.
6424 # Unfortunately, on DOS this fails, as config.log is still kept open
6425 # by configure, so config.status won't be able to write to it; its
6426 # output is simply discarded. So we exec the FD to /dev/null,
6427 # effectively closing config.log, so it can be properly (re)opened and
6428 # appended to by config.status. When coming back to configure, we
6429 # need to make the FD available again.
6430 if test "$no_create" != yes; then
6431 ac_cs_success=:
6432 ac_config_status_args=
6433 test "$silent" = yes &&
6434 ac_config_status_args="$ac_config_status_args --quiet"
6435 exec 5>/dev/null
6436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6437 exec 5>>config.log
6438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6439 # would make configure fail if this is the last instruction.
6440 $ac_cs_success || as_fn_exit 1
6442 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6444 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}