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