added LDFLAGS to makefile
[jackctlmmc.git] / configure
bloba45168a65af5b2483f18ebfa2e32579bd31ba904
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 PKG_CONFIG
710 PKG_CONFIG_PATH
711 PKG_CONFIG_LIBDIR
712 REQUIREDPKGS_CFLAGS
713 REQUIREDPKGS_LIBS
714 QT_UP_TO_DATE_CFLAGS
715 QT_UP_TO_DATE_LIBS
716 CXXCPP
717 LASH_CFLAGS
718 LASH_LIBS'
721 # Initialize some variables set by options.
722 ac_init_help=
723 ac_init_version=false
724 ac_unrecognized_opts=
725 ac_unrecognized_sep=
726 # The variables have the same names as the options, with
727 # dashes changed to underlines.
728 cache_file=/dev/null
729 exec_prefix=NONE
730 no_create=
731 no_recursion=
732 prefix=NONE
733 program_prefix=NONE
734 program_suffix=NONE
735 program_transform_name=s,x,x,
736 silent=
737 site=
738 srcdir=
739 verbose=
740 x_includes=NONE
741 x_libraries=NONE
743 # Installation directory options.
744 # These are left unexpanded so users can "make install exec_prefix=/foo"
745 # and all the variables that are supposed to be based on exec_prefix
746 # by default will actually change.
747 # Use braces instead of parens because sh, perl, etc. also accept them.
748 # (The list follows the same order as the GNU Coding Standards.)
749 bindir='${exec_prefix}/bin'
750 sbindir='${exec_prefix}/sbin'
751 libexecdir='${exec_prefix}/libexec'
752 datarootdir='${prefix}/share'
753 datadir='${datarootdir}'
754 sysconfdir='${prefix}/etc'
755 sharedstatedir='${prefix}/com'
756 localstatedir='${prefix}/var'
757 includedir='${prefix}/include'
758 oldincludedir='/usr/include'
759 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
760 infodir='${datarootdir}/info'
761 htmldir='${docdir}'
762 dvidir='${docdir}'
763 pdfdir='${docdir}'
764 psdir='${docdir}'
765 libdir='${exec_prefix}/lib'
766 localedir='${datarootdir}/locale'
767 mandir='${datarootdir}/man'
769 ac_prev=
770 ac_dashdash=
771 for ac_option
773 # If the previous option needs an argument, assign it.
774 if test -n "$ac_prev"; then
775 eval $ac_prev=\$ac_option
776 ac_prev=
777 continue
780 case $ac_option in
781 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
782 *=) ac_optarg= ;;
783 *) ac_optarg=yes ;;
784 esac
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
790 ac_dashdash=yes ;;
792 -bindir | --bindir | --bindi | --bind | --bin | --bi)
793 ac_prev=bindir ;;
794 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 bindir=$ac_optarg ;;
797 -build | --build | --buil | --bui | --bu)
798 ac_prev=build_alias ;;
799 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
800 build_alias=$ac_optarg ;;
802 -cache-file | --cache-file | --cache-fil | --cache-fi \
803 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
804 ac_prev=cache_file ;;
805 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
806 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
807 cache_file=$ac_optarg ;;
809 --config-cache | -C)
810 cache_file=config.cache ;;
812 -datadir | --datadir | --datadi | --datad)
813 ac_prev=datadir ;;
814 -datadir=* | --datadir=* | --datadi=* | --datad=*)
815 datadir=$ac_optarg ;;
817 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
818 | --dataroo | --dataro | --datar)
819 ac_prev=datarootdir ;;
820 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
821 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
822 datarootdir=$ac_optarg ;;
824 -disable-* | --disable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 as_fn_error $? "invalid feature name: $ac_useropt"
829 ac_useropt_orig=$ac_useropt
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
833 "enable_$ac_useropt"
834 "*) ;;
835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
836 ac_unrecognized_sep=', ';;
837 esac
838 eval enable_$ac_useropt=no ;;
840 -docdir | --docdir | --docdi | --doc | --do)
841 ac_prev=docdir ;;
842 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 docdir=$ac_optarg ;;
845 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
846 ac_prev=dvidir ;;
847 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 dvidir=$ac_optarg ;;
850 -enable-* | --enable-*)
851 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
854 as_fn_error $? "invalid feature name: $ac_useropt"
855 ac_useropt_orig=$ac_useropt
856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
859 "enable_$ac_useropt"
860 "*) ;;
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
863 esac
864 eval enable_$ac_useropt=\$ac_optarg ;;
866 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
867 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
868 | --exec | --exe | --ex)
869 ac_prev=exec_prefix ;;
870 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
871 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
872 | --exec=* | --exe=* | --ex=*)
873 exec_prefix=$ac_optarg ;;
875 -gas | --gas | --ga | --g)
876 # Obsolete; use --with-gas.
877 with_gas=yes ;;
879 -help | --help | --hel | --he | -h)
880 ac_init_help=long ;;
881 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
882 ac_init_help=recursive ;;
883 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
884 ac_init_help=short ;;
886 -host | --host | --hos | --ho)
887 ac_prev=host_alias ;;
888 -host=* | --host=* | --hos=* | --ho=*)
889 host_alias=$ac_optarg ;;
891 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
892 ac_prev=htmldir ;;
893 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
894 | --ht=*)
895 htmldir=$ac_optarg ;;
897 -includedir | --includedir | --includedi | --included | --include \
898 | --includ | --inclu | --incl | --inc)
899 ac_prev=includedir ;;
900 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
901 | --includ=* | --inclu=* | --incl=* | --inc=*)
902 includedir=$ac_optarg ;;
904 -infodir | --infodir | --infodi | --infod | --info | --inf)
905 ac_prev=infodir ;;
906 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
907 infodir=$ac_optarg ;;
909 -libdir | --libdir | --libdi | --libd)
910 ac_prev=libdir ;;
911 -libdir=* | --libdir=* | --libdi=* | --libd=*)
912 libdir=$ac_optarg ;;
914 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
915 | --libexe | --libex | --libe)
916 ac_prev=libexecdir ;;
917 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
918 | --libexe=* | --libex=* | --libe=*)
919 libexecdir=$ac_optarg ;;
921 -localedir | --localedir | --localedi | --localed | --locale)
922 ac_prev=localedir ;;
923 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
924 localedir=$ac_optarg ;;
926 -localstatedir | --localstatedir | --localstatedi | --localstated \
927 | --localstate | --localstat | --localsta | --localst | --locals)
928 ac_prev=localstatedir ;;
929 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
930 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
931 localstatedir=$ac_optarg ;;
933 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
934 ac_prev=mandir ;;
935 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
936 mandir=$ac_optarg ;;
938 -nfp | --nfp | --nf)
939 # Obsolete; use --without-fp.
940 with_fp=no ;;
942 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
943 | --no-cr | --no-c | -n)
944 no_create=yes ;;
946 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
947 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
948 no_recursion=yes ;;
950 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
951 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
952 | --oldin | --oldi | --old | --ol | --o)
953 ac_prev=oldincludedir ;;
954 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
955 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
956 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
957 oldincludedir=$ac_optarg ;;
959 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
960 ac_prev=prefix ;;
961 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
962 prefix=$ac_optarg ;;
964 -program-prefix | --program-prefix | --program-prefi | --program-pref \
965 | --program-pre | --program-pr | --program-p)
966 ac_prev=program_prefix ;;
967 -program-prefix=* | --program-prefix=* | --program-prefi=* \
968 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
969 program_prefix=$ac_optarg ;;
971 -program-suffix | --program-suffix | --program-suffi | --program-suff \
972 | --program-suf | --program-su | --program-s)
973 ac_prev=program_suffix ;;
974 -program-suffix=* | --program-suffix=* | --program-suffi=* \
975 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
976 program_suffix=$ac_optarg ;;
978 -program-transform-name | --program-transform-name \
979 | --program-transform-nam | --program-transform-na \
980 | --program-transform-n | --program-transform- \
981 | --program-transform | --program-transfor \
982 | --program-transfo | --program-transf \
983 | --program-trans | --program-tran \
984 | --progr-tra | --program-tr | --program-t)
985 ac_prev=program_transform_name ;;
986 -program-transform-name=* | --program-transform-name=* \
987 | --program-transform-nam=* | --program-transform-na=* \
988 | --program-transform-n=* | --program-transform-=* \
989 | --program-transform=* | --program-transfor=* \
990 | --program-transfo=* | --program-transf=* \
991 | --program-trans=* | --program-tran=* \
992 | --progr-tra=* | --program-tr=* | --program-t=*)
993 program_transform_name=$ac_optarg ;;
995 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
996 ac_prev=pdfdir ;;
997 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
998 pdfdir=$ac_optarg ;;
1000 -psdir | --psdir | --psdi | --psd | --ps)
1001 ac_prev=psdir ;;
1002 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1003 psdir=$ac_optarg ;;
1005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1006 | -silent | --silent | --silen | --sile | --sil)
1007 silent=yes ;;
1009 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010 ac_prev=sbindir ;;
1011 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012 | --sbi=* | --sb=*)
1013 sbindir=$ac_optarg ;;
1015 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1016 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1017 | --sharedst | --shareds | --shared | --share | --shar \
1018 | --sha | --sh)
1019 ac_prev=sharedstatedir ;;
1020 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1021 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1022 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023 | --sha=* | --sh=*)
1024 sharedstatedir=$ac_optarg ;;
1026 -site | --site | --sit)
1027 ac_prev=site ;;
1028 -site=* | --site=* | --sit=*)
1029 site=$ac_optarg ;;
1031 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032 ac_prev=srcdir ;;
1033 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1034 srcdir=$ac_optarg ;;
1036 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1037 | --syscon | --sysco | --sysc | --sys | --sy)
1038 ac_prev=sysconfdir ;;
1039 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1040 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1041 sysconfdir=$ac_optarg ;;
1043 -target | --target | --targe | --targ | --tar | --ta | --t)
1044 ac_prev=target_alias ;;
1045 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1046 target_alias=$ac_optarg ;;
1048 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049 verbose=yes ;;
1051 -version | --version | --versio | --versi | --vers | -V)
1052 ac_init_version=: ;;
1054 -with-* | --with-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "with_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval with_$ac_useropt=\$ac_optarg ;;
1070 -without-* | --without-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 as_fn_error $? "invalid package name: $ac_useropt"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "with_$ac_useropt"
1080 "*) ;;
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1083 esac
1084 eval with_$ac_useropt=no ;;
1086 --x)
1087 # Obsolete; use --with-x.
1088 with_x=yes ;;
1090 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1091 | --x-incl | --x-inc | --x-in | --x-i)
1092 ac_prev=x_includes ;;
1093 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1094 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1095 x_includes=$ac_optarg ;;
1097 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1098 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1099 ac_prev=x_libraries ;;
1100 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1101 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1102 x_libraries=$ac_optarg ;;
1104 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1105 Try \`$0 --help' for more information"
1108 *=*)
1109 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1110 # Reject names that are not valid shell variable names.
1111 case $ac_envvar in #(
1112 '' | [0-9]* | *[!_$as_cr_alnum]* )
1113 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1114 esac
1115 eval $ac_envvar=\$ac_optarg
1116 export $ac_envvar ;;
1119 # FIXME: should be removed in autoconf 3.0.
1120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1126 esac
1127 done
1129 if test -n "$ac_prev"; then
1130 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1131 as_fn_error $? "missing argument to $ac_option"
1134 if test -n "$ac_unrecognized_opts"; then
1135 case $enable_option_checking in
1136 no) ;;
1137 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139 esac
1142 # Check all directory arguments for consistency.
1143 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1148 eval ac_val=\$$ac_var
1149 # Remove trailing slashes.
1150 case $ac_val in
1151 */ )
1152 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153 eval $ac_var=\$ac_val;;
1154 esac
1155 # Be sure to have absolute directory names.
1156 case $ac_val in
1157 [\\/$]* | ?:[\\/]* ) continue;;
1158 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1159 esac
1160 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1161 done
1163 # There might be people who depend on the old broken behavior: `$host'
1164 # used to hold the argument of --host etc.
1165 # FIXME: To remove some day.
1166 build=$build_alias
1167 host=$host_alias
1168 target=$target_alias
1170 # FIXME: To remove some day.
1171 if test "x$host_alias" != x; then
1172 if test "x$build_alias" = x; then
1173 cross_compiling=maybe
1174 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1175 If a cross compiler is detected then cross compile mode will be used" >&2
1176 elif test "x$build_alias" != "x$host_alias"; then
1177 cross_compiling=yes
1181 ac_tool_prefix=
1182 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1184 test "$silent" = yes && exec 6>/dev/null
1187 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1188 ac_ls_di=`ls -di .` &&
1189 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1190 as_fn_error $? "working directory cannot be determined"
1191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192 as_fn_error $? "pwd does not report name of working directory"
1195 # Find the source files, if location was not specified.
1196 if test -z "$srcdir"; then
1197 ac_srcdir_defaulted=yes
1198 # Try the directory containing this script, then the parent directory.
1199 ac_confdir=`$as_dirname -- "$as_myself" ||
1200 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1201 X"$as_myself" : 'X\(//\)[^/]' \| \
1202 X"$as_myself" : 'X\(//\)$' \| \
1203 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1204 $as_echo X"$as_myself" |
1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206 s//\1/
1209 /^X\(\/\/\)[^/].*/{
1210 s//\1/
1213 /^X\(\/\/\)$/{
1214 s//\1/
1217 /^X\(\/\).*/{
1218 s//\1/
1221 s/.*/./; q'`
1222 srcdir=$ac_confdir
1223 if test ! -r "$srcdir/$ac_unique_file"; then
1224 srcdir=..
1226 else
1227 ac_srcdir_defaulted=no
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1231 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1233 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1234 ac_abs_confdir=`(
1235 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1236 pwd)`
1237 # When building in place, set srcdir=.
1238 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 srcdir=.
1241 # Remove unnecessary trailing slashes from srcdir.
1242 # Double slashes in file names in object file debugging info
1243 # mess up M-x gdb in Emacs.
1244 case $srcdir in
1245 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1246 esac
1247 for ac_var in $ac_precious_vars; do
1248 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_env_${ac_var}_value=\$${ac_var}
1250 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1251 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1252 done
1255 # Report the --help message.
1257 if test "$ac_init_help" = "long"; then
1258 # Omit some internal or obsolete options to make the list less imposing.
1259 # This message is too long to be a string in the A/UX 3.1 sh.
1260 cat <<_ACEOF
1261 \`configure' configures QjackMMC 4 to adapt to many kinds of systems.
1263 Usage: $0 [OPTION]... [VAR=VALUE]...
1265 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1266 VAR=VALUE. See below for descriptions of some of the useful variables.
1268 Defaults for the options are specified in brackets.
1270 Configuration:
1271 -h, --help display this help and exit
1272 --help=short display options specific to this package
1273 --help=recursive display the short help of all the included packages
1274 -V, --version display version information and exit
1275 -q, --quiet, --silent do not print \`checking ...' messages
1276 --cache-file=FILE cache test results in FILE [disabled]
1277 -C, --config-cache alias for \`--cache-file=config.cache'
1278 -n, --no-create do not create output files
1279 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1281 Installation directories:
1282 --prefix=PREFIX install architecture-independent files in PREFIX
1283 [$ac_default_prefix]
1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 [PREFIX]
1287 By default, \`make install' will install all the files in
1288 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1289 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1290 for instance \`--prefix=\$HOME'.
1292 For better control, use the options below.
1294 Fine tuning of the installation directories:
1295 --bindir=DIR user executables [EPREFIX/bin]
1296 --sbindir=DIR system admin executables [EPREFIX/sbin]
1297 --libexecdir=DIR program executables [EPREFIX/libexec]
1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1301 --libdir=DIR object code libraries [EPREFIX/lib]
1302 --includedir=DIR C header files [PREFIX/include]
1303 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1304 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1305 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1306 --infodir=DIR info documentation [DATAROOTDIR/info]
1307 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1308 --mandir=DIR man documentation [DATAROOTDIR/man]
1309 --docdir=DIR documentation root [DATAROOTDIR/doc/qjackmmc]
1310 --htmldir=DIR html documentation [DOCDIR]
1311 --dvidir=DIR dvi documentation [DOCDIR]
1312 --pdfdir=DIR pdf documentation [DOCDIR]
1313 --psdir=DIR ps documentation [DOCDIR]
1314 _ACEOF
1316 cat <<\_ACEOF
1317 _ACEOF
1320 if test -n "$ac_init_help"; then
1321 case $ac_init_help in
1322 short | recursive ) echo "Configuration of QjackMMC 4:";;
1323 esac
1324 cat <<\_ACEOF
1326 Optional Features:
1327 --disable-option-checking ignore unrecognized --enable/--with options
1328 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1329 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1330 --enable-debug enable debugging (default=no)
1331 --enable-gui build the gui program qjackmmc (default=yes)
1332 --enable-cli build the command line program jackctlmmc
1333 (default=yes)
1334 --enable-lash enable LASH support (default=yes)
1335 --enable-jackmidi enable JACK MIDI support (default=yes)
1337 Optional Packages:
1338 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1339 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1340 --with-qt=PATH use alternate Qt install path
1341 --with-jack=PATH use alternate JACK install path
1342 --with-alsa=PATH use alternate ALSA install path
1343 --with-lash=PATH use alternate LASH install path
1345 Some influential environment variables:
1346 CXX C++ compiler command
1347 CXXFLAGS C++ compiler flags
1348 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1349 nonstandard directory <lib dir>
1350 LIBS libraries to pass to the linker, e.g. -l<library>
1351 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1352 you have headers in a nonstandard directory <include dir>
1353 CC C compiler command
1354 CFLAGS C compiler flags
1355 PKG_CONFIG path to pkg-config utility
1356 PKG_CONFIG_PATH
1357 directories to add to pkg-config's search path
1358 PKG_CONFIG_LIBDIR
1359 path overriding pkg-config's built-in search path
1360 REQUIREDPKGS_CFLAGS
1361 C compiler flags for REQUIREDPKGS, overriding pkg-config
1362 REQUIREDPKGS_LIBS
1363 linker flags for REQUIREDPKGS, overriding pkg-config
1364 QT_UP_TO_DATE_CFLAGS
1365 C compiler flags for QT_UP_TO_DATE, overriding pkg-config
1366 QT_UP_TO_DATE_LIBS
1367 linker flags for QT_UP_TO_DATE, overriding pkg-config
1368 CXXCPP C++ preprocessor
1369 LASH_CFLAGS C compiler flags for LASH, overriding pkg-config
1370 LASH_LIBS linker flags for LASH, overriding pkg-config
1372 Use these variables to override the choices made by `configure' or to help
1373 it to find libraries and programs with nonstandard names/locations.
1375 Report bugs to <apmontgo@users.sourceforge.net>.
1376 _ACEOF
1377 ac_status=$?
1380 if test "$ac_init_help" = "recursive"; then
1381 # If there are subdirs, report their specific --help.
1382 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1383 test -d "$ac_dir" ||
1384 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1385 continue
1386 ac_builddir=.
1388 case "$ac_dir" in
1389 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1391 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1392 # A ".." for each directory in $ac_dir_suffix.
1393 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1394 case $ac_top_builddir_sub in
1395 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1397 esac ;;
1398 esac
1399 ac_abs_top_builddir=$ac_pwd
1400 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1401 # for backward compatibility:
1402 ac_top_builddir=$ac_top_build_prefix
1404 case $srcdir in
1405 .) # We are building in place.
1406 ac_srcdir=.
1407 ac_top_srcdir=$ac_top_builddir_sub
1408 ac_abs_top_srcdir=$ac_pwd ;;
1409 [\\/]* | ?:[\\/]* ) # Absolute name.
1410 ac_srcdir=$srcdir$ac_dir_suffix;
1411 ac_top_srcdir=$srcdir
1412 ac_abs_top_srcdir=$srcdir ;;
1413 *) # Relative name.
1414 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1415 ac_top_srcdir=$ac_top_build_prefix$srcdir
1416 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1417 esac
1418 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1420 cd "$ac_dir" || { ac_status=$?; continue; }
1421 # Check for guested configure.
1422 if test -f "$ac_srcdir/configure.gnu"; then
1423 echo &&
1424 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1425 elif test -f "$ac_srcdir/configure"; then
1426 echo &&
1427 $SHELL "$ac_srcdir/configure" --help=recursive
1428 else
1429 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1430 fi || ac_status=$?
1431 cd "$ac_pwd" || { ac_status=$?; break; }
1432 done
1435 test -n "$ac_init_help" && exit $ac_status
1436 if $ac_init_version; then
1437 cat <<\_ACEOF
1438 QjackMMC configure 4
1439 generated by GNU Autoconf 2.68
1441 Copyright (C) 2010 Free Software Foundation, Inc.
1442 This configure script is free software; the Free Software Foundation
1443 gives unlimited permission to copy, distribute and modify it.
1444 _ACEOF
1445 exit
1448 ## ------------------------ ##
1449 ## Autoconf initialization. ##
1450 ## ------------------------ ##
1452 # ac_fn_cxx_try_compile LINENO
1453 # ----------------------------
1454 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1455 ac_fn_cxx_try_compile ()
1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1458 rm -f conftest.$ac_objext
1459 if { { ac_try="$ac_compile"
1460 case "(($ac_try" in
1461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1462 *) ac_try_echo=$ac_try;;
1463 esac
1464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1465 $as_echo "$ac_try_echo"; } >&5
1466 (eval "$ac_compile") 2>conftest.err
1467 ac_status=$?
1468 if test -s conftest.err; then
1469 grep -v '^ *+' conftest.err >conftest.er1
1470 cat conftest.er1 >&5
1471 mv -f conftest.er1 conftest.err
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1474 test $ac_status = 0; } && {
1475 test -z "$ac_cxx_werror_flag" ||
1476 test ! -s conftest.err
1477 } && test -s conftest.$ac_objext; then :
1478 ac_retval=0
1479 else
1480 $as_echo "$as_me: failed program was:" >&5
1481 sed 's/^/| /' conftest.$ac_ext >&5
1483 ac_retval=1
1485 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1486 as_fn_set_status $ac_retval
1488 } # ac_fn_cxx_try_compile
1490 # ac_fn_c_try_compile LINENO
1491 # --------------------------
1492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1493 ac_fn_c_try_compile ()
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 rm -f conftest.$ac_objext
1497 if { { ac_try="$ac_compile"
1498 case "(($ac_try" in
1499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500 *) ac_try_echo=$ac_try;;
1501 esac
1502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503 $as_echo "$ac_try_echo"; } >&5
1504 (eval "$ac_compile") 2>conftest.err
1505 ac_status=$?
1506 if test -s conftest.err; then
1507 grep -v '^ *+' conftest.err >conftest.er1
1508 cat conftest.er1 >&5
1509 mv -f conftest.er1 conftest.err
1511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512 test $ac_status = 0; } && {
1513 test -z "$ac_c_werror_flag" ||
1514 test ! -s conftest.err
1515 } && test -s conftest.$ac_objext; then :
1516 ac_retval=0
1517 else
1518 $as_echo "$as_me: failed program was:" >&5
1519 sed 's/^/| /' conftest.$ac_ext >&5
1521 ac_retval=1
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1526 } # ac_fn_c_try_compile
1528 # ac_fn_cxx_try_cpp LINENO
1529 # ------------------------
1530 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1531 ac_fn_cxx_try_cpp ()
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 if { { ac_try="$ac_cpp conftest.$ac_ext"
1535 case "(($ac_try" in
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1538 esac
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1542 ac_status=$?
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } > conftest.i && {
1550 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1551 test ! -s conftest.err
1552 }; then :
1553 ac_retval=0
1554 else
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1558 ac_retval=1
1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561 as_fn_set_status $ac_retval
1563 } # ac_fn_cxx_try_cpp
1565 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1566 # ---------------------------------------------------------
1567 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1568 # the include files in INCLUDES and setting the cache variable VAR
1569 # accordingly.
1570 ac_fn_cxx_check_header_mongrel ()
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if eval \${$3+:} false; then :
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1575 $as_echo_n "checking for $2... " >&6; }
1576 if eval \${$3+:} false; then :
1577 $as_echo_n "(cached) " >&6
1579 eval ac_res=\$$3
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1581 $as_echo "$ac_res" >&6; }
1582 else
1583 # Is the header compilable?
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1585 $as_echo_n "checking $2 usability... " >&6; }
1586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1587 /* end confdefs.h. */
1589 #include <$2>
1590 _ACEOF
1591 if ac_fn_cxx_try_compile "$LINENO"; then :
1592 ac_header_compiler=yes
1593 else
1594 ac_header_compiler=no
1596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1598 $as_echo "$ac_header_compiler" >&6; }
1600 # Is the header present?
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1602 $as_echo_n "checking $2 presence... " >&6; }
1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1605 #include <$2>
1606 _ACEOF
1607 if ac_fn_cxx_try_cpp "$LINENO"; then :
1608 ac_header_preproc=yes
1609 else
1610 ac_header_preproc=no
1612 rm -f conftest.err conftest.i conftest.$ac_ext
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1614 $as_echo "$ac_header_preproc" >&6; }
1616 # So? What about this header?
1617 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1618 yes:no: )
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1620 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1622 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1624 no:yes:* )
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1626 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1628 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1630 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1632 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1635 ( $as_echo "## --------------------------------------------- ##
1636 ## Report this to apmontgo@users.sourceforge.net ##
1637 ## --------------------------------------------- ##"
1638 ) | sed "s/^/$as_me: WARNING: /" >&2
1640 esac
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642 $as_echo_n "checking for $2... " >&6; }
1643 if eval \${$3+:} false; then :
1644 $as_echo_n "(cached) " >&6
1645 else
1646 eval "$3=\$ac_header_compiler"
1648 eval ac_res=\$$3
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 } # ac_fn_cxx_check_header_mongrel
1656 # ac_fn_cxx_try_run LINENO
1657 # ------------------------
1658 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1659 # that executables *can* be run.
1660 ac_fn_cxx_try_run ()
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 if { { ac_try="$ac_link"
1664 case "(($ac_try" in
1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1667 esac
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_link") 2>&5
1671 ac_status=$?
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1674 { { case "(($ac_try" in
1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1677 esac
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_try") 2>&5
1681 ac_status=$?
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; }; }; then :
1684 ac_retval=0
1685 else
1686 $as_echo "$as_me: program exited with status $ac_status" >&5
1687 $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1690 ac_retval=$ac_status
1692 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status $ac_retval
1696 } # ac_fn_cxx_try_run
1698 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1699 # ---------------------------------------------------------
1700 # Tests whether HEADER exists and can be compiled using the include files in
1701 # INCLUDES, setting the cache variable VAR accordingly.
1702 ac_fn_cxx_check_header_compile ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1709 else
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1713 #include <$2>
1714 _ACEOF
1715 if ac_fn_cxx_try_compile "$LINENO"; then :
1716 eval "$3=yes"
1717 else
1718 eval "$3=no"
1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 eval ac_res=\$$3
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724 $as_echo "$ac_res" >&6; }
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 } # ac_fn_cxx_check_header_compile
1729 # ac_fn_cxx_try_link LINENO
1730 # -------------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_link ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext conftest$ac_exeext
1736 if { { ac_try="$ac_link"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest$ac_exeext && {
1755 test "$cross_compiling" = yes ||
1756 $as_test_x conftest$ac_exeext
1757 }; then :
1758 ac_retval=0
1759 else
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1763 ac_retval=1
1765 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1766 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1767 # interfere with the next link command; also delete a directory that is
1768 # left behind by Apple's compiler. We do this before executing the actions.
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1773 } # ac_fn_cxx_try_link
1775 # ac_fn_cxx_check_func LINENO FUNC VAR
1776 # ------------------------------------
1777 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1778 ac_fn_cxx_check_func ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if eval \${$3+:} false; then :
1784 $as_echo_n "(cached) " >&6
1785 else
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1788 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1790 #define $2 innocuous_$2
1792 /* System header to define __stub macros and hopefully few prototypes,
1793 which can conflict with char $2 (); below.
1794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1795 <limits.h> exists even on freestanding compilers. */
1797 #ifdef __STDC__
1798 # include <limits.h>
1799 #else
1800 # include <assert.h>
1801 #endif
1803 #undef $2
1805 /* Override any GCC internal prototype to avoid an error.
1806 Use char because int might match the return type of a GCC
1807 builtin and then its argument prototype would still apply. */
1808 #ifdef __cplusplus
1809 extern "C"
1810 #endif
1811 char $2 ();
1812 /* The GNU C library defines this for functions which it implements
1813 to always fail with ENOSYS. Some functions are actually named
1814 something starting with __ and the normal name is an alias. */
1815 #if defined __stub_$2 || defined __stub___$2
1816 choke me
1817 #endif
1820 main ()
1822 return $2 ();
1824 return 0;
1826 _ACEOF
1827 if ac_fn_cxx_try_link "$LINENO"; then :
1828 eval "$3=yes"
1829 else
1830 eval "$3=no"
1832 rm -f core conftest.err conftest.$ac_objext \
1833 conftest$ac_exeext conftest.$ac_ext
1835 eval ac_res=\$$3
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 } # ac_fn_cxx_check_func
1842 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1843 # ---------------------------------------------
1844 # Tests whether TYPE exists after having included INCLUDES, setting cache
1845 # variable VAR accordingly.
1846 ac_fn_cxx_check_type ()
1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850 $as_echo_n "checking for $2... " >&6; }
1851 if eval \${$3+:} false; then :
1852 $as_echo_n "(cached) " >&6
1853 else
1854 eval "$3=no"
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1859 main ()
1861 if (sizeof ($2))
1862 return 0;
1864 return 0;
1866 _ACEOF
1867 if ac_fn_cxx_try_compile "$LINENO"; then :
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1872 main ()
1874 if (sizeof (($2)))
1875 return 0;
1877 return 0;
1879 _ACEOF
1880 if ac_fn_cxx_try_compile "$LINENO"; then :
1882 else
1883 eval "$3=yes"
1885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889 eval ac_res=\$$3
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 } # ac_fn_cxx_check_type
1896 # ac_fn_c_find_uintX_t LINENO BITS VAR
1897 # ------------------------------------
1898 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1899 # accordingly.
1900 ac_fn_c_find_uintX_t ()
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1904 $as_echo_n "checking for uint$2_t... " >&6; }
1905 if eval \${$3+:} false; then :
1906 $as_echo_n "(cached) " >&6
1907 else
1908 eval "$3=no"
1909 # Order is important - never check a type that is potentially smaller
1910 # than half of the expected target width.
1911 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1912 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1915 $ac_includes_default
1917 main ()
1919 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1920 test_array [0] = 0
1923 return 0;
1925 _ACEOF
1926 if ac_fn_cxx_try_compile "$LINENO"; then :
1927 case $ac_type in #(
1928 uint$2_t) :
1929 eval "$3=yes" ;; #(
1930 *) :
1931 eval "$3=\$ac_type" ;;
1932 esac
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 if eval test \"x\$"$3"\" = x"no"; then :
1937 else
1938 break
1940 done
1942 eval ac_res=\$$3
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 } # ac_fn_c_find_uintX_t
1948 cat >config.log <<_ACEOF
1949 This file contains any messages produced by compilers while
1950 running configure, to aid debugging if configure makes a mistake.
1952 It was created by QjackMMC $as_me 4, which was
1953 generated by GNU Autoconf 2.68. Invocation command line was
1955 $ $0 $@
1957 _ACEOF
1958 exec 5>>config.log
1960 cat <<_ASUNAME
1961 ## --------- ##
1962 ## Platform. ##
1963 ## --------- ##
1965 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1966 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1967 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1968 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1969 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1971 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1972 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1974 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1975 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1976 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1977 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1978 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1979 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1980 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1982 _ASUNAME
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 $as_echo "PATH: $as_dir"
1990 done
1991 IFS=$as_save_IFS
1993 } >&5
1995 cat >&5 <<_ACEOF
1998 ## ----------- ##
1999 ## Core tests. ##
2000 ## ----------- ##
2002 _ACEOF
2005 # Keep a trace of the command line.
2006 # Strip out --no-create and --no-recursion so they do not pile up.
2007 # Strip out --silent because we don't want to record it for future runs.
2008 # Also quote any args containing shell meta-characters.
2009 # Make two passes to allow for proper duplicate-argument suppression.
2010 ac_configure_args=
2011 ac_configure_args0=
2012 ac_configure_args1=
2013 ac_must_keep_next=false
2014 for ac_pass in 1 2
2016 for ac_arg
2018 case $ac_arg in
2019 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2021 | -silent | --silent | --silen | --sile | --sil)
2022 continue ;;
2023 *\'*)
2024 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2025 esac
2026 case $ac_pass in
2027 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2029 as_fn_append ac_configure_args1 " '$ac_arg'"
2030 if test $ac_must_keep_next = true; then
2031 ac_must_keep_next=false # Got value, back to normal.
2032 else
2033 case $ac_arg in
2034 *=* | --config-cache | -C | -disable-* | --disable-* \
2035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2037 | -with-* | --with-* | -without-* | --without-* | --x)
2038 case "$ac_configure_args0 " in
2039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2040 esac
2042 -* ) ac_must_keep_next=true ;;
2043 esac
2045 as_fn_append ac_configure_args " '$ac_arg'"
2047 esac
2048 done
2049 done
2050 { ac_configure_args0=; unset ac_configure_args0;}
2051 { ac_configure_args1=; unset ac_configure_args1;}
2053 # When interrupted or exit'd, cleanup temporary files, and complete
2054 # config.log. We remove comments because anyway the quotes in there
2055 # would cause problems or look ugly.
2056 # WARNING: Use '\'' to represent an apostrophe within the trap.
2057 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2058 trap 'exit_status=$?
2059 # Save into config.log some information that might help in debugging.
2061 echo
2063 $as_echo "## ---------------- ##
2064 ## Cache variables. ##
2065 ## ---------------- ##"
2066 echo
2067 # The following way of writing the cache mishandles newlines in values,
2069 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2070 eval ac_val=\$$ac_var
2071 case $ac_val in #(
2072 *${as_nl}*)
2073 case $ac_var in #(
2074 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2076 esac
2077 case $ac_var in #(
2078 _ | IFS | as_nl) ;; #(
2079 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2080 *) { eval $ac_var=; unset $ac_var;} ;;
2081 esac ;;
2082 esac
2083 done
2084 (set) 2>&1 |
2085 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2086 *${as_nl}ac_space=\ *)
2087 sed -n \
2088 "s/'\''/'\''\\\\'\'''\''/g;
2089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2090 ;; #(
2092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2094 esac |
2095 sort
2097 echo
2099 $as_echo "## ----------------- ##
2100 ## Output variables. ##
2101 ## ----------------- ##"
2102 echo
2103 for ac_var in $ac_subst_vars
2105 eval ac_val=\$$ac_var
2106 case $ac_val in
2107 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2108 esac
2109 $as_echo "$ac_var='\''$ac_val'\''"
2110 done | sort
2111 echo
2113 if test -n "$ac_subst_files"; then
2114 $as_echo "## ------------------- ##
2115 ## File substitutions. ##
2116 ## ------------------- ##"
2117 echo
2118 for ac_var in $ac_subst_files
2120 eval ac_val=\$$ac_var
2121 case $ac_val in
2122 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2123 esac
2124 $as_echo "$ac_var='\''$ac_val'\''"
2125 done | sort
2126 echo
2129 if test -s confdefs.h; then
2130 $as_echo "## ----------- ##
2131 ## confdefs.h. ##
2132 ## ----------- ##"
2133 echo
2134 cat confdefs.h
2135 echo
2137 test "$ac_signal" != 0 &&
2138 $as_echo "$as_me: caught signal $ac_signal"
2139 $as_echo "$as_me: exit $exit_status"
2140 } >&5
2141 rm -f core *.core core.conftest.* &&
2142 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2143 exit $exit_status
2145 for ac_signal in 1 2 13 15; do
2146 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2147 done
2148 ac_signal=0
2150 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2151 rm -f -r conftest* confdefs.h
2153 $as_echo "/* confdefs.h */" > confdefs.h
2155 # Predefined preprocessor variables.
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_NAME "$PACKAGE_NAME"
2159 _ACEOF
2161 cat >>confdefs.h <<_ACEOF
2162 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2163 _ACEOF
2165 cat >>confdefs.h <<_ACEOF
2166 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2167 _ACEOF
2169 cat >>confdefs.h <<_ACEOF
2170 #define PACKAGE_STRING "$PACKAGE_STRING"
2171 _ACEOF
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2175 _ACEOF
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_URL "$PACKAGE_URL"
2179 _ACEOF
2182 # Let the site file select an alternate cache file if it wants to.
2183 # Prefer an explicitly selected file to automatically selected ones.
2184 ac_site_file1=NONE
2185 ac_site_file2=NONE
2186 if test -n "$CONFIG_SITE"; then
2187 # We do not want a PATH search for config.site.
2188 case $CONFIG_SITE in #((
2189 -*) ac_site_file1=./$CONFIG_SITE;;
2190 */*) ac_site_file1=$CONFIG_SITE;;
2191 *) ac_site_file1=./$CONFIG_SITE;;
2192 esac
2193 elif test "x$prefix" != xNONE; then
2194 ac_site_file1=$prefix/share/config.site
2195 ac_site_file2=$prefix/etc/config.site
2196 else
2197 ac_site_file1=$ac_default_prefix/share/config.site
2198 ac_site_file2=$ac_default_prefix/etc/config.site
2200 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2202 test "x$ac_site_file" = xNONE && continue
2203 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2205 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2206 sed 's/^/| /' "$ac_site_file" >&5
2207 . "$ac_site_file" \
2208 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2210 as_fn_error $? "failed to load site script $ac_site_file
2211 See \`config.log' for more details" "$LINENO" 5; }
2213 done
2215 if test -r "$cache_file"; then
2216 # Some versions of bash will fail to source /dev/null (special files
2217 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2218 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2220 $as_echo "$as_me: loading cache $cache_file" >&6;}
2221 case $cache_file in
2222 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2223 *) . "./$cache_file";;
2224 esac
2226 else
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2228 $as_echo "$as_me: creating cache $cache_file" >&6;}
2229 >$cache_file
2232 # Check that the precious variables saved in the cache have kept the same
2233 # value.
2234 ac_cache_corrupted=false
2235 for ac_var in $ac_precious_vars; do
2236 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2237 eval ac_new_set=\$ac_env_${ac_var}_set
2238 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2239 eval ac_new_val=\$ac_env_${ac_var}_value
2240 case $ac_old_set,$ac_new_set in
2241 set,)
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2243 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2244 ac_cache_corrupted=: ;;
2245 ,set)
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2247 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2248 ac_cache_corrupted=: ;;
2249 ,);;
2251 if test "x$ac_old_val" != "x$ac_new_val"; then
2252 # differences in whitespace do not lead to failure.
2253 ac_old_val_w=`echo x $ac_old_val`
2254 ac_new_val_w=`echo x $ac_new_val`
2255 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2257 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2258 ac_cache_corrupted=:
2259 else
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2261 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2262 eval $ac_var=\$ac_old_val
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2265 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2267 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2268 fi;;
2269 esac
2270 # Pass precious variables to config.status.
2271 if test "$ac_new_set" = set; then
2272 case $ac_new_val in
2273 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2274 *) ac_arg=$ac_var=$ac_new_val ;;
2275 esac
2276 case " $ac_configure_args " in
2277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2278 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2279 esac
2281 done
2282 if $ac_cache_corrupted; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2286 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2287 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2289 ## -------------------- ##
2290 ## Main body of script. ##
2291 ## -------------------- ##
2293 ac_ext=c
2294 ac_cpp='$CPP $CPPFLAGS'
2295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2301 ac_config_headers="$ac_config_headers config.h"
2305 ac_prefix=$prefix
2306 if test "x$ac_prefix" = "xNONE"; then
2307 ac_prefix=$ac_default_prefix
2311 cat >>confdefs.h <<_ACEOF
2312 #define CONFIG_PREFIX "$ac_prefix"
2313 _ACEOF
2316 ac_icon_dir="$ac_prefix/share/pixmaps"
2318 cat >>confdefs.h <<_ACEOF
2319 #define ICON_DIR "$ac_icon_dir"
2320 _ACEOF
2323 ac_cflags="$ac_cflags -Wall"
2324 ac_build_jackctlmmc="yes"
2325 ac_build_qjackmmc="yes"
2327 # Enable debugging argument option.
2328 # Check whether --enable-debug was given.
2329 if test "${enable_debug+set}" = set; then :
2330 enableval=$enable_debug; ac_debug="$enableval"
2334 if test "x$ac_debug" = "xyes"; then
2335 ac_debug="debug"
2336 else
2337 ac_debug="release"
2342 # check if the user wants QJackMMC built
2343 # Check whether --enable-gui was given.
2344 if test "${enable_gui+set}" = set; then :
2345 enableval=$enable_gui; ac_build_qjackmmc="$enableval"
2346 else
2347 ac_build_qjackmmc="yes"
2351 # check if the user wants jackctlmmc built
2352 # Check whether --enable-cli was given.
2353 if test "${enable_cli+set}" = set; then :
2354 enableval=$enable_cli; ac_build_jackctlmmc="$enableval"
2355 else
2356 ac_build_jackctlmmc="yes"
2360 # Extract the first word of "pkg-config", so it can be a program name with args.
2361 set dummy pkg-config; ac_word=$2
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2363 $as_echo_n "checking for $ac_word... " >&6; }
2364 if ${ac_cv_path_PKG_CONFIG+:} false; then :
2365 $as_echo_n "(cached) " >&6
2366 else
2367 case $PKG_CONFIG in
2368 [\\/]* | ?:[\\/]*)
2369 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 for as_dir in $PATH
2375 IFS=$as_save_IFS
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 break 2
2383 done
2384 done
2385 IFS=$as_save_IFS
2387 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
2389 esac
2391 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2392 if test -n "$PKG_CONFIG"; then
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2394 $as_echo "$PKG_CONFIG" >&6; }
2395 else
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2397 $as_echo "no" >&6; }
2402 # Standard installation base dirs.
2403 ac_with_paths="/usr /usr/local"
2405 # Some a-la-debian alternatives...
2406 for X in /usr/lib /usr/lib64 /usr/share; do
2407 for Y in qt qt4; do
2408 if test -d $X/$Y/bin; then
2409 ac_with_paths="$ac_with_paths $X/$Y"
2411 done
2412 done
2414 # Set for alternate Qt installation dir.
2416 # Check whether --with-qt was given.
2417 if test "${with_qt+set}" = set; then :
2418 withval=$with_qt; ac_with_paths="$ac_with_paths $withval"
2422 # Set for alternate JACK installation dir.
2424 # Check whether --with-jack was given.
2425 if test "${with_jack+set}" = set; then :
2426 withval=$with_jack; ac_with_paths="$ac_with_paths $withval"
2430 # Set for alternate ALSA installation dir.
2432 # Check whether --with-alsa was given.
2433 if test "${with_alsa+set}" = set; then :
2434 withval=$with_alsa; ac_with_paths="$ac_with_paths $withval"
2438 # Set for alternate LASH installation dir.
2440 # Check whether --with-lash was given.
2441 if test "${with_lash+set}" = set; then :
2442 withval=$with_lash; ac_with_paths="$ac_with_paths $withval"
2446 # Checks for programs.
2447 ac_ext=cpp
2448 ac_cpp='$CXXCPP $CPPFLAGS'
2449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2452 if test -z "$CXX"; then
2453 if test -n "$CCC"; then
2454 CXX=$CCC
2455 else
2456 if test -n "$ac_tool_prefix"; then
2457 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if ${ac_cv_prog_CXX+:} false; then :
2464 $as_echo_n "(cached) " >&6
2465 else
2466 if test -n "$CXX"; then
2467 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2468 else
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2472 IFS=$as_save_IFS
2473 test -z "$as_dir" && as_dir=.
2474 for ac_exec_ext in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 break 2
2480 done
2481 done
2482 IFS=$as_save_IFS
2486 CXX=$ac_cv_prog_CXX
2487 if test -n "$CXX"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2489 $as_echo "$CXX" >&6; }
2490 else
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2496 test -n "$CXX" && break
2497 done
2499 if test -z "$CXX"; then
2500 ac_ct_CXX=$CXX
2501 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2503 # Extract the first word of "$ac_prog", so it can be a program name with args.
2504 set dummy $ac_prog; ac_word=$2
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2506 $as_echo_n "checking for $ac_word... " >&6; }
2507 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2508 $as_echo_n "(cached) " >&6
2509 else
2510 if test -n "$ac_ct_CXX"; then
2511 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2512 else
2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 for as_dir in $PATH
2516 IFS=$as_save_IFS
2517 test -z "$as_dir" && as_dir=.
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520 ac_cv_prog_ac_ct_CXX="$ac_prog"
2521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2522 break 2
2524 done
2525 done
2526 IFS=$as_save_IFS
2530 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2531 if test -n "$ac_ct_CXX"; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2533 $as_echo "$ac_ct_CXX" >&6; }
2534 else
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536 $as_echo "no" >&6; }
2540 test -n "$ac_ct_CXX" && break
2541 done
2543 if test "x$ac_ct_CXX" = x; then
2544 CXX="g++"
2545 else
2546 case $cross_compiling:$ac_tool_warned in
2547 yes:)
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2550 ac_tool_warned=yes ;;
2551 esac
2552 CXX=$ac_ct_CXX
2558 # Provide some information about the compiler.
2559 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2560 set X $ac_compile
2561 ac_compiler=$2
2562 for ac_option in --version -v -V -qversion; do
2563 { { ac_try="$ac_compiler $ac_option >&5"
2564 case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2567 esac
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2571 ac_status=$?
2572 if test -s conftest.err; then
2573 sed '10a\
2574 ... rest of stderr output deleted ...
2575 10q' conftest.err >conftest.er1
2576 cat conftest.er1 >&5
2578 rm -f conftest.er1 conftest.err
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }
2581 done
2583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2584 /* end confdefs.h. */
2587 main ()
2591 return 0;
2593 _ACEOF
2594 ac_clean_files_save=$ac_clean_files
2595 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2596 # Try to create an executable without -o first, disregard a.out.
2597 # It will help us diagnose broken compilers, and finding out an intuition
2598 # of exeext.
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2600 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2601 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2603 # The possible output files:
2604 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2606 ac_rmfiles=
2607 for ac_file in $ac_files
2609 case $ac_file in
2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2611 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2612 esac
2613 done
2614 rm -f $ac_rmfiles
2616 if { { ac_try="$ac_link_default"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_link_default") 2>&5
2624 ac_status=$?
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; }; then :
2627 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2628 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2629 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2630 # so that the user can short-circuit this test for compilers unknown to
2631 # Autoconf.
2632 for ac_file in $ac_files ''
2634 test -f "$ac_file" || continue
2635 case $ac_file in
2636 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2638 [ab].out )
2639 # We found the default executable, but exeext='' is most
2640 # certainly right.
2641 break;;
2642 *.* )
2643 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2644 then :; else
2645 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2647 # We set ac_cv_exeext here because the later test for it is not
2648 # safe: cross compilers may not add the suffix if given an `-o'
2649 # argument, so we may need to know it at that point already.
2650 # Even if this section looks crufty: it has the advantage of
2651 # actually working.
2652 break;;
2654 break;;
2655 esac
2656 done
2657 test "$ac_cv_exeext" = no && ac_cv_exeext=
2659 else
2660 ac_file=''
2662 if test -z "$ac_file"; then :
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2665 $as_echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670 as_fn_error 77 "C++ compiler cannot create executables
2671 See \`config.log' for more details" "$LINENO" 5; }
2672 else
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 $as_echo "yes" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2677 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2679 $as_echo "$ac_file" >&6; }
2680 ac_exeext=$ac_cv_exeext
2682 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2683 ac_clean_files=$ac_clean_files_save
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2685 $as_echo_n "checking for suffix of executables... " >&6; }
2686 if { { ac_try="$ac_link"
2687 case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 $as_echo "$ac_try_echo"; } >&5
2693 (eval "$ac_link") 2>&5
2694 ac_status=$?
2695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; }; then :
2697 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2698 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2699 # work properly (i.e., refer to `conftest.exe'), while it won't with
2700 # `rm'.
2701 for ac_file in conftest.exe conftest conftest.*; do
2702 test -f "$ac_file" || continue
2703 case $ac_file in
2704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2705 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2706 break;;
2707 * ) break;;
2708 esac
2709 done
2710 else
2711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2713 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2714 See \`config.log' for more details" "$LINENO" 5; }
2716 rm -f conftest conftest$ac_cv_exeext
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2718 $as_echo "$ac_cv_exeext" >&6; }
2720 rm -f conftest.$ac_ext
2721 EXEEXT=$ac_cv_exeext
2722 ac_exeext=$EXEEXT
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2725 #include <stdio.h>
2727 main ()
2729 FILE *f = fopen ("conftest.out", "w");
2730 return ferror (f) || fclose (f) != 0;
2733 return 0;
2735 _ACEOF
2736 ac_clean_files="$ac_clean_files conftest.out"
2737 # Check that the compiler produces executables we can run. If not, either
2738 # the compiler is broken, or we cross compile.
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2740 $as_echo_n "checking whether we are cross compiling... " >&6; }
2741 if test "$cross_compiling" != yes; then
2742 { { ac_try="$ac_link"
2743 case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2748 $as_echo "$ac_try_echo"; } >&5
2749 (eval "$ac_link") 2>&5
2750 ac_status=$?
2751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2752 test $ac_status = 0; }
2753 if { ac_try='./conftest$ac_cv_exeext'
2754 { { case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_try") 2>&5
2761 ac_status=$?
2762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2763 test $ac_status = 0; }; }; then
2764 cross_compiling=no
2765 else
2766 if test "$cross_compiling" = maybe; then
2767 cross_compiling=yes
2768 else
2769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2771 as_fn_error $? "cannot run C++ compiled programs.
2772 If you meant to cross compile, use \`--host'.
2773 See \`config.log' for more details" "$LINENO" 5; }
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2778 $as_echo "$cross_compiling" >&6; }
2780 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2781 ac_clean_files=$ac_clean_files_save
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2783 $as_echo_n "checking for suffix of object files... " >&6; }
2784 if ${ac_cv_objext+:} false; then :
2785 $as_echo_n "(cached) " >&6
2786 else
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2791 main ()
2795 return 0;
2797 _ACEOF
2798 rm -f conftest.o conftest.obj
2799 if { { ac_try="$ac_compile"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_compile") 2>&5
2807 ac_status=$?
2808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; }; then :
2810 for ac_file in conftest.o conftest.obj conftest.*; do
2811 test -f "$ac_file" || continue;
2812 case $ac_file in
2813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2814 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2815 break;;
2816 esac
2817 done
2818 else
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 as_fn_error $? "cannot compute suffix of object files: cannot compile
2825 See \`config.log' for more details" "$LINENO" 5; }
2827 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2830 $as_echo "$ac_cv_objext" >&6; }
2831 OBJEXT=$ac_cv_objext
2832 ac_objext=$OBJEXT
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2834 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2835 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h. */
2842 main ()
2844 #ifndef __GNUC__
2845 choke me
2846 #endif
2849 return 0;
2851 _ACEOF
2852 if ac_fn_cxx_try_compile "$LINENO"; then :
2853 ac_compiler_gnu=yes
2854 else
2855 ac_compiler_gnu=no
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2862 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2863 if test $ac_compiler_gnu = yes; then
2864 GXX=yes
2865 else
2866 GXX=
2868 ac_test_CXXFLAGS=${CXXFLAGS+set}
2869 ac_save_CXXFLAGS=$CXXFLAGS
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2871 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2872 if ${ac_cv_prog_cxx_g+:} false; then :
2873 $as_echo_n "(cached) " >&6
2874 else
2875 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2876 ac_cxx_werror_flag=yes
2877 ac_cv_prog_cxx_g=no
2878 CXXFLAGS="-g"
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2883 main ()
2887 return 0;
2889 _ACEOF
2890 if ac_fn_cxx_try_compile "$LINENO"; then :
2891 ac_cv_prog_cxx_g=yes
2892 else
2893 CXXFLAGS=""
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2898 main ()
2902 return 0;
2904 _ACEOF
2905 if ac_fn_cxx_try_compile "$LINENO"; then :
2907 else
2908 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2909 CXXFLAGS="-g"
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2914 main ()
2918 return 0;
2920 _ACEOF
2921 if ac_fn_cxx_try_compile "$LINENO"; then :
2922 ac_cv_prog_cxx_g=yes
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2932 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2933 if test "$ac_test_CXXFLAGS" = set; then
2934 CXXFLAGS=$ac_save_CXXFLAGS
2935 elif test $ac_cv_prog_cxx_g = yes; then
2936 if test "$GXX" = yes; then
2937 CXXFLAGS="-g -O2"
2938 else
2939 CXXFLAGS="-g"
2941 else
2942 if test "$GXX" = yes; then
2943 CXXFLAGS="-O2"
2944 else
2945 CXXFLAGS=
2948 ac_ext=c
2949 ac_cpp='$CPP $CPPFLAGS'
2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2954 ac_ext=c
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 if test -n "$ac_tool_prefix"; then
2960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if ${ac_cv_prog_CC+:} false; then :
2965 $as_echo_n "(cached) " >&6
2966 else
2967 if test -n "$CC"; then
2968 ac_cv_prog_CC="$CC" # Let the user override the test.
2969 else
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 for as_dir in $PATH
2973 IFS=$as_save_IFS
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 break 2
2981 done
2982 done
2983 IFS=$as_save_IFS
2987 CC=$ac_cv_prog_CC
2988 if test -n "$CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990 $as_echo "$CC" >&6; }
2991 else
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2998 if test -z "$ac_cv_prog_CC"; then
2999 ac_ct_CC=$CC
3000 # Extract the first word of "gcc", so it can be a program name with args.
3001 set dummy gcc; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3009 else
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 for as_dir in $PATH
3013 IFS=$as_save_IFS
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3017 ac_cv_prog_ac_ct_CC="gcc"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 break 2
3021 done
3022 done
3023 IFS=$as_save_IFS
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3031 else
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3036 if test "x$ac_ct_CC" = x; then
3037 CC=""
3038 else
3039 case $cross_compiling:$ac_tool_warned in
3040 yes:)
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3043 ac_tool_warned=yes ;;
3044 esac
3045 CC=$ac_ct_CC
3047 else
3048 CC="$ac_cv_prog_CC"
3051 if test -z "$CC"; then
3052 if test -n "$ac_tool_prefix"; then
3053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3054 set dummy ${ac_tool_prefix}cc; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if ${ac_cv_prog_CC+:} false; then :
3058 $as_echo_n "(cached) " >&6
3059 else
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC="$CC" # Let the user override the test.
3062 else
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3066 IFS=$as_save_IFS
3067 test -z "$as_dir" && as_dir=.
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070 ac_cv_prog_CC="${ac_tool_prefix}cc"
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 break 2
3074 done
3075 done
3076 IFS=$as_save_IFS
3080 CC=$ac_cv_prog_CC
3081 if test -n "$CC"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083 $as_echo "$CC" >&6; }
3084 else
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3092 if test -z "$CC"; then
3093 # Extract the first word of "cc", so it can be a program name with args.
3094 set dummy cc; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_prog_CC+:} false; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 else
3103 ac_prog_rejected=no
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 for as_dir in $PATH
3107 IFS=$as_save_IFS
3108 test -z "$as_dir" && as_dir=.
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3112 ac_prog_rejected=yes
3113 continue
3115 ac_cv_prog_CC="cc"
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 break 2
3119 done
3120 done
3121 IFS=$as_save_IFS
3123 if test $ac_prog_rejected = yes; then
3124 # We found a bogon in the path, so make sure we never use it.
3125 set dummy $ac_cv_prog_CC
3126 shift
3127 if test $# != 0; then
3128 # We chose a different compiler from the bogus one.
3129 # However, it has the same basename, so the bogon will be chosen
3130 # first if we set CC to just the basename; use the full file name.
3131 shift
3132 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3137 CC=$ac_cv_prog_CC
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3141 else
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3148 if test -z "$CC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 for ac_prog in cl.exe
3152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if ${ac_cv_prog_CC+:} false; then :
3157 $as_echo_n "(cached) " >&6
3158 else
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC="$CC" # Let the user override the test.
3161 else
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 for as_dir in $PATH
3165 IFS=$as_save_IFS
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 break 2
3173 done
3174 done
3175 IFS=$as_save_IFS
3179 CC=$ac_cv_prog_CC
3180 if test -n "$CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182 $as_echo "$CC" >&6; }
3183 else
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3189 test -n "$CC" && break
3190 done
3192 if test -z "$CC"; then
3193 ac_ct_CC=$CC
3194 for ac_prog in cl.exe
3196 # Extract the first word of "$ac_prog", so it can be a program name with args.
3197 set dummy $ac_prog; ac_word=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3201 $as_echo_n "(cached) " >&6
3202 else
3203 if test -n "$ac_ct_CC"; then
3204 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3205 else
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 for as_dir in $PATH
3209 IFS=$as_save_IFS
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_ac_ct_CC="$ac_prog"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 break 2
3217 done
3218 done
3219 IFS=$as_save_IFS
3223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3224 if test -n "$ac_ct_CC"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3226 $as_echo "$ac_ct_CC" >&6; }
3227 else
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3233 test -n "$ac_ct_CC" && break
3234 done
3236 if test "x$ac_ct_CC" = x; then
3237 CC=""
3238 else
3239 case $cross_compiling:$ac_tool_warned in
3240 yes:)
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned=yes ;;
3244 esac
3245 CC=$ac_ct_CC
3252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 as_fn_error $? "no acceptable C compiler found in \$PATH
3255 See \`config.log' for more details" "$LINENO" 5; }
3257 # Provide some information about the compiler.
3258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3259 set X $ac_compile
3260 ac_compiler=$2
3261 for ac_option in --version -v -V -qversion; do
3262 { { ac_try="$ac_compiler $ac_option >&5"
3263 case "(($ac_try" in
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3266 esac
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3270 ac_status=$?
3271 if test -s conftest.err; then
3272 sed '10a\
3273 ... rest of stderr output deleted ...
3274 10q' conftest.err >conftest.er1
3275 cat conftest.er1 >&5
3277 rm -f conftest.er1 conftest.err
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }
3280 done
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3283 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3284 if ${ac_cv_c_compiler_gnu+:} false; then :
3285 $as_echo_n "(cached) " >&6
3286 else
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3291 main ()
3293 #ifndef __GNUC__
3294 choke me
3295 #endif
3298 return 0;
3300 _ACEOF
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302 ac_compiler_gnu=yes
3303 else
3304 ac_compiler_gnu=no
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3311 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3312 if test $ac_compiler_gnu = yes; then
3313 GCC=yes
3314 else
3315 GCC=
3317 ac_test_CFLAGS=${CFLAGS+set}
3318 ac_save_CFLAGS=$CFLAGS
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3320 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3321 if ${ac_cv_prog_cc_g+:} false; then :
3322 $as_echo_n "(cached) " >&6
3323 else
3324 ac_save_c_werror_flag=$ac_c_werror_flag
3325 ac_c_werror_flag=yes
3326 ac_cv_prog_cc_g=no
3327 CFLAGS="-g"
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3332 main ()
3336 return 0;
3338 _ACEOF
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 ac_cv_prog_cc_g=yes
3341 else
3342 CFLAGS=""
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3347 main ()
3351 return 0;
3353 _ACEOF
3354 if ac_fn_c_try_compile "$LINENO"; then :
3356 else
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3358 CFLAGS="-g"
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3363 main ()
3367 return 0;
3369 _ACEOF
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371 ac_cv_prog_cc_g=yes
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 ac_c_werror_flag=$ac_save_c_werror_flag
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3381 $as_echo "$ac_cv_prog_cc_g" >&6; }
3382 if test "$ac_test_CFLAGS" = set; then
3383 CFLAGS=$ac_save_CFLAGS
3384 elif test $ac_cv_prog_cc_g = yes; then
3385 if test "$GCC" = yes; then
3386 CFLAGS="-g -O2"
3387 else
3388 CFLAGS="-g"
3390 else
3391 if test "$GCC" = yes; then
3392 CFLAGS="-O2"
3393 else
3394 CFLAGS=
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3398 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3399 if ${ac_cv_prog_cc_c89+:} false; then :
3400 $as_echo_n "(cached) " >&6
3401 else
3402 ac_cv_prog_cc_c89=no
3403 ac_save_CC=$CC
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3406 #include <stdarg.h>
3407 #include <stdio.h>
3408 #include <sys/types.h>
3409 #include <sys/stat.h>
3410 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3411 struct buf { int x; };
3412 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3413 static char *e (p, i)
3414 char **p;
3415 int i;
3417 return p[i];
3419 static char *f (char * (*g) (char **, int), char **p, ...)
3421 char *s;
3422 va_list v;
3423 va_start (v,p);
3424 s = g (p, va_arg (v,int));
3425 va_end (v);
3426 return s;
3429 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3430 function prototypes and stuff, but not '\xHH' hex character constants.
3431 These don't provoke an error unfortunately, instead are silently treated
3432 as 'x'. The following induces an error, until -std is added to get
3433 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3434 array size at least. It's necessary to write '\x00'==0 to get something
3435 that's true only with -std. */
3436 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3438 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3439 inside strings and character constants. */
3440 #define FOO(x) 'x'
3441 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3443 int test (int i, double x);
3444 struct s1 {int (*f) (int a);};
3445 struct s2 {int (*f) (double a);};
3446 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3447 int argc;
3448 char **argv;
3450 main ()
3452 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3454 return 0;
3456 _ACEOF
3457 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3458 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3460 CC="$ac_save_CC $ac_arg"
3461 if ac_fn_c_try_compile "$LINENO"; then :
3462 ac_cv_prog_cc_c89=$ac_arg
3464 rm -f core conftest.err conftest.$ac_objext
3465 test "x$ac_cv_prog_cc_c89" != "xno" && break
3466 done
3467 rm -f conftest.$ac_ext
3468 CC=$ac_save_CC
3471 # AC_CACHE_VAL
3472 case "x$ac_cv_prog_cc_c89" in
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3475 $as_echo "none needed" >&6; } ;;
3476 xno)
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3478 $as_echo "unsupported" >&6; } ;;
3480 CC="$CC $ac_cv_prog_cc_c89"
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3482 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3483 esac
3484 if test "x$ac_cv_prog_cc_c89" != xno; then :
3488 ac_ext=c
3489 ac_cpp='$CPP $CPPFLAGS'
3490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3495 $as_echo_n "checking whether ln -s works... " >&6; }
3496 LN_S=$as_ln_s
3497 if test "$LN_S" = "ln -s"; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3499 $as_echo "yes" >&6; }
3500 else
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3502 $as_echo "no, using $LN_S" >&6; }
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3506 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3507 set x ${MAKE-make}
3508 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3509 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3510 $as_echo_n "(cached) " >&6
3511 else
3512 cat >conftest.make <<\_ACEOF
3513 SHELL = /bin/sh
3514 all:
3515 @echo '@@@%%%=$(MAKE)=@@@%%%'
3516 _ACEOF
3517 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3518 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3519 *@@@%%%=?*=@@@%%%*)
3520 eval ac_cv_prog_make_${ac_make}_set=yes;;
3522 eval ac_cv_prog_make_${ac_make}_set=no;;
3523 esac
3524 rm -f conftest.make
3526 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3528 $as_echo "yes" >&6; }
3529 SET_MAKE=
3530 else
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3533 SET_MAKE="MAKE=${MAKE-make}"
3536 ac_aux_dir=
3537 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3538 if test -f "$ac_dir/install-sh"; then
3539 ac_aux_dir=$ac_dir
3540 ac_install_sh="$ac_aux_dir/install-sh -c"
3541 break
3542 elif 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/shtool"; then
3547 ac_aux_dir=$ac_dir
3548 ac_install_sh="$ac_aux_dir/shtool install -c"
3549 break
3551 done
3552 if test -z "$ac_aux_dir"; then
3553 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3556 # These three variables are undocumented and unsupported,
3557 # and are intended to be withdrawn in a future Autoconf release.
3558 # They can cause serious problems if a builder's source tree is in a directory
3559 # whose full name contains unusual characters.
3560 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3561 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3562 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3565 # Find a good install program. We prefer a C program (faster),
3566 # so one script is as good as another. But avoid the broken or
3567 # incompatible versions:
3568 # SysV /etc/install, /usr/sbin/install
3569 # SunOS /usr/etc/install
3570 # IRIX /sbin/install
3571 # AIX /bin/install
3572 # AmigaOS /C/install, which installs bootblocks on floppy discs
3573 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3574 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3575 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3576 # OS/2's system install, which has a completely different semantic
3577 # ./install, which can be erroneously created by make from ./install.sh.
3578 # Reject install programs that cannot install multiple files.
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3580 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3581 if test -z "$INSTALL"; then
3582 if ${ac_cv_path_install+:} false; then :
3583 $as_echo_n "(cached) " >&6
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 # Account for people who put trailing slashes in PATH elements.
3591 case $as_dir/ in #((
3592 ./ | .// | /[cC]/* | \
3593 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3594 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3595 /usr/ucb/* ) ;;
3597 # OSF1 and SCO ODT 3.0 have their own names for install.
3598 # Don't use installbsd from OSF since it installs stuff as root
3599 # by default.
3600 for ac_prog in ginstall scoinst install; do
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3603 if test $ac_prog = install &&
3604 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3605 # AIX install. It has an incompatible calling convention.
3607 elif test $ac_prog = install &&
3608 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3609 # program-specific install script used by HP pwplus--don't use.
3611 else
3612 rm -rf conftest.one conftest.two conftest.dir
3613 echo one > conftest.one
3614 echo two > conftest.two
3615 mkdir conftest.dir
3616 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3617 test -s conftest.one && test -s conftest.two &&
3618 test -s conftest.dir/conftest.one &&
3619 test -s conftest.dir/conftest.two
3620 then
3621 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3622 break 3
3626 done
3627 done
3629 esac
3631 done
3632 IFS=$as_save_IFS
3634 rm -rf conftest.one conftest.two conftest.dir
3637 if test "${ac_cv_path_install+set}" = set; then
3638 INSTALL=$ac_cv_path_install
3639 else
3640 # As a last resort, use the slow shell script. Don't cache a
3641 # value for INSTALL within a source directory, because that will
3642 # break other packages using the cache if that directory is
3643 # removed, or if the value is a relative name.
3644 INSTALL=$ac_install_sh
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3648 $as_echo "$INSTALL" >&6; }
3650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3651 # It thinks the first close brace ends the variable substitution.
3652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3659 # Checks for languages.
3660 ac_ext=c
3661 ac_cpp='$CPP $CPPFLAGS'
3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666 ac_ext=cpp
3667 ac_cpp='$CXXCPP $CPPFLAGS'
3668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3673 # Prepend alternate dependencies paths.
3674 ac_path=$PATH
3675 for X in $ac_with_paths; do
3676 if test -d $X/bin; then
3677 ac_path="$X/bin:$ac_path"
3679 if test -x $X/qmake; then
3680 ac_path="$X:$ac_path"
3682 if test -d $X/lib64; then
3683 ac_libs="-L$X/lib64 $ac_libs"
3685 if test -d $X/lib; then
3686 ac_libs="-L$X/lib $ac_libs"
3688 done
3698 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3699 if test -n "$ac_tool_prefix"; then
3700 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3701 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3705 $as_echo_n "(cached) " >&6
3706 else
3707 case $PKG_CONFIG in
3708 [\\/]* | ?:[\\/]*)
3709 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3728 esac
3730 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3731 if test -n "$PKG_CONFIG"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3733 $as_echo "$PKG_CONFIG" >&6; }
3734 else
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3741 if test -z "$ac_cv_path_PKG_CONFIG"; then
3742 ac_pt_PKG_CONFIG=$PKG_CONFIG
3743 # Extract the first word of "pkg-config", so it can be a program name with args.
3744 set dummy pkg-config; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 case $ac_pt_PKG_CONFIG in
3751 [\\/]* | ?:[\\/]*)
3752 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3758 IFS=$as_save_IFS
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 break 2
3766 done
3767 done
3768 IFS=$as_save_IFS
3771 esac
3773 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3774 if test -n "$ac_pt_PKG_CONFIG"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3776 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3777 else
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3782 if test "x$ac_pt_PKG_CONFIG" = x; then
3783 PKG_CONFIG=""
3784 else
3785 case $cross_compiling:$ac_tool_warned in
3786 yes:)
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3789 ac_tool_warned=yes ;;
3790 esac
3791 PKG_CONFIG=$ac_pt_PKG_CONFIG
3793 else
3794 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3798 if test -n "$PKG_CONFIG"; then
3799 _pkg_min_version=0.9.0
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3801 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3802 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3804 $as_echo "yes" >&6; }
3805 else
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3808 PKG_CONFIG=""
3812 # Check for JACK and ALSA libraries.
3814 pkg_failed=no
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REQUIREDPKGS" >&5
3816 $as_echo_n "checking for REQUIREDPKGS... " >&6; }
3818 if test -n "$REQUIREDPKGS_CFLAGS"; then
3819 pkg_cv_REQUIREDPKGS_CFLAGS="$REQUIREDPKGS_CFLAGS"
3820 elif test -n "$PKG_CONFIG"; then
3821 if test -n "$PKG_CONFIG" && \
3822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.0 alsa >= 1.0.0\""; } >&5
3823 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.0 alsa >= 1.0.0") 2>&5
3824 ac_status=$?
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }; then
3827 pkg_cv_REQUIREDPKGS_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.0 alsa >= 1.0.0" 2>/dev/null`
3828 test "x$?" != "x0" && pkg_failed=yes
3829 else
3830 pkg_failed=yes
3832 else
3833 pkg_failed=untried
3835 if test -n "$REQUIREDPKGS_LIBS"; then
3836 pkg_cv_REQUIREDPKGS_LIBS="$REQUIREDPKGS_LIBS"
3837 elif test -n "$PKG_CONFIG"; then
3838 if test -n "$PKG_CONFIG" && \
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.0 alsa >= 1.0.0\""; } >&5
3840 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.0 alsa >= 1.0.0") 2>&5
3841 ac_status=$?
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }; then
3844 pkg_cv_REQUIREDPKGS_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.0 alsa >= 1.0.0" 2>/dev/null`
3845 test "x$?" != "x0" && pkg_failed=yes
3846 else
3847 pkg_failed=yes
3849 else
3850 pkg_failed=untried
3855 if test $pkg_failed = yes; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3859 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3860 _pkg_short_errors_supported=yes
3861 else
3862 _pkg_short_errors_supported=no
3864 if test $_pkg_short_errors_supported = yes; then
3865 REQUIREDPKGS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack >= 0.99.0 alsa >= 1.0.0" 2>&1`
3866 else
3867 REQUIREDPKGS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack >= 0.99.0 alsa >= 1.0.0" 2>&1`
3869 # Put the nasty error message in config.log where it belongs
3870 echo "$REQUIREDPKGS_PKG_ERRORS" >&5
3872 as_fn_error $? "Package requirements (jack >= 0.99.0 alsa >= 1.0.0) were not met:
3874 $REQUIREDPKGS_PKG_ERRORS
3876 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3877 installed software in a non-standard prefix.
3879 Alternatively, you may set the environment variables REQUIREDPKGS_CFLAGS
3880 and REQUIREDPKGS_LIBS to avoid the need to call pkg-config.
3881 See the pkg-config man page for more details." "$LINENO" 5
3882 elif test $pkg_failed = untried; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3888 is in your PATH or set the PKG_CONFIG environment variable to the full
3889 path to pkg-config.
3891 Alternatively, you may set the environment variables REQUIREDPKGS_CFLAGS
3892 and REQUIREDPKGS_LIBS to avoid the need to call pkg-config.
3893 See the pkg-config man page for more details.
3895 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3896 See \`config.log' for more details" "$LINENO" 5; }
3897 else
3898 REQUIREDPKGS_CFLAGS=$pkg_cv_REQUIREDPKGS_CFLAGS
3899 REQUIREDPKGS_LIBS=$pkg_cv_REQUIREDPKGS_LIBS
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3901 $as_echo "yes" >&6; }
3904 ac_cflags="$CFLAGS $REQUIREDPKGS_CFLAGS"
3905 ac_libs="$ac_libs $REQUIREDPKGS_LIBS"
3906 ac_pkgs="alsa jack"
3908 # Check for proper Qt version.
3909 if test "x$ac_build_qjackmmc" = "xyes"; then
3911 pkg_failed=no
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_UP_TO_DATE" >&5
3913 $as_echo_n "checking for QT_UP_TO_DATE... " >&6; }
3915 if test -n "$QT_UP_TO_DATE_CFLAGS"; then
3916 pkg_cv_QT_UP_TO_DATE_CFLAGS="$QT_UP_TO_DATE_CFLAGS"
3917 elif test -n "$PKG_CONFIG"; then
3918 if test -n "$PKG_CONFIG" && \
3919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.4\""; } >&5
3920 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.4") 2>&5
3921 ac_status=$?
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; then
3924 pkg_cv_QT_UP_TO_DATE_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.4" 2>/dev/null`
3925 test "x$?" != "x0" && pkg_failed=yes
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 test "x$?" != "x0" && pkg_failed=yes
3943 else
3944 pkg_failed=yes
3946 else
3947 pkg_failed=untried
3952 if test $pkg_failed = yes; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3956 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3957 _pkg_short_errors_supported=yes
3958 else
3959 _pkg_short_errors_supported=no
3961 if test $_pkg_short_errors_supported = yes; then
3962 QT_UP_TO_DATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "QtCore >= 4.4" 2>&1`
3963 else
3964 QT_UP_TO_DATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "QtCore >= 4.4" 2>&1`
3966 # Put the nasty error message in config.log where it belongs
3967 echo "$QT_UP_TO_DATE_PKG_ERRORS" >&5
3969 ac_build_qjackmmc="no"
3970 elif test $pkg_failed = untried; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3973 ac_build_qjackmmc="no"
3974 else
3975 QT_UP_TO_DATE_CFLAGS=$pkg_cv_QT_UP_TO_DATE_CFLAGS
3976 QT_UP_TO_DATE_LIBS=$pkg_cv_QT_UP_TO_DATE_LIBS
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3978 $as_echo "yes" >&6; }
3982 # A common error message:
3983 ac_errmsg="not found in current PATH. Maybe QT development environment isn't available (qt-devel). QJackMMC cannot be built."
3985 # Check for Qt qmake utility.
3986 # Extract the first word of "qmake", so it can be a program name with args.
3987 set dummy qmake; ac_word=$2
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if ${ac_cv_path_ac_qmake+:} false; then :
3991 $as_echo_n "(cached) " >&6
3992 else
3993 case $ac_qmake in
3994 [\\/]* | ?:[\\/]*)
3995 ac_cv_path_ac_qmake="$ac_qmake" # Let the user override the test with a path.
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $ac_path
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4005 ac_cv_path_ac_qmake="$as_dir/$ac_word$ac_exec_ext"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 break 2
4009 done
4010 done
4011 IFS=$as_save_IFS
4013 test -z "$ac_cv_path_ac_qmake" && ac_cv_path_ac_qmake="no"
4015 esac
4017 ac_qmake=$ac_cv_path_ac_qmake
4018 if test -n "$ac_qmake"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_qmake" >&5
4020 $as_echo "$ac_qmake" >&6; }
4021 else
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4027 if test "x$ac_qmake" = "xno"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** qmake $ac_errmsg" >&5
4029 $as_echo "$as_me: WARNING: *** qmake $ac_errmsg" >&2;}
4030 ac_build_qjackmmc="no"
4034 # Check for Qt moc utility.
4035 # Extract the first word of "moc", so it can be a program name with args.
4036 set dummy moc; ac_word=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if ${ac_cv_path_ac_moc+:} false; then :
4040 $as_echo_n "(cached) " >&6
4041 else
4042 case $ac_moc in
4043 [\\/]* | ?:[\\/]*)
4044 ac_cv_path_ac_moc="$ac_moc" # Let the user override the test with a path.
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 for as_dir in $ac_path
4050 IFS=$as_save_IFS
4051 test -z "$as_dir" && as_dir=.
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4054 ac_cv_path_ac_moc="$as_dir/$ac_word$ac_exec_ext"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 break 2
4058 done
4059 done
4060 IFS=$as_save_IFS
4062 test -z "$ac_cv_path_ac_moc" && ac_cv_path_ac_moc="no"
4064 esac
4066 ac_moc=$ac_cv_path_ac_moc
4067 if test -n "$ac_moc"; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_moc" >&5
4069 $as_echo "$ac_moc" >&6; }
4070 else
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072 $as_echo "no" >&6; }
4076 if test "x$ac_moc" = "xno"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** moc $ac_errmsg" >&5
4078 $as_echo "$as_me: WARNING: *** moc $ac_errmsg" >&2;}
4079 ac_build_qjackmmc="no"
4083 # Check for Qt uic utility.
4084 # Extract the first word of "uic", so it can be a program name with args.
4085 set dummy uic; ac_word=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if ${ac_cv_path_ac_uic+:} false; then :
4089 $as_echo_n "(cached) " >&6
4090 else
4091 case $ac_uic in
4092 [\\/]* | ?:[\\/]*)
4093 ac_cv_path_ac_uic="$ac_uic" # Let the user override the test with a path.
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 for as_dir in $ac_path
4099 IFS=$as_save_IFS
4100 test -z "$as_dir" && as_dir=.
4101 for ac_exec_ext in '' $ac_executable_extensions; do
4102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4103 ac_cv_path_ac_uic="$as_dir/$ac_word$ac_exec_ext"
4104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 break 2
4107 done
4108 done
4109 IFS=$as_save_IFS
4111 test -z "$ac_cv_path_ac_uic" && ac_cv_path_ac_uic="no"
4113 esac
4115 ac_uic=$ac_cv_path_ac_uic
4116 if test -n "$ac_uic"; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uic" >&5
4118 $as_echo "$ac_uic" >&6; }
4119 else
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121 $as_echo "no" >&6; }
4125 if test "x$ac_uic" = "xno"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** uic $ac_errmsg" >&5
4127 $as_echo "$as_me: WARNING: *** uic $ac_errmsg" >&2;}
4128 ac_build_qjackmmc="no"
4131 fi # ac_build_qjackmmc
4133 if test "x$ac_build_qjackmmc" = "xyes"; then
4135 $as_echo "#define ENABLE_QJACKMMC 1" >>confdefs.h
4137 ac_libs="$ac_libs -lX11"
4138 else
4140 $as_echo "#define ENABLE_QJACKMMC 0" >>confdefs.h
4144 ac_default_deps=""
4145 ac_default_install=""
4146 ac_default_uninstall=""
4148 if test "x$ac_build_jackctlmmc" = "xyes"; then
4149 ac_default_deps="jackctlmmc"
4150 ac_default_install="cli_install"
4151 ac_default_uninstall="cli_uninstall"
4154 if test "x$ac_build_qjackmmc" = "xyes"; then
4155 ac_default_deps="$ac_default_deps qjackmmc"
4156 ac_default_install="$ac_default_install gui_install"
4157 ac_default_uninstall="$ac_default_uninstall gui_uninstall"
4160 if test "x$ac_default_deps" = "x"; then
4161 as_fn_error $? "both jackctlmmc and qjackmmc have been disabled, either voluntarily or by missing dependencies, bailing out." "$LINENO" 5
4169 # Check for JACK headers.
4171 ac_ext=cpp
4172 ac_cpp='$CXXCPP $CPPFLAGS'
4173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4177 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4178 if test -z "$CXXCPP"; then
4179 if ${ac_cv_prog_CXXCPP+:} false; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 # Double quotes because CXXCPP needs to be expanded
4183 for CXXCPP in "$CXX -E" "/lib/cpp"
4185 ac_preproc_ok=false
4186 for ac_cxx_preproc_warn_flag in '' yes
4188 # Use a header file that comes with gcc, so configuring glibc
4189 # with a fresh cross-compiler works.
4190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4191 # <limits.h> exists even on freestanding compilers.
4192 # On the NeXT, cc -E runs the code through the compiler's parser,
4193 # not just through cpp. "Syntax error" is here to catch this case.
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196 #ifdef __STDC__
4197 # include <limits.h>
4198 #else
4199 # include <assert.h>
4200 #endif
4201 Syntax error
4202 _ACEOF
4203 if ac_fn_cxx_try_cpp "$LINENO"; then :
4205 else
4206 # Broken: fails on valid input.
4207 continue
4209 rm -f conftest.err conftest.i conftest.$ac_ext
4211 # OK, works on sane cases. Now check whether nonexistent headers
4212 # can be detected and how.
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215 #include <ac_nonexistent.h>
4216 _ACEOF
4217 if ac_fn_cxx_try_cpp "$LINENO"; then :
4218 # Broken: success on invalid input.
4219 continue
4220 else
4221 # Passes both tests.
4222 ac_preproc_ok=:
4223 break
4225 rm -f conftest.err conftest.i conftest.$ac_ext
4227 done
4228 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4229 rm -f conftest.i conftest.err conftest.$ac_ext
4230 if $ac_preproc_ok; then :
4231 break
4234 done
4235 ac_cv_prog_CXXCPP=$CXXCPP
4238 CXXCPP=$ac_cv_prog_CXXCPP
4239 else
4240 ac_cv_prog_CXXCPP=$CXXCPP
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4243 $as_echo "$CXXCPP" >&6; }
4244 ac_preproc_ok=false
4245 for ac_cxx_preproc_warn_flag in '' yes
4247 # Use a header file that comes with gcc, so configuring glibc
4248 # with a fresh cross-compiler works.
4249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4250 # <limits.h> exists even on freestanding compilers.
4251 # On the NeXT, cc -E runs the code through the compiler's parser,
4252 # not just through cpp. "Syntax error" is here to catch this case.
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4255 #ifdef __STDC__
4256 # include <limits.h>
4257 #else
4258 # include <assert.h>
4259 #endif
4260 Syntax error
4261 _ACEOF
4262 if ac_fn_cxx_try_cpp "$LINENO"; then :
4264 else
4265 # Broken: fails on valid input.
4266 continue
4268 rm -f conftest.err conftest.i conftest.$ac_ext
4270 # OK, works on sane cases. Now check whether nonexistent headers
4271 # can be detected and how.
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274 #include <ac_nonexistent.h>
4275 _ACEOF
4276 if ac_fn_cxx_try_cpp "$LINENO"; then :
4277 # Broken: success on invalid input.
4278 continue
4279 else
4280 # Passes both tests.
4281 ac_preproc_ok=:
4282 break
4284 rm -f conftest.err conftest.i conftest.$ac_ext
4286 done
4287 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4288 rm -f conftest.i conftest.err conftest.$ac_ext
4289 if $ac_preproc_ok; then :
4291 else
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4295 See \`config.log' for more details" "$LINENO" 5; }
4298 ac_ext=cpp
4299 ac_cpp='$CXXCPP $CPPFLAGS'
4300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4306 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4307 if ${ac_cv_path_GREP+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 if test -z "$GREP"; then
4311 ac_path_GREP_found=false
4312 # Loop through the user's path and test for each of PROGNAME-LIST
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4316 IFS=$as_save_IFS
4317 test -z "$as_dir" && as_dir=.
4318 for ac_prog in grep ggrep; do
4319 for ac_exec_ext in '' $ac_executable_extensions; do
4320 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4321 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4322 # Check for GNU ac_path_GREP and select it if it is found.
4323 # Check for GNU $ac_path_GREP
4324 case `"$ac_path_GREP" --version 2>&1` in
4325 *GNU*)
4326 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4328 ac_count=0
4329 $as_echo_n 0123456789 >"conftest.in"
4330 while :
4332 cat "conftest.in" "conftest.in" >"conftest.tmp"
4333 mv "conftest.tmp" "conftest.in"
4334 cp "conftest.in" "conftest.nl"
4335 $as_echo 'GREP' >> "conftest.nl"
4336 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4337 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4338 as_fn_arith $ac_count + 1 && ac_count=$as_val
4339 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4340 # Best one so far, save it but keep looking for a better one
4341 ac_cv_path_GREP="$ac_path_GREP"
4342 ac_path_GREP_max=$ac_count
4344 # 10*(2^10) chars as input seems more than enough
4345 test $ac_count -gt 10 && break
4346 done
4347 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4348 esac
4350 $ac_path_GREP_found && break 3
4351 done
4352 done
4353 done
4354 IFS=$as_save_IFS
4355 if test -z "$ac_cv_path_GREP"; then
4356 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4358 else
4359 ac_cv_path_GREP=$GREP
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4364 $as_echo "$ac_cv_path_GREP" >&6; }
4365 GREP="$ac_cv_path_GREP"
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4369 $as_echo_n "checking for egrep... " >&6; }
4370 if ${ac_cv_path_EGREP+:} false; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4374 then ac_cv_path_EGREP="$GREP -E"
4375 else
4376 if test -z "$EGREP"; then
4377 ac_path_EGREP_found=false
4378 # Loop through the user's path and test for each of PROGNAME-LIST
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_prog in egrep; do
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4387 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4388 # Check for GNU ac_path_EGREP and select it if it is found.
4389 # Check for GNU $ac_path_EGREP
4390 case `"$ac_path_EGREP" --version 2>&1` in
4391 *GNU*)
4392 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4394 ac_count=0
4395 $as_echo_n 0123456789 >"conftest.in"
4396 while :
4398 cat "conftest.in" "conftest.in" >"conftest.tmp"
4399 mv "conftest.tmp" "conftest.in"
4400 cp "conftest.in" "conftest.nl"
4401 $as_echo 'EGREP' >> "conftest.nl"
4402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4403 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4404 as_fn_arith $ac_count + 1 && ac_count=$as_val
4405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4406 # Best one so far, save it but keep looking for a better one
4407 ac_cv_path_EGREP="$ac_path_EGREP"
4408 ac_path_EGREP_max=$ac_count
4410 # 10*(2^10) chars as input seems more than enough
4411 test $ac_count -gt 10 && break
4412 done
4413 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4414 esac
4416 $ac_path_EGREP_found && break 3
4417 done
4418 done
4419 done
4420 IFS=$as_save_IFS
4421 if test -z "$ac_cv_path_EGREP"; then
4422 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4424 else
4425 ac_cv_path_EGREP=$EGREP
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4431 $as_echo "$ac_cv_path_EGREP" >&6; }
4432 EGREP="$ac_cv_path_EGREP"
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4436 $as_echo_n "checking for ANSI C header files... " >&6; }
4437 if ${ac_cv_header_stdc+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4442 #include <stdlib.h>
4443 #include <stdarg.h>
4444 #include <string.h>
4445 #include <float.h>
4448 main ()
4452 return 0;
4454 _ACEOF
4455 if ac_fn_cxx_try_compile "$LINENO"; then :
4456 ac_cv_header_stdc=yes
4457 else
4458 ac_cv_header_stdc=no
4460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4462 if test $ac_cv_header_stdc = yes; then
4463 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4466 #include <string.h>
4468 _ACEOF
4469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4470 $EGREP "memchr" >/dev/null 2>&1; then :
4472 else
4473 ac_cv_header_stdc=no
4475 rm -f conftest*
4479 if test $ac_cv_header_stdc = yes; then
4480 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483 #include <stdlib.h>
4485 _ACEOF
4486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4487 $EGREP "free" >/dev/null 2>&1; then :
4489 else
4490 ac_cv_header_stdc=no
4492 rm -f conftest*
4496 if test $ac_cv_header_stdc = yes; then
4497 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4498 if test "$cross_compiling" = yes; then :
4500 else
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4503 #include <ctype.h>
4504 #include <stdlib.h>
4505 #if ((' ' & 0x0FF) == 0x020)
4506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4508 #else
4509 # define ISLOWER(c) \
4510 (('a' <= (c) && (c) <= 'i') \
4511 || ('j' <= (c) && (c) <= 'r') \
4512 || ('s' <= (c) && (c) <= 'z'))
4513 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4514 #endif
4516 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4518 main ()
4520 int i;
4521 for (i = 0; i < 256; i++)
4522 if (XOR (islower (i), ISLOWER (i))
4523 || toupper (i) != TOUPPER (i))
4524 return 2;
4525 return 0;
4527 _ACEOF
4528 if ac_fn_cxx_try_run "$LINENO"; then :
4530 else
4531 ac_cv_header_stdc=no
4533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4534 conftest.$ac_objext conftest.beam conftest.$ac_ext
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4540 $as_echo "$ac_cv_header_stdc" >&6; }
4541 if test $ac_cv_header_stdc = yes; then
4543 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4547 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4548 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4549 inttypes.h stdint.h unistd.h
4550 do :
4551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4552 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4555 cat >>confdefs.h <<_ACEOF
4556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4557 _ACEOF
4561 done
4564 ac_fn_cxx_check_header_mongrel "$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
4565 if test "x$ac_cv_header_jack_jack_h" = xyes; then :
4566 ac_jack_h="yes"
4567 else
4568 ac_jack_h="no"
4572 if test "x$ac_jack_h" = "xno"; then
4573 as_fn_error $? "JACK headers not found." "$LINENO" 5
4576 # Check for ALSA headers and ultimately
4577 # for ALSA/MIDI sequencer support.
4578 if test "x$ac_alsa_seq" = "xyes"; then
4579 ac_fn_cxx_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
4580 if test "x$ac_cv_header_alsa_asoundlib_h" = xyes; then :
4581 ac_alsa_h="yes"
4582 else
4583 ac_alsa_h="no"
4587 if test "x$ac_alsa_h" = "xyes"; then
4589 $as_echo "#define CONFIG_ALSA_SEQ 1" >>confdefs.h
4591 else
4592 as_fn_error $? "*** ALSA headers not found." "$LINENO" 5
4596 # check if the user wants LASH support
4597 # Check whether --enable-lash was given.
4598 if test "${enable_lash+set}" = set; then :
4599 enableval=$enable_lash; ac_lashsupport="$enableval"
4600 else
4601 ac_lashsupport="yes"
4605 # check if the user wants JACK midi support
4606 # Check whether --enable-jackmidi was given.
4607 if test "${enable_jackmidi+set}" = set; then :
4608 enableval=$enable_jackmidi; ac_jack_midi="$enableval"
4609 else
4610 ac_jack_midi="yes"
4614 # Check for JACK MIDI headers availability.
4615 if test "x$ac_jack_midi" = "xyes"; then
4616 ac_fn_cxx_check_header_mongrel "$LINENO" "jack/midiport.h" "ac_cv_header_jack_midiport_h" "$ac_includes_default"
4617 if test "x$ac_cv_header_jack_midiport_h" = xyes; then :
4618 ac_jack_midi="yes"
4619 else
4620 ac_jack_midi="no"
4624 if test "x$ac_jack_midi" = "xyes"; then
4626 $as_echo "#define JACK_MIDI_SUPPORT 1" >>confdefs.h
4628 else
4630 $as_echo "#define JACK_MIDI_SUPPORT 0" >>confdefs.h
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack/midiport.h file not found." >&5
4633 $as_echo "$as_me: WARNING: *** jack/midiport.h file not found." >&2;}
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JACK 0.103.0 or later may be required." >&5
4635 $as_echo "$as_me: WARNING: *** JACK 0.103.0 or later may be required." >&2;}
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JACK MIDI support will be disabled." >&5
4637 $as_echo "$as_me: WARNING: *** JACK MIDI support will be disabled." >&2;}
4639 else
4641 $as_echo "#define JACK_MIDI_SUPPORT 0" >>confdefs.h
4646 pkg_failed=no
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LASH" >&5
4648 $as_echo_n "checking for LASH... " >&6; }
4650 if test -n "$LASH_CFLAGS"; then
4651 pkg_cv_LASH_CFLAGS="$LASH_CFLAGS"
4652 elif test -n "$PKG_CONFIG"; then
4653 if test -n "$PKG_CONFIG" && \
4654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.5.0\""; } >&5
4655 ($PKG_CONFIG --exists --print-errors "lash-1.0 >= 0.5.0") 2>&5
4656 ac_status=$?
4657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4658 test $ac_status = 0; }; then
4659 pkg_cv_LASH_CFLAGS=`$PKG_CONFIG --cflags "lash-1.0 >= 0.5.0" 2>/dev/null`
4660 test "x$?" != "x0" && pkg_failed=yes
4661 else
4662 pkg_failed=yes
4664 else
4665 pkg_failed=untried
4667 if test -n "$LASH_LIBS"; then
4668 pkg_cv_LASH_LIBS="$LASH_LIBS"
4669 elif test -n "$PKG_CONFIG"; then
4670 if test -n "$PKG_CONFIG" && \
4671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.5.0\""; } >&5
4672 ($PKG_CONFIG --exists --print-errors "lash-1.0 >= 0.5.0") 2>&5
4673 ac_status=$?
4674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4675 test $ac_status = 0; }; then
4676 pkg_cv_LASH_LIBS=`$PKG_CONFIG --libs "lash-1.0 >= 0.5.0" 2>/dev/null`
4677 test "x$?" != "x0" && pkg_failed=yes
4678 else
4679 pkg_failed=yes
4681 else
4682 pkg_failed=untried
4687 if test $pkg_failed = yes; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4692 _pkg_short_errors_supported=yes
4693 else
4694 _pkg_short_errors_supported=no
4696 if test $_pkg_short_errors_supported = yes; then
4697 LASH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lash-1.0 >= 0.5.0" 2>&1`
4698 else
4699 LASH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lash-1.0 >= 0.5.0" 2>&1`
4701 # Put the nasty error message in config.log where it belongs
4702 echo "$LASH_PKG_ERRORS" >&5
4704 have_lash="no"
4705 elif test $pkg_failed = untried; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4708 have_lash="no"
4709 else
4710 LASH_CFLAGS=$pkg_cv_LASH_CFLAGS
4711 LASH_LIBS=$pkg_cv_LASH_LIBS
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4713 $as_echo "yes" >&6; }
4714 have_lash="yes"
4716 if test "x$ac_lashsupport" = "xyes"; then
4717 if test "$have_lash" = "yes"; then
4719 $as_echo "#define LASH_SUPPORT 1" >>confdefs.h
4721 ac_cflags="$ac_cflags $LASH_CFLAGS"
4722 ac_libs="$ac_libs $LASH_LIBS"
4723 ac_pkgs="$ac_pkgs lash-1.0"
4724 else
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LASH not found, session support will not be built." >&5
4726 $as_echo "$as_me: WARNING: LASH not found, session support will not be built." >&2;}
4728 $as_echo "#define LASH_SUPPORT 0" >>confdefs.h
4731 else
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LASH intentionally disabled." >&5
4733 $as_echo "$as_me: WARNING: LASH intentionally disabled." >&2;}
4735 $as_echo "#define LASH_SUPPORT 0" >>confdefs.h
4739 # export makefile variables
4744 # Checks for library functions.
4745 for ac_func in system
4746 do :
4747 ac_fn_cxx_check_func "$LINENO" "system" "ac_cv_func_system"
4748 if test "x$ac_cv_func_system" = xyes; then :
4749 cat >>confdefs.h <<_ACEOF
4750 #define HAVE_SYSTEM 1
4751 _ACEOF
4754 done
4757 # Checks for header files.
4758 for ac_header in stdlib.h unistd.h
4759 do :
4760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4761 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4763 cat >>confdefs.h <<_ACEOF
4764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4765 _ACEOF
4769 done
4772 # Checks for typedefs, structures, and compiler characteristics.
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4774 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4775 if ${ac_cv_header_stdbool_h+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4781 #include <stdbool.h>
4782 #ifndef bool
4783 "error: bool is not defined"
4784 #endif
4785 #ifndef false
4786 "error: false is not defined"
4787 #endif
4788 #if false
4789 "error: false is not 0"
4790 #endif
4791 #ifndef true
4792 "error: true is not defined"
4793 #endif
4794 #if true != 1
4795 "error: true is not 1"
4796 #endif
4797 #ifndef __bool_true_false_are_defined
4798 "error: __bool_true_false_are_defined is not defined"
4799 #endif
4801 struct s { _Bool s: 1; _Bool t; } s;
4803 char a[true == 1 ? 1 : -1];
4804 char b[false == 0 ? 1 : -1];
4805 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4806 char d[(bool) 0.5 == true ? 1 : -1];
4807 /* See body of main program for 'e'. */
4808 char f[(_Bool) 0.0 == false ? 1 : -1];
4809 char g[true];
4810 char h[sizeof (_Bool)];
4811 char i[sizeof s.t];
4812 enum { j = false, k = true, l = false * true, m = true * 256 };
4813 /* The following fails for
4814 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4815 _Bool n[m];
4816 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4817 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4818 /* Catch a bug in an HP-UX C compiler. See
4819 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4820 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4822 _Bool q = true;
4823 _Bool *pq = &q;
4826 main ()
4829 bool e = &s;
4830 *pq |= q;
4831 *pq |= ! q;
4832 /* Refer to every declared value, to avoid compiler optimizations. */
4833 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4834 + !m + !n + !o + !p + !q + !pq);
4837 return 0;
4839 _ACEOF
4840 if ac_fn_cxx_try_compile "$LINENO"; then :
4841 ac_cv_header_stdbool_h=yes
4842 else
4843 ac_cv_header_stdbool_h=no
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4848 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4849 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4850 if test "x$ac_cv_type__Bool" = xyes; then :
4852 cat >>confdefs.h <<_ACEOF
4853 #define HAVE__BOOL 1
4854 _ACEOF
4859 if test $ac_cv_header_stdbool_h = yes; then
4861 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4865 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4866 if test "x$ac_cv_type_size_t" = xyes; then :
4868 else
4870 cat >>confdefs.h <<_ACEOF
4871 #define size_t unsigned int
4872 _ACEOF
4876 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
4877 case $ac_cv_c_uint32_t in #(
4878 no|yes) ;; #(
4881 $as_echo "#define _UINT32_T 1" >>confdefs.h
4884 cat >>confdefs.h <<_ACEOF
4885 #define uint32_t $ac_cv_c_uint32_t
4886 _ACEOF
4888 esac
4890 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
4891 case $ac_cv_c_uint64_t in #(
4892 no|yes) ;; #(
4895 $as_echo "#define _UINT64_T 1" >>confdefs.h
4898 cat >>confdefs.h <<_ACEOF
4899 #define uint64_t $ac_cv_c_uint64_t
4900 _ACEOF
4902 esac
4904 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
4905 case $ac_cv_c_uint8_t in #(
4906 no|yes) ;; #(
4909 $as_echo "#define _UINT8_T 1" >>confdefs.h
4912 cat >>confdefs.h <<_ACEOF
4913 #define uint8_t $ac_cv_c_uint8_t
4914 _ACEOF
4916 esac
4919 # Checks for library functions.
4920 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4921 # for constant arguments. Useless!
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4923 $as_echo_n "checking for working alloca.h... " >&6; }
4924 if ${ac_cv_working_alloca_h+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4929 #include <alloca.h>
4931 main ()
4933 char *p = (char *) alloca (2 * sizeof (int));
4934 if (p) return 0;
4936 return 0;
4938 _ACEOF
4939 if ac_fn_cxx_try_link "$LINENO"; then :
4940 ac_cv_working_alloca_h=yes
4941 else
4942 ac_cv_working_alloca_h=no
4944 rm -f core conftest.err conftest.$ac_objext \
4945 conftest$ac_exeext conftest.$ac_ext
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4948 $as_echo "$ac_cv_working_alloca_h" >&6; }
4949 if test $ac_cv_working_alloca_h = yes; then
4951 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4956 $as_echo_n "checking for alloca... " >&6; }
4957 if ${ac_cv_func_alloca_works+:} false; then :
4958 $as_echo_n "(cached) " >&6
4959 else
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4962 #ifdef __GNUC__
4963 # define alloca __builtin_alloca
4964 #else
4965 # ifdef _MSC_VER
4966 # include <malloc.h>
4967 # define alloca _alloca
4968 # else
4969 # ifdef HAVE_ALLOCA_H
4970 # include <alloca.h>
4971 # else
4972 # ifdef _AIX
4973 #pragma alloca
4974 # else
4975 # ifndef alloca /* predefined by HP cc +Olibcalls */
4976 void *alloca (size_t);
4977 # endif
4978 # endif
4979 # endif
4980 # endif
4981 #endif
4984 main ()
4986 char *p = (char *) alloca (1);
4987 if (p) return 0;
4989 return 0;
4991 _ACEOF
4992 if ac_fn_cxx_try_link "$LINENO"; then :
4993 ac_cv_func_alloca_works=yes
4994 else
4995 ac_cv_func_alloca_works=no
4997 rm -f core conftest.err conftest.$ac_objext \
4998 conftest$ac_exeext conftest.$ac_ext
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5001 $as_echo "$ac_cv_func_alloca_works" >&6; }
5003 if test $ac_cv_func_alloca_works = yes; then
5005 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5007 else
5008 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5009 # that cause trouble. Some versions do not even contain alloca or
5010 # contain a buggy version. If you still want to use their alloca,
5011 # use ar to extract alloca.o from them instead of compiling alloca.c.
5013 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5015 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5019 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5020 if ${ac_cv_os_cray+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #if defined CRAY && ! defined CRAY2
5026 webecray
5027 #else
5028 wenotbecray
5029 #endif
5031 _ACEOF
5032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5033 $EGREP "webecray" >/dev/null 2>&1; then :
5034 ac_cv_os_cray=yes
5035 else
5036 ac_cv_os_cray=no
5038 rm -f conftest*
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5042 $as_echo "$ac_cv_os_cray" >&6; }
5043 if test $ac_cv_os_cray = yes; then
5044 for ac_func in _getb67 GETB67 getb67; do
5045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5046 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
5047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5049 cat >>confdefs.h <<_ACEOF
5050 #define CRAY_STACKSEG_END $ac_func
5051 _ACEOF
5053 break
5056 done
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5060 $as_echo_n "checking stack direction for C alloca... " >&6; }
5061 if ${ac_cv_c_stack_direction+:} false; then :
5062 $as_echo_n "(cached) " >&6
5063 else
5064 if test "$cross_compiling" = yes; then :
5065 ac_cv_c_stack_direction=0
5066 else
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5069 $ac_includes_default
5071 find_stack_direction ()
5073 static char *addr = 0;
5074 auto char dummy;
5075 if (addr == 0)
5077 addr = &dummy;
5078 return find_stack_direction ();
5080 else
5081 return (&dummy > addr) ? 1 : -1;
5085 main ()
5087 return find_stack_direction () < 0;
5089 _ACEOF
5090 if ac_fn_cxx_try_run "$LINENO"; then :
5091 ac_cv_c_stack_direction=1
5092 else
5093 ac_cv_c_stack_direction=-1
5095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5096 conftest.$ac_objext conftest.beam conftest.$ac_ext
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5101 $as_echo "$ac_cv_c_stack_direction" >&6; }
5102 cat >>confdefs.h <<_ACEOF
5103 #define STACK_DIRECTION $ac_cv_c_stack_direction
5104 _ACEOF
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
5110 $as_echo_n "checking for error_at_line... " >&6; }
5111 if ${ac_cv_lib_error_at_line+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <error.h>
5118 main ()
5120 error_at_line (0, 0, "", 0, "an error occurred");
5122 return 0;
5124 _ACEOF
5125 if ac_fn_cxx_try_link "$LINENO"; then :
5126 ac_cv_lib_error_at_line=yes
5127 else
5128 ac_cv_lib_error_at_line=no
5130 rm -f core conftest.err conftest.$ac_objext \
5131 conftest$ac_exeext conftest.$ac_ext
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
5134 $as_echo "$ac_cv_lib_error_at_line" >&6; }
5135 if test $ac_cv_lib_error_at_line = no; then
5136 case " $LIBOBJS " in
5137 *" error.$ac_objext "* ) ;;
5138 *) LIBOBJS="$LIBOBJS error.$ac_objext"
5140 esac
5144 for ac_func in strtol
5145 do :
5146 ac_fn_cxx_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
5147 if test "x$ac_cv_func_strtol" = xyes; then :
5148 cat >>confdefs.h <<_ACEOF
5149 #define HAVE_STRTOL 1
5150 _ACEOF
5153 done
5156 ac_config_files="$ac_config_files GNUmakefile qt/qjackmmc.desktop qt/src/src.pro"
5158 cat >confcache <<\_ACEOF
5159 # This file is a shell script that caches the results of configure
5160 # tests run on this system so they can be shared between configure
5161 # scripts and configure runs, see configure's option --config-cache.
5162 # It is not useful on other systems. If it contains results you don't
5163 # want to keep, you may remove or edit it.
5165 # config.status only pays attention to the cache file if you give it
5166 # the --recheck option to rerun configure.
5168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5170 # following values.
5172 _ACEOF
5174 # The following way of writing the cache mishandles newlines in values,
5175 # but we know of no workaround that is simple, portable, and efficient.
5176 # So, we kill variables containing newlines.
5177 # Ultrix sh set writes to stderr and can't be redirected directly,
5178 # and sets the high bit in the cache file unless we assign to the vars.
5180 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5181 eval ac_val=\$$ac_var
5182 case $ac_val in #(
5183 *${as_nl}*)
5184 case $ac_var in #(
5185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5187 esac
5188 case $ac_var in #(
5189 _ | IFS | as_nl) ;; #(
5190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5191 *) { eval $ac_var=; unset $ac_var;} ;;
5192 esac ;;
5193 esac
5194 done
5196 (set) 2>&1 |
5197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5198 *${as_nl}ac_space=\ *)
5199 # `set' does not quote correctly, so add quotes: double-quote
5200 # substitution turns \\\\ into \\, and sed turns \\ into \.
5201 sed -n \
5202 "s/'/'\\\\''/g;
5203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5204 ;; #(
5206 # `set' quotes correctly as required by POSIX, so do not add quotes.
5207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5209 esac |
5210 sort
5212 sed '
5213 /^ac_cv_env_/b end
5214 t clear
5215 :clear
5216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5217 t end
5218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5219 :end' >>confcache
5220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5221 if test -w "$cache_file"; then
5222 if test "x$cache_file" != "x/dev/null"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5224 $as_echo "$as_me: updating cache $cache_file" >&6;}
5225 if test ! -f "$cache_file" || test -h "$cache_file"; then
5226 cat confcache >"$cache_file"
5227 else
5228 case $cache_file in #(
5229 */* | ?:*)
5230 mv -f confcache "$cache_file"$$ &&
5231 mv -f "$cache_file"$$ "$cache_file" ;; #(
5233 mv -f confcache "$cache_file" ;;
5234 esac
5237 else
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5239 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5242 rm -f confcache
5244 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5245 # Let make expand exec_prefix.
5246 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5248 DEFS=-DHAVE_CONFIG_H
5250 ac_libobjs=
5251 ac_ltlibobjs=
5253 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5254 # 1. Remove the extension, and $U if already installed.
5255 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5256 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5257 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5258 # will be set to the directory where LIBOBJS objects are built.
5259 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5260 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5261 done
5262 LIBOBJS=$ac_libobjs
5264 LTLIBOBJS=$ac_ltlibobjs
5268 : "${CONFIG_STATUS=./config.status}"
5269 ac_write_fail=0
5270 ac_clean_files_save=$ac_clean_files
5271 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5273 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5274 as_write_fail=0
5275 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5276 #! $SHELL
5277 # Generated by $as_me.
5278 # Run this file to recreate the current configuration.
5279 # Compiler output produced by configure, useful for debugging
5280 # configure, is in config.log if it exists.
5282 debug=false
5283 ac_cs_recheck=false
5284 ac_cs_silent=false
5286 SHELL=\${CONFIG_SHELL-$SHELL}
5287 export SHELL
5288 _ASEOF
5289 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5290 ## -------------------- ##
5291 ## M4sh Initialization. ##
5292 ## -------------------- ##
5294 # Be more Bourne compatible
5295 DUALCASE=1; export DUALCASE # for MKS sh
5296 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5297 emulate sh
5298 NULLCMD=:
5299 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5300 # is contrary to our usage. Disable this feature.
5301 alias -g '${1+"$@"}'='"$@"'
5302 setopt NO_GLOB_SUBST
5303 else
5304 case `(set -o) 2>/dev/null` in #(
5305 *posix*) :
5306 set -o posix ;; #(
5307 *) :
5309 esac
5313 as_nl='
5315 export as_nl
5316 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5317 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5318 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5319 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5320 # Prefer a ksh shell builtin over an external printf program on Solaris,
5321 # but without wasting forks for bash or zsh.
5322 if test -z "$BASH_VERSION$ZSH_VERSION" \
5323 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5324 as_echo='print -r --'
5325 as_echo_n='print -rn --'
5326 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5327 as_echo='printf %s\n'
5328 as_echo_n='printf %s'
5329 else
5330 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5331 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5332 as_echo_n='/usr/ucb/echo -n'
5333 else
5334 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5335 as_echo_n_body='eval
5336 arg=$1;
5337 case $arg in #(
5338 *"$as_nl"*)
5339 expr "X$arg" : "X\\(.*\\)$as_nl";
5340 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5341 esac;
5342 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5344 export as_echo_n_body
5345 as_echo_n='sh -c $as_echo_n_body as_echo'
5347 export as_echo_body
5348 as_echo='sh -c $as_echo_body as_echo'
5351 # The user is always right.
5352 if test "${PATH_SEPARATOR+set}" != set; then
5353 PATH_SEPARATOR=:
5354 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5355 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5356 PATH_SEPARATOR=';'
5361 # IFS
5362 # We need space, tab and new line, in precisely that order. Quoting is
5363 # there to prevent editors from complaining about space-tab.
5364 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5365 # splitting by setting IFS to empty value.)
5366 IFS=" "" $as_nl"
5368 # Find who we are. Look in the path if we contain no directory separator.
5369 as_myself=
5370 case $0 in #((
5371 *[\\/]* ) as_myself=$0 ;;
5372 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5378 done
5379 IFS=$as_save_IFS
5382 esac
5383 # We did not find ourselves, most probably we were run as `sh COMMAND'
5384 # in which case we are not to be found in the path.
5385 if test "x$as_myself" = x; then
5386 as_myself=$0
5388 if test ! -f "$as_myself"; then
5389 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5390 exit 1
5393 # Unset variables that we do not need and which cause bugs (e.g. in
5394 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5395 # suppresses any "Segmentation fault" message there. '((' could
5396 # trigger a bug in pdksh 5.2.14.
5397 for as_var in BASH_ENV ENV MAIL MAILPATH
5398 do eval test x\${$as_var+set} = xset \
5399 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5400 done
5401 PS1='$ '
5402 PS2='> '
5403 PS4='+ '
5405 # NLS nuisances.
5406 LC_ALL=C
5407 export LC_ALL
5408 LANGUAGE=C
5409 export LANGUAGE
5411 # CDPATH.
5412 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5416 # ----------------------------------------
5417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5419 # script with STATUS, using 1 if that was 0.
5420 as_fn_error ()
5422 as_status=$1; test $as_status -eq 0 && as_status=1
5423 if test "$4"; then
5424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5427 $as_echo "$as_me: error: $2" >&2
5428 as_fn_exit $as_status
5429 } # as_fn_error
5432 # as_fn_set_status STATUS
5433 # -----------------------
5434 # Set $? to STATUS, without forking.
5435 as_fn_set_status ()
5437 return $1
5438 } # as_fn_set_status
5440 # as_fn_exit STATUS
5441 # -----------------
5442 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5443 as_fn_exit ()
5445 set +e
5446 as_fn_set_status $1
5447 exit $1
5448 } # as_fn_exit
5450 # as_fn_unset VAR
5451 # ---------------
5452 # Portably unset VAR.
5453 as_fn_unset ()
5455 { eval $1=; unset $1;}
5457 as_unset=as_fn_unset
5458 # as_fn_append VAR VALUE
5459 # ----------------------
5460 # Append the text in VALUE to the end of the definition contained in VAR. Take
5461 # advantage of any shell optimizations that allow amortized linear growth over
5462 # repeated appends, instead of the typical quadratic growth present in naive
5463 # implementations.
5464 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5465 eval 'as_fn_append ()
5467 eval $1+=\$2
5469 else
5470 as_fn_append ()
5472 eval $1=\$$1\$2
5474 fi # as_fn_append
5476 # as_fn_arith ARG...
5477 # ------------------
5478 # Perform arithmetic evaluation on the ARGs, and store the result in the
5479 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5480 # must be portable across $(()) and expr.
5481 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5482 eval 'as_fn_arith ()
5484 as_val=$(( $* ))
5486 else
5487 as_fn_arith ()
5489 as_val=`expr "$@" || test $? -eq 1`
5491 fi # as_fn_arith
5494 if expr a : '\(a\)' >/dev/null 2>&1 &&
5495 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5496 as_expr=expr
5497 else
5498 as_expr=false
5501 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5502 as_basename=basename
5503 else
5504 as_basename=false
5507 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5508 as_dirname=dirname
5509 else
5510 as_dirname=false
5513 as_me=`$as_basename -- "$0" ||
5514 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5515 X"$0" : 'X\(//\)$' \| \
5516 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5517 $as_echo X/"$0" |
5518 sed '/^.*\/\([^/][^/]*\)\/*$/{
5519 s//\1/
5522 /^X\/\(\/\/\)$/{
5523 s//\1/
5526 /^X\/\(\/\).*/{
5527 s//\1/
5530 s/.*/./; q'`
5532 # Avoid depending upon Character Ranges.
5533 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5534 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5535 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5536 as_cr_digits='0123456789'
5537 as_cr_alnum=$as_cr_Letters$as_cr_digits
5539 ECHO_C= ECHO_N= ECHO_T=
5540 case `echo -n x` in #(((((
5541 -n*)
5542 case `echo 'xy\c'` in
5543 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5544 xy) ECHO_C='\c';;
5545 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5546 ECHO_T=' ';;
5547 esac;;
5549 ECHO_N='-n';;
5550 esac
5552 rm -f conf$$ conf$$.exe conf$$.file
5553 if test -d conf$$.dir; then
5554 rm -f conf$$.dir/conf$$.file
5555 else
5556 rm -f conf$$.dir
5557 mkdir conf$$.dir 2>/dev/null
5559 if (echo >conf$$.file) 2>/dev/null; then
5560 if ln -s conf$$.file conf$$ 2>/dev/null; then
5561 as_ln_s='ln -s'
5562 # ... but there are two gotchas:
5563 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5564 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5565 # In both cases, we have to default to `cp -p'.
5566 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5567 as_ln_s='cp -p'
5568 elif ln conf$$.file conf$$ 2>/dev/null; then
5569 as_ln_s=ln
5570 else
5571 as_ln_s='cp -p'
5573 else
5574 as_ln_s='cp -p'
5576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5577 rmdir conf$$.dir 2>/dev/null
5580 # as_fn_mkdir_p
5581 # -------------
5582 # Create "$as_dir" as a directory, including parents if necessary.
5583 as_fn_mkdir_p ()
5586 case $as_dir in #(
5587 -*) as_dir=./$as_dir;;
5588 esac
5589 test -d "$as_dir" || eval $as_mkdir_p || {
5590 as_dirs=
5591 while :; do
5592 case $as_dir in #(
5593 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5594 *) as_qdir=$as_dir;;
5595 esac
5596 as_dirs="'$as_qdir' $as_dirs"
5597 as_dir=`$as_dirname -- "$as_dir" ||
5598 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5599 X"$as_dir" : 'X\(//\)[^/]' \| \
5600 X"$as_dir" : 'X\(//\)$' \| \
5601 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5602 $as_echo X"$as_dir" |
5603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5604 s//\1/
5607 /^X\(\/\/\)[^/].*/{
5608 s//\1/
5611 /^X\(\/\/\)$/{
5612 s//\1/
5615 /^X\(\/\).*/{
5616 s//\1/
5619 s/.*/./; q'`
5620 test -d "$as_dir" && break
5621 done
5622 test -z "$as_dirs" || eval "mkdir $as_dirs"
5623 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5626 } # as_fn_mkdir_p
5627 if mkdir -p . 2>/dev/null; then
5628 as_mkdir_p='mkdir -p "$as_dir"'
5629 else
5630 test -d ./-p && rmdir ./-p
5631 as_mkdir_p=false
5634 if test -x / >/dev/null 2>&1; then
5635 as_test_x='test -x'
5636 else
5637 if ls -dL / >/dev/null 2>&1; then
5638 as_ls_L_option=L
5639 else
5640 as_ls_L_option=
5642 as_test_x='
5643 eval sh -c '\''
5644 if test -d "$1"; then
5645 test -d "$1/.";
5646 else
5647 case $1 in #(
5648 -*)set "./$1";;
5649 esac;
5650 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5651 ???[sx]*):;;*)false;;esac;fi
5652 '\'' sh
5655 as_executable_p=$as_test_x
5657 # Sed expression to map a string onto a valid CPP name.
5658 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5660 # Sed expression to map a string onto a valid variable name.
5661 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5664 exec 6>&1
5665 ## ----------------------------------- ##
5666 ## Main body of $CONFIG_STATUS script. ##
5667 ## ----------------------------------- ##
5668 _ASEOF
5669 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5672 # Save the log message, to keep $0 and so on meaningful, and to
5673 # report actual input values of CONFIG_FILES etc. instead of their
5674 # values after options handling.
5675 ac_log="
5676 This file was extended by QjackMMC $as_me 4, which was
5677 generated by GNU Autoconf 2.68. Invocation command line was
5679 CONFIG_FILES = $CONFIG_FILES
5680 CONFIG_HEADERS = $CONFIG_HEADERS
5681 CONFIG_LINKS = $CONFIG_LINKS
5682 CONFIG_COMMANDS = $CONFIG_COMMANDS
5683 $ $0 $@
5685 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5688 _ACEOF
5690 case $ac_config_files in *"
5691 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5692 esac
5694 case $ac_config_headers in *"
5695 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5696 esac
5699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5700 # Files that config.status was made for.
5701 config_files="$ac_config_files"
5702 config_headers="$ac_config_headers"
5704 _ACEOF
5706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5707 ac_cs_usage="\
5708 \`$as_me' instantiates files and other configuration actions
5709 from templates according to the current configuration. Unless the files
5710 and actions are specified as TAGs, all are instantiated by default.
5712 Usage: $0 [OPTION]... [TAG]...
5714 -h, --help print this help, then exit
5715 -V, --version print version number and configuration settings, then exit
5716 --config print configuration, then exit
5717 -q, --quiet, --silent
5718 do not print progress messages
5719 -d, --debug don't remove temporary files
5720 --recheck update $as_me by reconfiguring in the same conditions
5721 --file=FILE[:TEMPLATE]
5722 instantiate the configuration file FILE
5723 --header=FILE[:TEMPLATE]
5724 instantiate the configuration header FILE
5726 Configuration files:
5727 $config_files
5729 Configuration headers:
5730 $config_headers
5732 Report bugs to <apmontgo@users.sourceforge.net>."
5734 _ACEOF
5735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5736 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5737 ac_cs_version="\\
5738 QjackMMC config.status 4
5739 configured by $0, generated by GNU Autoconf 2.68,
5740 with options \\"\$ac_cs_config\\"
5742 Copyright (C) 2010 Free Software Foundation, Inc.
5743 This config.status script is free software; the Free Software Foundation
5744 gives unlimited permission to copy, distribute and modify it."
5746 ac_pwd='$ac_pwd'
5747 srcdir='$srcdir'
5748 INSTALL='$INSTALL'
5749 test -n "\$AWK" || AWK=awk
5750 _ACEOF
5752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5753 # The default lists apply if the user does not specify any file.
5754 ac_need_defaults=:
5755 while test $# != 0
5757 case $1 in
5758 --*=?*)
5759 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5760 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5761 ac_shift=:
5763 --*=)
5764 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5765 ac_optarg=
5766 ac_shift=:
5769 ac_option=$1
5770 ac_optarg=$2
5771 ac_shift=shift
5773 esac
5775 case $ac_option in
5776 # Handling of the options.
5777 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5778 ac_cs_recheck=: ;;
5779 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5780 $as_echo "$ac_cs_version"; exit ;;
5781 --config | --confi | --conf | --con | --co | --c )
5782 $as_echo "$ac_cs_config"; exit ;;
5783 --debug | --debu | --deb | --de | --d | -d )
5784 debug=: ;;
5785 --file | --fil | --fi | --f )
5786 $ac_shift
5787 case $ac_optarg in
5788 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5789 '') as_fn_error $? "missing file argument" ;;
5790 esac
5791 as_fn_append CONFIG_FILES " '$ac_optarg'"
5792 ac_need_defaults=false;;
5793 --header | --heade | --head | --hea )
5794 $ac_shift
5795 case $ac_optarg in
5796 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5797 esac
5798 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5799 ac_need_defaults=false;;
5800 --he | --h)
5801 # Conflict between --help and --header
5802 as_fn_error $? "ambiguous option: \`$1'
5803 Try \`$0 --help' for more information.";;
5804 --help | --hel | -h )
5805 $as_echo "$ac_cs_usage"; exit ;;
5806 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5807 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5808 ac_cs_silent=: ;;
5810 # This is an error.
5811 -*) as_fn_error $? "unrecognized option: \`$1'
5812 Try \`$0 --help' for more information." ;;
5814 *) as_fn_append ac_config_targets " $1"
5815 ac_need_defaults=false ;;
5817 esac
5818 shift
5819 done
5821 ac_configure_extra_args=
5823 if $ac_cs_silent; then
5824 exec 6>/dev/null
5825 ac_configure_extra_args="$ac_configure_extra_args --silent"
5828 _ACEOF
5829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5830 if \$ac_cs_recheck; then
5831 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5832 shift
5833 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5834 CONFIG_SHELL='$SHELL'
5835 export CONFIG_SHELL
5836 exec "\$@"
5839 _ACEOF
5840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5841 exec 5>>config.log
5843 echo
5844 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5845 ## Running $as_me. ##
5846 _ASBOX
5847 $as_echo "$ac_log"
5848 } >&5
5850 _ACEOF
5851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5852 _ACEOF
5854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5856 # Handling of arguments.
5857 for ac_config_target in $ac_config_targets
5859 case $ac_config_target in
5860 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5861 "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
5862 "qt/qjackmmc.desktop") CONFIG_FILES="$CONFIG_FILES qt/qjackmmc.desktop" ;;
5863 "qt/src/src.pro") CONFIG_FILES="$CONFIG_FILES qt/src/src.pro" ;;
5865 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5866 esac
5867 done
5870 # If the user did not use the arguments to specify the items to instantiate,
5871 # then the envvar interface is used. Set only those that are not.
5872 # We use the long form for the default assignment because of an extremely
5873 # bizarre bug on SunOS 4.1.3.
5874 if $ac_need_defaults; then
5875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5879 # Have a temporary directory for convenience. Make it in the build tree
5880 # simply because there is no reason against having it here, and in addition,
5881 # creating and moving files from /tmp can sometimes cause problems.
5882 # Hook for its removal unless debugging.
5883 # Note that there is a small window in which the directory will not be cleaned:
5884 # after its creation but before its name has been assigned to `$tmp'.
5885 $debug ||
5887 tmp= ac_tmp=
5888 trap 'exit_status=$?
5889 : "${ac_tmp:=$tmp}"
5890 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5892 trap 'as_fn_exit 1' 1 2 13 15
5894 # Create a (secure) tmp directory for tmp files.
5897 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5898 test -d "$tmp"
5899 } ||
5901 tmp=./conf$$-$RANDOM
5902 (umask 077 && mkdir "$tmp")
5903 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5904 ac_tmp=$tmp
5906 # Set up the scripts for CONFIG_FILES section.
5907 # No need to generate them if there are no CONFIG_FILES.
5908 # This happens for instance with `./config.status config.h'.
5909 if test -n "$CONFIG_FILES"; then
5912 ac_cr=`echo X | tr X '\015'`
5913 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5914 # But we know of no other shell where ac_cr would be empty at this
5915 # point, so we can use a bashism as a fallback.
5916 if test "x$ac_cr" = x; then
5917 eval ac_cr=\$\'\\r\'
5919 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5920 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5921 ac_cs_awk_cr='\\r'
5922 else
5923 ac_cs_awk_cr=$ac_cr
5926 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5927 _ACEOF
5931 echo "cat >conf$$subs.awk <<_ACEOF" &&
5932 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5933 echo "_ACEOF"
5934 } >conf$$subs.sh ||
5935 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5936 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5937 ac_delim='%!_!# '
5938 for ac_last_try in false false false false false :; do
5939 . ./conf$$subs.sh ||
5940 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5942 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5943 if test $ac_delim_n = $ac_delim_num; then
5944 break
5945 elif $ac_last_try; then
5946 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5947 else
5948 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5950 done
5951 rm -f conf$$subs.sh
5953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5954 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5955 _ACEOF
5956 sed -n '
5958 s/^/S["/; s/!.*/"]=/
5961 s/^[^!]*!//
5962 :repl
5963 t repl
5964 s/'"$ac_delim"'$//
5965 t delim
5968 s/\(.\{148\}\)..*/\1/
5969 t more1
5970 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5973 b repl
5974 :more1
5975 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5978 s/.\{148\}//
5979 t nl
5980 :delim
5982 s/\(.\{148\}\)..*/\1/
5983 t more2
5984 s/["\\]/\\&/g; s/^/"/; s/$/"/
5987 :more2
5988 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5991 s/.\{148\}//
5992 t delim
5993 ' <conf$$subs.awk | sed '
5994 /^[^""]/{
5996 s/\n//
5998 ' >>$CONFIG_STATUS || ac_write_fail=1
5999 rm -f conf$$subs.awk
6000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6001 _ACAWK
6002 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6003 for (key in S) S_is_set[key] = 1
6004 FS = "\a"
6008 line = $ 0
6009 nfields = split(line, field, "@")
6010 substed = 0
6011 len = length(field[1])
6012 for (i = 2; i < nfields; i++) {
6013 key = field[i]
6014 keylen = length(key)
6015 if (S_is_set[key]) {
6016 value = S[key]
6017 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6018 len += length(value) + length(field[++i])
6019 substed = 1
6020 } else
6021 len += 1 + keylen
6024 print line
6027 _ACAWK
6028 _ACEOF
6029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6030 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6031 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6032 else
6034 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6035 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6036 _ACEOF
6038 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6039 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6040 # trailing colons and then remove the whole line if VPATH becomes empty
6041 # (actually we leave an empty line to preserve line numbers).
6042 if test "x$srcdir" = x.; then
6043 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6045 s///
6046 s/^/:/
6047 s/[ ]*$/:/
6048 s/:\$(srcdir):/:/g
6049 s/:\${srcdir}:/:/g
6050 s/:@srcdir@:/:/g
6051 s/^:*//
6052 s/:*$//
6054 s/\(=[ ]*\).*/\1/
6056 s/\n//
6057 s/^[^=]*=[ ]*$//
6061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6062 fi # test -n "$CONFIG_FILES"
6064 # Set up the scripts for CONFIG_HEADERS section.
6065 # No need to generate them if there are no CONFIG_HEADERS.
6066 # This happens for instance with `./config.status Makefile'.
6067 if test -n "$CONFIG_HEADERS"; then
6068 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6069 BEGIN {
6070 _ACEOF
6072 # Transform confdefs.h into an awk script `defines.awk', embedded as
6073 # here-document in config.status, that substitutes the proper values into
6074 # config.h.in to produce config.h.
6076 # Create a delimiter string that does not exist in confdefs.h, to ease
6077 # handling of long lines.
6078 ac_delim='%!_!# '
6079 for ac_last_try in false false :; do
6080 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6081 if test -z "$ac_tt"; then
6082 break
6083 elif $ac_last_try; then
6084 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6085 else
6086 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6088 done
6090 # For the awk script, D is an array of macro values keyed by name,
6091 # likewise P contains macro parameters if any. Preserve backslash
6092 # newline sequences.
6094 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6095 sed -n '
6096 s/.\{148\}/&'"$ac_delim"'/g
6097 t rset
6098 :rset
6099 s/^[ ]*#[ ]*define[ ][ ]*/ /
6100 t def
6102 :def
6103 s/\\$//
6104 t bsnl
6105 s/["\\]/\\&/g
6106 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6107 D["\1"]=" \3"/p
6108 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6110 :bsnl
6111 s/["\\]/\\&/g
6112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6113 D["\1"]=" \3\\\\\\n"\\/p
6114 t cont
6115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6116 t cont
6118 :cont
6120 s/.\{148\}/&'"$ac_delim"'/g
6121 t clear
6122 :clear
6123 s/\\$//
6124 t bsnlc
6125 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6127 :bsnlc
6128 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6129 b cont
6130 ' <confdefs.h | sed '
6131 s/'"$ac_delim"'/"\\\
6132 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6135 for (key in D) D_is_set[key] = 1
6136 FS = "\a"
6138 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6139 line = \$ 0
6140 split(line, arg, " ")
6141 if (arg[1] == "#") {
6142 defundef = arg[2]
6143 mac1 = arg[3]
6144 } else {
6145 defundef = substr(arg[1], 2)
6146 mac1 = arg[2]
6148 split(mac1, mac2, "(") #)
6149 macro = mac2[1]
6150 prefix = substr(line, 1, index(line, defundef) - 1)
6151 if (D_is_set[macro]) {
6152 # Preserve the white space surrounding the "#".
6153 print prefix "define", macro P[macro] D[macro]
6154 next
6155 } else {
6156 # Replace #undef with comments. This is necessary, for example,
6157 # in the case of _POSIX_SOURCE, which is predefined and required
6158 # on some systems where configure will not decide to define it.
6159 if (defundef == "undef") {
6160 print "/*", prefix defundef, macro, "*/"
6161 next
6165 { print }
6166 _ACAWK
6167 _ACEOF
6168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6169 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6170 fi # test -n "$CONFIG_HEADERS"
6173 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6174 shift
6175 for ac_tag
6177 case $ac_tag in
6178 :[FHLC]) ac_mode=$ac_tag; continue;;
6179 esac
6180 case $ac_mode$ac_tag in
6181 :[FHL]*:*);;
6182 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6183 :[FH]-) ac_tag=-:-;;
6184 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6185 esac
6186 ac_save_IFS=$IFS
6187 IFS=:
6188 set x $ac_tag
6189 IFS=$ac_save_IFS
6190 shift
6191 ac_file=$1
6192 shift
6194 case $ac_mode in
6195 :L) ac_source=$1;;
6196 :[FH])
6197 ac_file_inputs=
6198 for ac_f
6200 case $ac_f in
6201 -) ac_f="$ac_tmp/stdin";;
6202 *) # Look for the file first in the build tree, then in the source tree
6203 # (if the path is not absolute). The absolute path cannot be DOS-style,
6204 # because $ac_f cannot contain `:'.
6205 test -f "$ac_f" ||
6206 case $ac_f in
6207 [\\/$]*) false;;
6208 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6209 esac ||
6210 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6211 esac
6212 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6213 as_fn_append ac_file_inputs " '$ac_f'"
6214 done
6216 # Let's still pretend it is `configure' which instantiates (i.e., don't
6217 # use $as_me), people would be surprised to read:
6218 # /* config.h. Generated by config.status. */
6219 configure_input='Generated from '`
6220 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6221 `' by configure.'
6222 if test x"$ac_file" != x-; then
6223 configure_input="$ac_file. $configure_input"
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6225 $as_echo "$as_me: creating $ac_file" >&6;}
6227 # Neutralize special characters interpreted by sed in replacement strings.
6228 case $configure_input in #(
6229 *\&* | *\|* | *\\* )
6230 ac_sed_conf_input=`$as_echo "$configure_input" |
6231 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6232 *) ac_sed_conf_input=$configure_input;;
6233 esac
6235 case $ac_tag in
6236 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6237 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6238 esac
6240 esac
6242 ac_dir=`$as_dirname -- "$ac_file" ||
6243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6244 X"$ac_file" : 'X\(//\)[^/]' \| \
6245 X"$ac_file" : 'X\(//\)$' \| \
6246 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6247 $as_echo X"$ac_file" |
6248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6249 s//\1/
6252 /^X\(\/\/\)[^/].*/{
6253 s//\1/
6256 /^X\(\/\/\)$/{
6257 s//\1/
6260 /^X\(\/\).*/{
6261 s//\1/
6264 s/.*/./; q'`
6265 as_dir="$ac_dir"; as_fn_mkdir_p
6266 ac_builddir=.
6268 case "$ac_dir" in
6269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6271 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6272 # A ".." for each directory in $ac_dir_suffix.
6273 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6274 case $ac_top_builddir_sub in
6275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6277 esac ;;
6278 esac
6279 ac_abs_top_builddir=$ac_pwd
6280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6281 # for backward compatibility:
6282 ac_top_builddir=$ac_top_build_prefix
6284 case $srcdir in
6285 .) # We are building in place.
6286 ac_srcdir=.
6287 ac_top_srcdir=$ac_top_builddir_sub
6288 ac_abs_top_srcdir=$ac_pwd ;;
6289 [\\/]* | ?:[\\/]* ) # Absolute name.
6290 ac_srcdir=$srcdir$ac_dir_suffix;
6291 ac_top_srcdir=$srcdir
6292 ac_abs_top_srcdir=$srcdir ;;
6293 *) # Relative name.
6294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6295 ac_top_srcdir=$ac_top_build_prefix$srcdir
6296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6297 esac
6298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6301 case $ac_mode in
6304 # CONFIG_FILE
6307 case $INSTALL in
6308 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6309 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6310 esac
6311 _ACEOF
6313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6314 # If the template does not know about datarootdir, expand it.
6315 # FIXME: This hack should be removed a few years after 2.60.
6316 ac_datarootdir_hack=; ac_datarootdir_seen=
6317 ac_sed_dataroot='
6318 /datarootdir/ {
6322 /@datadir@/p
6323 /@docdir@/p
6324 /@infodir@/p
6325 /@localedir@/p
6326 /@mandir@/p'
6327 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6328 *datarootdir*) ac_datarootdir_seen=yes;;
6329 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6331 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6332 _ACEOF
6333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6334 ac_datarootdir_hack='
6335 s&@datadir@&$datadir&g
6336 s&@docdir@&$docdir&g
6337 s&@infodir@&$infodir&g
6338 s&@localedir@&$localedir&g
6339 s&@mandir@&$mandir&g
6340 s&\\\${datarootdir}&$datarootdir&g' ;;
6341 esac
6342 _ACEOF
6344 # Neutralize VPATH when `$srcdir' = `.'.
6345 # Shell code in configure.ac might set extrasub.
6346 # FIXME: do we really want to maintain this feature?
6347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6348 ac_sed_extra="$ac_vpsub
6349 $extrasub
6350 _ACEOF
6351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6354 s|@configure_input@|$ac_sed_conf_input|;t t
6355 s&@top_builddir@&$ac_top_builddir_sub&;t t
6356 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6357 s&@srcdir@&$ac_srcdir&;t t
6358 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6359 s&@top_srcdir@&$ac_top_srcdir&;t t
6360 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6361 s&@builddir@&$ac_builddir&;t t
6362 s&@abs_builddir@&$ac_abs_builddir&;t t
6363 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6364 s&@INSTALL@&$ac_INSTALL&;t t
6365 $ac_datarootdir_hack
6367 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6368 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6370 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6371 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6372 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6373 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6375 which seems to be undefined. Please make sure it is defined" >&5
6376 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6377 which seems to be undefined. Please make sure it is defined" >&2;}
6379 rm -f "$ac_tmp/stdin"
6380 case $ac_file in
6381 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6382 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6383 esac \
6384 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6388 # CONFIG_HEADER
6390 if test x"$ac_file" != x-; then
6392 $as_echo "/* $configure_input */" \
6393 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6394 } >"$ac_tmp/config.h" \
6395 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6396 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6398 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6399 else
6400 rm -f "$ac_file"
6401 mv "$ac_tmp/config.h" "$ac_file" \
6402 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6404 else
6405 $as_echo "/* $configure_input */" \
6406 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6407 || as_fn_error $? "could not create -" "$LINENO" 5
6412 esac
6414 done # for ac_tag
6417 as_fn_exit 0
6418 _ACEOF
6419 ac_clean_files=$ac_clean_files_save
6421 test $ac_write_fail = 0 ||
6422 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6425 # configure is writing to config.log, and then calls config.status.
6426 # config.status does its own redirection, appending to config.log.
6427 # Unfortunately, on DOS this fails, as config.log is still kept open
6428 # by configure, so config.status won't be able to write to it; its
6429 # output is simply discarded. So we exec the FD to /dev/null,
6430 # effectively closing config.log, so it can be properly (re)opened and
6431 # appended to by config.status. When coming back to configure, we
6432 # need to make the FD available again.
6433 if test "$no_create" != yes; then
6434 ac_cs_success=:
6435 ac_config_status_args=
6436 test "$silent" = yes &&
6437 ac_config_status_args="$ac_config_status_args --quiet"
6438 exec 5>/dev/null
6439 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6440 exec 5>>config.log
6441 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6442 # would make configure fail if this is the last instruction.
6443 $ac_cs_success || as_fn_exit 1
6445 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6447 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}