Mercurial > hg > sonic-visualiser
comparison configure @ 468:91eeab6c70a3 integration_library
Update of the version no to 1.9-kiosk-hg (debug mode)
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Tue, 23 Aug 2011 18:51:35 +0100 |
parents | 8f0c1b0f17fa |
children | afc6b5453fb9 |
comparison
equal
deleted
inserted
replaced
467:a373a9cdbe13 | 468:91eeab6c70a3 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.67 for Sonic Visualiser 1.9-hg. | 3 # Generated by GNU Autoconf 2.61 for Sonic Visualiser 1.9-kiosk-hg. |
4 # | 4 # |
5 # Report bugs to <cannam@all-day-breakfast.com>. | 5 # Report bugs to <cannam@all-day-breakfast.com>. |
6 # | 6 # |
7 # | |
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
10 # Foundation, Inc. | |
11 # | |
12 # | |
13 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
14 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
15 ## -------------------- ## | 11 ## --------------------- ## |
16 ## M4sh Initialization. ## | 12 ## M4sh Initialization. ## |
17 ## -------------------- ## | 13 ## --------------------- ## |
18 | 14 |
19 # Be more Bourne compatible | 15 # Be more Bourne compatible |
20 DUALCASE=1; export DUALCASE # for MKS sh | 16 DUALCASE=1; export DUALCASE # for MKS sh |
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
22 emulate sh | 18 emulate sh |
23 NULLCMD=: | 19 NULLCMD=: |
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
25 # is contrary to our usage. Disable this feature. | 21 # is contrary to our usage. Disable this feature. |
26 alias -g '${1+"$@"}'='"$@"' | 22 alias -g '${1+"$@"}'='"$@"' |
27 setopt NO_GLOB_SUBST | 23 setopt NO_GLOB_SUBST |
28 else | 24 else |
29 case `(set -o) 2>/dev/null` in #( | 25 case `(set -o) 2>/dev/null` in |
30 *posix*) : | 26 *posix*) set -o posix ;; |
31 set -o posix ;; #( | 27 esac |
32 *) : | 28 |
33 ;; | 29 fi |
34 esac | 30 |
35 fi | 31 |
36 | 32 |
37 | 33 |
38 as_nl=' | 34 # PATH needs CR |
39 ' | 35 # Avoid depending upon Character Ranges. |
40 export as_nl | 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
41 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 39 as_cr_digits='0123456789' |
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 40 as_cr_alnum=$as_cr_Letters$as_cr_digits |
45 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
46 # but without wasting forks for bash or zsh. | |
47 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 as_echo='print -r --' | |
50 as_echo_n='print -rn --' | |
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
52 as_echo='printf %s\n' | |
53 as_echo_n='printf %s' | |
54 else | |
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
57 as_echo_n='/usr/ucb/echo -n' | |
58 else | |
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
60 as_echo_n_body='eval | |
61 arg=$1; | |
62 case $arg in #( | |
63 *"$as_nl"*) | |
64 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
66 esac; | |
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
68 ' | |
69 export as_echo_n_body | |
70 as_echo_n='sh -c $as_echo_n_body as_echo' | |
71 fi | |
72 export as_echo_body | |
73 as_echo='sh -c $as_echo_body as_echo' | |
74 fi | |
75 | 41 |
76 # The user is always right. | 42 # The user is always right. |
77 if test "${PATH_SEPARATOR+set}" != set; then | 43 if test "${PATH_SEPARATOR+set}" != set; then |
78 PATH_SEPARATOR=: | 44 echo "#! /bin/sh" >conf$$.sh |
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 45 echo "exit 0" >>conf$$.sh |
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 46 chmod +x conf$$.sh |
81 PATH_SEPARATOR=';' | 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
82 } | 48 PATH_SEPARATOR=';' |
49 else | |
50 PATH_SEPARATOR=: | |
51 fi | |
52 rm -f conf$$.sh | |
53 fi | |
54 | |
55 # Support unset when possible. | |
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
57 as_unset=unset | |
58 else | |
59 as_unset=false | |
83 fi | 60 fi |
84 | 61 |
85 | 62 |
86 # IFS | 63 # IFS |
87 # We need space, tab and new line, in precisely that order. Quoting is | 64 # We need space, tab and new line, in precisely that order. Quoting is |
88 # there to prevent editors from complaining about space-tab. | 65 # there to prevent editors from complaining about space-tab. |
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
90 # splitting by setting IFS to empty value.) | 67 # splitting by setting IFS to empty value.) |
68 as_nl=' | |
69 ' | |
91 IFS=" "" $as_nl" | 70 IFS=" "" $as_nl" |
92 | 71 |
93 # Find who we are. Look in the path if we contain no directory separator. | 72 # Find who we are. Look in the path if we contain no directory separator. |
94 case $0 in #(( | 73 case $0 in |
95 *[\\/]* ) as_myself=$0 ;; | 74 *[\\/]* ) as_myself=$0 ;; |
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
97 for as_dir in $PATH | 76 for as_dir in $PATH |
98 do | 77 do |
99 IFS=$as_save_IFS | 78 IFS=$as_save_IFS |
100 test -z "$as_dir" && as_dir=. | 79 test -z "$as_dir" && as_dir=. |
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
102 done | 81 done |
103 IFS=$as_save_IFS | 82 IFS=$as_save_IFS |
104 | 83 |
105 ;; | 84 ;; |
106 esac | 85 esac |
107 # We did not find ourselves, most probably we were run as `sh COMMAND' | 86 # We did not find ourselves, most probably we were run as `sh COMMAND' |
108 # in which case we are not to be found in the path. | 87 # in which case we are not to be found in the path. |
109 if test "x$as_myself" = x; then | 88 if test "x$as_myself" = x; then |
110 as_myself=$0 | 89 as_myself=$0 |
111 fi | 90 fi |
112 if test ! -f "$as_myself"; then | 91 if test ! -f "$as_myself"; then |
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
114 exit 1 | 93 { (exit 1); exit 1; } |
115 fi | 94 fi |
116 | 95 |
117 # Unset variables that we do not need and which cause bugs (e.g. in | 96 # Work around bugs in pre-3.0 UWIN ksh. |
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 97 for as_var in ENV MAIL MAILPATH |
119 # suppresses any "Segmentation fault" message there. '((' could | 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
120 # trigger a bug in pdksh 5.2.14. | |
121 for as_var in BASH_ENV ENV MAIL MAILPATH | |
122 do eval test x\${$as_var+set} = xset \ | |
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
124 done | 99 done |
125 PS1='$ ' | 100 PS1='$ ' |
126 PS2='> ' | 101 PS2='> ' |
127 PS4='+ ' | 102 PS4='+ ' |
128 | 103 |
129 # NLS nuisances. | 104 # NLS nuisances. |
130 LC_ALL=C | 105 for as_var in \ |
131 export LC_ALL | 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
132 LANGUAGE=C | 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
133 export LANGUAGE | 108 LC_TELEPHONE LC_TIME |
134 | |
135 # CDPATH. | |
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
137 | |
138 if test "x$CONFIG_SHELL" = x; then | |
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
140 emulate sh | |
141 NULLCMD=: | |
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
143 # is contrary to our usage. Disable this feature. | |
144 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
145 setopt NO_GLOB_SUBST | |
146 else | |
147 case \`(set -o) 2>/dev/null\` in #( | |
148 *posix*) : | |
149 set -o posix ;; #( | |
150 *) : | |
151 ;; | |
152 esac | |
153 fi | |
154 " | |
155 as_required="as_fn_return () { (exit \$1); } | |
156 as_fn_success () { as_fn_return 0; } | |
157 as_fn_failure () { as_fn_return 1; } | |
158 as_fn_ret_success () { return 0; } | |
159 as_fn_ret_failure () { return 1; } | |
160 | |
161 exitcode=0 | |
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
167 | |
168 else | |
169 exitcode=1; echo positional parameters were not saved. | |
170 fi | |
171 test x\$exitcode = x0 || exit 1" | |
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
176 test \$(( 1 + 1 )) = 2 || exit 1" | |
177 if (eval "$as_required") 2>/dev/null; then : | |
178 as_have_required=yes | |
179 else | |
180 as_have_required=no | |
181 fi | |
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
183 | |
184 else | |
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
186 as_found=false | |
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
188 do | 109 do |
189 IFS=$as_save_IFS | 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
190 test -z "$as_dir" && as_dir=. | 111 eval $as_var=C; export $as_var |
191 as_found=: | 112 else |
192 case $as_dir in #( | 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
193 /*) | 114 fi |
194 for as_base in sh bash ksh sh5; do | |
195 # Try only shells that exist, to save several forks. | |
196 as_shell=$as_dir/$as_base | |
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
199 CONFIG_SHELL=$as_shell as_have_required=yes | |
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
201 break 2 | |
202 fi | |
203 fi | |
204 done;; | |
205 esac | |
206 as_found=false | |
207 done | 115 done |
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | 116 |
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | 117 # Required to use basename. |
210 CONFIG_SHELL=$SHELL as_have_required=yes | |
211 fi; } | |
212 IFS=$as_save_IFS | |
213 | |
214 | |
215 if test "x$CONFIG_SHELL" != x; then : | |
216 # We cannot yet assume a decent shell, so we have to provide a | |
217 # neutralization value for shells without unset; and this also | |
218 # works around shells that cannot unset nonexistent variables. | |
219 BASH_ENV=/dev/null | |
220 ENV=/dev/null | |
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
222 export CONFIG_SHELL | |
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
224 fi | |
225 | |
226 if test x$as_have_required = xno; then : | |
227 $as_echo "$0: This script requires a shell more modern than all" | |
228 $as_echo "$0: the shells that I found on your system." | |
229 if test x${ZSH_VERSION+set} = xset ; then | |
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
232 else | |
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and | |
234 $0: cannam@all-day-breakfast.com about your system, | |
235 $0: including any error possibly output before this | |
236 $0: message. Then install a modern shell, or manually run | |
237 $0: the script under such a shell if you do have one." | |
238 fi | |
239 exit 1 | |
240 fi | |
241 fi | |
242 fi | |
243 SHELL=${CONFIG_SHELL-/bin/sh} | |
244 export SHELL | |
245 # Unset more variables known to interfere with behavior of common tools. | |
246 CLICOLOR_FORCE= GREP_OPTIONS= | |
247 unset CLICOLOR_FORCE GREP_OPTIONS | |
248 | |
249 ## --------------------- ## | |
250 ## M4sh Shell Functions. ## | |
251 ## --------------------- ## | |
252 # as_fn_unset VAR | |
253 # --------------- | |
254 # Portably unset VAR. | |
255 as_fn_unset () | |
256 { | |
257 { eval $1=; unset $1;} | |
258 } | |
259 as_unset=as_fn_unset | |
260 | |
261 # as_fn_set_status STATUS | |
262 # ----------------------- | |
263 # Set $? to STATUS, without forking. | |
264 as_fn_set_status () | |
265 { | |
266 return $1 | |
267 } # as_fn_set_status | |
268 | |
269 # as_fn_exit STATUS | |
270 # ----------------- | |
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
272 as_fn_exit () | |
273 { | |
274 set +e | |
275 as_fn_set_status $1 | |
276 exit $1 | |
277 } # as_fn_exit | |
278 | |
279 # as_fn_mkdir_p | |
280 # ------------- | |
281 # Create "$as_dir" as a directory, including parents if necessary. | |
282 as_fn_mkdir_p () | |
283 { | |
284 | |
285 case $as_dir in #( | |
286 -*) as_dir=./$as_dir;; | |
287 esac | |
288 test -d "$as_dir" || eval $as_mkdir_p || { | |
289 as_dirs= | |
290 while :; do | |
291 case $as_dir in #( | |
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
293 *) as_qdir=$as_dir;; | |
294 esac | |
295 as_dirs="'$as_qdir' $as_dirs" | |
296 as_dir=`$as_dirname -- "$as_dir" || | |
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
298 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
299 X"$as_dir" : 'X\(//\)$' \| \ | |
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
301 $as_echo X"$as_dir" | | |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
303 s//\1/ | |
304 q | |
305 } | |
306 /^X\(\/\/\)[^/].*/{ | |
307 s//\1/ | |
308 q | |
309 } | |
310 /^X\(\/\/\)$/{ | |
311 s//\1/ | |
312 q | |
313 } | |
314 /^X\(\/\).*/{ | |
315 s//\1/ | |
316 q | |
317 } | |
318 s/.*/./; q'` | |
319 test -d "$as_dir" && break | |
320 done | |
321 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
323 | |
324 | |
325 } # as_fn_mkdir_p | |
326 # as_fn_append VAR VALUE | |
327 # ---------------------- | |
328 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
329 # advantage of any shell optimizations that allow amortized linear growth over | |
330 # repeated appends, instead of the typical quadratic growth present in naive | |
331 # implementations. | |
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
333 eval 'as_fn_append () | |
334 { | |
335 eval $1+=\$2 | |
336 }' | |
337 else | |
338 as_fn_append () | |
339 { | |
340 eval $1=\$$1\$2 | |
341 } | |
342 fi # as_fn_append | |
343 | |
344 # as_fn_arith ARG... | |
345 # ------------------ | |
346 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
348 # must be portable across $(()) and expr. | |
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
350 eval 'as_fn_arith () | |
351 { | |
352 as_val=$(( $* )) | |
353 }' | |
354 else | |
355 as_fn_arith () | |
356 { | |
357 as_val=`expr "$@" || test $? -eq 1` | |
358 } | |
359 fi # as_fn_arith | |
360 | |
361 | |
362 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
363 # ---------------------------------------- | |
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
366 # script with STATUS, using 1 if that was 0. | |
367 as_fn_error () | |
368 { | |
369 as_status=$1; test $as_status -eq 0 && as_status=1 | |
370 if test "$4"; then | |
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
373 fi | |
374 $as_echo "$as_me: error: $2" >&2 | |
375 as_fn_exit $as_status | |
376 } # as_fn_error | |
377 | |
378 if expr a : '\(a\)' >/dev/null 2>&1 && | 118 if expr a : '\(a\)' >/dev/null 2>&1 && |
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
380 as_expr=expr | 120 as_expr=expr |
381 else | 121 else |
382 as_expr=false | 122 as_expr=false |
386 as_basename=basename | 126 as_basename=basename |
387 else | 127 else |
388 as_basename=false | 128 as_basename=false |
389 fi | 129 fi |
390 | 130 |
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 131 |
392 as_dirname=dirname | 132 # Name of the executable. |
393 else | |
394 as_dirname=false | |
395 fi | |
396 | |
397 as_me=`$as_basename -- "$0" || | 133 as_me=`$as_basename -- "$0" || |
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
399 X"$0" : 'X\(//\)$' \| \ | 135 X"$0" : 'X\(//\)$' \| \ |
400 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
401 $as_echo X/"$0" | | 137 echo X/"$0" | |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
403 s//\1/ | 139 s//\1/ |
404 q | 140 q |
405 } | 141 } |
406 /^X\/\(\/\/\)$/{ | 142 /^X\/\(\/\/\)$/{ |
411 s//\1/ | 147 s//\1/ |
412 q | 148 q |
413 } | 149 } |
414 s/.*/./; q'` | 150 s/.*/./; q'` |
415 | 151 |
416 # Avoid depending upon Character Ranges. | 152 # CDPATH. |
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 153 $as_unset CDPATH |
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 154 |
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 155 |
420 as_cr_digits='0123456789' | 156 if test "x$CONFIG_SHELL" = x; then |
421 as_cr_alnum=$as_cr_Letters$as_cr_digits | 157 if (eval ":") 2>/dev/null; then |
422 | 158 as_have_required=yes |
423 | 159 else |
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO | 160 as_have_required=no |
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO | 161 fi |
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 162 |
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 163 if test $as_have_required = yes && (eval ": |
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 164 (as_func_return () { |
165 (exit \$1) | |
166 } | |
167 as_func_success () { | |
168 as_func_return 0 | |
169 } | |
170 as_func_failure () { | |
171 as_func_return 1 | |
172 } | |
173 as_func_ret_success () { | |
174 return 0 | |
175 } | |
176 as_func_ret_failure () { | |
177 return 1 | |
178 } | |
179 | |
180 exitcode=0 | |
181 if as_func_success; then | |
182 : | |
183 else | |
184 exitcode=1 | |
185 echo as_func_success failed. | |
186 fi | |
187 | |
188 if as_func_failure; then | |
189 exitcode=1 | |
190 echo as_func_failure succeeded. | |
191 fi | |
192 | |
193 if as_func_ret_success; then | |
194 : | |
195 else | |
196 exitcode=1 | |
197 echo as_func_ret_success failed. | |
198 fi | |
199 | |
200 if as_func_ret_failure; then | |
201 exitcode=1 | |
202 echo as_func_ret_failure succeeded. | |
203 fi | |
204 | |
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
206 : | |
207 else | |
208 exitcode=1 | |
209 echo positional parameters were not saved. | |
210 fi | |
211 | |
212 test \$exitcode = 0) || { (exit 1); exit 1; } | |
213 | |
214 ( | |
215 as_lineno_1=\$LINENO | |
216 as_lineno_2=\$LINENO | |
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
219 ") 2> /dev/null; then | |
220 : | |
221 else | |
222 as_candidate_shells= | |
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
225 do | |
226 IFS=$as_save_IFS | |
227 test -z "$as_dir" && as_dir=. | |
228 case $as_dir in | |
229 /*) | |
230 for as_base in sh bash ksh sh5; do | |
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
232 done;; | |
233 esac | |
234 done | |
235 IFS=$as_save_IFS | |
236 | |
237 | |
238 for as_shell in $as_candidate_shells $SHELL; do | |
239 # Try only shells that exist, to save several forks. | |
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
241 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
243 emulate sh | |
244 NULLCMD=: | |
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
246 # is contrary to our usage. Disable this feature. | |
247 alias -g '${1+"$@"}'='"$@"' | |
248 setopt NO_GLOB_SUBST | |
249 else | |
250 case `(set -o) 2>/dev/null` in | |
251 *posix*) set -o posix ;; | |
252 esac | |
253 | |
254 fi | |
255 | |
256 | |
257 : | |
258 _ASEOF | |
259 }; then | |
260 CONFIG_SHELL=$as_shell | |
261 as_have_required=yes | |
262 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
264 emulate sh | |
265 NULLCMD=: | |
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
267 # is contrary to our usage. Disable this feature. | |
268 alias -g '${1+"$@"}'='"$@"' | |
269 setopt NO_GLOB_SUBST | |
270 else | |
271 case `(set -o) 2>/dev/null` in | |
272 *posix*) set -o posix ;; | |
273 esac | |
274 | |
275 fi | |
276 | |
277 | |
278 : | |
279 (as_func_return () { | |
280 (exit $1) | |
281 } | |
282 as_func_success () { | |
283 as_func_return 0 | |
284 } | |
285 as_func_failure () { | |
286 as_func_return 1 | |
287 } | |
288 as_func_ret_success () { | |
289 return 0 | |
290 } | |
291 as_func_ret_failure () { | |
292 return 1 | |
293 } | |
294 | |
295 exitcode=0 | |
296 if as_func_success; then | |
297 : | |
298 else | |
299 exitcode=1 | |
300 echo as_func_success failed. | |
301 fi | |
302 | |
303 if as_func_failure; then | |
304 exitcode=1 | |
305 echo as_func_failure succeeded. | |
306 fi | |
307 | |
308 if as_func_ret_success; then | |
309 : | |
310 else | |
311 exitcode=1 | |
312 echo as_func_ret_success failed. | |
313 fi | |
314 | |
315 if as_func_ret_failure; then | |
316 exitcode=1 | |
317 echo as_func_ret_failure succeeded. | |
318 fi | |
319 | |
320 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
321 : | |
322 else | |
323 exitcode=1 | |
324 echo positional parameters were not saved. | |
325 fi | |
326 | |
327 test $exitcode = 0) || { (exit 1); exit 1; } | |
328 | |
329 ( | |
330 as_lineno_1=$LINENO | |
331 as_lineno_2=$LINENO | |
332 test "x$as_lineno_1" != "x$as_lineno_2" && | |
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
334 | |
335 _ASEOF | |
336 }; then | |
337 break | |
338 fi | |
339 | |
340 fi | |
341 | |
342 done | |
343 | |
344 if test "x$CONFIG_SHELL" != x; then | |
345 for as_var in BASH_ENV ENV | |
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
347 done | |
348 export CONFIG_SHELL | |
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
350 fi | |
351 | |
352 | |
353 if test $as_have_required = no; then | |
354 echo This script requires a shell more modern than all the | |
355 echo shells that I found on your system. Please install a | |
356 echo modern shell, or manually run the script under such a | |
357 echo shell if you do have one. | |
358 { (exit 1); exit 1; } | |
359 fi | |
360 | |
361 | |
362 fi | |
363 | |
364 fi | |
365 | |
366 | |
367 | |
368 (eval "as_func_return () { | |
369 (exit \$1) | |
370 } | |
371 as_func_success () { | |
372 as_func_return 0 | |
373 } | |
374 as_func_failure () { | |
375 as_func_return 1 | |
376 } | |
377 as_func_ret_success () { | |
378 return 0 | |
379 } | |
380 as_func_ret_failure () { | |
381 return 1 | |
382 } | |
383 | |
384 exitcode=0 | |
385 if as_func_success; then | |
386 : | |
387 else | |
388 exitcode=1 | |
389 echo as_func_success failed. | |
390 fi | |
391 | |
392 if as_func_failure; then | |
393 exitcode=1 | |
394 echo as_func_failure succeeded. | |
395 fi | |
396 | |
397 if as_func_ret_success; then | |
398 : | |
399 else | |
400 exitcode=1 | |
401 echo as_func_ret_success failed. | |
402 fi | |
403 | |
404 if as_func_ret_failure; then | |
405 exitcode=1 | |
406 echo as_func_ret_failure succeeded. | |
407 fi | |
408 | |
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
410 : | |
411 else | |
412 exitcode=1 | |
413 echo positional parameters were not saved. | |
414 fi | |
415 | |
416 test \$exitcode = 0") || { | |
417 echo No shell found that supports shell functions. | |
418 echo Please tell autoconf@gnu.org about your system, | |
419 echo including any error possibly output before this | |
420 echo message | |
421 } | |
422 | |
423 | |
424 | |
425 as_lineno_1=$LINENO | |
426 as_lineno_2=$LINENO | |
427 test "x$as_lineno_1" != "x$as_lineno_2" && | |
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
429 | |
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
431 # uniformly replaced by the line number. The first 'sed' inserts a | |
432 # line-number line after each line using $LINENO; the second 'sed' | |
433 # does the real work. The second script uses 'N' to pair each | |
434 # line-number line with the line containing $LINENO, and appends | |
435 # trailing '-' during substitution so that $LINENO is not a special | |
436 # case at line end. | |
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
438 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
439 # E. McMahon (1931-1989) for sed's syntax. :-) | |
429 sed -n ' | 440 sed -n ' |
430 p | 441 p |
431 /[$]LINENO/= | 442 /[$]LINENO/= |
432 ' <$as_myself | | 443 ' <$as_myself | |
433 sed ' | 444 sed ' |
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
441 t loop | 452 t loop |
442 s/-\n.*// | 453 s/-\n.*// |
443 ' >$as_me.lineno && | 454 ' >$as_me.lineno && |
444 chmod +x "$as_me.lineno" || | 455 chmod +x "$as_me.lineno" || |
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
457 { (exit 1); exit 1; }; } | |
446 | 458 |
447 # Don't try to exec as it changes $[0], causing all sort of problems | 459 # Don't try to exec as it changes $[0], causing all sort of problems |
448 # (the dirname of $[0] is not the place where we might find the | 460 # (the dirname of $[0] is not the place where we might find the |
449 # original and so on. Autoconf is especially sensitive to this). | 461 # original and so on. Autoconf is especially sensitive to this). |
450 . "./$as_me.lineno" | 462 . "./$as_me.lineno" |
451 # Exit status is that of the last command. | 463 # Exit status is that of the last command. |
452 exit | 464 exit |
453 } | 465 } |
454 | 466 |
467 | |
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
469 as_dirname=dirname | |
470 else | |
471 as_dirname=false | |
472 fi | |
473 | |
455 ECHO_C= ECHO_N= ECHO_T= | 474 ECHO_C= ECHO_N= ECHO_T= |
456 case `echo -n x` in #((((( | 475 case `echo -n x` in |
457 -n*) | 476 -n*) |
458 case `echo 'xy\c'` in | 477 case `echo 'x\c'` in |
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
460 xy) ECHO_C='\c';; | 479 *) ECHO_C='\c';; |
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
462 ECHO_T=' ';; | |
463 esac;; | 480 esac;; |
464 *) | 481 *) |
465 ECHO_N='-n';; | 482 ECHO_N='-n';; |
466 esac | 483 esac |
467 | 484 |
485 if expr a : '\(a\)' >/dev/null 2>&1 && | |
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
487 as_expr=expr | |
488 else | |
489 as_expr=false | |
490 fi | |
491 | |
468 rm -f conf$$ conf$$.exe conf$$.file | 492 rm -f conf$$ conf$$.exe conf$$.file |
469 if test -d conf$$.dir; then | 493 if test -d conf$$.dir; then |
470 rm -f conf$$.dir/conf$$.file | 494 rm -f conf$$.dir/conf$$.file |
471 else | 495 else |
472 rm -f conf$$.dir | 496 rm -f conf$$.dir |
473 mkdir conf$$.dir 2>/dev/null | 497 mkdir conf$$.dir |
474 fi | 498 fi |
475 if (echo >conf$$.file) 2>/dev/null; then | 499 echo >conf$$.file |
476 if ln -s conf$$.file conf$$ 2>/dev/null; then | 500 if ln -s conf$$.file conf$$ 2>/dev/null; then |
477 as_ln_s='ln -s' | 501 as_ln_s='ln -s' |
478 # ... but there are two gotchas: | 502 # ... but there are two gotchas: |
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
481 # In both cases, we have to default to `cp -p'. | 505 # In both cases, we have to default to `cp -p'. |
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
483 as_ln_s='cp -p' | |
484 elif ln conf$$.file conf$$ 2>/dev/null; then | |
485 as_ln_s=ln | |
486 else | |
487 as_ln_s='cp -p' | 507 as_ln_s='cp -p' |
488 fi | 508 elif ln conf$$.file conf$$ 2>/dev/null; then |
509 as_ln_s=ln | |
489 else | 510 else |
490 as_ln_s='cp -p' | 511 as_ln_s='cp -p' |
491 fi | 512 fi |
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
493 rmdir conf$$.dir 2>/dev/null | 514 rmdir conf$$.dir 2>/dev/null |
494 | 515 |
495 if mkdir -p . 2>/dev/null; then | 516 if mkdir -p . 2>/dev/null; then |
496 as_mkdir_p='mkdir -p "$as_dir"' | 517 as_mkdir_p=: |
497 else | 518 else |
498 test -d ./-p && rmdir ./-p | 519 test -d ./-p && rmdir ./-p |
499 as_mkdir_p=false | 520 as_mkdir_p=false |
500 fi | 521 fi |
501 | 522 |
508 as_ls_L_option= | 529 as_ls_L_option= |
509 fi | 530 fi |
510 as_test_x=' | 531 as_test_x=' |
511 eval sh -c '\'' | 532 eval sh -c '\'' |
512 if test -d "$1"; then | 533 if test -d "$1"; then |
513 test -d "$1/."; | 534 test -d "$1/."; |
514 else | 535 else |
515 case $1 in #( | 536 case $1 in |
516 -*)set "./$1";; | 537 -*)set "./$1";; |
517 esac; | 538 esac; |
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
519 ???[sx]*):;;*)false;;esac;fi | 540 ???[sx]*):;;*)false;;esac;fi |
520 '\'' sh | 541 '\'' sh |
521 ' | 542 ' |
522 fi | 543 fi |
523 as_executable_p=$as_test_x | 544 as_executable_p=$as_test_x |
527 | 548 |
528 # Sed expression to map a string onto a valid variable name. | 549 # Sed expression to map a string onto a valid variable name. |
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
530 | 551 |
531 | 552 |
532 test -n "$DJDIR" || exec 7<&0 </dev/null | 553 |
533 exec 6>&1 | 554 exec 7<&0 </dev/null 6>&1 |
534 | 555 |
535 # Name of the host. | 556 # Name of the host. |
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
537 # so uname gets run too. | 558 # so uname gets run too. |
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
539 | 560 |
540 # | 561 # |
541 # Initializations. | 562 # Initializations. |
546 LIBOBJS= | 567 LIBOBJS= |
547 cross_compiling=no | 568 cross_compiling=no |
548 subdirs= | 569 subdirs= |
549 MFLAGS= | 570 MFLAGS= |
550 MAKEFLAGS= | 571 MAKEFLAGS= |
572 SHELL=${CONFIG_SHELL-/bin/sh} | |
551 | 573 |
552 # Identity of this package. | 574 # Identity of this package. |
553 PACKAGE_NAME='Sonic Visualiser' | 575 PACKAGE_NAME='Sonic Visualiser' |
554 PACKAGE_TARNAME='sonic-visualiser' | 576 PACKAGE_TARNAME='sonic-visualiser' |
555 PACKAGE_VERSION='1.9-hg' | 577 PACKAGE_VERSION='1.9-kiosk-hg' |
556 PACKAGE_STRING='Sonic Visualiser 1.9-hg' | 578 PACKAGE_STRING='Sonic Visualiser 1.9-kiosk-hg' |
557 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' | 579 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' |
558 PACKAGE_URL='' | |
559 | 580 |
560 ac_unique_file="main/main.cpp" | 581 ac_unique_file="main/main.cpp" |
561 # Factoring default headers for most tests. | 582 # Factoring default headers for most tests. |
562 ac_includes_default="\ | 583 ac_includes_default="\ |
563 #include <stdio.h> | 584 #include <stdio.h> |
592 #endif | 613 #endif |
593 #ifdef HAVE_UNISTD_H | 614 #ifdef HAVE_UNISTD_H |
594 # include <unistd.h> | 615 # include <unistd.h> |
595 #endif" | 616 #endif" |
596 | 617 |
597 ac_subst_vars='LTLIBOBJS | 618 ac_subst_vars='SHELL |
619 PATH_SEPARATOR | |
620 PACKAGE_NAME | |
621 PACKAGE_TARNAME | |
622 PACKAGE_VERSION | |
623 PACKAGE_STRING | |
624 PACKAGE_BUGREPORT | |
625 exec_prefix | |
626 prefix | |
627 program_transform_name | |
628 bindir | |
629 sbindir | |
630 libexecdir | |
631 datarootdir | |
632 datadir | |
633 sysconfdir | |
634 sharedstatedir | |
635 localstatedir | |
636 includedir | |
637 oldincludedir | |
638 docdir | |
639 infodir | |
640 htmldir | |
641 dvidir | |
642 pdfdir | |
643 psdir | |
644 libdir | |
645 localedir | |
646 mandir | |
647 DEFS | |
648 ECHO_C | |
649 ECHO_N | |
650 ECHO_T | |
651 LIBS | |
652 build_alias | |
653 host_alias | |
654 target_alias | |
655 CC | |
656 CFLAGS | |
657 LDFLAGS | |
658 CPPFLAGS | |
659 ac_ct_CC | |
660 EXEEXT | |
661 OBJEXT | |
662 CXX | |
663 CXXFLAGS | |
664 ac_ct_CXX | |
665 INSTALL_PROGRAM | |
666 INSTALL_SCRIPT | |
667 INSTALL_DATA | |
668 CXXCPP | |
669 GREP | |
670 EGREP | |
671 PKG_CONFIG | |
672 PKG_CONFIG_PATH | |
673 PKG_CONFIG_LIBDIR | |
674 QMAKE | |
675 bz2_CFLAGS | |
676 bz2_LIBS | |
677 fftw3_CFLAGS | |
678 fftw3_LIBS | |
679 fftw3f_CFLAGS | |
680 fftw3f_LIBS | |
681 sndfile_CFLAGS | |
682 sndfile_LIBS | |
683 samplerate_CFLAGS | |
684 samplerate_LIBS | |
685 vamp_CFLAGS | |
686 vamp_LIBS | |
687 vamphostsdk_CFLAGS | |
688 vamphostsdk_LIBS | |
689 rubberband_CFLAGS | |
690 rubberband_LIBS | |
691 raptor_CFLAGS | |
692 raptor_LIBS | |
693 rasqal_CFLAGS | |
694 rasqal_LIBS | |
695 redland_CFLAGS | |
696 redland_LIBS | |
697 liblo_CFLAGS | |
698 liblo_LIBS | |
699 portaudio_2_0_CFLAGS | |
700 portaudio_2_0_LIBS | |
701 JACK_CFLAGS | |
702 JACK_LIBS | |
703 libpulse_CFLAGS | |
704 libpulse_LIBS | |
705 lrdf_CFLAGS | |
706 lrdf_LIBS | |
707 oggz_CFLAGS | |
708 oggz_LIBS | |
709 fishsound_CFLAGS | |
710 fishsound_LIBS | |
711 mad_CFLAGS | |
712 mad_LIBS | |
713 id3tag_CFLAGS | |
714 id3tag_LIBS | |
715 PERL | |
716 XARGS | |
717 MAKEDEPEND | |
718 SHA1SUM | |
719 CUT | |
720 CXXFLAGS_MINIMAL | |
721 HAVES | |
722 QMAKE_CONFIG | |
723 CODENAME | |
598 LIBOBJS | 724 LIBOBJS |
599 CODENAME | 725 LTLIBOBJS' |
600 QMAKE_CONFIG | |
601 HAVES | |
602 CXXFLAGS_MINIMAL | |
603 CUT | |
604 SHA1SUM | |
605 MAKEDEPEND | |
606 XARGS | |
607 PERL | |
608 id3tag_LIBS | |
609 id3tag_CFLAGS | |
610 mad_LIBS | |
611 mad_CFLAGS | |
612 fishsound_LIBS | |
613 fishsound_CFLAGS | |
614 oggz_LIBS | |
615 oggz_CFLAGS | |
616 lrdf_LIBS | |
617 lrdf_CFLAGS | |
618 libpulse_LIBS | |
619 libpulse_CFLAGS | |
620 JACK_LIBS | |
621 JACK_CFLAGS | |
622 portaudio_2_0_LIBS | |
623 portaudio_2_0_CFLAGS | |
624 liblo_LIBS | |
625 liblo_CFLAGS | |
626 redland_LIBS | |
627 redland_CFLAGS | |
628 rasqal_LIBS | |
629 rasqal_CFLAGS | |
630 raptor_LIBS | |
631 raptor_CFLAGS | |
632 rubberband_LIBS | |
633 rubberband_CFLAGS | |
634 vamphostsdk_LIBS | |
635 vamphostsdk_CFLAGS | |
636 vamp_LIBS | |
637 vamp_CFLAGS | |
638 samplerate_LIBS | |
639 samplerate_CFLAGS | |
640 sndfile_LIBS | |
641 sndfile_CFLAGS | |
642 fftw3f_LIBS | |
643 fftw3f_CFLAGS | |
644 fftw3_LIBS | |
645 fftw3_CFLAGS | |
646 bz2_LIBS | |
647 bz2_CFLAGS | |
648 QMAKE | |
649 PKG_CONFIG_LIBDIR | |
650 PKG_CONFIG_PATH | |
651 PKG_CONFIG | |
652 EGREP | |
653 GREP | |
654 CXXCPP | |
655 MKDIR_P | |
656 INSTALL_DATA | |
657 INSTALL_SCRIPT | |
658 INSTALL_PROGRAM | |
659 ac_ct_CXX | |
660 CXXFLAGS | |
661 CXX | |
662 OBJEXT | |
663 EXEEXT | |
664 ac_ct_CC | |
665 CPPFLAGS | |
666 LDFLAGS | |
667 CFLAGS | |
668 CC | |
669 target_alias | |
670 host_alias | |
671 build_alias | |
672 LIBS | |
673 ECHO_T | |
674 ECHO_N | |
675 ECHO_C | |
676 DEFS | |
677 mandir | |
678 localedir | |
679 libdir | |
680 psdir | |
681 pdfdir | |
682 dvidir | |
683 htmldir | |
684 infodir | |
685 docdir | |
686 oldincludedir | |
687 includedir | |
688 localstatedir | |
689 sharedstatedir | |
690 sysconfdir | |
691 datadir | |
692 datarootdir | |
693 libexecdir | |
694 sbindir | |
695 bindir | |
696 program_transform_name | |
697 prefix | |
698 exec_prefix | |
699 PACKAGE_URL | |
700 PACKAGE_BUGREPORT | |
701 PACKAGE_STRING | |
702 PACKAGE_VERSION | |
703 PACKAGE_TARNAME | |
704 PACKAGE_NAME | |
705 PATH_SEPARATOR | |
706 SHELL' | |
707 ac_subst_files='' | 726 ac_subst_files='' |
708 ac_user_opts=' | |
709 enable_option_checking | |
710 enable_debug | |
711 ' | |
712 ac_precious_vars='build_alias | 727 ac_precious_vars='build_alias |
713 host_alias | 728 host_alias |
714 target_alias | 729 target_alias |
715 CC | 730 CC |
716 CFLAGS | 731 CFLAGS |
767 | 782 |
768 | 783 |
769 # Initialize some variables set by options. | 784 # Initialize some variables set by options. |
770 ac_init_help= | 785 ac_init_help= |
771 ac_init_version=false | 786 ac_init_version=false |
772 ac_unrecognized_opts= | |
773 ac_unrecognized_sep= | |
774 # The variables have the same names as the options, with | 787 # The variables have the same names as the options, with |
775 # dashes changed to underlines. | 788 # dashes changed to underlines. |
776 cache_file=/dev/null | 789 cache_file=/dev/null |
777 exec_prefix=NONE | 790 exec_prefix=NONE |
778 no_create= | 791 no_create= |
824 ac_prev= | 837 ac_prev= |
825 continue | 838 continue |
826 fi | 839 fi |
827 | 840 |
828 case $ac_option in | 841 case $ac_option in |
829 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 842 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
830 *=) ac_optarg= ;; | 843 *) ac_optarg=yes ;; |
831 *) ac_optarg=yes ;; | |
832 esac | 844 esac |
833 | 845 |
834 # Accept the important Cygnus configure options, so we can diagnose typos. | 846 # Accept the important Cygnus configure options, so we can diagnose typos. |
835 | 847 |
836 case $ac_dashdash$ac_option in | 848 case $ac_dashdash$ac_option in |
868 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
869 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
870 datarootdir=$ac_optarg ;; | 882 datarootdir=$ac_optarg ;; |
871 | 883 |
872 -disable-* | --disable-*) | 884 -disable-* | --disable-*) |
873 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 885 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
874 # Reject names that are not valid shell variable names. | 886 # Reject names that are not valid shell variable names. |
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 887 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
876 as_fn_error $? "invalid feature name: $ac_useropt" | 888 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
877 ac_useropt_orig=$ac_useropt | 889 { (exit 1); exit 1; }; } |
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 890 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
879 case $ac_user_opts in | 891 eval enable_$ac_feature=no ;; |
880 *" | |
881 "enable_$ac_useropt" | |
882 "*) ;; | |
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
884 ac_unrecognized_sep=', ';; | |
885 esac | |
886 eval enable_$ac_useropt=no ;; | |
887 | 892 |
888 -docdir | --docdir | --docdi | --doc | --do) | 893 -docdir | --docdir | --docdi | --doc | --do) |
889 ac_prev=docdir ;; | 894 ac_prev=docdir ;; |
890 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 895 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
891 docdir=$ac_optarg ;; | 896 docdir=$ac_optarg ;; |
894 ac_prev=dvidir ;; | 899 ac_prev=dvidir ;; |
895 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 900 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
896 dvidir=$ac_optarg ;; | 901 dvidir=$ac_optarg ;; |
897 | 902 |
898 -enable-* | --enable-*) | 903 -enable-* | --enable-*) |
899 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 904 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
900 # Reject names that are not valid shell variable names. | 905 # Reject names that are not valid shell variable names. |
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 906 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
902 as_fn_error $? "invalid feature name: $ac_useropt" | 907 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
903 ac_useropt_orig=$ac_useropt | 908 { (exit 1); exit 1; }; } |
904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 909 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
905 case $ac_user_opts in | 910 eval enable_$ac_feature=\$ac_optarg ;; |
906 *" | |
907 "enable_$ac_useropt" | |
908 "*) ;; | |
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
910 ac_unrecognized_sep=', ';; | |
911 esac | |
912 eval enable_$ac_useropt=\$ac_optarg ;; | |
913 | 911 |
914 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 912 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
915 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 913 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
916 | --exec | --exe | --ex) | 914 | --exec | --exe | --ex) |
917 ac_prev=exec_prefix ;; | 915 ac_prev=exec_prefix ;; |
1098 | 1096 |
1099 -version | --version | --versio | --versi | --vers | -V) | 1097 -version | --version | --versio | --versi | --vers | -V) |
1100 ac_init_version=: ;; | 1098 ac_init_version=: ;; |
1101 | 1099 |
1102 -with-* | --with-*) | 1100 -with-* | --with-*) |
1103 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1101 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1104 # Reject names that are not valid shell variable names. | 1102 # Reject names that are not valid shell variable names. |
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1103 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1106 as_fn_error $? "invalid package name: $ac_useropt" | 1104 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1107 ac_useropt_orig=$ac_useropt | 1105 { (exit 1); exit 1; }; } |
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1106 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1109 case $ac_user_opts in | 1107 eval with_$ac_package=\$ac_optarg ;; |
1110 *" | |
1111 "with_$ac_useropt" | |
1112 "*) ;; | |
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1114 ac_unrecognized_sep=', ';; | |
1115 esac | |
1116 eval with_$ac_useropt=\$ac_optarg ;; | |
1117 | 1108 |
1118 -without-* | --without-*) | 1109 -without-* | --without-*) |
1119 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1110 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1120 # Reject names that are not valid shell variable names. | 1111 # Reject names that are not valid shell variable names. |
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1122 as_fn_error $? "invalid package name: $ac_useropt" | 1113 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1123 ac_useropt_orig=$ac_useropt | 1114 { (exit 1); exit 1; }; } |
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1125 case $ac_user_opts in | 1116 eval with_$ac_package=no ;; |
1126 *" | |
1127 "with_$ac_useropt" | |
1128 "*) ;; | |
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1130 ac_unrecognized_sep=', ';; | |
1131 esac | |
1132 eval with_$ac_useropt=no ;; | |
1133 | 1117 |
1134 --x) | 1118 --x) |
1135 # Obsolete; use --with-x. | 1119 # Obsolete; use --with-x. |
1136 with_x=yes ;; | 1120 with_x=yes ;; |
1137 | 1121 |
1147 ac_prev=x_libraries ;; | 1131 ac_prev=x_libraries ;; |
1148 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1132 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1149 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1133 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1150 x_libraries=$ac_optarg ;; | 1134 x_libraries=$ac_optarg ;; |
1151 | 1135 |
1152 -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1136 -*) { echo "$as_me: error: unrecognized option: $ac_option |
1153 Try \`$0 --help' for more information" | 1137 Try \`$0 --help' for more information." >&2 |
1138 { (exit 1); exit 1; }; } | |
1154 ;; | 1139 ;; |
1155 | 1140 |
1156 *=*) | 1141 *=*) |
1157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1142 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1158 # Reject names that are not valid shell variable names. | 1143 # Reject names that are not valid shell variable names. |
1159 case $ac_envvar in #( | 1144 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1160 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1145 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1161 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1146 { (exit 1); exit 1; }; } |
1162 esac | |
1163 eval $ac_envvar=\$ac_optarg | 1147 eval $ac_envvar=\$ac_optarg |
1164 export $ac_envvar ;; | 1148 export $ac_envvar ;; |
1165 | 1149 |
1166 *) | 1150 *) |
1167 # FIXME: should be removed in autoconf 3.0. | 1151 # FIXME: should be removed in autoconf 3.0. |
1168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1152 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1154 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1155 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1172 ;; | 1156 ;; |
1173 | 1157 |
1174 esac | 1158 esac |
1175 done | 1159 done |
1176 | 1160 |
1177 if test -n "$ac_prev"; then | 1161 if test -n "$ac_prev"; then |
1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1162 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1179 as_fn_error $? "missing argument to $ac_option" | 1163 { echo "$as_me: error: missing argument to $ac_option" >&2 |
1180 fi | 1164 { (exit 1); exit 1; }; } |
1181 | 1165 fi |
1182 if test -n "$ac_unrecognized_opts"; then | 1166 |
1183 case $enable_option_checking in | 1167 # Be sure to have absolute directory names. |
1184 no) ;; | |
1185 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1187 esac | |
1188 fi | |
1189 | |
1190 # Check all directory arguments for consistency. | |
1191 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1168 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1192 datadir sysconfdir sharedstatedir localstatedir includedir \ | 1169 datadir sysconfdir sharedstatedir localstatedir includedir \ |
1193 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1194 libdir localedir mandir | 1171 libdir localedir mandir |
1195 do | 1172 do |
1196 eval ac_val=\$$ac_var | 1173 eval ac_val=\$$ac_var |
1197 # Remove trailing slashes. | |
1198 case $ac_val in | |
1199 */ ) | |
1200 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1201 eval $ac_var=\$ac_val;; | |
1202 esac | |
1203 # Be sure to have absolute directory names. | |
1204 case $ac_val in | 1174 case $ac_val in |
1205 [\\/$]* | ?:[\\/]* ) continue;; | 1175 [\\/$]* | ?:[\\/]* ) continue;; |
1206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1176 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1207 esac | 1177 esac |
1208 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1178 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1179 { (exit 1); exit 1; }; } | |
1209 done | 1180 done |
1210 | 1181 |
1211 # There might be people who depend on the old broken behavior: `$host' | 1182 # There might be people who depend on the old broken behavior: `$host' |
1212 # used to hold the argument of --host etc. | 1183 # used to hold the argument of --host etc. |
1213 # FIXME: To remove some day. | 1184 # FIXME: To remove some day. |
1217 | 1188 |
1218 # FIXME: To remove some day. | 1189 # FIXME: To remove some day. |
1219 if test "x$host_alias" != x; then | 1190 if test "x$host_alias" != x; then |
1220 if test "x$build_alias" = x; then | 1191 if test "x$build_alias" = x; then |
1221 cross_compiling=maybe | 1192 cross_compiling=maybe |
1222 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 1193 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1223 If a cross compiler is detected then cross compile mode will be used" >&2 | 1194 If a cross compiler is detected then cross compile mode will be used." >&2 |
1224 elif test "x$build_alias" != "x$host_alias"; then | 1195 elif test "x$build_alias" != "x$host_alias"; then |
1225 cross_compiling=yes | 1196 cross_compiling=yes |
1226 fi | 1197 fi |
1227 fi | 1198 fi |
1228 | 1199 |
1233 | 1204 |
1234 | 1205 |
1235 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1206 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1236 ac_ls_di=`ls -di .` && | 1207 ac_ls_di=`ls -di .` && |
1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1208 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1238 as_fn_error $? "working directory cannot be determined" | 1209 { echo "$as_me: error: Working directory cannot be determined" >&2 |
1210 { (exit 1); exit 1; }; } | |
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1240 as_fn_error $? "pwd does not report name of working directory" | 1212 { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1213 { (exit 1); exit 1; }; } | |
1241 | 1214 |
1242 | 1215 |
1243 # Find the source files, if location was not specified. | 1216 # Find the source files, if location was not specified. |
1244 if test -z "$srcdir"; then | 1217 if test -z "$srcdir"; then |
1245 ac_srcdir_defaulted=yes | 1218 ac_srcdir_defaulted=yes |
1246 # Try the directory containing this script, then the parent directory. | 1219 # Try the directory containing this script, then the parent directory. |
1247 ac_confdir=`$as_dirname -- "$as_myself" || | 1220 ac_confdir=`$as_dirname -- "$0" || |
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1221 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1249 X"$as_myself" : 'X\(//\)[^/]' \| \ | 1222 X"$0" : 'X\(//\)[^/]' \| \ |
1250 X"$as_myself" : 'X\(//\)$' \| \ | 1223 X"$0" : 'X\(//\)$' \| \ |
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 1224 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1252 $as_echo X"$as_myself" | | 1225 echo X"$0" | |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1254 s//\1/ | 1227 s//\1/ |
1255 q | 1228 q |
1256 } | 1229 } |
1257 /^X\(\/\/\)[^/].*/{ | 1230 /^X\(\/\/\)[^/].*/{ |
1274 else | 1247 else |
1275 ac_srcdir_defaulted=no | 1248 ac_srcdir_defaulted=no |
1276 fi | 1249 fi |
1277 if test ! -r "$srcdir/$ac_unique_file"; then | 1250 if test ! -r "$srcdir/$ac_unique_file"; then |
1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1251 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1279 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1252 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1253 { (exit 1); exit 1; }; } | |
1280 fi | 1254 fi |
1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1255 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1282 ac_abs_confdir=`( | 1256 ac_abs_confdir=`( |
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1257 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1258 { (exit 1); exit 1; }; } | |
1284 pwd)` | 1259 pwd)` |
1285 # When building in place, set srcdir=. | 1260 # When building in place, set srcdir=. |
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1261 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1287 srcdir=. | 1262 srcdir=. |
1288 fi | 1263 fi |
1304 # | 1279 # |
1305 if test "$ac_init_help" = "long"; then | 1280 if test "$ac_init_help" = "long"; then |
1306 # Omit some internal or obsolete options to make the list less imposing. | 1281 # Omit some internal or obsolete options to make the list less imposing. |
1307 # This message is too long to be a string in the A/UX 3.1 sh. | 1282 # This message is too long to be a string in the A/UX 3.1 sh. |
1308 cat <<_ACEOF | 1283 cat <<_ACEOF |
1309 \`configure' configures Sonic Visualiser 1.9-hg to adapt to many kinds of systems. | 1284 \`configure' configures Sonic Visualiser 1.9-kiosk-hg to adapt to many kinds of systems. |
1310 | 1285 |
1311 Usage: $0 [OPTION]... [VAR=VALUE]... | 1286 Usage: $0 [OPTION]... [VAR=VALUE]... |
1312 | 1287 |
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as | 1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1314 VAR=VALUE. See below for descriptions of some of the useful variables. | 1289 VAR=VALUE. See below for descriptions of some of the useful variables. |
1318 Configuration: | 1293 Configuration: |
1319 -h, --help display this help and exit | 1294 -h, --help display this help and exit |
1320 --help=short display options specific to this package | 1295 --help=short display options specific to this package |
1321 --help=recursive display the short help of all the included packages | 1296 --help=recursive display the short help of all the included packages |
1322 -V, --version display version information and exit | 1297 -V, --version display version information and exit |
1323 -q, --quiet, --silent do not print \`checking ...' messages | 1298 -q, --quiet, --silent do not print \`checking...' messages |
1324 --cache-file=FILE cache test results in FILE [disabled] | 1299 --cache-file=FILE cache test results in FILE [disabled] |
1325 -C, --config-cache alias for \`--cache-file=config.cache' | 1300 -C, --config-cache alias for \`--cache-file=config.cache' |
1326 -n, --no-create do not create output files | 1301 -n, --no-create do not create output files |
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1302 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1328 | 1303 |
1329 Installation directories: | 1304 Installation directories: |
1330 --prefix=PREFIX install architecture-independent files in PREFIX | 1305 --prefix=PREFIX install architecture-independent files in PREFIX |
1331 [$ac_default_prefix] | 1306 [$ac_default_prefix] |
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1333 [PREFIX] | 1308 [PREFIX] |
1334 | 1309 |
1335 By default, \`make install' will install all the files in | 1310 By default, \`make install' will install all the files in |
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1338 for instance \`--prefix=\$HOME'. | 1313 for instance \`--prefix=\$HOME'. |
1339 | 1314 |
1340 For better control, use the options below. | 1315 For better control, use the options below. |
1341 | 1316 |
1342 Fine tuning of the installation directories: | 1317 Fine tuning of the installation directories: |
1343 --bindir=DIR user executables [EPREFIX/bin] | 1318 --bindir=DIR user executables [EPREFIX/bin] |
1344 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1319 --sbindir=DIR system admin executables [EPREFIX/sbin] |
1345 --libexecdir=DIR program executables [EPREFIX/libexec] | 1320 --libexecdir=DIR program executables [EPREFIX/libexec] |
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1349 --libdir=DIR object code libraries [EPREFIX/lib] | 1324 --libdir=DIR object code libraries [EPREFIX/lib] |
1350 --includedir=DIR C header files [PREFIX/include] | 1325 --includedir=DIR C header files [PREFIX/include] |
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1326 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1354 --infodir=DIR info documentation [DATAROOTDIR/info] | 1329 --infodir=DIR info documentation [DATAROOTDIR/info] |
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1356 --mandir=DIR man documentation [DATAROOTDIR/man] | 1331 --mandir=DIR man documentation [DATAROOTDIR/man] |
1357 --docdir=DIR documentation root | 1332 --docdir=DIR documentation root [DATAROOTDIR/doc/sonic-visualiser] |
1358 [DATAROOTDIR/doc/sonic-visualiser] | 1333 --htmldir=DIR html documentation [DOCDIR] |
1359 --htmldir=DIR html documentation [DOCDIR] | 1334 --dvidir=DIR dvi documentation [DOCDIR] |
1360 --dvidir=DIR dvi documentation [DOCDIR] | 1335 --pdfdir=DIR pdf documentation [DOCDIR] |
1361 --pdfdir=DIR pdf documentation [DOCDIR] | 1336 --psdir=DIR ps documentation [DOCDIR] |
1362 --psdir=DIR ps documentation [DOCDIR] | |
1363 _ACEOF | 1337 _ACEOF |
1364 | 1338 |
1365 cat <<\_ACEOF | 1339 cat <<\_ACEOF |
1366 _ACEOF | 1340 _ACEOF |
1367 fi | 1341 fi |
1368 | 1342 |
1369 if test -n "$ac_init_help"; then | 1343 if test -n "$ac_init_help"; then |
1370 case $ac_init_help in | 1344 case $ac_init_help in |
1371 short | recursive ) echo "Configuration of Sonic Visualiser 1.9-hg:";; | 1345 short | recursive ) echo "Configuration of Sonic Visualiser 1.9-kiosk-hg:";; |
1372 esac | 1346 esac |
1373 cat <<\_ACEOF | 1347 cat <<\_ACEOF |
1374 | 1348 |
1375 Optional Features: | 1349 Optional Features: |
1376 --disable-option-checking ignore unrecognized --enable/--with options | |
1377 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1378 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1379 --enable-debug enable debug support [default=no] | 1352 --enable-debug enable debug support [default=no] |
1380 | 1353 |
1381 Some influential environment variables: | 1354 Some influential environment variables: |
1382 CC C compiler command | 1355 CC C compiler command |
1383 CFLAGS C compiler flags | 1356 CFLAGS C compiler flags |
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1357 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1385 nonstandard directory <lib dir> | 1358 nonstandard directory <lib dir> |
1386 LIBS libraries to pass to the linker, e.g. -l<library> | 1359 LIBS libraries to pass to the linker, e.g. -l<library> |
1387 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1360 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1388 you have headers in a nonstandard directory <include dir> | 1361 you have headers in a nonstandard directory <include dir> |
1389 CXX C++ compiler command | 1362 CXX C++ compiler command |
1390 CXXFLAGS C++ compiler flags | 1363 CXXFLAGS C++ compiler flags |
1391 CXXCPP C++ preprocessor | 1364 CXXCPP C++ preprocessor |
1392 PKG_CONFIG path to pkg-config utility | 1365 PKG_CONFIG path to pkg-config utility |
1466 fi | 1439 fi |
1467 | 1440 |
1468 if test "$ac_init_help" = "recursive"; then | 1441 if test "$ac_init_help" = "recursive"; then |
1469 # If there are subdirs, report their specific --help. | 1442 # If there are subdirs, report their specific --help. |
1470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1471 test -d "$ac_dir" || | 1444 test -d "$ac_dir" || continue |
1472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1473 continue | |
1474 ac_builddir=. | 1445 ac_builddir=. |
1475 | 1446 |
1476 case "$ac_dir" in | 1447 case "$ac_dir" in |
1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1478 *) | 1449 *) |
1479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 1450 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1480 # A ".." for each directory in $ac_dir_suffix. | 1451 # A ".." for each directory in $ac_dir_suffix. |
1481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 1452 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1482 case $ac_top_builddir_sub in | 1453 case $ac_top_builddir_sub in |
1483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1454 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1455 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1485 esac ;; | 1456 esac ;; |
1486 esac | 1457 esac |
1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 1483 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1513 elif test -f "$ac_srcdir/configure"; then | 1484 elif test -f "$ac_srcdir/configure"; then |
1514 echo && | 1485 echo && |
1515 $SHELL "$ac_srcdir/configure" --help=recursive | 1486 $SHELL "$ac_srcdir/configure" --help=recursive |
1516 else | 1487 else |
1517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1488 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1518 fi || ac_status=$? | 1489 fi || ac_status=$? |
1519 cd "$ac_pwd" || { ac_status=$?; break; } | 1490 cd "$ac_pwd" || { ac_status=$?; break; } |
1520 done | 1491 done |
1521 fi | 1492 fi |
1522 | 1493 |
1523 test -n "$ac_init_help" && exit $ac_status | 1494 test -n "$ac_init_help" && exit $ac_status |
1524 if $ac_init_version; then | 1495 if $ac_init_version; then |
1525 cat <<\_ACEOF | 1496 cat <<\_ACEOF |
1526 Sonic Visualiser configure 1.9-hg | 1497 Sonic Visualiser configure 1.9-kiosk-hg |
1527 generated by GNU Autoconf 2.67 | 1498 generated by GNU Autoconf 2.61 |
1528 | 1499 |
1529 Copyright (C) 2010 Free Software Foundation, Inc. | 1500 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1501 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1530 This configure script is free software; the Free Software Foundation | 1502 This configure script is free software; the Free Software Foundation |
1531 gives unlimited permission to copy, distribute and modify it. | 1503 gives unlimited permission to copy, distribute and modify it. |
1532 _ACEOF | 1504 _ACEOF |
1533 exit | 1505 exit |
1534 fi | 1506 fi |
1535 | |
1536 ## ------------------------ ## | |
1537 ## Autoconf initialization. ## | |
1538 ## ------------------------ ## | |
1539 | |
1540 # ac_fn_c_try_compile LINENO | |
1541 # -------------------------- | |
1542 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1543 ac_fn_c_try_compile () | |
1544 { | |
1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1546 rm -f conftest.$ac_objext | |
1547 if { { ac_try="$ac_compile" | |
1548 case "(($ac_try" in | |
1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1550 *) ac_try_echo=$ac_try;; | |
1551 esac | |
1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1553 $as_echo "$ac_try_echo"; } >&5 | |
1554 (eval "$ac_compile") 2>conftest.err | |
1555 ac_status=$? | |
1556 if test -s conftest.err; then | |
1557 grep -v '^ *+' conftest.err >conftest.er1 | |
1558 cat conftest.er1 >&5 | |
1559 mv -f conftest.er1 conftest.err | |
1560 fi | |
1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1562 test $ac_status = 0; } && { | |
1563 test -z "$ac_c_werror_flag" || | |
1564 test ! -s conftest.err | |
1565 } && test -s conftest.$ac_objext; then : | |
1566 ac_retval=0 | |
1567 else | |
1568 $as_echo "$as_me: failed program was:" >&5 | |
1569 sed 's/^/| /' conftest.$ac_ext >&5 | |
1570 | |
1571 ac_retval=1 | |
1572 fi | |
1573 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1574 as_fn_set_status $ac_retval | |
1575 | |
1576 } # ac_fn_c_try_compile | |
1577 | |
1578 # ac_fn_cxx_try_compile LINENO | |
1579 # ---------------------------- | |
1580 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1581 ac_fn_cxx_try_compile () | |
1582 { | |
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1584 rm -f conftest.$ac_objext | |
1585 if { { ac_try="$ac_compile" | |
1586 case "(($ac_try" in | |
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1588 *) ac_try_echo=$ac_try;; | |
1589 esac | |
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1591 $as_echo "$ac_try_echo"; } >&5 | |
1592 (eval "$ac_compile") 2>conftest.err | |
1593 ac_status=$? | |
1594 if test -s conftest.err; then | |
1595 grep -v '^ *+' conftest.err >conftest.er1 | |
1596 cat conftest.er1 >&5 | |
1597 mv -f conftest.er1 conftest.err | |
1598 fi | |
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1600 test $ac_status = 0; } && { | |
1601 test -z "$ac_cxx_werror_flag" || | |
1602 test ! -s conftest.err | |
1603 } && test -s conftest.$ac_objext; then : | |
1604 ac_retval=0 | |
1605 else | |
1606 $as_echo "$as_me: failed program was:" >&5 | |
1607 sed 's/^/| /' conftest.$ac_ext >&5 | |
1608 | |
1609 ac_retval=1 | |
1610 fi | |
1611 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1612 as_fn_set_status $ac_retval | |
1613 | |
1614 } # ac_fn_cxx_try_compile | |
1615 | |
1616 # ac_fn_cxx_try_cpp LINENO | |
1617 # ------------------------ | |
1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1619 ac_fn_cxx_try_cpp () | |
1620 { | |
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1622 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1623 case "(($ac_try" in | |
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1625 *) ac_try_echo=$ac_try;; | |
1626 esac | |
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1628 $as_echo "$ac_try_echo"; } >&5 | |
1629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1630 ac_status=$? | |
1631 if test -s conftest.err; then | |
1632 grep -v '^ *+' conftest.err >conftest.er1 | |
1633 cat conftest.er1 >&5 | |
1634 mv -f conftest.er1 conftest.err | |
1635 fi | |
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1637 test $ac_status = 0; } > conftest.i && { | |
1638 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
1639 test ! -s conftest.err | |
1640 }; then : | |
1641 ac_retval=0 | |
1642 else | |
1643 $as_echo "$as_me: failed program was:" >&5 | |
1644 sed 's/^/| /' conftest.$ac_ext >&5 | |
1645 | |
1646 ac_retval=1 | |
1647 fi | |
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1649 as_fn_set_status $ac_retval | |
1650 | |
1651 } # ac_fn_cxx_try_cpp | |
1652 | |
1653 # ac_fn_cxx_try_run LINENO | |
1654 # ------------------------ | |
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1656 # that executables *can* be run. | |
1657 ac_fn_cxx_try_run () | |
1658 { | |
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1660 if { { ac_try="$ac_link" | |
1661 case "(($ac_try" in | |
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1663 *) ac_try_echo=$ac_try;; | |
1664 esac | |
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1666 $as_echo "$ac_try_echo"; } >&5 | |
1667 (eval "$ac_link") 2>&5 | |
1668 ac_status=$? | |
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1670 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1671 { { case "(($ac_try" in | |
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1673 *) ac_try_echo=$ac_try;; | |
1674 esac | |
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1676 $as_echo "$ac_try_echo"; } >&5 | |
1677 (eval "$ac_try") 2>&5 | |
1678 ac_status=$? | |
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1680 test $ac_status = 0; }; }; then : | |
1681 ac_retval=0 | |
1682 else | |
1683 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1684 $as_echo "$as_me: failed program was:" >&5 | |
1685 sed 's/^/| /' conftest.$ac_ext >&5 | |
1686 | |
1687 ac_retval=$ac_status | |
1688 fi | |
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1691 as_fn_set_status $ac_retval | |
1692 | |
1693 } # ac_fn_cxx_try_run | |
1694 | |
1695 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1696 # --------------------------------------------------------- | |
1697 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1698 # the include files in INCLUDES and setting the cache variable VAR | |
1699 # accordingly. | |
1700 ac_fn_cxx_check_header_mongrel () | |
1701 { | |
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1703 if eval "test \"\${$3+set}\"" = set; then : | |
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1705 $as_echo_n "checking for $2... " >&6; } | |
1706 if eval "test \"\${$3+set}\"" = set; then : | |
1707 $as_echo_n "(cached) " >&6 | |
1708 fi | |
1709 eval ac_res=\$$3 | |
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1711 $as_echo "$ac_res" >&6; } | |
1712 else | |
1713 # Is the header compilable? | |
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1715 $as_echo_n "checking $2 usability... " >&6; } | |
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1717 /* end confdefs.h. */ | |
1718 $4 | |
1719 #include <$2> | |
1720 _ACEOF | |
1721 if ac_fn_cxx_try_compile "$LINENO"; then : | |
1722 ac_header_compiler=yes | |
1723 else | |
1724 ac_header_compiler=no | |
1725 fi | |
1726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1728 $as_echo "$ac_header_compiler" >&6; } | |
1729 | |
1730 # Is the header present? | |
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1732 $as_echo_n "checking $2 presence... " >&6; } | |
1733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1734 /* end confdefs.h. */ | |
1735 #include <$2> | |
1736 _ACEOF | |
1737 if ac_fn_cxx_try_cpp "$LINENO"; then : | |
1738 ac_header_preproc=yes | |
1739 else | |
1740 ac_header_preproc=no | |
1741 fi | |
1742 rm -f conftest.err conftest.i conftest.$ac_ext | |
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1744 $as_echo "$ac_header_preproc" >&6; } | |
1745 | |
1746 # So? What about this header? | |
1747 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( | |
1748 yes:no: ) | |
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1750 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1752 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1753 ;; | |
1754 no:yes:* ) | |
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1756 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1758 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1760 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1762 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1765 ( $as_echo "## ------------------------------------------- ## | |
1766 ## Report this to cannam@all-day-breakfast.com ## | |
1767 ## ------------------------------------------- ##" | |
1768 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
1769 ;; | |
1770 esac | |
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1772 $as_echo_n "checking for $2... " >&6; } | |
1773 if eval "test \"\${$3+set}\"" = set; then : | |
1774 $as_echo_n "(cached) " >&6 | |
1775 else | |
1776 eval "$3=\$ac_header_compiler" | |
1777 fi | |
1778 eval ac_res=\$$3 | |
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1780 $as_echo "$ac_res" >&6; } | |
1781 fi | |
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1783 | |
1784 } # ac_fn_cxx_check_header_mongrel | |
1785 | |
1786 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES | |
1787 # --------------------------------------------------------- | |
1788 # Tests whether HEADER exists and can be compiled using the include files in | |
1789 # INCLUDES, setting the cache variable VAR accordingly. | |
1790 ac_fn_cxx_check_header_compile () | |
1791 { | |
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1794 $as_echo_n "checking for $2... " >&6; } | |
1795 if eval "test \"\${$3+set}\"" = set; then : | |
1796 $as_echo_n "(cached) " >&6 | |
1797 else | |
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1799 /* end confdefs.h. */ | |
1800 $4 | |
1801 #include <$2> | |
1802 _ACEOF | |
1803 if ac_fn_cxx_try_compile "$LINENO"; then : | |
1804 eval "$3=yes" | |
1805 else | |
1806 eval "$3=no" | |
1807 fi | |
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1809 fi | |
1810 eval ac_res=\$$3 | |
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1812 $as_echo "$ac_res" >&6; } | |
1813 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1814 | |
1815 } # ac_fn_cxx_check_header_compile | |
1816 | |
1817 # ac_fn_cxx_try_link LINENO | |
1818 # ------------------------- | |
1819 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1820 ac_fn_cxx_try_link () | |
1821 { | |
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1823 rm -f conftest.$ac_objext conftest$ac_exeext | |
1824 if { { ac_try="$ac_link" | |
1825 case "(($ac_try" in | |
1826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1827 *) ac_try_echo=$ac_try;; | |
1828 esac | |
1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1830 $as_echo "$ac_try_echo"; } >&5 | |
1831 (eval "$ac_link") 2>conftest.err | |
1832 ac_status=$? | |
1833 if test -s conftest.err; then | |
1834 grep -v '^ *+' conftest.err >conftest.er1 | |
1835 cat conftest.er1 >&5 | |
1836 mv -f conftest.er1 conftest.err | |
1837 fi | |
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1839 test $ac_status = 0; } && { | |
1840 test -z "$ac_cxx_werror_flag" || | |
1841 test ! -s conftest.err | |
1842 } && test -s conftest$ac_exeext && { | |
1843 test "$cross_compiling" = yes || | |
1844 $as_test_x conftest$ac_exeext | |
1845 }; then : | |
1846 ac_retval=0 | |
1847 else | |
1848 $as_echo "$as_me: failed program was:" >&5 | |
1849 sed 's/^/| /' conftest.$ac_ext >&5 | |
1850 | |
1851 ac_retval=1 | |
1852 fi | |
1853 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1854 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1855 # interfere with the next link command; also delete a directory that is | |
1856 # left behind by Apple's compiler. We do this before executing the actions. | |
1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1859 as_fn_set_status $ac_retval | |
1860 | |
1861 } # ac_fn_cxx_try_link | |
1862 cat >config.log <<_ACEOF | 1507 cat >config.log <<_ACEOF |
1863 This file contains any messages produced by compilers while | 1508 This file contains any messages produced by compilers while |
1864 running configure, to aid debugging if configure makes a mistake. | 1509 running configure, to aid debugging if configure makes a mistake. |
1865 | 1510 |
1866 It was created by Sonic Visualiser $as_me 1.9-hg, which was | 1511 It was created by Sonic Visualiser $as_me 1.9-kiosk-hg, which was |
1867 generated by GNU Autoconf 2.67. Invocation command line was | 1512 generated by GNU Autoconf 2.61. Invocation command line was |
1868 | 1513 |
1869 $ $0 $@ | 1514 $ $0 $@ |
1870 | 1515 |
1871 _ACEOF | 1516 _ACEOF |
1872 exec 5>>config.log | 1517 exec 5>>config.log |
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1899 for as_dir in $PATH | 1544 for as_dir in $PATH |
1900 do | 1545 do |
1901 IFS=$as_save_IFS | 1546 IFS=$as_save_IFS |
1902 test -z "$as_dir" && as_dir=. | 1547 test -z "$as_dir" && as_dir=. |
1903 $as_echo "PATH: $as_dir" | 1548 echo "PATH: $as_dir" |
1904 done | 1549 done |
1905 IFS=$as_save_IFS | 1550 IFS=$as_save_IFS |
1906 | 1551 |
1907 } >&5 | 1552 } >&5 |
1908 | 1553 |
1909 cat >&5 <<_ACEOF | 1554 cat >&5 <<_ACEOF |
1933 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1578 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1579 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1935 | -silent | --silent | --silen | --sile | --sil) | 1580 | -silent | --silent | --silen | --sile | --sil) |
1936 continue ;; | 1581 continue ;; |
1937 *\'*) | 1582 *\'*) |
1938 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1583 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1939 esac | 1584 esac |
1940 case $ac_pass in | 1585 case $ac_pass in |
1941 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1586 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1942 2) | 1587 2) |
1943 as_fn_append ac_configure_args1 " '$ac_arg'" | 1588 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1944 if test $ac_must_keep_next = true; then | 1589 if test $ac_must_keep_next = true; then |
1945 ac_must_keep_next=false # Got value, back to normal. | 1590 ac_must_keep_next=false # Got value, back to normal. |
1946 else | 1591 else |
1947 case $ac_arg in | 1592 case $ac_arg in |
1948 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1593 *=* | --config-cache | -C | -disable-* | --disable-* \ |
1954 esac | 1599 esac |
1955 ;; | 1600 ;; |
1956 -* ) ac_must_keep_next=true ;; | 1601 -* ) ac_must_keep_next=true ;; |
1957 esac | 1602 esac |
1958 fi | 1603 fi |
1959 as_fn_append ac_configure_args " '$ac_arg'" | 1604 ac_configure_args="$ac_configure_args '$ac_arg'" |
1960 ;; | 1605 ;; |
1961 esac | 1606 esac |
1962 done | 1607 done |
1963 done | 1608 done |
1964 { ac_configure_args0=; unset ac_configure_args0;} | 1609 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1965 { ac_configure_args1=; unset ac_configure_args1;} | 1610 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1966 | 1611 |
1967 # When interrupted or exit'd, cleanup temporary files, and complete | 1612 # When interrupted or exit'd, cleanup temporary files, and complete |
1968 # config.log. We remove comments because anyway the quotes in there | 1613 # config.log. We remove comments because anyway the quotes in there |
1969 # would cause problems or look ugly. | 1614 # would cause problems or look ugly. |
1970 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1615 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1972 trap 'exit_status=$? | 1617 trap 'exit_status=$? |
1973 # Save into config.log some information that might help in debugging. | 1618 # Save into config.log some information that might help in debugging. |
1974 { | 1619 { |
1975 echo | 1620 echo |
1976 | 1621 |
1977 $as_echo "## ---------------- ## | 1622 cat <<\_ASBOX |
1623 ## ---------------- ## | |
1978 ## Cache variables. ## | 1624 ## Cache variables. ## |
1979 ## ---------------- ##" | 1625 ## ---------------- ## |
1626 _ASBOX | |
1980 echo | 1627 echo |
1981 # The following way of writing the cache mishandles newlines in values, | 1628 # The following way of writing the cache mishandles newlines in values, |
1982 ( | 1629 ( |
1983 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1630 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1984 eval ac_val=\$$ac_var | 1631 eval ac_val=\$$ac_var |
1985 case $ac_val in #( | 1632 case $ac_val in #( |
1986 *${as_nl}*) | 1633 *${as_nl}*) |
1987 case $ac_var in #( | 1634 case $ac_var in #( |
1988 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1635 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1989 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1636 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1990 esac | 1637 esac |
1991 case $ac_var in #( | 1638 case $ac_var in #( |
1992 _ | IFS | as_nl) ;; #( | 1639 _ | IFS | as_nl) ;; #( |
1993 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1640 *) $as_unset $ac_var ;; |
1994 *) { eval $ac_var=; unset $ac_var;} ;; | |
1995 esac ;; | 1641 esac ;; |
1996 esac | 1642 esac |
1997 done | 1643 done |
1998 (set) 2>&1 | | 1644 (set) 2>&1 | |
1999 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1645 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2008 esac | | 1654 esac | |
2009 sort | 1655 sort |
2010 ) | 1656 ) |
2011 echo | 1657 echo |
2012 | 1658 |
2013 $as_echo "## ----------------- ## | 1659 cat <<\_ASBOX |
1660 ## ----------------- ## | |
2014 ## Output variables. ## | 1661 ## Output variables. ## |
2015 ## ----------------- ##" | 1662 ## ----------------- ## |
1663 _ASBOX | |
2016 echo | 1664 echo |
2017 for ac_var in $ac_subst_vars | 1665 for ac_var in $ac_subst_vars |
2018 do | 1666 do |
2019 eval ac_val=\$$ac_var | 1667 eval ac_val=\$$ac_var |
2020 case $ac_val in | 1668 case $ac_val in |
2021 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1669 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2022 esac | 1670 esac |
2023 $as_echo "$ac_var='\''$ac_val'\''" | 1671 echo "$ac_var='\''$ac_val'\''" |
2024 done | sort | 1672 done | sort |
2025 echo | 1673 echo |
2026 | 1674 |
2027 if test -n "$ac_subst_files"; then | 1675 if test -n "$ac_subst_files"; then |
2028 $as_echo "## ------------------- ## | 1676 cat <<\_ASBOX |
1677 ## ------------------- ## | |
2029 ## File substitutions. ## | 1678 ## File substitutions. ## |
2030 ## ------------------- ##" | 1679 ## ------------------- ## |
1680 _ASBOX | |
2031 echo | 1681 echo |
2032 for ac_var in $ac_subst_files | 1682 for ac_var in $ac_subst_files |
2033 do | 1683 do |
2034 eval ac_val=\$$ac_var | 1684 eval ac_val=\$$ac_var |
2035 case $ac_val in | 1685 case $ac_val in |
2036 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1686 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2037 esac | 1687 esac |
2038 $as_echo "$ac_var='\''$ac_val'\''" | 1688 echo "$ac_var='\''$ac_val'\''" |
2039 done | sort | 1689 done | sort |
2040 echo | 1690 echo |
2041 fi | 1691 fi |
2042 | 1692 |
2043 if test -s confdefs.h; then | 1693 if test -s confdefs.h; then |
2044 $as_echo "## ----------- ## | 1694 cat <<\_ASBOX |
1695 ## ----------- ## | |
2045 ## confdefs.h. ## | 1696 ## confdefs.h. ## |
2046 ## ----------- ##" | 1697 ## ----------- ## |
1698 _ASBOX | |
2047 echo | 1699 echo |
2048 cat confdefs.h | 1700 cat confdefs.h |
2049 echo | 1701 echo |
2050 fi | 1702 fi |
2051 test "$ac_signal" != 0 && | 1703 test "$ac_signal" != 0 && |
2052 $as_echo "$as_me: caught signal $ac_signal" | 1704 echo "$as_me: caught signal $ac_signal" |
2053 $as_echo "$as_me: exit $exit_status" | 1705 echo "$as_me: exit $exit_status" |
2054 } >&5 | 1706 } >&5 |
2055 rm -f core *.core core.conftest.* && | 1707 rm -f core *.core core.conftest.* && |
2056 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 1708 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2057 exit $exit_status | 1709 exit $exit_status |
2058 ' 0 | 1710 ' 0 |
2059 for ac_signal in 1 2 13 15; do | 1711 for ac_signal in 1 2 13 15; do |
2060 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1712 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2061 done | 1713 done |
2062 ac_signal=0 | 1714 ac_signal=0 |
2063 | 1715 |
2064 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1716 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2065 rm -f -r conftest* confdefs.h | 1717 rm -f -r conftest* confdefs.h |
2066 | 1718 |
2067 $as_echo "/* confdefs.h */" > confdefs.h | |
2068 | |
2069 # Predefined preprocessor variables. | 1719 # Predefined preprocessor variables. |
2070 | 1720 |
2071 cat >>confdefs.h <<_ACEOF | 1721 cat >>confdefs.h <<_ACEOF |
2072 #define PACKAGE_NAME "$PACKAGE_NAME" | 1722 #define PACKAGE_NAME "$PACKAGE_NAME" |
2073 _ACEOF | 1723 _ACEOF |
2074 | 1724 |
1725 | |
2075 cat >>confdefs.h <<_ACEOF | 1726 cat >>confdefs.h <<_ACEOF |
2076 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1727 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2077 _ACEOF | 1728 _ACEOF |
2078 | 1729 |
1730 | |
2079 cat >>confdefs.h <<_ACEOF | 1731 cat >>confdefs.h <<_ACEOF |
2080 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1732 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2081 _ACEOF | 1733 _ACEOF |
2082 | 1734 |
1735 | |
2083 cat >>confdefs.h <<_ACEOF | 1736 cat >>confdefs.h <<_ACEOF |
2084 #define PACKAGE_STRING "$PACKAGE_STRING" | 1737 #define PACKAGE_STRING "$PACKAGE_STRING" |
2085 _ACEOF | 1738 _ACEOF |
2086 | 1739 |
1740 | |
2087 cat >>confdefs.h <<_ACEOF | 1741 cat >>confdefs.h <<_ACEOF |
2088 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 1742 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2089 _ACEOF | 1743 _ACEOF |
2090 | 1744 |
2091 cat >>confdefs.h <<_ACEOF | |
2092 #define PACKAGE_URL "$PACKAGE_URL" | |
2093 _ACEOF | |
2094 | |
2095 | 1745 |
2096 # Let the site file select an alternate cache file if it wants to. | 1746 # Let the site file select an alternate cache file if it wants to. |
2097 # Prefer an explicitly selected file to automatically selected ones. | 1747 # Prefer explicitly selected file to automatically selected ones. |
2098 ac_site_file1=NONE | |
2099 ac_site_file2=NONE | |
2100 if test -n "$CONFIG_SITE"; then | 1748 if test -n "$CONFIG_SITE"; then |
2101 # We do not want a PATH search for config.site. | 1749 set x "$CONFIG_SITE" |
2102 case $CONFIG_SITE in #(( | |
2103 -*) ac_site_file1=./$CONFIG_SITE;; | |
2104 */*) ac_site_file1=$CONFIG_SITE;; | |
2105 *) ac_site_file1=./$CONFIG_SITE;; | |
2106 esac | |
2107 elif test "x$prefix" != xNONE; then | 1750 elif test "x$prefix" != xNONE; then |
2108 ac_site_file1=$prefix/share/config.site | 1751 set x "$prefix/share/config.site" "$prefix/etc/config.site" |
2109 ac_site_file2=$prefix/etc/config.site | 1752 else |
2110 else | 1753 set x "$ac_default_prefix/share/config.site" \ |
2111 ac_site_file1=$ac_default_prefix/share/config.site | 1754 "$ac_default_prefix/etc/config.site" |
2112 ac_site_file2=$ac_default_prefix/etc/config.site | 1755 fi |
2113 fi | 1756 shift |
2114 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1757 for ac_site_file |
2115 do | 1758 do |
2116 test "x$ac_site_file" = xNONE && continue | 1759 if test -r "$ac_site_file"; then |
2117 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1760 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1761 echo "$as_me: loading site script $ac_site_file" >&6;} |
2119 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
2120 sed 's/^/| /' "$ac_site_file" >&5 | 1762 sed 's/^/| /' "$ac_site_file" >&5 |
2121 . "$ac_site_file" \ | 1763 . "$ac_site_file" |
2122 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2124 as_fn_error $? "failed to load site script $ac_site_file | |
2125 See \`config.log' for more details" "$LINENO" 5 ; } | |
2126 fi | 1764 fi |
2127 done | 1765 done |
2128 | 1766 |
2129 if test -r "$cache_file"; then | 1767 if test -r "$cache_file"; then |
2130 # Some versions of bash will fail to source /dev/null (special files | 1768 # Some versions of bash will fail to source /dev/null (special |
2131 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1769 # files actually), so we avoid doing that. |
2132 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1770 if test -f "$cache_file"; then |
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1771 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2134 $as_echo "$as_me: loading cache $cache_file" >&6;} | 1772 echo "$as_me: loading cache $cache_file" >&6;} |
2135 case $cache_file in | 1773 case $cache_file in |
2136 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1774 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2137 *) . "./$cache_file";; | 1775 *) . "./$cache_file";; |
2138 esac | 1776 esac |
2139 fi | 1777 fi |
2140 else | 1778 else |
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1779 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2142 $as_echo "$as_me: creating cache $cache_file" >&6;} | 1780 echo "$as_me: creating cache $cache_file" >&6;} |
2143 >$cache_file | 1781 >$cache_file |
2144 fi | 1782 fi |
2145 | 1783 |
2146 # Check that the precious variables saved in the cache have kept the same | 1784 # Check that the precious variables saved in the cache have kept the same |
2147 # value. | 1785 # value. |
2151 eval ac_new_set=\$ac_env_${ac_var}_set | 1789 eval ac_new_set=\$ac_env_${ac_var}_set |
2152 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 1790 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2153 eval ac_new_val=\$ac_env_${ac_var}_value | 1791 eval ac_new_val=\$ac_env_${ac_var}_value |
2154 case $ac_old_set,$ac_new_set in | 1792 case $ac_old_set,$ac_new_set in |
2155 set,) | 1793 set,) |
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1794 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2157 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1795 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2158 ac_cache_corrupted=: ;; | 1796 ac_cache_corrupted=: ;; |
2159 ,set) | 1797 ,set) |
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1798 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2161 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1799 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2162 ac_cache_corrupted=: ;; | 1800 ac_cache_corrupted=: ;; |
2163 ,);; | 1801 ,);; |
2164 *) | 1802 *) |
2165 if test "x$ac_old_val" != "x$ac_new_val"; then | 1803 if test "x$ac_old_val" != "x$ac_new_val"; then |
2166 # differences in whitespace do not lead to failure. | 1804 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2167 ac_old_val_w=`echo x $ac_old_val` | 1805 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2168 ac_new_val_w=`echo x $ac_new_val` | 1806 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
2169 if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1807 echo "$as_me: former value: $ac_old_val" >&2;} |
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1808 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
2171 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1809 echo "$as_me: current value: $ac_new_val" >&2;} |
2172 ac_cache_corrupted=: | 1810 ac_cache_corrupted=: |
2173 else | |
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2175 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2176 eval $ac_var=\$ac_old_val | |
2177 fi | |
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2179 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2181 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
2182 fi;; | 1811 fi;; |
2183 esac | 1812 esac |
2184 # Pass precious variables to config.status. | 1813 # Pass precious variables to config.status. |
2185 if test "$ac_new_set" = set; then | 1814 if test "$ac_new_set" = set; then |
2186 case $ac_new_val in | 1815 case $ac_new_val in |
2187 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 1816 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2188 *) ac_arg=$ac_var=$ac_new_val ;; | 1817 *) ac_arg=$ac_var=$ac_new_val ;; |
2189 esac | 1818 esac |
2190 case " $ac_configure_args " in | 1819 case " $ac_configure_args " in |
2191 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1820 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2192 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1821 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2193 esac | 1822 esac |
2194 fi | 1823 fi |
2195 done | 1824 done |
2196 if $ac_cache_corrupted; then | 1825 if $ac_cache_corrupted; then |
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1826 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 1827 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 1828 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2200 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1829 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2201 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 1830 { (exit 1); exit 1; }; } |
2202 fi | 1831 fi |
2203 ## -------------------- ## | 1832 |
2204 ## Main body of script. ## | 1833 |
2205 ## -------------------- ## | 1834 |
1835 | |
1836 | |
1837 | |
1838 | |
1839 | |
1840 | |
1841 | |
1842 | |
1843 | |
1844 | |
1845 | |
1846 | |
1847 | |
1848 | |
1849 | |
1850 | |
1851 | |
1852 | |
1853 | |
1854 | |
1855 | |
2206 | 1856 |
2207 ac_ext=c | 1857 ac_ext=c |
2208 ac_cpp='$CPP $CPPFLAGS' | 1858 ac_cpp='$CPP $CPPFLAGS' |
2209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2243 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1893 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2244 if test -n "$ac_tool_prefix"; then | 1894 if test -n "$ac_tool_prefix"; then |
2245 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 1895 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2246 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 1896 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1897 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2248 $as_echo_n "checking for $ac_word... " >&6; } | 1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2249 if test "${ac_cv_prog_CC+set}" = set; then : | 1899 if test "${ac_cv_prog_CC+set}" = set; then |
2250 $as_echo_n "(cached) " >&6 | 1900 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2251 else | 1901 else |
2252 if test -n "$CC"; then | 1902 if test -n "$CC"; then |
2253 ac_cv_prog_CC="$CC" # Let the user override the test. | 1903 ac_cv_prog_CC="$CC" # Let the user override the test. |
2254 else | 1904 else |
2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2256 for as_dir in $PATH | 1906 for as_dir in $PATH |
2257 do | 1907 do |
2258 IFS=$as_save_IFS | 1908 IFS=$as_save_IFS |
2259 test -z "$as_dir" && as_dir=. | 1909 test -z "$as_dir" && as_dir=. |
2260 for ac_exec_ext in '' $ac_executable_extensions; do | 1910 for ac_exec_ext in '' $ac_executable_extensions; do |
2261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2262 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 1912 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2264 break 2 | 1914 break 2 |
2265 fi | 1915 fi |
2266 done | 1916 done |
2267 done | 1917 done |
2268 IFS=$as_save_IFS | 1918 IFS=$as_save_IFS |
2269 | 1919 |
2270 fi | 1920 fi |
2271 fi | 1921 fi |
2272 CC=$ac_cv_prog_CC | 1922 CC=$ac_cv_prog_CC |
2273 if test -n "$CC"; then | 1923 if test -n "$CC"; then |
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 1924 { echo "$as_me:$LINENO: result: $CC" >&5 |
2275 $as_echo "$CC" >&6; } | 1925 echo "${ECHO_T}$CC" >&6; } |
2276 else | 1926 else |
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1927 { echo "$as_me:$LINENO: result: no" >&5 |
2278 $as_echo "no" >&6; } | 1928 echo "${ECHO_T}no" >&6; } |
2279 fi | 1929 fi |
2280 | 1930 |
2281 | 1931 |
2282 fi | 1932 fi |
2283 if test -z "$ac_cv_prog_CC"; then | 1933 if test -z "$ac_cv_prog_CC"; then |
2284 ac_ct_CC=$CC | 1934 ac_ct_CC=$CC |
2285 # Extract the first word of "gcc", so it can be a program name with args. | 1935 # Extract the first word of "gcc", so it can be a program name with args. |
2286 set dummy gcc; ac_word=$2 | 1936 set dummy gcc; ac_word=$2 |
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1937 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2288 $as_echo_n "checking for $ac_word... " >&6; } | 1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 1939 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2290 $as_echo_n "(cached) " >&6 | 1940 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2291 else | 1941 else |
2292 if test -n "$ac_ct_CC"; then | 1942 if test -n "$ac_ct_CC"; then |
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1943 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2294 else | 1944 else |
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2296 for as_dir in $PATH | 1946 for as_dir in $PATH |
2297 do | 1947 do |
2298 IFS=$as_save_IFS | 1948 IFS=$as_save_IFS |
2299 test -z "$as_dir" && as_dir=. | 1949 test -z "$as_dir" && as_dir=. |
2300 for ac_exec_ext in '' $ac_executable_extensions; do | 1950 for ac_exec_ext in '' $ac_executable_extensions; do |
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2302 ac_cv_prog_ac_ct_CC="gcc" | 1952 ac_cv_prog_ac_ct_CC="gcc" |
2303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2304 break 2 | 1954 break 2 |
2305 fi | 1955 fi |
2306 done | 1956 done |
2307 done | 1957 done |
2308 IFS=$as_save_IFS | 1958 IFS=$as_save_IFS |
2309 | 1959 |
2310 fi | 1960 fi |
2311 fi | 1961 fi |
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1962 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2313 if test -n "$ac_ct_CC"; then | 1963 if test -n "$ac_ct_CC"; then |
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 1964 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2315 $as_echo "$ac_ct_CC" >&6; } | 1965 echo "${ECHO_T}$ac_ct_CC" >&6; } |
2316 else | 1966 else |
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1967 { echo "$as_me:$LINENO: result: no" >&5 |
2318 $as_echo "no" >&6; } | 1968 echo "${ECHO_T}no" >&6; } |
2319 fi | 1969 fi |
2320 | 1970 |
2321 if test "x$ac_ct_CC" = x; then | 1971 if test "x$ac_ct_CC" = x; then |
2322 CC="" | 1972 CC="" |
2323 else | 1973 else |
2324 case $cross_compiling:$ac_tool_warned in | 1974 case $cross_compiling:$ac_tool_warned in |
2325 yes:) | 1975 yes:) |
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 1976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 1977 whose name does not start with the host triplet. If you think this |
1978 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
1979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
1980 whose name does not start with the host triplet. If you think this | |
1981 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2328 ac_tool_warned=yes ;; | 1982 ac_tool_warned=yes ;; |
2329 esac | 1983 esac |
2330 CC=$ac_ct_CC | 1984 CC=$ac_ct_CC |
2331 fi | 1985 fi |
2332 else | 1986 else |
2335 | 1989 |
2336 if test -z "$CC"; then | 1990 if test -z "$CC"; then |
2337 if test -n "$ac_tool_prefix"; then | 1991 if test -n "$ac_tool_prefix"; then |
2338 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 1992 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2339 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 1993 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1994 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2341 $as_echo_n "checking for $ac_word... " >&6; } | 1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2342 if test "${ac_cv_prog_CC+set}" = set; then : | 1996 if test "${ac_cv_prog_CC+set}" = set; then |
2343 $as_echo_n "(cached) " >&6 | 1997 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2344 else | 1998 else |
2345 if test -n "$CC"; then | 1999 if test -n "$CC"; then |
2346 ac_cv_prog_CC="$CC" # Let the user override the test. | 2000 ac_cv_prog_CC="$CC" # Let the user override the test. |
2347 else | 2001 else |
2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2349 for as_dir in $PATH | 2003 for as_dir in $PATH |
2350 do | 2004 do |
2351 IFS=$as_save_IFS | 2005 IFS=$as_save_IFS |
2352 test -z "$as_dir" && as_dir=. | 2006 test -z "$as_dir" && as_dir=. |
2353 for ac_exec_ext in '' $ac_executable_extensions; do | 2007 for ac_exec_ext in '' $ac_executable_extensions; do |
2354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2355 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2009 ac_cv_prog_CC="${ac_tool_prefix}cc" |
2356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2357 break 2 | 2011 break 2 |
2358 fi | 2012 fi |
2359 done | 2013 done |
2360 done | 2014 done |
2361 IFS=$as_save_IFS | 2015 IFS=$as_save_IFS |
2362 | 2016 |
2363 fi | 2017 fi |
2364 fi | 2018 fi |
2365 CC=$ac_cv_prog_CC | 2019 CC=$ac_cv_prog_CC |
2366 if test -n "$CC"; then | 2020 if test -n "$CC"; then |
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 2021 { echo "$as_me:$LINENO: result: $CC" >&5 |
2368 $as_echo "$CC" >&6; } | 2022 echo "${ECHO_T}$CC" >&6; } |
2369 else | 2023 else |
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2024 { echo "$as_me:$LINENO: result: no" >&5 |
2371 $as_echo "no" >&6; } | 2025 echo "${ECHO_T}no" >&6; } |
2372 fi | 2026 fi |
2373 | 2027 |
2374 | 2028 |
2375 fi | 2029 fi |
2376 fi | 2030 fi |
2377 if test -z "$CC"; then | 2031 if test -z "$CC"; then |
2378 # Extract the first word of "cc", so it can be a program name with args. | 2032 # Extract the first word of "cc", so it can be a program name with args. |
2379 set dummy cc; ac_word=$2 | 2033 set dummy cc; ac_word=$2 |
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2034 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2381 $as_echo_n "checking for $ac_word... " >&6; } | 2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2382 if test "${ac_cv_prog_CC+set}" = set; then : | 2036 if test "${ac_cv_prog_CC+set}" = set; then |
2383 $as_echo_n "(cached) " >&6 | 2037 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2384 else | 2038 else |
2385 if test -n "$CC"; then | 2039 if test -n "$CC"; then |
2386 ac_cv_prog_CC="$CC" # Let the user override the test. | 2040 ac_cv_prog_CC="$CC" # Let the user override the test. |
2387 else | 2041 else |
2388 ac_prog_rejected=no | 2042 ac_prog_rejected=no |
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2390 for as_dir in $PATH | 2044 for as_dir in $PATH |
2391 do | 2045 do |
2392 IFS=$as_save_IFS | 2046 IFS=$as_save_IFS |
2393 test -z "$as_dir" && as_dir=. | 2047 test -z "$as_dir" && as_dir=. |
2394 for ac_exec_ext in '' $ac_executable_extensions; do | 2048 for ac_exec_ext in '' $ac_executable_extensions; do |
2395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2396 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2050 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2397 ac_prog_rejected=yes | 2051 ac_prog_rejected=yes |
2398 continue | 2052 continue |
2399 fi | 2053 fi |
2400 ac_cv_prog_CC="cc" | 2054 ac_cv_prog_CC="cc" |
2401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2402 break 2 | 2056 break 2 |
2403 fi | 2057 fi |
2404 done | 2058 done |
2405 done | 2059 done |
2406 IFS=$as_save_IFS | 2060 IFS=$as_save_IFS |
2407 | 2061 |
2408 if test $ac_prog_rejected = yes; then | 2062 if test $ac_prog_rejected = yes; then |
2409 # We found a bogon in the path, so make sure we never use it. | 2063 # We found a bogon in the path, so make sure we never use it. |
2410 set dummy $ac_cv_prog_CC | 2064 set dummy $ac_cv_prog_CC |
2419 fi | 2073 fi |
2420 fi | 2074 fi |
2421 fi | 2075 fi |
2422 CC=$ac_cv_prog_CC | 2076 CC=$ac_cv_prog_CC |
2423 if test -n "$CC"; then | 2077 if test -n "$CC"; then |
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 2078 { echo "$as_me:$LINENO: result: $CC" >&5 |
2425 $as_echo "$CC" >&6; } | 2079 echo "${ECHO_T}$CC" >&6; } |
2426 else | 2080 else |
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2081 { echo "$as_me:$LINENO: result: no" >&5 |
2428 $as_echo "no" >&6; } | 2082 echo "${ECHO_T}no" >&6; } |
2429 fi | 2083 fi |
2430 | 2084 |
2431 | 2085 |
2432 fi | 2086 fi |
2433 if test -z "$CC"; then | 2087 if test -z "$CC"; then |
2434 if test -n "$ac_tool_prefix"; then | 2088 if test -n "$ac_tool_prefix"; then |
2435 for ac_prog in cl.exe | 2089 for ac_prog in cl.exe |
2436 do | 2090 do |
2437 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2438 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2092 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2440 $as_echo_n "checking for $ac_word... " >&6; } | 2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2441 if test "${ac_cv_prog_CC+set}" = set; then : | 2095 if test "${ac_cv_prog_CC+set}" = set; then |
2442 $as_echo_n "(cached) " >&6 | 2096 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2443 else | 2097 else |
2444 if test -n "$CC"; then | 2098 if test -n "$CC"; then |
2445 ac_cv_prog_CC="$CC" # Let the user override the test. | 2099 ac_cv_prog_CC="$CC" # Let the user override the test. |
2446 else | 2100 else |
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2448 for as_dir in $PATH | 2102 for as_dir in $PATH |
2449 do | 2103 do |
2450 IFS=$as_save_IFS | 2104 IFS=$as_save_IFS |
2451 test -z "$as_dir" && as_dir=. | 2105 test -z "$as_dir" && as_dir=. |
2452 for ac_exec_ext in '' $ac_executable_extensions; do | 2106 for ac_exec_ext in '' $ac_executable_extensions; do |
2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2454 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2108 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2456 break 2 | 2110 break 2 |
2457 fi | 2111 fi |
2458 done | 2112 done |
2459 done | 2113 done |
2460 IFS=$as_save_IFS | 2114 IFS=$as_save_IFS |
2461 | 2115 |
2462 fi | 2116 fi |
2463 fi | 2117 fi |
2464 CC=$ac_cv_prog_CC | 2118 CC=$ac_cv_prog_CC |
2465 if test -n "$CC"; then | 2119 if test -n "$CC"; then |
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 2120 { echo "$as_me:$LINENO: result: $CC" >&5 |
2467 $as_echo "$CC" >&6; } | 2121 echo "${ECHO_T}$CC" >&6; } |
2468 else | 2122 else |
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2123 { echo "$as_me:$LINENO: result: no" >&5 |
2470 $as_echo "no" >&6; } | 2124 echo "${ECHO_T}no" >&6; } |
2471 fi | 2125 fi |
2472 | 2126 |
2473 | 2127 |
2474 test -n "$CC" && break | 2128 test -n "$CC" && break |
2475 done | 2129 done |
2478 ac_ct_CC=$CC | 2132 ac_ct_CC=$CC |
2479 for ac_prog in cl.exe | 2133 for ac_prog in cl.exe |
2480 do | 2134 do |
2481 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2135 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2482 set dummy $ac_prog; ac_word=$2 | 2136 set dummy $ac_prog; ac_word=$2 |
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2137 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2484 $as_echo_n "checking for $ac_word... " >&6; } | 2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 2139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2486 $as_echo_n "(cached) " >&6 | 2140 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2487 else | 2141 else |
2488 if test -n "$ac_ct_CC"; then | 2142 if test -n "$ac_ct_CC"; then |
2489 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2143 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2490 else | 2144 else |
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2492 for as_dir in $PATH | 2146 for as_dir in $PATH |
2493 do | 2147 do |
2494 IFS=$as_save_IFS | 2148 IFS=$as_save_IFS |
2495 test -z "$as_dir" && as_dir=. | 2149 test -z "$as_dir" && as_dir=. |
2496 for ac_exec_ext in '' $ac_executable_extensions; do | 2150 for ac_exec_ext in '' $ac_executable_extensions; do |
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2498 ac_cv_prog_ac_ct_CC="$ac_prog" | 2152 ac_cv_prog_ac_ct_CC="$ac_prog" |
2499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2500 break 2 | 2154 break 2 |
2501 fi | 2155 fi |
2502 done | 2156 done |
2503 done | 2157 done |
2504 IFS=$as_save_IFS | 2158 IFS=$as_save_IFS |
2505 | 2159 |
2506 fi | 2160 fi |
2507 fi | 2161 fi |
2508 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2162 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2509 if test -n "$ac_ct_CC"; then | 2163 if test -n "$ac_ct_CC"; then |
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 2164 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2511 $as_echo "$ac_ct_CC" >&6; } | 2165 echo "${ECHO_T}$ac_ct_CC" >&6; } |
2512 else | 2166 else |
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2167 { echo "$as_me:$LINENO: result: no" >&5 |
2514 $as_echo "no" >&6; } | 2168 echo "${ECHO_T}no" >&6; } |
2515 fi | 2169 fi |
2516 | 2170 |
2517 | 2171 |
2518 test -n "$ac_ct_CC" && break | 2172 test -n "$ac_ct_CC" && break |
2519 done | 2173 done |
2521 if test "x$ac_ct_CC" = x; then | 2175 if test "x$ac_ct_CC" = x; then |
2522 CC="" | 2176 CC="" |
2523 else | 2177 else |
2524 case $cross_compiling:$ac_tool_warned in | 2178 case $cross_compiling:$ac_tool_warned in |
2525 yes:) | 2179 yes:) |
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2180 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 2181 whose name does not start with the host triplet. If you think this |
2182 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2183 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2184 whose name does not start with the host triplet. If you think this | |
2185 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2528 ac_tool_warned=yes ;; | 2186 ac_tool_warned=yes ;; |
2529 esac | 2187 esac |
2530 CC=$ac_ct_CC | 2188 CC=$ac_ct_CC |
2531 fi | 2189 fi |
2532 fi | 2190 fi |
2533 | 2191 |
2534 fi | 2192 fi |
2535 | 2193 |
2536 | 2194 |
2537 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2195 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2196 See \`config.log' for more details." >&5 |
2539 as_fn_error $? "no acceptable C compiler found in \$PATH | 2197 echo "$as_me: error: no acceptable C compiler found in \$PATH |
2540 See \`config.log' for more details" "$LINENO" 5 ; } | 2198 See \`config.log' for more details." >&2;} |
2199 { (exit 1); exit 1; }; } | |
2541 | 2200 |
2542 # Provide some information about the compiler. | 2201 # Provide some information about the compiler. |
2543 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 2202 echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2544 set X $ac_compile | 2203 ac_compiler=`set X $ac_compile; echo $2` |
2545 ac_compiler=$2 | 2204 { (ac_try="$ac_compiler --version >&5" |
2546 for ac_option in --version -v -V -qversion; do | |
2547 { { ac_try="$ac_compiler $ac_option >&5" | |
2548 case "(($ac_try" in | 2205 case "(($ac_try" in |
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2550 *) ac_try_echo=$ac_try;; | 2207 *) ac_try_echo=$ac_try;; |
2551 esac | 2208 esac |
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2553 $as_echo "$ac_try_echo"; } >&5 | 2210 (eval "$ac_compiler --version >&5") 2>&5 |
2554 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2555 ac_status=$? | 2211 ac_status=$? |
2556 if test -s conftest.err; then | 2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2557 sed '10a\ | 2213 (exit $ac_status); } |
2558 ... rest of stderr output deleted ... | 2214 { (ac_try="$ac_compiler -v >&5" |
2559 10q' conftest.err >conftest.er1 | 2215 case "(($ac_try" in |
2560 cat conftest.er1 >&5 | 2216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2561 fi | 2217 *) ac_try_echo=$ac_try;; |
2562 rm -f conftest.er1 conftest.err | 2218 esac |
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2564 test $ac_status = 0; } | 2220 (eval "$ac_compiler -v >&5") 2>&5 |
2565 done | 2221 ac_status=$? |
2566 | 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2223 (exit $ac_status); } |
2224 { (ac_try="$ac_compiler -V >&5" | |
2225 case "(($ac_try" in | |
2226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2227 *) ac_try_echo=$ac_try;; | |
2228 esac | |
2229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2230 (eval "$ac_compiler -V >&5") 2>&5 | |
2231 ac_status=$? | |
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2233 (exit $ac_status); } | |
2234 | |
2235 cat >conftest.$ac_ext <<_ACEOF | |
2236 /* confdefs.h. */ | |
2237 _ACEOF | |
2238 cat confdefs.h >>conftest.$ac_ext | |
2239 cat >>conftest.$ac_ext <<_ACEOF | |
2568 /* end confdefs.h. */ | 2240 /* end confdefs.h. */ |
2569 | 2241 |
2570 int | 2242 int |
2571 main () | 2243 main () |
2572 { | 2244 { |
2574 ; | 2246 ; |
2575 return 0; | 2247 return 0; |
2576 } | 2248 } |
2577 _ACEOF | 2249 _ACEOF |
2578 ac_clean_files_save=$ac_clean_files | 2250 ac_clean_files_save=$ac_clean_files |
2579 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 2251 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2580 # Try to create an executable without -o first, disregard a.out. | 2252 # Try to create an executable without -o first, disregard a.out. |
2581 # It will help us diagnose broken compilers, and finding out an intuition | 2253 # It will help us diagnose broken compilers, and finding out an intuition |
2582 # of exeext. | 2254 # of exeext. |
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 2255 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2584 $as_echo_n "checking whether the C compiler works... " >&6; } | 2256 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2585 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2257 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2586 | 2258 # |
2587 # The possible output files: | 2259 # List of possible output files, starting from the most likely. |
2588 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 2260 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
2589 | 2261 # only as a last resort. b.out is created by i960 compilers. |
2262 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
2263 # | |
2264 # The IRIX 6 linker writes into existing files which may not be | |
2265 # executable, retaining their permissions. Remove them first so a | |
2266 # subsequent execution test works. | |
2590 ac_rmfiles= | 2267 ac_rmfiles= |
2591 for ac_file in $ac_files | 2268 for ac_file in $ac_files |
2592 do | 2269 do |
2593 case $ac_file in | 2270 case $ac_file in |
2594 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 2271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2595 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 2272 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2596 esac | 2273 esac |
2597 done | 2274 done |
2598 rm -f $ac_rmfiles | 2275 rm -f $ac_rmfiles |
2599 | 2276 |
2600 if { { ac_try="$ac_link_default" | 2277 if { (ac_try="$ac_link_default" |
2601 case "(($ac_try" in | 2278 case "(($ac_try" in |
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2603 *) ac_try_echo=$ac_try;; | 2280 *) ac_try_echo=$ac_try;; |
2604 esac | 2281 esac |
2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2606 $as_echo "$ac_try_echo"; } >&5 | |
2607 (eval "$ac_link_default") 2>&5 | 2283 (eval "$ac_link_default") 2>&5 |
2608 ac_status=$? | 2284 ac_status=$? |
2609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2610 test $ac_status = 0; }; then : | 2286 (exit $ac_status); }; then |
2611 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 2287 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2612 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 2288 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2613 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 2289 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2614 # so that the user can short-circuit this test for compilers unknown to | 2290 # so that the user can short-circuit this test for compilers unknown to |
2615 # Autoconf. | 2291 # Autoconf. |
2616 for ac_file in $ac_files '' | 2292 for ac_file in $ac_files '' |
2617 do | 2293 do |
2618 test -f "$ac_file" || continue | 2294 test -f "$ac_file" || continue |
2619 case $ac_file in | 2295 case $ac_file in |
2620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 2296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2621 ;; | 2297 ;; |
2622 [ab].out ) | 2298 [ab].out ) |
2623 # We found the default executable, but exeext='' is most | 2299 # We found the default executable, but exeext='' is most |
2624 # certainly right. | 2300 # certainly right. |
2625 break;; | 2301 break;; |
2626 *.* ) | 2302 *.* ) |
2627 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 2303 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2628 then :; else | 2304 then :; else |
2629 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2305 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2630 fi | 2306 fi |
2631 # We set ac_cv_exeext here because the later test for it is not | 2307 # We set ac_cv_exeext here because the later test for it is not |
2632 # safe: cross compilers may not add the suffix if given an `-o' | 2308 # safe: cross compilers may not add the suffix if given an `-o' |
2641 test "$ac_cv_exeext" = no && ac_cv_exeext= | 2317 test "$ac_cv_exeext" = no && ac_cv_exeext= |
2642 | 2318 |
2643 else | 2319 else |
2644 ac_file='' | 2320 ac_file='' |
2645 fi | 2321 fi |
2646 if test -z "$ac_file"; then : | 2322 |
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2323 { echo "$as_me:$LINENO: result: $ac_file" >&5 |
2648 $as_echo "no" >&6; } | 2324 echo "${ECHO_T}$ac_file" >&6; } |
2649 $as_echo "$as_me: failed program was:" >&5 | 2325 if test -z "$ac_file"; then |
2326 echo "$as_me: failed program was:" >&5 | |
2650 sed 's/^/| /' conftest.$ac_ext >&5 | 2327 sed 's/^/| /' conftest.$ac_ext >&5 |
2651 | 2328 |
2652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2329 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2330 See \`config.log' for more details." >&5 |
2654 as_fn_error 77 "C compiler cannot create executables | 2331 echo "$as_me: error: C compiler cannot create executables |
2655 See \`config.log' for more details" "$LINENO" 5 ; } | 2332 See \`config.log' for more details." >&2;} |
2656 else | 2333 { (exit 77); exit 77; }; } |
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2334 fi |
2658 $as_echo "yes" >&6; } | 2335 |
2659 fi | |
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
2661 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
2663 $as_echo "$ac_file" >&6; } | |
2664 ac_exeext=$ac_cv_exeext | 2336 ac_exeext=$ac_cv_exeext |
2665 | 2337 |
2666 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 2338 # Check that the compiler produces executables we can run. If not, either |
2339 # the compiler is broken, or we cross compile. | |
2340 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
2341 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | |
2342 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
2343 # If not cross compiling, check that we can run a simple program. | |
2344 if test "$cross_compiling" != yes; then | |
2345 if { ac_try='./$ac_file' | |
2346 { (case "(($ac_try" in | |
2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2348 *) ac_try_echo=$ac_try;; | |
2349 esac | |
2350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2351 (eval "$ac_try") 2>&5 | |
2352 ac_status=$? | |
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2354 (exit $ac_status); }; }; then | |
2355 cross_compiling=no | |
2356 else | |
2357 if test "$cross_compiling" = maybe; then | |
2358 cross_compiling=yes | |
2359 else | |
2360 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
2361 If you meant to cross compile, use \`--host'. | |
2362 See \`config.log' for more details." >&5 | |
2363 echo "$as_me: error: cannot run C compiled programs. | |
2364 If you meant to cross compile, use \`--host'. | |
2365 See \`config.log' for more details." >&2;} | |
2366 { (exit 1); exit 1; }; } | |
2367 fi | |
2368 fi | |
2369 fi | |
2370 { echo "$as_me:$LINENO: result: yes" >&5 | |
2371 echo "${ECHO_T}yes" >&6; } | |
2372 | |
2373 rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
2667 ac_clean_files=$ac_clean_files_save | 2374 ac_clean_files=$ac_clean_files_save |
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 2375 # Check that the compiler produces executables we can run. If not, either |
2669 $as_echo_n "checking for suffix of executables... " >&6; } | 2376 # the compiler is broken, or we cross compile. |
2670 if { { ac_try="$ac_link" | 2377 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2378 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | |
2379 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2380 echo "${ECHO_T}$cross_compiling" >&6; } | |
2381 | |
2382 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
2383 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | |
2384 if { (ac_try="$ac_link" | |
2671 case "(($ac_try" in | 2385 case "(($ac_try" in |
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2673 *) ac_try_echo=$ac_try;; | 2387 *) ac_try_echo=$ac_try;; |
2674 esac | 2388 esac |
2675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2676 $as_echo "$ac_try_echo"; } >&5 | |
2677 (eval "$ac_link") 2>&5 | 2390 (eval "$ac_link") 2>&5 |
2678 ac_status=$? | 2391 ac_status=$? |
2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2680 test $ac_status = 0; }; then : | 2393 (exit $ac_status); }; then |
2681 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2394 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2682 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2395 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2683 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2396 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2684 # `rm'. | 2397 # `rm'. |
2685 for ac_file in conftest.exe conftest conftest.*; do | 2398 for ac_file in conftest.exe conftest conftest.*; do |
2686 test -f "$ac_file" || continue | 2399 test -f "$ac_file" || continue |
2687 case $ac_file in | 2400 case $ac_file in |
2688 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 2401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2689 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2402 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2690 break;; | 2403 break;; |
2691 * ) break;; | 2404 * ) break;; |
2692 esac | 2405 esac |
2693 done | 2406 done |
2694 else | 2407 else |
2695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2408 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2409 See \`config.log' for more details." >&5 |
2697 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 2410 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2698 See \`config.log' for more details" "$LINENO" 5 ; } | 2411 See \`config.log' for more details." >&2;} |
2699 fi | 2412 { (exit 1); exit 1; }; } |
2700 rm -f conftest conftest$ac_cv_exeext | 2413 fi |
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 2414 |
2702 $as_echo "$ac_cv_exeext" >&6; } | 2415 rm -f conftest$ac_cv_exeext |
2416 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2417 echo "${ECHO_T}$ac_cv_exeext" >&6; } | |
2703 | 2418 |
2704 rm -f conftest.$ac_ext | 2419 rm -f conftest.$ac_ext |
2705 EXEEXT=$ac_cv_exeext | 2420 EXEEXT=$ac_cv_exeext |
2706 ac_exeext=$EXEEXT | 2421 ac_exeext=$EXEEXT |
2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2422 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2423 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | |
2424 if test "${ac_cv_objext+set}" = set; then | |
2425 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2426 else | |
2427 cat >conftest.$ac_ext <<_ACEOF | |
2428 /* confdefs.h. */ | |
2429 _ACEOF | |
2430 cat confdefs.h >>conftest.$ac_ext | |
2431 cat >>conftest.$ac_ext <<_ACEOF | |
2708 /* end confdefs.h. */ | 2432 /* end confdefs.h. */ |
2709 #include <stdio.h> | 2433 |
2710 int | 2434 int |
2711 main () | 2435 main () |
2712 { | 2436 { |
2713 FILE *f = fopen ("conftest.out", "w"); | |
2714 return ferror (f) || fclose (f) != 0; | |
2715 | 2437 |
2716 ; | 2438 ; |
2717 return 0; | 2439 return 0; |
2718 } | 2440 } |
2719 _ACEOF | 2441 _ACEOF |
2720 ac_clean_files="$ac_clean_files conftest.out" | 2442 rm -f conftest.o conftest.obj |
2721 # Check that the compiler produces executables we can run. If not, either | 2443 if { (ac_try="$ac_compile" |
2722 # the compiler is broken, or we cross compile. | |
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
2724 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
2725 if test "$cross_compiling" != yes; then | |
2726 { { ac_try="$ac_link" | |
2727 case "(($ac_try" in | 2444 case "(($ac_try" in |
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2729 *) ac_try_echo=$ac_try;; | 2446 *) ac_try_echo=$ac_try;; |
2730 esac | 2447 esac |
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2732 $as_echo "$ac_try_echo"; } >&5 | |
2733 (eval "$ac_link") 2>&5 | |
2734 ac_status=$? | |
2735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2736 test $ac_status = 0; } | |
2737 if { ac_try='./conftest$ac_cv_exeext' | |
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_try") 2>&5 | |
2745 ac_status=$? | |
2746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2747 test $ac_status = 0; }; }; then | |
2748 cross_compiling=no | |
2749 else | |
2750 if test "$cross_compiling" = maybe; then | |
2751 cross_compiling=yes | |
2752 else | |
2753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2755 as_fn_error $? "cannot run C compiled programs. | |
2756 If you meant to cross compile, use \`--host'. | |
2757 See \`config.log' for more details" "$LINENO" 5 ; } | |
2758 fi | |
2759 fi | |
2760 fi | |
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
2762 $as_echo "$cross_compiling" >&6; } | |
2763 | |
2764 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
2765 ac_clean_files=$ac_clean_files_save | |
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
2767 $as_echo_n "checking for suffix of object files... " >&6; } | |
2768 if test "${ac_cv_objext+set}" = set; then : | |
2769 $as_echo_n "(cached) " >&6 | |
2770 else | |
2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2772 /* end confdefs.h. */ | |
2773 | |
2774 int | |
2775 main () | |
2776 { | |
2777 | |
2778 ; | |
2779 return 0; | |
2780 } | |
2781 _ACEOF | |
2782 rm -f conftest.o conftest.obj | |
2783 if { { ac_try="$ac_compile" | |
2784 case "(($ac_try" in | |
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2786 *) ac_try_echo=$ac_try;; | |
2787 esac | |
2788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2789 $as_echo "$ac_try_echo"; } >&5 | |
2790 (eval "$ac_compile") 2>&5 | 2449 (eval "$ac_compile") 2>&5 |
2791 ac_status=$? | 2450 ac_status=$? |
2792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2793 test $ac_status = 0; }; then : | 2452 (exit $ac_status); }; then |
2794 for ac_file in conftest.o conftest.obj conftest.*; do | 2453 for ac_file in conftest.o conftest.obj conftest.*; do |
2795 test -f "$ac_file" || continue; | 2454 test -f "$ac_file" || continue; |
2796 case $ac_file in | 2455 case $ac_file in |
2797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2798 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2799 break;; | 2458 break;; |
2800 esac | 2459 esac |
2801 done | 2460 done |
2802 else | 2461 else |
2803 $as_echo "$as_me: failed program was:" >&5 | 2462 echo "$as_me: failed program was:" >&5 |
2804 sed 's/^/| /' conftest.$ac_ext >&5 | 2463 sed 's/^/| /' conftest.$ac_ext >&5 |
2805 | 2464 |
2806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2465 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2466 See \`config.log' for more details." >&5 |
2808 as_fn_error $? "cannot compute suffix of object files: cannot compile | 2467 echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2809 See \`config.log' for more details" "$LINENO" 5 ; } | 2468 See \`config.log' for more details." >&2;} |
2810 fi | 2469 { (exit 1); exit 1; }; } |
2470 fi | |
2471 | |
2811 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2472 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2812 fi | 2473 fi |
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 2474 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2814 $as_echo "$ac_cv_objext" >&6; } | 2475 echo "${ECHO_T}$ac_cv_objext" >&6; } |
2815 OBJEXT=$ac_cv_objext | 2476 OBJEXT=$ac_cv_objext |
2816 ac_objext=$OBJEXT | 2477 ac_objext=$OBJEXT |
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 2478 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2818 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 2479 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2819 if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 2480 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2820 $as_echo_n "(cached) " >&6 | 2481 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2821 else | 2482 else |
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2483 cat >conftest.$ac_ext <<_ACEOF |
2484 /* confdefs.h. */ | |
2485 _ACEOF | |
2486 cat confdefs.h >>conftest.$ac_ext | |
2487 cat >>conftest.$ac_ext <<_ACEOF | |
2823 /* end confdefs.h. */ | 2488 /* end confdefs.h. */ |
2824 | 2489 |
2825 int | 2490 int |
2826 main () | 2491 main () |
2827 { | 2492 { |
2831 | 2496 |
2832 ; | 2497 ; |
2833 return 0; | 2498 return 0; |
2834 } | 2499 } |
2835 _ACEOF | 2500 _ACEOF |
2836 if ac_fn_c_try_compile "$LINENO"; then : | 2501 rm -f conftest.$ac_objext |
2502 if { (ac_try="$ac_compile" | |
2503 case "(($ac_try" in | |
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2505 *) ac_try_echo=$ac_try;; | |
2506 esac | |
2507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2508 (eval "$ac_compile") 2>conftest.er1 | |
2509 ac_status=$? | |
2510 grep -v '^ *+' conftest.er1 >conftest.err | |
2511 rm -f conftest.er1 | |
2512 cat conftest.err >&5 | |
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2514 (exit $ac_status); } && { | |
2515 test -z "$ac_c_werror_flag" || | |
2516 test ! -s conftest.err | |
2517 } && test -s conftest.$ac_objext; then | |
2837 ac_compiler_gnu=yes | 2518 ac_compiler_gnu=yes |
2838 else | 2519 else |
2839 ac_compiler_gnu=no | 2520 echo "$as_me: failed program was:" >&5 |
2840 fi | 2521 sed 's/^/| /' conftest.$ac_ext >&5 |
2522 | |
2523 ac_compiler_gnu=no | |
2524 fi | |
2525 | |
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2842 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2527 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2843 | 2528 |
2844 fi | 2529 fi |
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 2530 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2846 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 2531 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2847 if test $ac_compiler_gnu = yes; then | 2532 GCC=`test $ac_compiler_gnu = yes && echo yes` |
2848 GCC=yes | |
2849 else | |
2850 GCC= | |
2851 fi | |
2852 ac_test_CFLAGS=${CFLAGS+set} | 2533 ac_test_CFLAGS=${CFLAGS+set} |
2853 ac_save_CFLAGS=$CFLAGS | 2534 ac_save_CFLAGS=$CFLAGS |
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 2535 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2855 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 2536 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2856 if test "${ac_cv_prog_cc_g+set}" = set; then : | 2537 if test "${ac_cv_prog_cc_g+set}" = set; then |
2857 $as_echo_n "(cached) " >&6 | 2538 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2858 else | 2539 else |
2859 ac_save_c_werror_flag=$ac_c_werror_flag | 2540 ac_save_c_werror_flag=$ac_c_werror_flag |
2860 ac_c_werror_flag=yes | 2541 ac_c_werror_flag=yes |
2861 ac_cv_prog_cc_g=no | 2542 ac_cv_prog_cc_g=no |
2862 CFLAGS="-g" | 2543 CFLAGS="-g" |
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2544 cat >conftest.$ac_ext <<_ACEOF |
2545 /* confdefs.h. */ | |
2546 _ACEOF | |
2547 cat confdefs.h >>conftest.$ac_ext | |
2548 cat >>conftest.$ac_ext <<_ACEOF | |
2864 /* end confdefs.h. */ | 2549 /* end confdefs.h. */ |
2865 | 2550 |
2866 int | 2551 int |
2867 main () | 2552 main () |
2868 { | 2553 { |
2869 | 2554 |
2870 ; | 2555 ; |
2871 return 0; | 2556 return 0; |
2872 } | 2557 } |
2873 _ACEOF | 2558 _ACEOF |
2874 if ac_fn_c_try_compile "$LINENO"; then : | 2559 rm -f conftest.$ac_objext |
2560 if { (ac_try="$ac_compile" | |
2561 case "(($ac_try" in | |
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2563 *) ac_try_echo=$ac_try;; | |
2564 esac | |
2565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2566 (eval "$ac_compile") 2>conftest.er1 | |
2567 ac_status=$? | |
2568 grep -v '^ *+' conftest.er1 >conftest.err | |
2569 rm -f conftest.er1 | |
2570 cat conftest.err >&5 | |
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2572 (exit $ac_status); } && { | |
2573 test -z "$ac_c_werror_flag" || | |
2574 test ! -s conftest.err | |
2575 } && test -s conftest.$ac_objext; then | |
2875 ac_cv_prog_cc_g=yes | 2576 ac_cv_prog_cc_g=yes |
2876 else | 2577 else |
2877 CFLAGS="" | 2578 echo "$as_me: failed program was:" >&5 |
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2579 sed 's/^/| /' conftest.$ac_ext >&5 |
2580 | |
2581 CFLAGS="" | |
2582 cat >conftest.$ac_ext <<_ACEOF | |
2583 /* confdefs.h. */ | |
2584 _ACEOF | |
2585 cat confdefs.h >>conftest.$ac_ext | |
2586 cat >>conftest.$ac_ext <<_ACEOF | |
2879 /* end confdefs.h. */ | 2587 /* end confdefs.h. */ |
2880 | 2588 |
2881 int | 2589 int |
2882 main () | 2590 main () |
2883 { | 2591 { |
2884 | 2592 |
2885 ; | 2593 ; |
2886 return 0; | 2594 return 0; |
2887 } | 2595 } |
2888 _ACEOF | 2596 _ACEOF |
2889 if ac_fn_c_try_compile "$LINENO"; then : | 2597 rm -f conftest.$ac_objext |
2890 | 2598 if { (ac_try="$ac_compile" |
2891 else | 2599 case "(($ac_try" in |
2892 ac_c_werror_flag=$ac_save_c_werror_flag | 2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2601 *) ac_try_echo=$ac_try;; | |
2602 esac | |
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2604 (eval "$ac_compile") 2>conftest.er1 | |
2605 ac_status=$? | |
2606 grep -v '^ *+' conftest.er1 >conftest.err | |
2607 rm -f conftest.er1 | |
2608 cat conftest.err >&5 | |
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2610 (exit $ac_status); } && { | |
2611 test -z "$ac_c_werror_flag" || | |
2612 test ! -s conftest.err | |
2613 } && test -s conftest.$ac_objext; then | |
2614 : | |
2615 else | |
2616 echo "$as_me: failed program was:" >&5 | |
2617 sed 's/^/| /' conftest.$ac_ext >&5 | |
2618 | |
2619 ac_c_werror_flag=$ac_save_c_werror_flag | |
2893 CFLAGS="-g" | 2620 CFLAGS="-g" |
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2621 cat >conftest.$ac_ext <<_ACEOF |
2622 /* confdefs.h. */ | |
2623 _ACEOF | |
2624 cat confdefs.h >>conftest.$ac_ext | |
2625 cat >>conftest.$ac_ext <<_ACEOF | |
2895 /* end confdefs.h. */ | 2626 /* end confdefs.h. */ |
2896 | 2627 |
2897 int | 2628 int |
2898 main () | 2629 main () |
2899 { | 2630 { |
2900 | 2631 |
2901 ; | 2632 ; |
2902 return 0; | 2633 return 0; |
2903 } | 2634 } |
2904 _ACEOF | 2635 _ACEOF |
2905 if ac_fn_c_try_compile "$LINENO"; then : | 2636 rm -f conftest.$ac_objext |
2637 if { (ac_try="$ac_compile" | |
2638 case "(($ac_try" in | |
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2640 *) ac_try_echo=$ac_try;; | |
2641 esac | |
2642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2643 (eval "$ac_compile") 2>conftest.er1 | |
2644 ac_status=$? | |
2645 grep -v '^ *+' conftest.er1 >conftest.err | |
2646 rm -f conftest.er1 | |
2647 cat conftest.err >&5 | |
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2649 (exit $ac_status); } && { | |
2650 test -z "$ac_c_werror_flag" || | |
2651 test ! -s conftest.err | |
2652 } && test -s conftest.$ac_objext; then | |
2906 ac_cv_prog_cc_g=yes | 2653 ac_cv_prog_cc_g=yes |
2907 fi | 2654 else |
2655 echo "$as_me: failed program was:" >&5 | |
2656 sed 's/^/| /' conftest.$ac_ext >&5 | |
2657 | |
2658 | |
2659 fi | |
2660 | |
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2909 fi | 2662 fi |
2663 | |
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2911 fi | 2665 fi |
2666 | |
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2913 ac_c_werror_flag=$ac_save_c_werror_flag | 2668 ac_c_werror_flag=$ac_save_c_werror_flag |
2914 fi | 2669 fi |
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 2670 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2916 $as_echo "$ac_cv_prog_cc_g" >&6; } | 2671 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2917 if test "$ac_test_CFLAGS" = set; then | 2672 if test "$ac_test_CFLAGS" = set; then |
2918 CFLAGS=$ac_save_CFLAGS | 2673 CFLAGS=$ac_save_CFLAGS |
2919 elif test $ac_cv_prog_cc_g = yes; then | 2674 elif test $ac_cv_prog_cc_g = yes; then |
2920 if test "$GCC" = yes; then | 2675 if test "$GCC" = yes; then |
2921 CFLAGS="-g -O2" | 2676 CFLAGS="-g -O2" |
2927 CFLAGS="-O2" | 2682 CFLAGS="-O2" |
2928 else | 2683 else |
2929 CFLAGS= | 2684 CFLAGS= |
2930 fi | 2685 fi |
2931 fi | 2686 fi |
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 2687 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2933 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 2688 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2934 if test "${ac_cv_prog_cc_c89+set}" = set; then : | 2689 if test "${ac_cv_prog_cc_c89+set}" = set; then |
2935 $as_echo_n "(cached) " >&6 | 2690 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2936 else | 2691 else |
2937 ac_cv_prog_cc_c89=no | 2692 ac_cv_prog_cc_c89=no |
2938 ac_save_CC=$CC | 2693 ac_save_CC=$CC |
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2694 cat >conftest.$ac_ext <<_ACEOF |
2695 /* confdefs.h. */ | |
2696 _ACEOF | |
2697 cat confdefs.h >>conftest.$ac_ext | |
2698 cat >>conftest.$ac_ext <<_ACEOF | |
2940 /* end confdefs.h. */ | 2699 /* end confdefs.h. */ |
2941 #include <stdarg.h> | 2700 #include <stdarg.h> |
2942 #include <stdio.h> | 2701 #include <stdio.h> |
2943 #include <sys/types.h> | 2702 #include <sys/types.h> |
2944 #include <sys/stat.h> | 2703 #include <sys/stat.h> |
2991 _ACEOF | 2750 _ACEOF |
2992 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 2751 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2993 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2752 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2994 do | 2753 do |
2995 CC="$ac_save_CC $ac_arg" | 2754 CC="$ac_save_CC $ac_arg" |
2996 if ac_fn_c_try_compile "$LINENO"; then : | 2755 rm -f conftest.$ac_objext |
2756 if { (ac_try="$ac_compile" | |
2757 case "(($ac_try" in | |
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2759 *) ac_try_echo=$ac_try;; | |
2760 esac | |
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2762 (eval "$ac_compile") 2>conftest.er1 | |
2763 ac_status=$? | |
2764 grep -v '^ *+' conftest.er1 >conftest.err | |
2765 rm -f conftest.er1 | |
2766 cat conftest.err >&5 | |
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2768 (exit $ac_status); } && { | |
2769 test -z "$ac_c_werror_flag" || | |
2770 test ! -s conftest.err | |
2771 } && test -s conftest.$ac_objext; then | |
2997 ac_cv_prog_cc_c89=$ac_arg | 2772 ac_cv_prog_cc_c89=$ac_arg |
2998 fi | 2773 else |
2774 echo "$as_me: failed program was:" >&5 | |
2775 sed 's/^/| /' conftest.$ac_ext >&5 | |
2776 | |
2777 | |
2778 fi | |
2779 | |
2999 rm -f core conftest.err conftest.$ac_objext | 2780 rm -f core conftest.err conftest.$ac_objext |
3000 test "x$ac_cv_prog_cc_c89" != "xno" && break | 2781 test "x$ac_cv_prog_cc_c89" != "xno" && break |
3001 done | 2782 done |
3002 rm -f conftest.$ac_ext | 2783 rm -f conftest.$ac_ext |
3003 CC=$ac_save_CC | 2784 CC=$ac_save_CC |
3004 | 2785 |
3005 fi | 2786 fi |
3006 # AC_CACHE_VAL | 2787 # AC_CACHE_VAL |
3007 case "x$ac_cv_prog_cc_c89" in | 2788 case "x$ac_cv_prog_cc_c89" in |
3008 x) | 2789 x) |
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 2790 { echo "$as_me:$LINENO: result: none needed" >&5 |
3010 $as_echo "none needed" >&6; } ;; | 2791 echo "${ECHO_T}none needed" >&6; } ;; |
3011 xno) | 2792 xno) |
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 2793 { echo "$as_me:$LINENO: result: unsupported" >&5 |
3013 $as_echo "unsupported" >&6; } ;; | 2794 echo "${ECHO_T}unsupported" >&6; } ;; |
3014 *) | 2795 *) |
3015 CC="$CC $ac_cv_prog_cc_c89" | 2796 CC="$CC $ac_cv_prog_cc_c89" |
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 2797 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3017 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 2798 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
3018 esac | 2799 esac |
3019 if test "x$ac_cv_prog_cc_c89" != xno; then : | 2800 |
3020 | |
3021 fi | |
3022 | 2801 |
3023 ac_ext=cpp | 2802 ac_ext=cpp |
3024 ac_cpp='$CXXCPP $CPPFLAGS' | 2803 ac_cpp='$CXXCPP $CPPFLAGS' |
3025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3038 if test -n "$ac_tool_prefix"; then | 2817 if test -n "$ac_tool_prefix"; then |
3039 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 2818 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
3040 do | 2819 do |
3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2822 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3044 $as_echo_n "checking for $ac_word... " >&6; } | 2823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3045 if test "${ac_cv_prog_CXX+set}" = set; then : | 2824 if test "${ac_cv_prog_CXX+set}" = set; then |
3046 $as_echo_n "(cached) " >&6 | 2825 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3047 else | 2826 else |
3048 if test -n "$CXX"; then | 2827 if test -n "$CXX"; then |
3049 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 2828 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3050 else | 2829 else |
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3052 for as_dir in $PATH | 2831 for as_dir in $PATH |
3053 do | 2832 do |
3054 IFS=$as_save_IFS | 2833 IFS=$as_save_IFS |
3055 test -z "$as_dir" && as_dir=. | 2834 test -z "$as_dir" && as_dir=. |
3056 for ac_exec_ext in '' $ac_executable_extensions; do | 2835 for ac_exec_ext in '' $ac_executable_extensions; do |
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3058 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 2837 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3060 break 2 | 2839 break 2 |
3061 fi | 2840 fi |
3062 done | 2841 done |
3063 done | 2842 done |
3064 IFS=$as_save_IFS | 2843 IFS=$as_save_IFS |
3065 | 2844 |
3066 fi | 2845 fi |
3067 fi | 2846 fi |
3068 CXX=$ac_cv_prog_CXX | 2847 CXX=$ac_cv_prog_CXX |
3069 if test -n "$CXX"; then | 2848 if test -n "$CXX"; then |
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | 2849 { echo "$as_me:$LINENO: result: $CXX" >&5 |
3071 $as_echo "$CXX" >&6; } | 2850 echo "${ECHO_T}$CXX" >&6; } |
3072 else | 2851 else |
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2852 { echo "$as_me:$LINENO: result: no" >&5 |
3074 $as_echo "no" >&6; } | 2853 echo "${ECHO_T}no" >&6; } |
3075 fi | 2854 fi |
3076 | 2855 |
3077 | 2856 |
3078 test -n "$CXX" && break | 2857 test -n "$CXX" && break |
3079 done | 2858 done |
3082 ac_ct_CXX=$CXX | 2861 ac_ct_CXX=$CXX |
3083 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 2862 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
3084 do | 2863 do |
3085 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2864 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3086 set dummy $ac_prog; ac_word=$2 | 2865 set dummy $ac_prog; ac_word=$2 |
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2866 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3088 $as_echo_n "checking for $ac_word... " >&6; } | 2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3089 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : | 2868 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
3090 $as_echo_n "(cached) " >&6 | 2869 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3091 else | 2870 else |
3092 if test -n "$ac_ct_CXX"; then | 2871 if test -n "$ac_ct_CXX"; then |
3093 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 2872 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3094 else | 2873 else |
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3096 for as_dir in $PATH | 2875 for as_dir in $PATH |
3097 do | 2876 do |
3098 IFS=$as_save_IFS | 2877 IFS=$as_save_IFS |
3099 test -z "$as_dir" && as_dir=. | 2878 test -z "$as_dir" && as_dir=. |
3100 for ac_exec_ext in '' $ac_executable_extensions; do | 2879 for ac_exec_ext in '' $ac_executable_extensions; do |
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3102 ac_cv_prog_ac_ct_CXX="$ac_prog" | 2881 ac_cv_prog_ac_ct_CXX="$ac_prog" |
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3104 break 2 | 2883 break 2 |
3105 fi | 2884 fi |
3106 done | 2885 done |
3107 done | 2886 done |
3108 IFS=$as_save_IFS | 2887 IFS=$as_save_IFS |
3109 | 2888 |
3110 fi | 2889 fi |
3111 fi | 2890 fi |
3112 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 2891 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3113 if test -n "$ac_ct_CXX"; then | 2892 if test -n "$ac_ct_CXX"; then |
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | 2893 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3115 $as_echo "$ac_ct_CXX" >&6; } | 2894 echo "${ECHO_T}$ac_ct_CXX" >&6; } |
3116 else | 2895 else |
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2896 { echo "$as_me:$LINENO: result: no" >&5 |
3118 $as_echo "no" >&6; } | 2897 echo "${ECHO_T}no" >&6; } |
3119 fi | 2898 fi |
3120 | 2899 |
3121 | 2900 |
3122 test -n "$ac_ct_CXX" && break | 2901 test -n "$ac_ct_CXX" && break |
3123 done | 2902 done |
3125 if test "x$ac_ct_CXX" = x; then | 2904 if test "x$ac_ct_CXX" = x; then |
3126 CXX="g++" | 2905 CXX="g++" |
3127 else | 2906 else |
3128 case $cross_compiling:$ac_tool_warned in | 2907 case $cross_compiling:$ac_tool_warned in |
3129 yes:) | 2908 yes:) |
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2909 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 2910 whose name does not start with the host triplet. If you think this |
2911 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2912 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2913 whose name does not start with the host triplet. If you think this | |
2914 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3132 ac_tool_warned=yes ;; | 2915 ac_tool_warned=yes ;; |
3133 esac | 2916 esac |
3134 CXX=$ac_ct_CXX | 2917 CXX=$ac_ct_CXX |
3135 fi | 2918 fi |
3136 fi | 2919 fi |
3137 | 2920 |
3138 fi | 2921 fi |
3139 fi | 2922 fi |
3140 # Provide some information about the compiler. | 2923 # Provide some information about the compiler. |
3141 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | 2924 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
3142 set X $ac_compile | 2925 ac_compiler=`set X $ac_compile; echo $2` |
3143 ac_compiler=$2 | 2926 { (ac_try="$ac_compiler --version >&5" |
3144 for ac_option in --version -v -V -qversion; do | |
3145 { { ac_try="$ac_compiler $ac_option >&5" | |
3146 case "(($ac_try" in | 2927 case "(($ac_try" in |
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3148 *) ac_try_echo=$ac_try;; | 2929 *) ac_try_echo=$ac_try;; |
3149 esac | 2930 esac |
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3151 $as_echo "$ac_try_echo"; } >&5 | 2932 (eval "$ac_compiler --version >&5") 2>&5 |
3152 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
3153 ac_status=$? | 2933 ac_status=$? |
3154 if test -s conftest.err; then | 2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3155 sed '10a\ | 2935 (exit $ac_status); } |
3156 ... rest of stderr output deleted ... | 2936 { (ac_try="$ac_compiler -v >&5" |
3157 10q' conftest.err >conftest.er1 | 2937 case "(($ac_try" in |
3158 cat conftest.er1 >&5 | 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3159 fi | 2939 *) ac_try_echo=$ac_try;; |
3160 rm -f conftest.er1 conftest.err | 2940 esac |
3161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3162 test $ac_status = 0; } | 2942 (eval "$ac_compiler -v >&5") 2>&5 |
3163 done | 2943 ac_status=$? |
3164 | 2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 2945 (exit $ac_status); } |
3166 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 2946 { (ac_try="$ac_compiler -V >&5" |
3167 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : | 2947 case "(($ac_try" in |
3168 $as_echo_n "(cached) " >&6 | 2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3169 else | 2949 *) ac_try_echo=$ac_try;; |
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2950 esac |
2951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2952 (eval "$ac_compiler -V >&5") 2>&5 | |
2953 ac_status=$? | |
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2955 (exit $ac_status); } | |
2956 | |
2957 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | |
2958 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | |
2959 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | |
2960 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2961 else | |
2962 cat >conftest.$ac_ext <<_ACEOF | |
2963 /* confdefs.h. */ | |
2964 _ACEOF | |
2965 cat confdefs.h >>conftest.$ac_ext | |
2966 cat >>conftest.$ac_ext <<_ACEOF | |
3171 /* end confdefs.h. */ | 2967 /* end confdefs.h. */ |
3172 | 2968 |
3173 int | 2969 int |
3174 main () | 2970 main () |
3175 { | 2971 { |
3179 | 2975 |
3180 ; | 2976 ; |
3181 return 0; | 2977 return 0; |
3182 } | 2978 } |
3183 _ACEOF | 2979 _ACEOF |
3184 if ac_fn_cxx_try_compile "$LINENO"; then : | 2980 rm -f conftest.$ac_objext |
2981 if { (ac_try="$ac_compile" | |
2982 case "(($ac_try" in | |
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2984 *) ac_try_echo=$ac_try;; | |
2985 esac | |
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2987 (eval "$ac_compile") 2>conftest.er1 | |
2988 ac_status=$? | |
2989 grep -v '^ *+' conftest.er1 >conftest.err | |
2990 rm -f conftest.er1 | |
2991 cat conftest.err >&5 | |
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2993 (exit $ac_status); } && { | |
2994 test -z "$ac_cxx_werror_flag" || | |
2995 test ! -s conftest.err | |
2996 } && test -s conftest.$ac_objext; then | |
3185 ac_compiler_gnu=yes | 2997 ac_compiler_gnu=yes |
3186 else | 2998 else |
3187 ac_compiler_gnu=no | 2999 echo "$as_me: failed program was:" >&5 |
3188 fi | 3000 sed 's/^/| /' conftest.$ac_ext >&5 |
3001 | |
3002 ac_compiler_gnu=no | |
3003 fi | |
3004 | |
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3190 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 3006 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3191 | 3007 |
3192 fi | 3008 fi |
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | 3009 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3194 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | 3010 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
3195 if test $ac_compiler_gnu = yes; then | 3011 GXX=`test $ac_compiler_gnu = yes && echo yes` |
3196 GXX=yes | |
3197 else | |
3198 GXX= | |
3199 fi | |
3200 ac_test_CXXFLAGS=${CXXFLAGS+set} | 3012 ac_test_CXXFLAGS=${CXXFLAGS+set} |
3201 ac_save_CXXFLAGS=$CXXFLAGS | 3013 ac_save_CXXFLAGS=$CXXFLAGS |
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 3014 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3203 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 3015 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
3204 if test "${ac_cv_prog_cxx_g+set}" = set; then : | 3016 if test "${ac_cv_prog_cxx_g+set}" = set; then |
3205 $as_echo_n "(cached) " >&6 | 3017 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3206 else | 3018 else |
3207 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 3019 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3208 ac_cxx_werror_flag=yes | 3020 ac_cxx_werror_flag=yes |
3209 ac_cv_prog_cxx_g=no | 3021 ac_cv_prog_cxx_g=no |
3210 CXXFLAGS="-g" | 3022 CXXFLAGS="-g" |
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3023 cat >conftest.$ac_ext <<_ACEOF |
3024 /* confdefs.h. */ | |
3025 _ACEOF | |
3026 cat confdefs.h >>conftest.$ac_ext | |
3027 cat >>conftest.$ac_ext <<_ACEOF | |
3212 /* end confdefs.h. */ | 3028 /* end confdefs.h. */ |
3213 | 3029 |
3214 int | 3030 int |
3215 main () | 3031 main () |
3216 { | 3032 { |
3217 | 3033 |
3218 ; | 3034 ; |
3219 return 0; | 3035 return 0; |
3220 } | 3036 } |
3221 _ACEOF | 3037 _ACEOF |
3222 if ac_fn_cxx_try_compile "$LINENO"; then : | 3038 rm -f conftest.$ac_objext |
3039 if { (ac_try="$ac_compile" | |
3040 case "(($ac_try" in | |
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3042 *) ac_try_echo=$ac_try;; | |
3043 esac | |
3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3045 (eval "$ac_compile") 2>conftest.er1 | |
3046 ac_status=$? | |
3047 grep -v '^ *+' conftest.er1 >conftest.err | |
3048 rm -f conftest.er1 | |
3049 cat conftest.err >&5 | |
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3051 (exit $ac_status); } && { | |
3052 test -z "$ac_cxx_werror_flag" || | |
3053 test ! -s conftest.err | |
3054 } && test -s conftest.$ac_objext; then | |
3223 ac_cv_prog_cxx_g=yes | 3055 ac_cv_prog_cxx_g=yes |
3224 else | 3056 else |
3225 CXXFLAGS="" | 3057 echo "$as_me: failed program was:" >&5 |
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3058 sed 's/^/| /' conftest.$ac_ext >&5 |
3059 | |
3060 CXXFLAGS="" | |
3061 cat >conftest.$ac_ext <<_ACEOF | |
3062 /* confdefs.h. */ | |
3063 _ACEOF | |
3064 cat confdefs.h >>conftest.$ac_ext | |
3065 cat >>conftest.$ac_ext <<_ACEOF | |
3227 /* end confdefs.h. */ | 3066 /* end confdefs.h. */ |
3228 | 3067 |
3229 int | 3068 int |
3230 main () | 3069 main () |
3231 { | 3070 { |
3232 | 3071 |
3233 ; | 3072 ; |
3234 return 0; | 3073 return 0; |
3235 } | 3074 } |
3236 _ACEOF | 3075 _ACEOF |
3237 if ac_fn_cxx_try_compile "$LINENO"; then : | 3076 rm -f conftest.$ac_objext |
3238 | 3077 if { (ac_try="$ac_compile" |
3239 else | 3078 case "(($ac_try" in |
3240 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3080 *) ac_try_echo=$ac_try;; | |
3081 esac | |
3082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3083 (eval "$ac_compile") 2>conftest.er1 | |
3084 ac_status=$? | |
3085 grep -v '^ *+' conftest.er1 >conftest.err | |
3086 rm -f conftest.er1 | |
3087 cat conftest.err >&5 | |
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3089 (exit $ac_status); } && { | |
3090 test -z "$ac_cxx_werror_flag" || | |
3091 test ! -s conftest.err | |
3092 } && test -s conftest.$ac_objext; then | |
3093 : | |
3094 else | |
3095 echo "$as_me: failed program was:" >&5 | |
3096 sed 's/^/| /' conftest.$ac_ext >&5 | |
3097 | |
3098 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
3241 CXXFLAGS="-g" | 3099 CXXFLAGS="-g" |
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3100 cat >conftest.$ac_ext <<_ACEOF |
3101 /* confdefs.h. */ | |
3102 _ACEOF | |
3103 cat confdefs.h >>conftest.$ac_ext | |
3104 cat >>conftest.$ac_ext <<_ACEOF | |
3243 /* end confdefs.h. */ | 3105 /* end confdefs.h. */ |
3244 | 3106 |
3245 int | 3107 int |
3246 main () | 3108 main () |
3247 { | 3109 { |
3248 | 3110 |
3249 ; | 3111 ; |
3250 return 0; | 3112 return 0; |
3251 } | 3113 } |
3252 _ACEOF | 3114 _ACEOF |
3253 if ac_fn_cxx_try_compile "$LINENO"; then : | 3115 rm -f conftest.$ac_objext |
3116 if { (ac_try="$ac_compile" | |
3117 case "(($ac_try" in | |
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3119 *) ac_try_echo=$ac_try;; | |
3120 esac | |
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3122 (eval "$ac_compile") 2>conftest.er1 | |
3123 ac_status=$? | |
3124 grep -v '^ *+' conftest.er1 >conftest.err | |
3125 rm -f conftest.er1 | |
3126 cat conftest.err >&5 | |
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3128 (exit $ac_status); } && { | |
3129 test -z "$ac_cxx_werror_flag" || | |
3130 test ! -s conftest.err | |
3131 } && test -s conftest.$ac_objext; then | |
3254 ac_cv_prog_cxx_g=yes | 3132 ac_cv_prog_cxx_g=yes |
3255 fi | 3133 else |
3134 echo "$as_me: failed program was:" >&5 | |
3135 sed 's/^/| /' conftest.$ac_ext >&5 | |
3136 | |
3137 | |
3138 fi | |
3139 | |
3256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3257 fi | 3141 fi |
3142 | |
3258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3259 fi | 3144 fi |
3145 | |
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3261 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 3147 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3262 fi | 3148 fi |
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | 3149 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3264 $as_echo "$ac_cv_prog_cxx_g" >&6; } | 3150 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
3265 if test "$ac_test_CXXFLAGS" = set; then | 3151 if test "$ac_test_CXXFLAGS" = set; then |
3266 CXXFLAGS=$ac_save_CXXFLAGS | 3152 CXXFLAGS=$ac_save_CXXFLAGS |
3267 elif test $ac_cv_prog_cxx_g = yes; then | 3153 elif test $ac_cv_prog_cxx_g = yes; then |
3268 if test "$GXX" = yes; then | 3154 if test "$GXX" = yes; then |
3269 CXXFLAGS="-g -O2" | 3155 CXXFLAGS="-g -O2" |
3298 ac_install_sh="$ac_aux_dir/shtool install -c" | 3184 ac_install_sh="$ac_aux_dir/shtool install -c" |
3299 break | 3185 break |
3300 fi | 3186 fi |
3301 done | 3187 done |
3302 if test -z "$ac_aux_dir"; then | 3188 if test -z "$ac_aux_dir"; then |
3303 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3189 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
3190 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
3191 { (exit 1); exit 1; }; } | |
3304 fi | 3192 fi |
3305 | 3193 |
3306 # These three variables are undocumented and unsupported, | 3194 # These three variables are undocumented and unsupported, |
3307 # and are intended to be withdrawn in a future Autoconf release. | 3195 # and are intended to be withdrawn in a future Autoconf release. |
3308 # They can cause serious problems if a builder's source tree is in a directory | 3196 # They can cause serious problems if a builder's source tree is in a directory |
3323 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3211 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3324 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3212 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3325 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3213 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3326 # OS/2's system install, which has a completely different semantic | 3214 # OS/2's system install, which has a completely different semantic |
3327 # ./install, which can be erroneously created by make from ./install.sh. | 3215 # ./install, which can be erroneously created by make from ./install.sh. |
3328 # Reject install programs that cannot install multiple files. | 3216 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 3217 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
3330 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3331 if test -z "$INSTALL"; then | 3218 if test -z "$INSTALL"; then |
3332 if test "${ac_cv_path_install+set}" = set; then : | 3219 if test "${ac_cv_path_install+set}" = set; then |
3333 $as_echo_n "(cached) " >&6 | 3220 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3334 else | 3221 else |
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3336 for as_dir in $PATH | 3223 for as_dir in $PATH |
3337 do | 3224 do |
3338 IFS=$as_save_IFS | 3225 IFS=$as_save_IFS |
3339 test -z "$as_dir" && as_dir=. | 3226 test -z "$as_dir" && as_dir=. |
3340 # Account for people who put trailing slashes in PATH elements. | 3227 # Account for people who put trailing slashes in PATH elements. |
3341 case $as_dir/ in #(( | 3228 case $as_dir/ in |
3342 ./ | .// | /[cC]/* | \ | 3229 ./ | .// | /cC/* | \ |
3343 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3230 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3344 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 3231 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
3345 /usr/ucb/* ) ;; | 3232 /usr/ucb/* ) ;; |
3346 *) | 3233 *) |
3347 # OSF1 and SCO ODT 3.0 have their own names for install. | 3234 # OSF1 and SCO ODT 3.0 have their own names for install. |
3348 # Don't use installbsd from OSF since it installs stuff as root | 3235 # Don't use installbsd from OSF since it installs stuff as root |
3349 # by default. | 3236 # by default. |
3357 elif test $ac_prog = install && | 3244 elif test $ac_prog = install && |
3358 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3245 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3359 # program-specific install script used by HP pwplus--don't use. | 3246 # program-specific install script used by HP pwplus--don't use. |
3360 : | 3247 : |
3361 else | 3248 else |
3362 rm -rf conftest.one conftest.two conftest.dir | 3249 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3363 echo one > conftest.one | 3250 break 3 |
3364 echo two > conftest.two | |
3365 mkdir conftest.dir | |
3366 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
3367 test -s conftest.one && test -s conftest.two && | |
3368 test -s conftest.dir/conftest.one && | |
3369 test -s conftest.dir/conftest.two | |
3370 then | |
3371 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3372 break 3 | |
3373 fi | |
3374 fi | 3251 fi |
3375 fi | 3252 fi |
3376 done | 3253 done |
3377 done | 3254 done |
3378 ;; | 3255 ;; |
3379 esac | 3256 esac |
3380 | 3257 done |
3381 done | |
3382 IFS=$as_save_IFS | 3258 IFS=$as_save_IFS |
3383 | 3259 |
3384 rm -rf conftest.one conftest.two conftest.dir | |
3385 | 3260 |
3386 fi | 3261 fi |
3387 if test "${ac_cv_path_install+set}" = set; then | 3262 if test "${ac_cv_path_install+set}" = set; then |
3388 INSTALL=$ac_cv_path_install | 3263 INSTALL=$ac_cv_path_install |
3389 else | 3264 else |
3392 # break other packages using the cache if that directory is | 3267 # break other packages using the cache if that directory is |
3393 # removed, or if the value is a relative name. | 3268 # removed, or if the value is a relative name. |
3394 INSTALL=$ac_install_sh | 3269 INSTALL=$ac_install_sh |
3395 fi | 3270 fi |
3396 fi | 3271 fi |
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 3272 { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3398 $as_echo "$INSTALL" >&6; } | 3273 echo "${ECHO_T}$INSTALL" >&6; } |
3399 | 3274 |
3400 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3275 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3401 # It thinks the first close brace ends the variable substitution. | 3276 # It thinks the first close brace ends the variable substitution. |
3402 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3277 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3403 | 3278 |
3404 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 3279 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3405 | 3280 |
3406 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3281 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3407 | 3282 |
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | 3283 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
3409 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | 3284 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } |
3410 if test -z "$MKDIR_P"; then | 3285 if test -z "$MKDIR_P"; then |
3411 if test "${ac_cv_path_mkdir+set}" = set; then : | 3286 if test "${ac_cv_path_mkdir+set}" = set; then |
3412 $as_echo_n "(cached) " >&6 | 3287 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3413 else | 3288 else |
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3415 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | 3290 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
3416 do | 3291 do |
3417 IFS=$as_save_IFS | 3292 IFS=$as_save_IFS |
3418 test -z "$as_dir" && as_dir=. | 3293 test -z "$as_dir" && as_dir=. |
3419 for ac_prog in mkdir gmkdir; do | 3294 for ac_prog in mkdir gmkdir; do |
3420 for ac_exec_ext in '' $ac_executable_extensions; do | 3295 for ac_exec_ext in '' $ac_executable_extensions; do |
3421 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | 3296 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
3422 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | 3297 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
3423 'mkdir (GNU coreutils) '* | \ | 3298 'mkdir (GNU coreutils) '* | \ |
3424 'mkdir (coreutils) '* | \ | 3299 'mkdir (coreutils) '* | \ |
3426 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | 3301 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
3427 break 3;; | 3302 break 3;; |
3428 esac | 3303 esac |
3429 done | 3304 done |
3430 done | 3305 done |
3431 done | 3306 done |
3432 IFS=$as_save_IFS | 3307 IFS=$as_save_IFS |
3433 | 3308 |
3434 fi | 3309 fi |
3435 | 3310 |
3436 test -d ./--version && rmdir ./--version | |
3437 if test "${ac_cv_path_mkdir+set}" = set; then | 3311 if test "${ac_cv_path_mkdir+set}" = set; then |
3438 MKDIR_P="$ac_cv_path_mkdir -p" | 3312 MKDIR_P="$ac_cv_path_mkdir -p" |
3439 else | 3313 else |
3440 # As a last resort, use the slow shell script. Don't cache a | 3314 # As a last resort, use the slow shell script. Don't cache a |
3441 # value for MKDIR_P within a source directory, because that will | 3315 # value for MKDIR_P within a source directory, because that will |
3442 # break other packages using the cache if that directory is | 3316 # break other packages using the cache if that directory is |
3443 # removed, or if the value is a relative name. | 3317 # removed, or if the value is a relative name. |
3318 test -d ./--version && rmdir ./--version | |
3444 MKDIR_P="$ac_install_sh -d" | 3319 MKDIR_P="$ac_install_sh -d" |
3445 fi | 3320 fi |
3446 fi | 3321 fi |
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | 3322 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
3448 $as_echo "$MKDIR_P" >&6; } | 3323 echo "${ECHO_T}$MKDIR_P" >&6; } |
3449 | 3324 |
3450 | 3325 |
3451 | 3326 |
3452 ac_ext=cpp | 3327 ac_ext=cpp |
3453 ac_cpp='$CXXCPP $CPPFLAGS' | 3328 ac_cpp='$CXXCPP $CPPFLAGS' |
3454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 3331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 | 3332 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
3458 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } | 3333 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
3459 if test -z "$CXXCPP"; then | 3334 if test -z "$CXXCPP"; then |
3460 if test "${ac_cv_prog_CXXCPP+set}" = set; then : | 3335 if test "${ac_cv_prog_CXXCPP+set}" = set; then |
3461 $as_echo_n "(cached) " >&6 | 3336 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3462 else | 3337 else |
3463 # Double quotes because CXXCPP needs to be expanded | 3338 # Double quotes because CXXCPP needs to be expanded |
3464 for CXXCPP in "$CXX -E" "/lib/cpp" | 3339 for CXXCPP in "$CXX -E" "/lib/cpp" |
3465 do | 3340 do |
3466 ac_preproc_ok=false | 3341 ac_preproc_ok=false |
3470 # with a fresh cross-compiler works. | 3345 # with a fresh cross-compiler works. |
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3472 # <limits.h> exists even on freestanding compilers. | 3347 # <limits.h> exists even on freestanding compilers. |
3473 # On the NeXT, cc -E runs the code through the compiler's parser, | 3348 # On the NeXT, cc -E runs the code through the compiler's parser, |
3474 # not just through cpp. "Syntax error" is here to catch this case. | 3349 # not just through cpp. "Syntax error" is here to catch this case. |
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3350 cat >conftest.$ac_ext <<_ACEOF |
3351 /* confdefs.h. */ | |
3352 _ACEOF | |
3353 cat confdefs.h >>conftest.$ac_ext | |
3354 cat >>conftest.$ac_ext <<_ACEOF | |
3476 /* end confdefs.h. */ | 3355 /* end confdefs.h. */ |
3477 #ifdef __STDC__ | 3356 #ifdef __STDC__ |
3478 # include <limits.h> | 3357 # include <limits.h> |
3479 #else | 3358 #else |
3480 # include <assert.h> | 3359 # include <assert.h> |
3481 #endif | 3360 #endif |
3482 Syntax error | 3361 Syntax error |
3483 _ACEOF | 3362 _ACEOF |
3484 if ac_fn_cxx_try_cpp "$LINENO"; then : | 3363 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3485 | 3364 case "(($ac_try" in |
3486 else | 3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3366 *) ac_try_echo=$ac_try;; | |
3367 esac | |
3368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3369 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3370 ac_status=$? | |
3371 grep -v '^ *+' conftest.er1 >conftest.err | |
3372 rm -f conftest.er1 | |
3373 cat conftest.err >&5 | |
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3375 (exit $ac_status); } >/dev/null && { | |
3376 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
3377 test ! -s conftest.err | |
3378 }; then | |
3379 : | |
3380 else | |
3381 echo "$as_me: failed program was:" >&5 | |
3382 sed 's/^/| /' conftest.$ac_ext >&5 | |
3383 | |
3487 # Broken: fails on valid input. | 3384 # Broken: fails on valid input. |
3488 continue | 3385 continue |
3489 fi | 3386 fi |
3490 rm -f conftest.err conftest.i conftest.$ac_ext | 3387 |
3388 rm -f conftest.err conftest.$ac_ext | |
3491 | 3389 |
3492 # OK, works on sane cases. Now check whether nonexistent headers | 3390 # OK, works on sane cases. Now check whether nonexistent headers |
3493 # can be detected and how. | 3391 # can be detected and how. |
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3392 cat >conftest.$ac_ext <<_ACEOF |
3393 /* confdefs.h. */ | |
3394 _ACEOF | |
3395 cat confdefs.h >>conftest.$ac_ext | |
3396 cat >>conftest.$ac_ext <<_ACEOF | |
3495 /* end confdefs.h. */ | 3397 /* end confdefs.h. */ |
3496 #include <ac_nonexistent.h> | 3398 #include <ac_nonexistent.h> |
3497 _ACEOF | 3399 _ACEOF |
3498 if ac_fn_cxx_try_cpp "$LINENO"; then : | 3400 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3401 case "(($ac_try" in | |
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3403 *) ac_try_echo=$ac_try;; | |
3404 esac | |
3405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3407 ac_status=$? | |
3408 grep -v '^ *+' conftest.er1 >conftest.err | |
3409 rm -f conftest.er1 | |
3410 cat conftest.err >&5 | |
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3412 (exit $ac_status); } >/dev/null && { | |
3413 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
3414 test ! -s conftest.err | |
3415 }; then | |
3499 # Broken: success on invalid input. | 3416 # Broken: success on invalid input. |
3500 continue | 3417 continue |
3501 else | 3418 else |
3419 echo "$as_me: failed program was:" >&5 | |
3420 sed 's/^/| /' conftest.$ac_ext >&5 | |
3421 | |
3502 # Passes both tests. | 3422 # Passes both tests. |
3503 ac_preproc_ok=: | 3423 ac_preproc_ok=: |
3504 break | 3424 break |
3505 fi | 3425 fi |
3506 rm -f conftest.err conftest.i conftest.$ac_ext | 3426 |
3427 rm -f conftest.err conftest.$ac_ext | |
3507 | 3428 |
3508 done | 3429 done |
3509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3510 rm -f conftest.i conftest.err conftest.$ac_ext | 3431 rm -f conftest.err conftest.$ac_ext |
3511 if $ac_preproc_ok; then : | 3432 if $ac_preproc_ok; then |
3512 break | 3433 break |
3513 fi | 3434 fi |
3514 | 3435 |
3515 done | 3436 done |
3516 ac_cv_prog_CXXCPP=$CXXCPP | 3437 ac_cv_prog_CXXCPP=$CXXCPP |
3518 fi | 3439 fi |
3519 CXXCPP=$ac_cv_prog_CXXCPP | 3440 CXXCPP=$ac_cv_prog_CXXCPP |
3520 else | 3441 else |
3521 ac_cv_prog_CXXCPP=$CXXCPP | 3442 ac_cv_prog_CXXCPP=$CXXCPP |
3522 fi | 3443 fi |
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 | 3444 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
3524 $as_echo "$CXXCPP" >&6; } | 3445 echo "${ECHO_T}$CXXCPP" >&6; } |
3525 ac_preproc_ok=false | 3446 ac_preproc_ok=false |
3526 for ac_cxx_preproc_warn_flag in '' yes | 3447 for ac_cxx_preproc_warn_flag in '' yes |
3527 do | 3448 do |
3528 # Use a header file that comes with gcc, so configuring glibc | 3449 # Use a header file that comes with gcc, so configuring glibc |
3529 # with a fresh cross-compiler works. | 3450 # with a fresh cross-compiler works. |
3530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3531 # <limits.h> exists even on freestanding compilers. | 3452 # <limits.h> exists even on freestanding compilers. |
3532 # On the NeXT, cc -E runs the code through the compiler's parser, | 3453 # On the NeXT, cc -E runs the code through the compiler's parser, |
3533 # not just through cpp. "Syntax error" is here to catch this case. | 3454 # not just through cpp. "Syntax error" is here to catch this case. |
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3455 cat >conftest.$ac_ext <<_ACEOF |
3456 /* confdefs.h. */ | |
3457 _ACEOF | |
3458 cat confdefs.h >>conftest.$ac_ext | |
3459 cat >>conftest.$ac_ext <<_ACEOF | |
3535 /* end confdefs.h. */ | 3460 /* end confdefs.h. */ |
3536 #ifdef __STDC__ | 3461 #ifdef __STDC__ |
3537 # include <limits.h> | 3462 # include <limits.h> |
3538 #else | 3463 #else |
3539 # include <assert.h> | 3464 # include <assert.h> |
3540 #endif | 3465 #endif |
3541 Syntax error | 3466 Syntax error |
3542 _ACEOF | 3467 _ACEOF |
3543 if ac_fn_cxx_try_cpp "$LINENO"; then : | 3468 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3544 | 3469 case "(($ac_try" in |
3545 else | 3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3471 *) ac_try_echo=$ac_try;; | |
3472 esac | |
3473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3475 ac_status=$? | |
3476 grep -v '^ *+' conftest.er1 >conftest.err | |
3477 rm -f conftest.er1 | |
3478 cat conftest.err >&5 | |
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3480 (exit $ac_status); } >/dev/null && { | |
3481 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
3482 test ! -s conftest.err | |
3483 }; then | |
3484 : | |
3485 else | |
3486 echo "$as_me: failed program was:" >&5 | |
3487 sed 's/^/| /' conftest.$ac_ext >&5 | |
3488 | |
3546 # Broken: fails on valid input. | 3489 # Broken: fails on valid input. |
3547 continue | 3490 continue |
3548 fi | 3491 fi |
3549 rm -f conftest.err conftest.i conftest.$ac_ext | 3492 |
3493 rm -f conftest.err conftest.$ac_ext | |
3550 | 3494 |
3551 # OK, works on sane cases. Now check whether nonexistent headers | 3495 # OK, works on sane cases. Now check whether nonexistent headers |
3552 # can be detected and how. | 3496 # can be detected and how. |
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3497 cat >conftest.$ac_ext <<_ACEOF |
3498 /* confdefs.h. */ | |
3499 _ACEOF | |
3500 cat confdefs.h >>conftest.$ac_ext | |
3501 cat >>conftest.$ac_ext <<_ACEOF | |
3554 /* end confdefs.h. */ | 3502 /* end confdefs.h. */ |
3555 #include <ac_nonexistent.h> | 3503 #include <ac_nonexistent.h> |
3556 _ACEOF | 3504 _ACEOF |
3557 if ac_fn_cxx_try_cpp "$LINENO"; then : | 3505 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3506 case "(($ac_try" in | |
3507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3508 *) ac_try_echo=$ac_try;; | |
3509 esac | |
3510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3512 ac_status=$? | |
3513 grep -v '^ *+' conftest.er1 >conftest.err | |
3514 rm -f conftest.er1 | |
3515 cat conftest.err >&5 | |
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3517 (exit $ac_status); } >/dev/null && { | |
3518 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
3519 test ! -s conftest.err | |
3520 }; then | |
3558 # Broken: success on invalid input. | 3521 # Broken: success on invalid input. |
3559 continue | 3522 continue |
3560 else | 3523 else |
3524 echo "$as_me: failed program was:" >&5 | |
3525 sed 's/^/| /' conftest.$ac_ext >&5 | |
3526 | |
3561 # Passes both tests. | 3527 # Passes both tests. |
3562 ac_preproc_ok=: | 3528 ac_preproc_ok=: |
3563 break | 3529 break |
3564 fi | 3530 fi |
3565 rm -f conftest.err conftest.i conftest.$ac_ext | 3531 |
3532 rm -f conftest.err conftest.$ac_ext | |
3566 | 3533 |
3567 done | 3534 done |
3568 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3569 rm -f conftest.i conftest.err conftest.$ac_ext | 3536 rm -f conftest.err conftest.$ac_ext |
3570 if $ac_preproc_ok; then : | 3537 if $ac_preproc_ok; then |
3571 | 3538 : |
3572 else | 3539 else |
3573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3540 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3541 See \`config.log' for more details." >&5 |
3575 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check | 3542 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
3576 See \`config.log' for more details" "$LINENO" 5 ; } | 3543 See \`config.log' for more details." >&2;} |
3544 { (exit 1); exit 1; }; } | |
3577 fi | 3545 fi |
3578 | 3546 |
3579 ac_ext=cpp | 3547 ac_ext=cpp |
3580 ac_cpp='$CXXCPP $CPPFLAGS' | 3548 ac_cpp='$CXXCPP $CPPFLAGS' |
3581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 3551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3584 | 3552 |
3585 | 3553 |
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 3554 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3587 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 3555 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3588 if test "${ac_cv_path_GREP+set}" = set; then : | 3556 if test "${ac_cv_path_GREP+set}" = set; then |
3589 $as_echo_n "(cached) " >&6 | 3557 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3590 else | 3558 else |
3591 if test -z "$GREP"; then | 3559 # Extract the first word of "grep ggrep" to use in msg output |
3560 if test -z "$GREP"; then | |
3561 set dummy grep ggrep; ac_prog_name=$2 | |
3562 if test "${ac_cv_path_GREP+set}" = set; then | |
3563 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3564 else | |
3592 ac_path_GREP_found=false | 3565 ac_path_GREP_found=false |
3593 # Loop through the user's path and test for each of PROGNAME-LIST | 3566 # Loop through the user's path and test for each of PROGNAME-LIST |
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3595 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3568 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3596 do | 3569 do |
3597 IFS=$as_save_IFS | 3570 IFS=$as_save_IFS |
3598 test -z "$as_dir" && as_dir=. | 3571 test -z "$as_dir" && as_dir=. |
3599 for ac_prog in grep ggrep; do | 3572 for ac_prog in grep ggrep; do |
3600 for ac_exec_ext in '' $ac_executable_extensions; do | 3573 for ac_exec_ext in '' $ac_executable_extensions; do |
3601 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3574 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3602 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 3575 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3603 # Check for GNU ac_path_GREP and select it if it is found. | 3576 # Check for GNU ac_path_GREP and select it if it is found. |
3604 # Check for GNU $ac_path_GREP | 3577 # Check for GNU $ac_path_GREP |
3605 case `"$ac_path_GREP" --version 2>&1` in | 3578 case `"$ac_path_GREP" --version 2>&1` in |
3606 *GNU*) | 3579 *GNU*) |
3607 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 3580 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3608 *) | 3581 *) |
3609 ac_count=0 | 3582 ac_count=0 |
3610 $as_echo_n 0123456789 >"conftest.in" | 3583 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3611 while : | 3584 while : |
3612 do | 3585 do |
3613 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3586 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3614 mv "conftest.tmp" "conftest.in" | 3587 mv "conftest.tmp" "conftest.in" |
3615 cp "conftest.in" "conftest.nl" | 3588 cp "conftest.in" "conftest.nl" |
3616 $as_echo 'GREP' >> "conftest.nl" | 3589 echo 'GREP' >> "conftest.nl" |
3617 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3590 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3618 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3591 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3619 as_fn_arith $ac_count + 1 && ac_count=$as_val | 3592 ac_count=`expr $ac_count + 1` |
3620 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 3593 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3621 # Best one so far, save it but keep looking for a better one | 3594 # Best one so far, save it but keep looking for a better one |
3622 ac_cv_path_GREP="$ac_path_GREP" | 3595 ac_cv_path_GREP="$ac_path_GREP" |
3623 ac_path_GREP_max=$ac_count | 3596 ac_path_GREP_max=$ac_count |
3624 fi | 3597 fi |
3626 test $ac_count -gt 10 && break | 3599 test $ac_count -gt 10 && break |
3627 done | 3600 done |
3628 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3601 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3629 esac | 3602 esac |
3630 | 3603 |
3631 $ac_path_GREP_found && break 3 | 3604 |
3632 done | 3605 $ac_path_GREP_found && break 3 |
3633 done | 3606 done |
3634 done | 3607 done |
3608 | |
3609 done | |
3635 IFS=$as_save_IFS | 3610 IFS=$as_save_IFS |
3636 if test -z "$ac_cv_path_GREP"; then | 3611 |
3637 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3612 |
3638 fi | 3613 fi |
3614 | |
3615 GREP="$ac_cv_path_GREP" | |
3616 if test -z "$GREP"; then | |
3617 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3618 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3619 { (exit 1); exit 1; }; } | |
3620 fi | |
3621 | |
3639 else | 3622 else |
3640 ac_cv_path_GREP=$GREP | 3623 ac_cv_path_GREP=$GREP |
3641 fi | 3624 fi |
3642 | 3625 |
3643 fi | 3626 |
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 3627 fi |
3645 $as_echo "$ac_cv_path_GREP" >&6; } | 3628 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3629 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
3646 GREP="$ac_cv_path_GREP" | 3630 GREP="$ac_cv_path_GREP" |
3647 | 3631 |
3648 | 3632 |
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 3633 { echo "$as_me:$LINENO: checking for egrep" >&5 |
3650 $as_echo_n "checking for egrep... " >&6; } | 3634 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
3651 if test "${ac_cv_path_EGREP+set}" = set; then : | 3635 if test "${ac_cv_path_EGREP+set}" = set; then |
3652 $as_echo_n "(cached) " >&6 | 3636 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3653 else | 3637 else |
3654 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3638 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3655 then ac_cv_path_EGREP="$GREP -E" | 3639 then ac_cv_path_EGREP="$GREP -E" |
3656 else | 3640 else |
3657 if test -z "$EGREP"; then | 3641 # Extract the first word of "egrep" to use in msg output |
3642 if test -z "$EGREP"; then | |
3643 set dummy egrep; ac_prog_name=$2 | |
3644 if test "${ac_cv_path_EGREP+set}" = set; then | |
3645 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3646 else | |
3658 ac_path_EGREP_found=false | 3647 ac_path_EGREP_found=false |
3659 # Loop through the user's path and test for each of PROGNAME-LIST | 3648 # Loop through the user's path and test for each of PROGNAME-LIST |
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3661 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3650 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3662 do | 3651 do |
3663 IFS=$as_save_IFS | 3652 IFS=$as_save_IFS |
3664 test -z "$as_dir" && as_dir=. | 3653 test -z "$as_dir" && as_dir=. |
3665 for ac_prog in egrep; do | 3654 for ac_prog in egrep; do |
3666 for ac_exec_ext in '' $ac_executable_extensions; do | 3655 for ac_exec_ext in '' $ac_executable_extensions; do |
3667 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 3656 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3668 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 3657 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3669 # Check for GNU ac_path_EGREP and select it if it is found. | 3658 # Check for GNU ac_path_EGREP and select it if it is found. |
3670 # Check for GNU $ac_path_EGREP | 3659 # Check for GNU $ac_path_EGREP |
3671 case `"$ac_path_EGREP" --version 2>&1` in | 3660 case `"$ac_path_EGREP" --version 2>&1` in |
3672 *GNU*) | 3661 *GNU*) |
3673 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 3662 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3674 *) | 3663 *) |
3675 ac_count=0 | 3664 ac_count=0 |
3676 $as_echo_n 0123456789 >"conftest.in" | 3665 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3677 while : | 3666 while : |
3678 do | 3667 do |
3679 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3668 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3680 mv "conftest.tmp" "conftest.in" | 3669 mv "conftest.tmp" "conftest.in" |
3681 cp "conftest.in" "conftest.nl" | 3670 cp "conftest.in" "conftest.nl" |
3682 $as_echo 'EGREP' >> "conftest.nl" | 3671 echo 'EGREP' >> "conftest.nl" |
3683 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3672 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3684 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3673 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3685 as_fn_arith $ac_count + 1 && ac_count=$as_val | 3674 ac_count=`expr $ac_count + 1` |
3686 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 3675 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3687 # Best one so far, save it but keep looking for a better one | 3676 # Best one so far, save it but keep looking for a better one |
3688 ac_cv_path_EGREP="$ac_path_EGREP" | 3677 ac_cv_path_EGREP="$ac_path_EGREP" |
3689 ac_path_EGREP_max=$ac_count | 3678 ac_path_EGREP_max=$ac_count |
3690 fi | 3679 fi |
3692 test $ac_count -gt 10 && break | 3681 test $ac_count -gt 10 && break |
3693 done | 3682 done |
3694 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3683 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3695 esac | 3684 esac |
3696 | 3685 |
3697 $ac_path_EGREP_found && break 3 | 3686 |
3698 done | 3687 $ac_path_EGREP_found && break 3 |
3699 done | 3688 done |
3700 done | 3689 done |
3690 | |
3691 done | |
3701 IFS=$as_save_IFS | 3692 IFS=$as_save_IFS |
3702 if test -z "$ac_cv_path_EGREP"; then | 3693 |
3703 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3694 |
3704 fi | 3695 fi |
3696 | |
3697 EGREP="$ac_cv_path_EGREP" | |
3698 if test -z "$EGREP"; then | |
3699 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3700 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3701 { (exit 1); exit 1; }; } | |
3702 fi | |
3703 | |
3705 else | 3704 else |
3706 ac_cv_path_EGREP=$EGREP | 3705 ac_cv_path_EGREP=$EGREP |
3707 fi | 3706 fi |
3708 | 3707 |
3708 | |
3709 fi | 3709 fi |
3710 fi | 3710 fi |
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 3711 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3712 $as_echo "$ac_cv_path_EGREP" >&6; } | 3712 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
3713 EGREP="$ac_cv_path_EGREP" | 3713 EGREP="$ac_cv_path_EGREP" |
3714 | 3714 |
3715 | 3715 |
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 3716 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3717 $as_echo_n "checking for ANSI C header files... " >&6; } | 3717 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
3718 if test "${ac_cv_header_stdc+set}" = set; then : | 3718 if test "${ac_cv_header_stdc+set}" = set; then |
3719 $as_echo_n "(cached) " >&6 | 3719 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3720 else | 3720 else |
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3721 cat >conftest.$ac_ext <<_ACEOF |
3722 /* confdefs.h. */ | |
3723 _ACEOF | |
3724 cat confdefs.h >>conftest.$ac_ext | |
3725 cat >>conftest.$ac_ext <<_ACEOF | |
3722 /* end confdefs.h. */ | 3726 /* end confdefs.h. */ |
3723 #include <stdlib.h> | 3727 #include <stdlib.h> |
3724 #include <stdarg.h> | 3728 #include <stdarg.h> |
3725 #include <string.h> | 3729 #include <string.h> |
3726 #include <float.h> | 3730 #include <float.h> |
3731 | 3735 |
3732 ; | 3736 ; |
3733 return 0; | 3737 return 0; |
3734 } | 3738 } |
3735 _ACEOF | 3739 _ACEOF |
3736 if ac_fn_cxx_try_compile "$LINENO"; then : | 3740 rm -f conftest.$ac_objext |
3741 if { (ac_try="$ac_compile" | |
3742 case "(($ac_try" in | |
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3744 *) ac_try_echo=$ac_try;; | |
3745 esac | |
3746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3747 (eval "$ac_compile") 2>conftest.er1 | |
3748 ac_status=$? | |
3749 grep -v '^ *+' conftest.er1 >conftest.err | |
3750 rm -f conftest.er1 | |
3751 cat conftest.err >&5 | |
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3753 (exit $ac_status); } && { | |
3754 test -z "$ac_cxx_werror_flag" || | |
3755 test ! -s conftest.err | |
3756 } && test -s conftest.$ac_objext; then | |
3737 ac_cv_header_stdc=yes | 3757 ac_cv_header_stdc=yes |
3738 else | 3758 else |
3739 ac_cv_header_stdc=no | 3759 echo "$as_me: failed program was:" >&5 |
3740 fi | 3760 sed 's/^/| /' conftest.$ac_ext >&5 |
3761 | |
3762 ac_cv_header_stdc=no | |
3763 fi | |
3764 | |
3741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3742 | 3766 |
3743 if test $ac_cv_header_stdc = yes; then | 3767 if test $ac_cv_header_stdc = yes; then |
3744 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3768 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3769 cat >conftest.$ac_ext <<_ACEOF |
3770 /* confdefs.h. */ | |
3771 _ACEOF | |
3772 cat confdefs.h >>conftest.$ac_ext | |
3773 cat >>conftest.$ac_ext <<_ACEOF | |
3746 /* end confdefs.h. */ | 3774 /* end confdefs.h. */ |
3747 #include <string.h> | 3775 #include <string.h> |
3748 | 3776 |
3749 _ACEOF | 3777 _ACEOF |
3750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3751 $EGREP "memchr" >/dev/null 2>&1; then : | 3779 $EGREP "memchr" >/dev/null 2>&1; then |
3752 | 3780 : |
3753 else | 3781 else |
3754 ac_cv_header_stdc=no | 3782 ac_cv_header_stdc=no |
3755 fi | 3783 fi |
3756 rm -f conftest* | 3784 rm -f conftest* |
3757 | 3785 |
3758 fi | 3786 fi |
3759 | 3787 |
3760 if test $ac_cv_header_stdc = yes; then | 3788 if test $ac_cv_header_stdc = yes; then |
3761 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3789 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3790 cat >conftest.$ac_ext <<_ACEOF |
3791 /* confdefs.h. */ | |
3792 _ACEOF | |
3793 cat confdefs.h >>conftest.$ac_ext | |
3794 cat >>conftest.$ac_ext <<_ACEOF | |
3763 /* end confdefs.h. */ | 3795 /* end confdefs.h. */ |
3764 #include <stdlib.h> | 3796 #include <stdlib.h> |
3765 | 3797 |
3766 _ACEOF | 3798 _ACEOF |
3767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3768 $EGREP "free" >/dev/null 2>&1; then : | 3800 $EGREP "free" >/dev/null 2>&1; then |
3769 | 3801 : |
3770 else | 3802 else |
3771 ac_cv_header_stdc=no | 3803 ac_cv_header_stdc=no |
3772 fi | 3804 fi |
3773 rm -f conftest* | 3805 rm -f conftest* |
3774 | 3806 |
3775 fi | 3807 fi |
3776 | 3808 |
3777 if test $ac_cv_header_stdc = yes; then | 3809 if test $ac_cv_header_stdc = yes; then |
3778 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3810 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3779 if test "$cross_compiling" = yes; then : | 3811 if test "$cross_compiling" = yes; then |
3780 : | 3812 : |
3781 else | 3813 else |
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3814 cat >conftest.$ac_ext <<_ACEOF |
3815 /* confdefs.h. */ | |
3816 _ACEOF | |
3817 cat confdefs.h >>conftest.$ac_ext | |
3818 cat >>conftest.$ac_ext <<_ACEOF | |
3783 /* end confdefs.h. */ | 3819 /* end confdefs.h. */ |
3784 #include <ctype.h> | 3820 #include <ctype.h> |
3785 #include <stdlib.h> | 3821 #include <stdlib.h> |
3786 #if ((' ' & 0x0FF) == 0x020) | 3822 #if ((' ' & 0x0FF) == 0x020) |
3787 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3823 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3804 || toupper (i) != TOUPPER (i)) | 3840 || toupper (i) != TOUPPER (i)) |
3805 return 2; | 3841 return 2; |
3806 return 0; | 3842 return 0; |
3807 } | 3843 } |
3808 _ACEOF | 3844 _ACEOF |
3809 if ac_fn_cxx_try_run "$LINENO"; then : | 3845 rm -f conftest$ac_exeext |
3810 | 3846 if { (ac_try="$ac_link" |
3811 else | 3847 case "(($ac_try" in |
3812 ac_cv_header_stdc=no | 3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3813 fi | 3849 *) ac_try_echo=$ac_try;; |
3814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 3850 esac |
3815 conftest.$ac_objext conftest.beam conftest.$ac_ext | 3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3816 fi | 3852 (eval "$ac_link") 2>&5 |
3817 | 3853 ac_status=$? |
3818 fi | 3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3819 fi | 3855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 3856 { (case "(($ac_try" in |
3821 $as_echo "$ac_cv_header_stdc" >&6; } | 3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3858 *) ac_try_echo=$ac_try;; | |
3859 esac | |
3860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3861 (eval "$ac_try") 2>&5 | |
3862 ac_status=$? | |
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3864 (exit $ac_status); }; }; then | |
3865 : | |
3866 else | |
3867 echo "$as_me: program exited with status $ac_status" >&5 | |
3868 echo "$as_me: failed program was:" >&5 | |
3869 sed 's/^/| /' conftest.$ac_ext >&5 | |
3870 | |
3871 ( exit $ac_status ) | |
3872 ac_cv_header_stdc=no | |
3873 fi | |
3874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
3875 fi | |
3876 | |
3877 | |
3878 fi | |
3879 fi | |
3880 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
3881 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
3822 if test $ac_cv_header_stdc = yes; then | 3882 if test $ac_cv_header_stdc = yes; then |
3823 | 3883 |
3824 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 3884 cat >>confdefs.h <<\_ACEOF |
3885 #define STDC_HEADERS 1 | |
3886 _ACEOF | |
3825 | 3887 |
3826 fi | 3888 fi |
3827 | 3889 |
3828 | 3890 |
3829 # These are the flags Autoconf guesses for us; we use them later if | 3891 # These are the flags Autoconf guesses for us; we use them later if |
3839 | 3901 |
3840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | 3902 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
3841 if test -n "$ac_tool_prefix"; then | 3903 if test -n "$ac_tool_prefix"; then |
3842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | 3904 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
3843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 3905 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3906 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3845 $as_echo_n "checking for $ac_word... " >&6; } | 3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 3908 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
3847 $as_echo_n "(cached) " >&6 | 3909 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3848 else | 3910 else |
3849 case $PKG_CONFIG in | 3911 case $PKG_CONFIG in |
3850 [\\/]* | ?:[\\/]*) | 3912 [\\/]* | ?:[\\/]*) |
3851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 3913 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
3852 ;; | 3914 ;; |
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3855 for as_dir in $PATH | 3917 for as_dir in $PATH |
3856 do | 3918 do |
3857 IFS=$as_save_IFS | 3919 IFS=$as_save_IFS |
3858 test -z "$as_dir" && as_dir=. | 3920 test -z "$as_dir" && as_dir=. |
3859 for ac_exec_ext in '' $ac_executable_extensions; do | 3921 for ac_exec_ext in '' $ac_executable_extensions; do |
3860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3861 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 3923 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3863 break 2 | 3925 break 2 |
3864 fi | 3926 fi |
3865 done | 3927 done |
3866 done | 3928 done |
3867 IFS=$as_save_IFS | 3929 IFS=$as_save_IFS |
3868 | 3930 |
3869 ;; | 3931 ;; |
3870 esac | 3932 esac |
3871 fi | 3933 fi |
3872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 3934 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
3873 if test -n "$PKG_CONFIG"; then | 3935 if test -n "$PKG_CONFIG"; then |
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 3936 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
3875 $as_echo "$PKG_CONFIG" >&6; } | 3937 echo "${ECHO_T}$PKG_CONFIG" >&6; } |
3876 else | 3938 else |
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3939 { echo "$as_me:$LINENO: result: no" >&5 |
3878 $as_echo "no" >&6; } | 3940 echo "${ECHO_T}no" >&6; } |
3879 fi | 3941 fi |
3880 | 3942 |
3881 | 3943 |
3882 fi | 3944 fi |
3883 if test -z "$ac_cv_path_PKG_CONFIG"; then | 3945 if test -z "$ac_cv_path_PKG_CONFIG"; then |
3884 ac_pt_PKG_CONFIG=$PKG_CONFIG | 3946 ac_pt_PKG_CONFIG=$PKG_CONFIG |
3885 # Extract the first word of "pkg-config", so it can be a program name with args. | 3947 # Extract the first word of "pkg-config", so it can be a program name with args. |
3886 set dummy pkg-config; ac_word=$2 | 3948 set dummy pkg-config; ac_word=$2 |
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3949 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3888 $as_echo_n "checking for $ac_word... " >&6; } | 3950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : | 3951 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
3890 $as_echo_n "(cached) " >&6 | 3952 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3891 else | 3953 else |
3892 case $ac_pt_PKG_CONFIG in | 3954 case $ac_pt_PKG_CONFIG in |
3893 [\\/]* | ?:[\\/]*) | 3955 [\\/]* | ?:[\\/]*) |
3894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | 3956 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
3895 ;; | 3957 ;; |
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3898 for as_dir in $PATH | 3960 for as_dir in $PATH |
3899 do | 3961 do |
3900 IFS=$as_save_IFS | 3962 IFS=$as_save_IFS |
3901 test -z "$as_dir" && as_dir=. | 3963 test -z "$as_dir" && as_dir=. |
3902 for ac_exec_ext in '' $ac_executable_extensions; do | 3964 for ac_exec_ext in '' $ac_executable_extensions; do |
3903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 3966 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3906 break 2 | 3968 break 2 |
3907 fi | 3969 fi |
3908 done | 3970 done |
3909 done | 3971 done |
3910 IFS=$as_save_IFS | 3972 IFS=$as_save_IFS |
3911 | 3973 |
3912 ;; | 3974 ;; |
3913 esac | 3975 esac |
3914 fi | 3976 fi |
3915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | 3977 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
3916 if test -n "$ac_pt_PKG_CONFIG"; then | 3978 if test -n "$ac_pt_PKG_CONFIG"; then |
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 | 3979 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
3918 $as_echo "$ac_pt_PKG_CONFIG" >&6; } | 3980 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } |
3919 else | 3981 else |
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3982 { echo "$as_me:$LINENO: result: no" >&5 |
3921 $as_echo "no" >&6; } | 3983 echo "${ECHO_T}no" >&6; } |
3922 fi | 3984 fi |
3923 | 3985 |
3924 if test "x$ac_pt_PKG_CONFIG" = x; then | 3986 if test "x$ac_pt_PKG_CONFIG" = x; then |
3925 PKG_CONFIG="" | 3987 PKG_CONFIG="" |
3926 else | 3988 else |
3927 case $cross_compiling:$ac_tool_warned in | 3989 case $cross_compiling:$ac_tool_warned in |
3928 yes:) | 3990 yes:) |
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3991 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3992 whose name does not start with the host triplet. If you think this |
3993 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3994 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3995 whose name does not start with the host triplet. If you think this | |
3996 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3931 ac_tool_warned=yes ;; | 3997 ac_tool_warned=yes ;; |
3932 esac | 3998 esac |
3933 PKG_CONFIG=$ac_pt_PKG_CONFIG | 3999 PKG_CONFIG=$ac_pt_PKG_CONFIG |
3934 fi | 4000 fi |
3935 else | 4001 else |
3937 fi | 4003 fi |
3938 | 4004 |
3939 fi | 4005 fi |
3940 if test -n "$PKG_CONFIG"; then | 4006 if test -n "$PKG_CONFIG"; then |
3941 _pkg_min_version=0.9.0 | 4007 _pkg_min_version=0.9.0 |
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 | 4008 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
3943 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } | 4009 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } |
3944 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | 4010 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 4011 { echo "$as_me:$LINENO: result: yes" >&5 |
3946 $as_echo "yes" >&6; } | 4012 echo "${ECHO_T}yes" >&6; } |
3947 else | 4013 else |
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4014 { echo "$as_me:$LINENO: result: no" >&5 |
3949 $as_echo "no" >&6; } | 4015 echo "${ECHO_T}no" >&6; } |
3950 PKG_CONFIG="" | 4016 PKG_CONFIG="" |
3951 fi | 4017 fi |
3952 fi | 4018 fi |
3953 | 4019 |
3954 | 4020 |
3955 | 4021 |
3956 | 4022 |
3957 if test x$QMAKE = x ; then | 4023 if test x$QMAKE = x ; then |
3958 # Extract the first word of "qmake-qt4", so it can be a program name with args. | 4024 # Extract the first word of "qmake-qt4", so it can be a program name with args. |
3959 set dummy qmake-qt4; ac_word=$2 | 4025 set dummy qmake-qt4; ac_word=$2 |
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4026 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3961 $as_echo_n "checking for $ac_word... " >&6; } | 4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3962 if test "${ac_cv_prog_QMAKE+set}" = set; then : | 4028 if test "${ac_cv_prog_QMAKE+set}" = set; then |
3963 $as_echo_n "(cached) " >&6 | 4029 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3964 else | 4030 else |
3965 if test -n "$QMAKE"; then | 4031 if test -n "$QMAKE"; then |
3966 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4032 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
3967 else | 4033 else |
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3969 for as_dir in $QTDIR/bin/ | 4035 for as_dir in $QTDIR/bin/ |
3970 do | 4036 do |
3971 IFS=$as_save_IFS | 4037 IFS=$as_save_IFS |
3972 test -z "$as_dir" && as_dir=. | 4038 test -z "$as_dir" && as_dir=. |
3973 for ac_exec_ext in '' $ac_executable_extensions; do | 4039 for ac_exec_ext in '' $ac_executable_extensions; do |
3974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3975 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt4" | 4041 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt4" |
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3977 break 2 | 4043 break 2 |
3978 fi | 4044 fi |
3979 done | 4045 done |
3980 done | 4046 done |
3981 IFS=$as_save_IFS | 4047 IFS=$as_save_IFS |
3982 | 4048 |
3983 fi | 4049 fi |
3984 fi | 4050 fi |
3985 QMAKE=$ac_cv_prog_QMAKE | 4051 QMAKE=$ac_cv_prog_QMAKE |
3986 if test -n "$QMAKE"; then | 4052 if test -n "$QMAKE"; then |
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | 4053 { echo "$as_me:$LINENO: result: $QMAKE" >&5 |
3988 $as_echo "$QMAKE" >&6; } | 4054 echo "${ECHO_T}$QMAKE" >&6; } |
3989 else | 4055 else |
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4056 { echo "$as_me:$LINENO: result: no" >&5 |
3991 $as_echo "no" >&6; } | 4057 echo "${ECHO_T}no" >&6; } |
3992 fi | 4058 fi |
3993 | 4059 |
3994 | 4060 |
3995 fi | 4061 fi |
3996 if test x$QMAKE = x ; then | 4062 if test x$QMAKE = x ; then |
3997 # Extract the first word of "qmake", so it can be a program name with args. | 4063 # Extract the first word of "qmake", so it can be a program name with args. |
3998 set dummy qmake; ac_word=$2 | 4064 set dummy qmake; ac_word=$2 |
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4065 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4000 $as_echo_n "checking for $ac_word... " >&6; } | 4066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4001 if test "${ac_cv_prog_QMAKE+set}" = set; then : | 4067 if test "${ac_cv_prog_QMAKE+set}" = set; then |
4002 $as_echo_n "(cached) " >&6 | 4068 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4003 else | 4069 else |
4004 if test -n "$QMAKE"; then | 4070 if test -n "$QMAKE"; then |
4005 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4071 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4006 else | 4072 else |
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4008 for as_dir in $QTDIR/bin/ | 4074 for as_dir in $QTDIR/bin/ |
4009 do | 4075 do |
4010 IFS=$as_save_IFS | 4076 IFS=$as_save_IFS |
4011 test -z "$as_dir" && as_dir=. | 4077 test -z "$as_dir" && as_dir=. |
4012 for ac_exec_ext in '' $ac_executable_extensions; do | 4078 for ac_exec_ext in '' $ac_executable_extensions; do |
4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4014 ac_cv_prog_QMAKE="$QTDIR/bin/qmake" | 4080 ac_cv_prog_QMAKE="$QTDIR/bin/qmake" |
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4016 break 2 | 4082 break 2 |
4017 fi | 4083 fi |
4018 done | 4084 done |
4019 done | 4085 done |
4020 IFS=$as_save_IFS | 4086 IFS=$as_save_IFS |
4021 | 4087 |
4022 fi | 4088 fi |
4023 fi | 4089 fi |
4024 QMAKE=$ac_cv_prog_QMAKE | 4090 QMAKE=$ac_cv_prog_QMAKE |
4025 if test -n "$QMAKE"; then | 4091 if test -n "$QMAKE"; then |
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | 4092 { echo "$as_me:$LINENO: result: $QMAKE" >&5 |
4027 $as_echo "$QMAKE" >&6; } | 4093 echo "${ECHO_T}$QMAKE" >&6; } |
4028 else | 4094 else |
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4095 { echo "$as_me:$LINENO: result: no" >&5 |
4030 $as_echo "no" >&6; } | 4096 echo "${ECHO_T}no" >&6; } |
4031 fi | 4097 fi |
4032 | 4098 |
4033 | 4099 |
4034 fi | 4100 fi |
4035 if test x$QMAKE = x ; then | 4101 if test x$QMAKE = x ; then |
4036 # Extract the first word of "qmake.exe", so it can be a program name with args. | 4102 # Extract the first word of "qmake.exe", so it can be a program name with args. |
4037 set dummy qmake.exe; ac_word=$2 | 4103 set dummy qmake.exe; ac_word=$2 |
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4104 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4039 $as_echo_n "checking for $ac_word... " >&6; } | 4105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4040 if test "${ac_cv_prog_QMAKE+set}" = set; then : | 4106 if test "${ac_cv_prog_QMAKE+set}" = set; then |
4041 $as_echo_n "(cached) " >&6 | 4107 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4042 else | 4108 else |
4043 if test -n "$QMAKE"; then | 4109 if test -n "$QMAKE"; then |
4044 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4110 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4045 else | 4111 else |
4046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4047 for as_dir in $QTDIR/bin/ | 4113 for as_dir in $QTDIR/bin/ |
4048 do | 4114 do |
4049 IFS=$as_save_IFS | 4115 IFS=$as_save_IFS |
4050 test -z "$as_dir" && as_dir=. | 4116 test -z "$as_dir" && as_dir=. |
4051 for ac_exec_ext in '' $ac_executable_extensions; do | 4117 for ac_exec_ext in '' $ac_executable_extensions; do |
4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4053 ac_cv_prog_QMAKE="$QTDIR/bin/qmake.exe" | 4119 ac_cv_prog_QMAKE="$QTDIR/bin/qmake.exe" |
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4055 break 2 | 4121 break 2 |
4056 fi | 4122 fi |
4057 done | 4123 done |
4058 done | 4124 done |
4059 IFS=$as_save_IFS | 4125 IFS=$as_save_IFS |
4060 | 4126 |
4061 fi | 4127 fi |
4062 fi | 4128 fi |
4063 QMAKE=$ac_cv_prog_QMAKE | 4129 QMAKE=$ac_cv_prog_QMAKE |
4064 if test -n "$QMAKE"; then | 4130 if test -n "$QMAKE"; then |
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | 4131 { echo "$as_me:$LINENO: result: $QMAKE" >&5 |
4066 $as_echo "$QMAKE" >&6; } | 4132 echo "${ECHO_T}$QMAKE" >&6; } |
4067 else | 4133 else |
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4134 { echo "$as_me:$LINENO: result: no" >&5 |
4069 $as_echo "no" >&6; } | 4135 echo "${ECHO_T}no" >&6; } |
4070 fi | 4136 fi |
4071 | 4137 |
4072 | 4138 |
4073 fi | 4139 fi |
4074 if test x$QMAKE = x ; then | 4140 if test x$QMAKE = x ; then |
4075 # Extract the first word of "qmake-qt4", so it can be a program name with args. | 4141 # Extract the first word of "qmake-qt4", so it can be a program name with args. |
4076 set dummy qmake-qt4; ac_word=$2 | 4142 set dummy qmake-qt4; ac_word=$2 |
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4143 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4078 $as_echo_n "checking for $ac_word... " >&6; } | 4144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4079 if test "${ac_cv_prog_QMAKE+set}" = set; then : | 4145 if test "${ac_cv_prog_QMAKE+set}" = set; then |
4080 $as_echo_n "(cached) " >&6 | 4146 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4081 else | 4147 else |
4082 if test -n "$QMAKE"; then | 4148 if test -n "$QMAKE"; then |
4083 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4149 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4084 else | 4150 else |
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4086 for as_dir in $PATH | 4152 for as_dir in $PATH |
4087 do | 4153 do |
4088 IFS=$as_save_IFS | 4154 IFS=$as_save_IFS |
4089 test -z "$as_dir" && as_dir=. | 4155 test -z "$as_dir" && as_dir=. |
4090 for ac_exec_ext in '' $ac_executable_extensions; do | 4156 for ac_exec_ext in '' $ac_executable_extensions; do |
4091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4092 ac_cv_prog_QMAKE="qmake-qt4" | 4158 ac_cv_prog_QMAKE="qmake-qt4" |
4093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4094 break 2 | 4160 break 2 |
4095 fi | 4161 fi |
4096 done | 4162 done |
4097 done | 4163 done |
4098 IFS=$as_save_IFS | 4164 IFS=$as_save_IFS |
4099 | 4165 |
4100 fi | 4166 fi |
4101 fi | 4167 fi |
4102 QMAKE=$ac_cv_prog_QMAKE | 4168 QMAKE=$ac_cv_prog_QMAKE |
4103 if test -n "$QMAKE"; then | 4169 if test -n "$QMAKE"; then |
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | 4170 { echo "$as_me:$LINENO: result: $QMAKE" >&5 |
4105 $as_echo "$QMAKE" >&6; } | 4171 echo "${ECHO_T}$QMAKE" >&6; } |
4106 else | 4172 else |
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4173 { echo "$as_me:$LINENO: result: no" >&5 |
4108 $as_echo "no" >&6; } | 4174 echo "${ECHO_T}no" >&6; } |
4109 fi | 4175 fi |
4110 | 4176 |
4111 | 4177 |
4112 fi | 4178 fi |
4113 if test x$QMAKE = x ; then | 4179 if test x$QMAKE = x ; then |
4114 # Extract the first word of "qmake", so it can be a program name with args. | 4180 # Extract the first word of "qmake", so it can be a program name with args. |
4115 set dummy qmake; ac_word=$2 | 4181 set dummy qmake; ac_word=$2 |
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4182 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4117 $as_echo_n "checking for $ac_word... " >&6; } | 4183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4118 if test "${ac_cv_prog_QMAKE+set}" = set; then : | 4184 if test "${ac_cv_prog_QMAKE+set}" = set; then |
4119 $as_echo_n "(cached) " >&6 | 4185 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4120 else | 4186 else |
4121 if test -n "$QMAKE"; then | 4187 if test -n "$QMAKE"; then |
4122 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4188 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4123 else | 4189 else |
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4125 for as_dir in $PATH | 4191 for as_dir in $PATH |
4126 do | 4192 do |
4127 IFS=$as_save_IFS | 4193 IFS=$as_save_IFS |
4128 test -z "$as_dir" && as_dir=. | 4194 test -z "$as_dir" && as_dir=. |
4129 for ac_exec_ext in '' $ac_executable_extensions; do | 4195 for ac_exec_ext in '' $ac_executable_extensions; do |
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4131 ac_cv_prog_QMAKE="qmake" | 4197 ac_cv_prog_QMAKE="qmake" |
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4133 break 2 | 4199 break 2 |
4134 fi | 4200 fi |
4135 done | 4201 done |
4136 done | 4202 done |
4137 IFS=$as_save_IFS | 4203 IFS=$as_save_IFS |
4138 | 4204 |
4139 fi | 4205 fi |
4140 fi | 4206 fi |
4141 QMAKE=$ac_cv_prog_QMAKE | 4207 QMAKE=$ac_cv_prog_QMAKE |
4142 if test -n "$QMAKE"; then | 4208 if test -n "$QMAKE"; then |
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | 4209 { echo "$as_me:$LINENO: result: $QMAKE" >&5 |
4144 $as_echo "$QMAKE" >&6; } | 4210 echo "${ECHO_T}$QMAKE" >&6; } |
4145 else | 4211 else |
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4212 { echo "$as_me:$LINENO: result: no" >&5 |
4147 $as_echo "no" >&6; } | 4213 echo "${ECHO_T}no" >&6; } |
4148 fi | 4214 fi |
4149 | 4215 |
4150 | 4216 |
4151 fi | 4217 fi |
4152 if test x$QMAKE = x ; then | 4218 if test x$QMAKE = x ; then |
4153 as_fn_error $? " | 4219 { { echo "$as_me:$LINENO: error: |
4154 Failed to find the required qmake-qt4 or qmake program. Please | 4220 Failed to find the required qmake-qt4 or qmake program. Please |
4155 ensure you have the necessary Qt4 development files installed, and | 4221 ensure you have the necessary Qt4 development files installed, and |
4156 if necessary set QTDIR to the location of your Qt4 installation. | 4222 if necessary set QTDIR to the location of your Qt4 installation. |
4157 " "$LINENO" 5 | 4223 " >&5 |
4224 echo "$as_me: error: | |
4225 Failed to find the required qmake-qt4 or qmake program. Please | |
4226 ensure you have the necessary Qt4 development files installed, and | |
4227 if necessary set QTDIR to the location of your Qt4 installation. | |
4228 " >&2;} | |
4229 { (exit 1); exit 1; }; } | |
4158 fi | 4230 fi |
4159 | 4231 |
4160 # Suitable versions of qmake should print out something like: | 4232 # Suitable versions of qmake should print out something like: |
4161 # | 4233 # |
4162 # QMake version 2.01a | 4234 # QMake version 2.01a |
4166 # in that order). | 4238 # in that order). |
4167 # | 4239 # |
4168 QMAKE_VERSION_OUTPUT=`$QMAKE -v` | 4240 QMAKE_VERSION_OUTPUT=`$QMAKE -v` |
4169 case "$QMAKE_VERSION_OUTPUT" in | 4241 case "$QMAKE_VERSION_OUTPUT" in |
4170 *2.*4.*) ;; | 4242 *2.*4.*) ;; |
4171 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | 4243 *) { echo "$as_me:$LINENO: WARNING: |
4172 *** The version of qmake found in \"$QMAKE\" looks like it might be | 4244 *** The version of qmake found in \"$QMAKE\" looks like it might be |
4173 from the wrong version of Qt (Qt4 is required). Please check | 4245 from the wrong version of Qt (Qt4 is required). Please check |
4174 that this is the correct version of qmake for Qt4 builds. | 4246 that this is the correct version of qmake for Qt4 builds. |
4175 " >&5 | 4247 " >&5 |
4176 $as_echo "$as_me: WARNING: | 4248 echo "$as_me: WARNING: |
4177 *** The version of qmake found in \"$QMAKE\" looks like it might be | 4249 *** The version of qmake found in \"$QMAKE\" looks like it might be |
4178 from the wrong version of Qt (Qt4 is required). Please check | 4250 from the wrong version of Qt (Qt4 is required). Please check |
4179 that this is the correct version of qmake for Qt4 builds. | 4251 that this is the correct version of qmake for Qt4 builds. |
4180 " >&2;} | 4252 " >&2;} |
4181 esac | 4253 esac |
4209 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" | 4281 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" |
4210 | 4282 |
4211 QMAKE_CONFIG="release" | 4283 QMAKE_CONFIG="release" |
4212 | 4284 |
4213 # Check whether --enable-debug was given. | 4285 # Check whether --enable-debug was given. |
4214 if test "${enable_debug+set}" = set; then : | 4286 if test "${enable_debug+set}" = set; then |
4215 enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: enabling debug build" >&5 | 4287 enableval=$enable_debug; { echo "$as_me:$LINENO: enabling debug build" >&5 |
4216 $as_echo "$as_me: enabling debug build" >&6;} | 4288 echo "$as_me: enabling debug build" >&6;} |
4217 QMAKE_CONFIG="debug" | 4289 QMAKE_CONFIG="debug" |
4218 CXXFLAGS_BUILD="$CXXFLAGS_DEBUG" | 4290 CXXFLAGS_BUILD="$CXXFLAGS_DEBUG" |
4219 SV_DEFINES_BUILD="$SV_DEFINES_DEBUG" | 4291 SV_DEFINES_BUILD="$SV_DEFINES_DEBUG" |
4220 fi | 4292 fi |
4221 | 4293 |
4222 | 4294 |
4223 if test x"$USER_CXXFLAGS" != x; then | 4295 if test x"$USER_CXXFLAGS" != x; then |
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&5 | 4296 { echo "$as_me:$LINENO: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&5 |
4225 $as_echo "$as_me: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&6;} | 4297 echo "$as_me: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&6;} |
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: Overriding default compiler flags with the above user setting." >&5 | 4298 { echo "$as_me:$LINENO: Overriding default compiler flags with the above user setting." >&5 |
4227 $as_echo "$as_me: Overriding default compiler flags with the above user setting." >&6;} | 4299 echo "$as_me: Overriding default compiler flags with the above user setting." >&6;} |
4228 CXXFLAGS_BUILD="$USER_CXXFLAGS" | 4300 CXXFLAGS_BUILD="$USER_CXXFLAGS" |
4229 CXXFLAGS_MINIMAL="$USER_CXXFLAGS" | 4301 CXXFLAGS_MINIMAL="$USER_CXXFLAGS" |
4230 fi | 4302 fi |
4231 | 4303 |
4232 CXXFLAGS="$CXXFLAGS_BUILD $SV_DEFINES_BUILD" | 4304 CXXFLAGS="$CXXFLAGS_BUILD $SV_DEFINES_BUILD" |
4233 | 4305 |
4234 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4306 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4307 | |
4308 | |
4309 | |
4310 | |
4311 | |
4312 | |
4313 | |
4314 | |
4315 | |
4235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4316 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4236 inttypes.h stdint.h unistd.h | 4317 inttypes.h stdint.h unistd.h |
4237 do : | 4318 do |
4238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4319 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4239 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4320 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4240 " | 4321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4323 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4324 else | |
4325 cat >conftest.$ac_ext <<_ACEOF | |
4326 /* confdefs.h. */ | |
4327 _ACEOF | |
4328 cat confdefs.h >>conftest.$ac_ext | |
4329 cat >>conftest.$ac_ext <<_ACEOF | |
4330 /* end confdefs.h. */ | |
4331 $ac_includes_default | |
4332 | |
4333 #include <$ac_header> | |
4334 _ACEOF | |
4335 rm -f conftest.$ac_objext | |
4336 if { (ac_try="$ac_compile" | |
4337 case "(($ac_try" in | |
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4339 *) ac_try_echo=$ac_try;; | |
4340 esac | |
4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4342 (eval "$ac_compile") 2>conftest.er1 | |
4343 ac_status=$? | |
4344 grep -v '^ *+' conftest.er1 >conftest.err | |
4345 rm -f conftest.er1 | |
4346 cat conftest.err >&5 | |
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4348 (exit $ac_status); } && { | |
4349 test -z "$ac_cxx_werror_flag" || | |
4350 test ! -s conftest.err | |
4351 } && test -s conftest.$ac_objext; then | |
4352 eval "$as_ac_Header=yes" | |
4353 else | |
4354 echo "$as_me: failed program was:" >&5 | |
4355 sed 's/^/| /' conftest.$ac_ext >&5 | |
4356 | |
4357 eval "$as_ac_Header=no" | |
4358 fi | |
4359 | |
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4361 fi | |
4362 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4363 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4364 echo "${ECHO_T}$ac_res" >&6; } | |
4365 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4242 cat >>confdefs.h <<_ACEOF | 4366 cat >>confdefs.h <<_ACEOF |
4243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4244 _ACEOF | 4368 _ACEOF |
4245 | 4369 |
4246 fi | 4370 fi |
4247 | 4371 |
4248 done | 4372 done |
4255 SV_MODULE_LIB=bz2 | 4379 SV_MODULE_LIB=bz2 |
4256 SV_MODULE_FUNC=BZ2_bzReadOpen | 4380 SV_MODULE_FUNC=BZ2_bzReadOpen |
4257 SV_MODULE_HAVE=HAVE_$(echo bz2 | tr 'a-z' 'A-Z') | 4381 SV_MODULE_HAVE=HAVE_$(echo bz2 | tr 'a-z' 'A-Z') |
4258 SV_MODULE_FAILED=1 | 4382 SV_MODULE_FAILED=1 |
4259 if test -n "$bz2_LIBS" ; then | 4383 if test -n "$bz2_LIBS" ; then |
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 4384 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
4261 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 4385 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
4262 CXXFLAGS="$CXXFLAGS $bz2_CFLAGS" | 4386 CXXFLAGS="$CXXFLAGS $bz2_CFLAGS" |
4263 LIBS="$LIBS $bz2_LIBS" | 4387 LIBS="$LIBS $bz2_LIBS" |
4264 SV_MODULE_FAILED="" | 4388 SV_MODULE_FAILED="" |
4265 fi | 4389 fi |
4266 if test -z "$SV_MODULE_VERSION_TEST" ; then | 4390 if test -z "$SV_MODULE_VERSION_TEST" ; then |
4267 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 4391 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
4268 fi | 4392 fi |
4269 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 4393 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
4270 | 4394 |
4271 pkg_failed=no | 4395 pkg_failed=no |
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bz2" >&5 | 4396 { echo "$as_me:$LINENO: checking for bz2" >&5 |
4273 $as_echo_n "checking for bz2... " >&6; } | 4397 echo $ECHO_N "checking for bz2... $ECHO_C" >&6; } |
4274 | 4398 |
4275 if test -n "$bz2_CFLAGS"; then | 4399 if test -n "$bz2_CFLAGS"; then |
4276 pkg_cv_bz2_CFLAGS="$bz2_CFLAGS" | 4400 pkg_cv_bz2_CFLAGS="$bz2_CFLAGS" |
4277 elif test -n "$PKG_CONFIG"; then | 4401 elif test -n "$PKG_CONFIG"; then |
4278 if test -n "$PKG_CONFIG" && \ | 4402 if test -n "$PKG_CONFIG" && \ |
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4403 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4280 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4404 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4281 ac_status=$? | 4405 ac_status=$? |
4282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4283 test $ac_status = 0; }; then | 4407 (exit $ac_status); }; then |
4284 pkg_cv_bz2_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4408 pkg_cv_bz2_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4285 else | 4409 else |
4286 pkg_failed=yes | 4410 pkg_failed=yes |
4287 fi | 4411 fi |
4288 else | 4412 else |
4290 fi | 4414 fi |
4291 if test -n "$bz2_LIBS"; then | 4415 if test -n "$bz2_LIBS"; then |
4292 pkg_cv_bz2_LIBS="$bz2_LIBS" | 4416 pkg_cv_bz2_LIBS="$bz2_LIBS" |
4293 elif test -n "$PKG_CONFIG"; then | 4417 elif test -n "$PKG_CONFIG"; then |
4294 if test -n "$PKG_CONFIG" && \ | 4418 if test -n "$PKG_CONFIG" && \ |
4295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4419 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4296 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4420 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4297 ac_status=$? | 4421 ac_status=$? |
4298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4299 test $ac_status = 0; }; then | 4423 (exit $ac_status); }; then |
4300 pkg_cv_bz2_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4424 pkg_cv_bz2_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4301 else | 4425 else |
4302 pkg_failed=yes | 4426 pkg_failed=yes |
4303 fi | 4427 fi |
4304 else | 4428 else |
4306 fi | 4430 fi |
4307 | 4431 |
4308 | 4432 |
4309 | 4433 |
4310 if test $pkg_failed = yes; then | 4434 if test $pkg_failed = yes; then |
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4435 { echo "$as_me:$LINENO: result: no" >&5 |
4312 $as_echo "no" >&6; } | 4436 echo "${ECHO_T}no" >&6; } |
4313 | 4437 |
4314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 4438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4315 _pkg_short_errors_supported=yes | 4439 _pkg_short_errors_supported=yes |
4316 else | 4440 else |
4317 _pkg_short_errors_supported=no | 4441 _pkg_short_errors_supported=no |
4322 bz2_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 4446 bz2_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
4323 fi | 4447 fi |
4324 # Put the nasty error message in config.log where it belongs | 4448 # Put the nasty error message in config.log where it belongs |
4325 echo "$bz2_PKG_ERRORS" >&5 | 4449 echo "$bz2_PKG_ERRORS" >&5 |
4326 | 4450 |
4327 { $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 | 4451 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4328 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4452 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4329 elif test $pkg_failed = untried; then | 4453 elif test $pkg_failed = untried; then |
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4454 { echo "$as_me:$LINENO: result: no" >&5 |
4331 $as_echo "no" >&6; } | 4455 echo "${ECHO_T}no" >&6; } |
4332 { $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 | 4456 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4333 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4457 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4334 else | 4458 else |
4335 bz2_CFLAGS=$pkg_cv_bz2_CFLAGS | 4459 bz2_CFLAGS=$pkg_cv_bz2_CFLAGS |
4336 bz2_LIBS=$pkg_cv_bz2_LIBS | 4460 bz2_LIBS=$pkg_cv_bz2_LIBS |
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 4461 { echo "$as_me:$LINENO: result: yes" >&5 |
4338 $as_echo "yes" >&6; } | 4462 echo "${ECHO_T}yes" >&6; } |
4339 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $bz2_CFLAGS";LIBS="$LIBS $bz2_LIBS";SV_MODULE_FAILED="" | 4463 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $bz2_CFLAGS";LIBS="$LIBS $bz2_LIBS";SV_MODULE_FAILED="" |
4340 fi | 4464 fi |
4341 fi | 4465 fi |
4342 if test -n "$SV_MODULE_FAILED"; then | 4466 if test -n "$SV_MODULE_FAILED"; then |
4343 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 4467 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4344 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 4468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4469 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
4470 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
4471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4472 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4473 fi | |
4474 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4475 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4476 echo "${ECHO_T}$ac_res" >&6; } | |
4477 else | |
4478 # Is the header compilable? | |
4479 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
4480 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
4481 cat >conftest.$ac_ext <<_ACEOF | |
4482 /* confdefs.h. */ | |
4483 _ACEOF | |
4484 cat confdefs.h >>conftest.$ac_ext | |
4485 cat >>conftest.$ac_ext <<_ACEOF | |
4486 /* end confdefs.h. */ | |
4487 $ac_includes_default | |
4488 #include <$SV_MODULE_HEADER> | |
4489 _ACEOF | |
4490 rm -f conftest.$ac_objext | |
4491 if { (ac_try="$ac_compile" | |
4492 case "(($ac_try" in | |
4493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4494 *) ac_try_echo=$ac_try;; | |
4495 esac | |
4496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4497 (eval "$ac_compile") 2>conftest.er1 | |
4498 ac_status=$? | |
4499 grep -v '^ *+' conftest.er1 >conftest.err | |
4500 rm -f conftest.er1 | |
4501 cat conftest.err >&5 | |
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4503 (exit $ac_status); } && { | |
4504 test -z "$ac_cxx_werror_flag" || | |
4505 test ! -s conftest.err | |
4506 } && test -s conftest.$ac_objext; then | |
4507 ac_header_compiler=yes | |
4508 else | |
4509 echo "$as_me: failed program was:" >&5 | |
4510 sed 's/^/| /' conftest.$ac_ext >&5 | |
4511 | |
4512 ac_header_compiler=no | |
4513 fi | |
4514 | |
4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4516 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4517 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4518 | |
4519 # Is the header present? | |
4520 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
4521 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
4522 cat >conftest.$ac_ext <<_ACEOF | |
4523 /* confdefs.h. */ | |
4524 _ACEOF | |
4525 cat confdefs.h >>conftest.$ac_ext | |
4526 cat >>conftest.$ac_ext <<_ACEOF | |
4527 /* end confdefs.h. */ | |
4528 #include <$SV_MODULE_HEADER> | |
4529 _ACEOF | |
4530 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4531 case "(($ac_try" in | |
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4533 *) ac_try_echo=$ac_try;; | |
4534 esac | |
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4537 ac_status=$? | |
4538 grep -v '^ *+' conftest.er1 >conftest.err | |
4539 rm -f conftest.er1 | |
4540 cat conftest.err >&5 | |
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4542 (exit $ac_status); } >/dev/null && { | |
4543 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
4544 test ! -s conftest.err | |
4545 }; then | |
4546 ac_header_preproc=yes | |
4547 else | |
4548 echo "$as_me: failed program was:" >&5 | |
4549 sed 's/^/| /' conftest.$ac_ext >&5 | |
4550 | |
4551 ac_header_preproc=no | |
4552 fi | |
4553 | |
4554 rm -f conftest.err conftest.$ac_ext | |
4555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4556 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4557 | |
4558 # So? What about this header? | |
4559 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
4560 yes:no: ) | |
4561 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4562 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4563 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
4564 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
4565 ac_header_preproc=yes | |
4566 ;; | |
4567 no:yes:* ) | |
4568 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
4569 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
4570 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
4571 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
4572 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
4573 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
4574 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
4575 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
4576 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
4577 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
4578 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
4579 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
4580 ( cat <<\_ASBOX | |
4581 ## ------------------------------------------- ## | |
4582 ## Report this to cannam@all-day-breakfast.com ## | |
4583 ## ------------------------------------------- ## | |
4584 _ASBOX | |
4585 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4586 ;; | |
4587 esac | |
4588 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
4589 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
4590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4591 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4592 else | |
4593 eval "$as_ac_Header=\$ac_header_preproc" | |
4594 fi | |
4595 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4596 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4597 echo "${ECHO_T}$ac_res" >&6; } | |
4598 | |
4599 fi | |
4600 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4346 HAVES="$HAVES $SV_MODULE_HAVE" | 4601 HAVES="$HAVES $SV_MODULE_HAVE" |
4347 else | 4602 else |
4348 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4603 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
4604 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
4605 { (exit 1); exit 1; }; } | |
4349 fi | 4606 fi |
4350 | 4607 |
4351 | 4608 |
4352 if test -n "$SV_MODULE_LIB"; then | 4609 if test -n "$SV_MODULE_LIB"; then |
4353 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 4610 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 4611 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4355 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 4612 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
4356 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 4613 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
4357 $as_echo_n "(cached) " >&6 | 4614 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4358 else | 4615 else |
4359 ac_check_lib_save_LIBS=$LIBS | 4616 ac_check_lib_save_LIBS=$LIBS |
4360 LIBS="-l$SV_MODULE_LIB $LIBS" | 4617 LIBS="-l$SV_MODULE_LIB $LIBS" |
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4618 cat >conftest.$ac_ext <<_ACEOF |
4619 /* confdefs.h. */ | |
4620 _ACEOF | |
4621 cat confdefs.h >>conftest.$ac_ext | |
4622 cat >>conftest.$ac_ext <<_ACEOF | |
4362 /* end confdefs.h. */ | 4623 /* end confdefs.h. */ |
4363 | 4624 |
4364 /* Override any GCC internal prototype to avoid an error. | 4625 /* Override any GCC internal prototype to avoid an error. |
4365 Use char because int might match the return type of a GCC | 4626 Use char because int might match the return type of a GCC |
4366 builtin and then its argument prototype would still apply. */ | 4627 builtin and then its argument prototype would still apply. */ |
4374 return $SV_MODULE_FUNC (); | 4635 return $SV_MODULE_FUNC (); |
4375 ; | 4636 ; |
4376 return 0; | 4637 return 0; |
4377 } | 4638 } |
4378 _ACEOF | 4639 _ACEOF |
4379 if ac_fn_cxx_try_link "$LINENO"; then : | 4640 rm -f conftest.$ac_objext conftest$ac_exeext |
4641 if { (ac_try="$ac_link" | |
4642 case "(($ac_try" in | |
4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4644 *) ac_try_echo=$ac_try;; | |
4645 esac | |
4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4647 (eval "$ac_link") 2>conftest.er1 | |
4648 ac_status=$? | |
4649 grep -v '^ *+' conftest.er1 >conftest.err | |
4650 rm -f conftest.er1 | |
4651 cat conftest.err >&5 | |
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4653 (exit $ac_status); } && { | |
4654 test -z "$ac_cxx_werror_flag" || | |
4655 test ! -s conftest.err | |
4656 } && test -s conftest$ac_exeext && | |
4657 $as_test_x conftest$ac_exeext; then | |
4380 eval "$as_ac_Lib=yes" | 4658 eval "$as_ac_Lib=yes" |
4381 else | 4659 else |
4382 eval "$as_ac_Lib=no" | 4660 echo "$as_me: failed program was:" >&5 |
4383 fi | 4661 sed 's/^/| /' conftest.$ac_ext >&5 |
4384 rm -f core conftest.err conftest.$ac_objext \ | 4662 |
4385 conftest$ac_exeext conftest.$ac_ext | 4663 eval "$as_ac_Lib=no" |
4664 fi | |
4665 | |
4666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4667 conftest$ac_exeext conftest.$ac_ext | |
4386 LIBS=$ac_check_lib_save_LIBS | 4668 LIBS=$ac_check_lib_save_LIBS |
4387 fi | 4669 fi |
4388 eval ac_res=\$$as_ac_Lib | 4670 ac_res=`eval echo '${'$as_ac_Lib'}'` |
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4671 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4390 $as_echo "$ac_res" >&6; } | 4672 echo "${ECHO_T}$ac_res" >&6; } |
4391 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 4673 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
4392 LIBS="$LIBS -l$SV_MODULE_LIB" | 4674 LIBS="$LIBS -l$SV_MODULE_LIB" |
4393 else | 4675 else |
4394 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4676 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
4677 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
4678 { (exit 1); exit 1; }; } | |
4395 fi | 4679 fi |
4396 | 4680 |
4397 fi | 4681 fi |
4398 fi | 4682 fi |
4399 | 4683 |
4404 SV_MODULE_LIB=fftw3 | 4688 SV_MODULE_LIB=fftw3 |
4405 SV_MODULE_FUNC=fftw_execute | 4689 SV_MODULE_FUNC=fftw_execute |
4406 SV_MODULE_HAVE=HAVE_$(echo fftw3 | tr 'a-z' 'A-Z') | 4690 SV_MODULE_HAVE=HAVE_$(echo fftw3 | tr 'a-z' 'A-Z') |
4407 SV_MODULE_FAILED=1 | 4691 SV_MODULE_FAILED=1 |
4408 if test -n "$fftw3_LIBS" ; then | 4692 if test -n "$fftw3_LIBS" ; then |
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 4693 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
4410 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 4694 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
4411 CXXFLAGS="$CXXFLAGS $fftw3_CFLAGS" | 4695 CXXFLAGS="$CXXFLAGS $fftw3_CFLAGS" |
4412 LIBS="$LIBS $fftw3_LIBS" | 4696 LIBS="$LIBS $fftw3_LIBS" |
4413 SV_MODULE_FAILED="" | 4697 SV_MODULE_FAILED="" |
4414 fi | 4698 fi |
4415 if test -z "$SV_MODULE_VERSION_TEST" ; then | 4699 if test -z "$SV_MODULE_VERSION_TEST" ; then |
4416 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 4700 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
4417 fi | 4701 fi |
4418 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 4702 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
4419 | 4703 |
4420 pkg_failed=no | 4704 pkg_failed=no |
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3" >&5 | 4705 { echo "$as_me:$LINENO: checking for fftw3" >&5 |
4422 $as_echo_n "checking for fftw3... " >&6; } | 4706 echo $ECHO_N "checking for fftw3... $ECHO_C" >&6; } |
4423 | 4707 |
4424 if test -n "$fftw3_CFLAGS"; then | 4708 if test -n "$fftw3_CFLAGS"; then |
4425 pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS" | 4709 pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS" |
4426 elif test -n "$PKG_CONFIG"; then | 4710 elif test -n "$PKG_CONFIG"; then |
4427 if test -n "$PKG_CONFIG" && \ | 4711 if test -n "$PKG_CONFIG" && \ |
4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4712 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4429 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4713 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4430 ac_status=$? | 4714 ac_status=$? |
4431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4432 test $ac_status = 0; }; then | 4716 (exit $ac_status); }; then |
4433 pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4717 pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4434 else | 4718 else |
4435 pkg_failed=yes | 4719 pkg_failed=yes |
4436 fi | 4720 fi |
4437 else | 4721 else |
4439 fi | 4723 fi |
4440 if test -n "$fftw3_LIBS"; then | 4724 if test -n "$fftw3_LIBS"; then |
4441 pkg_cv_fftw3_LIBS="$fftw3_LIBS" | 4725 pkg_cv_fftw3_LIBS="$fftw3_LIBS" |
4442 elif test -n "$PKG_CONFIG"; then | 4726 elif test -n "$PKG_CONFIG"; then |
4443 if test -n "$PKG_CONFIG" && \ | 4727 if test -n "$PKG_CONFIG" && \ |
4444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4728 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4445 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4729 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4446 ac_status=$? | 4730 ac_status=$? |
4447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4448 test $ac_status = 0; }; then | 4732 (exit $ac_status); }; then |
4449 pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4733 pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4450 else | 4734 else |
4451 pkg_failed=yes | 4735 pkg_failed=yes |
4452 fi | 4736 fi |
4453 else | 4737 else |
4455 fi | 4739 fi |
4456 | 4740 |
4457 | 4741 |
4458 | 4742 |
4459 if test $pkg_failed = yes; then | 4743 if test $pkg_failed = yes; then |
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4744 { echo "$as_me:$LINENO: result: no" >&5 |
4461 $as_echo "no" >&6; } | 4745 echo "${ECHO_T}no" >&6; } |
4462 | 4746 |
4463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 4747 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4464 _pkg_short_errors_supported=yes | 4748 _pkg_short_errors_supported=yes |
4465 else | 4749 else |
4466 _pkg_short_errors_supported=no | 4750 _pkg_short_errors_supported=no |
4471 fftw3_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 4755 fftw3_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
4472 fi | 4756 fi |
4473 # Put the nasty error message in config.log where it belongs | 4757 # Put the nasty error message in config.log where it belongs |
4474 echo "$fftw3_PKG_ERRORS" >&5 | 4758 echo "$fftw3_PKG_ERRORS" >&5 |
4475 | 4759 |
4476 { $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 | 4760 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4477 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4761 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4478 elif test $pkg_failed = untried; then | 4762 elif test $pkg_failed = untried; then |
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4763 { echo "$as_me:$LINENO: result: no" >&5 |
4480 $as_echo "no" >&6; } | 4764 echo "${ECHO_T}no" >&6; } |
4481 { $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 | 4765 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4482 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4766 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4483 else | 4767 else |
4484 fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS | 4768 fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS |
4485 fftw3_LIBS=$pkg_cv_fftw3_LIBS | 4769 fftw3_LIBS=$pkg_cv_fftw3_LIBS |
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 4770 { echo "$as_me:$LINENO: result: yes" >&5 |
4487 $as_echo "yes" >&6; } | 4771 echo "${ECHO_T}yes" >&6; } |
4488 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fftw3_CFLAGS";LIBS="$LIBS $fftw3_LIBS";SV_MODULE_FAILED="" | 4772 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fftw3_CFLAGS";LIBS="$LIBS $fftw3_LIBS";SV_MODULE_FAILED="" |
4489 fi | 4773 fi |
4490 fi | 4774 fi |
4491 if test -n "$SV_MODULE_FAILED"; then | 4775 if test -n "$SV_MODULE_FAILED"; then |
4492 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 4776 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4493 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 4777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4494 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4778 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
4779 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
4780 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4781 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4782 fi | |
4783 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4784 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4785 echo "${ECHO_T}$ac_res" >&6; } | |
4786 else | |
4787 # Is the header compilable? | |
4788 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
4789 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
4790 cat >conftest.$ac_ext <<_ACEOF | |
4791 /* confdefs.h. */ | |
4792 _ACEOF | |
4793 cat confdefs.h >>conftest.$ac_ext | |
4794 cat >>conftest.$ac_ext <<_ACEOF | |
4795 /* end confdefs.h. */ | |
4796 $ac_includes_default | |
4797 #include <$SV_MODULE_HEADER> | |
4798 _ACEOF | |
4799 rm -f conftest.$ac_objext | |
4800 if { (ac_try="$ac_compile" | |
4801 case "(($ac_try" in | |
4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4803 *) ac_try_echo=$ac_try;; | |
4804 esac | |
4805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4806 (eval "$ac_compile") 2>conftest.er1 | |
4807 ac_status=$? | |
4808 grep -v '^ *+' conftest.er1 >conftest.err | |
4809 rm -f conftest.er1 | |
4810 cat conftest.err >&5 | |
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4812 (exit $ac_status); } && { | |
4813 test -z "$ac_cxx_werror_flag" || | |
4814 test ! -s conftest.err | |
4815 } && test -s conftest.$ac_objext; then | |
4816 ac_header_compiler=yes | |
4817 else | |
4818 echo "$as_me: failed program was:" >&5 | |
4819 sed 's/^/| /' conftest.$ac_ext >&5 | |
4820 | |
4821 ac_header_compiler=no | |
4822 fi | |
4823 | |
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4825 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4826 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4827 | |
4828 # Is the header present? | |
4829 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
4830 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
4831 cat >conftest.$ac_ext <<_ACEOF | |
4832 /* confdefs.h. */ | |
4833 _ACEOF | |
4834 cat confdefs.h >>conftest.$ac_ext | |
4835 cat >>conftest.$ac_ext <<_ACEOF | |
4836 /* end confdefs.h. */ | |
4837 #include <$SV_MODULE_HEADER> | |
4838 _ACEOF | |
4839 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4840 case "(($ac_try" in | |
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4842 *) ac_try_echo=$ac_try;; | |
4843 esac | |
4844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4846 ac_status=$? | |
4847 grep -v '^ *+' conftest.er1 >conftest.err | |
4848 rm -f conftest.er1 | |
4849 cat conftest.err >&5 | |
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4851 (exit $ac_status); } >/dev/null && { | |
4852 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
4853 test ! -s conftest.err | |
4854 }; then | |
4855 ac_header_preproc=yes | |
4856 else | |
4857 echo "$as_me: failed program was:" >&5 | |
4858 sed 's/^/| /' conftest.$ac_ext >&5 | |
4859 | |
4860 ac_header_preproc=no | |
4861 fi | |
4862 | |
4863 rm -f conftest.err conftest.$ac_ext | |
4864 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4865 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4866 | |
4867 # So? What about this header? | |
4868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
4869 yes:no: ) | |
4870 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4871 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4872 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
4873 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
4874 ac_header_preproc=yes | |
4875 ;; | |
4876 no:yes:* ) | |
4877 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
4878 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
4879 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
4880 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
4881 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
4882 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
4883 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
4884 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
4885 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
4886 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
4887 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
4888 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
4889 ( cat <<\_ASBOX | |
4890 ## ------------------------------------------- ## | |
4891 ## Report this to cannam@all-day-breakfast.com ## | |
4892 ## ------------------------------------------- ## | |
4893 _ASBOX | |
4894 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
4895 ;; | |
4896 esac | |
4897 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
4898 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
4899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4900 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4901 else | |
4902 eval "$as_ac_Header=\$ac_header_preproc" | |
4903 fi | |
4904 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4905 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4906 echo "${ECHO_T}$ac_res" >&6; } | |
4907 | |
4908 fi | |
4909 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4495 HAVES="$HAVES $SV_MODULE_HAVE" | 4910 HAVES="$HAVES $SV_MODULE_HAVE" |
4496 else | 4911 else |
4497 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4912 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
4913 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
4914 { (exit 1); exit 1; }; } | |
4498 fi | 4915 fi |
4499 | 4916 |
4500 | 4917 |
4501 if test -n "$SV_MODULE_LIB"; then | 4918 if test -n "$SV_MODULE_LIB"; then |
4502 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 4919 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 4920 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4504 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 4921 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
4505 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 4922 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
4506 $as_echo_n "(cached) " >&6 | 4923 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4507 else | 4924 else |
4508 ac_check_lib_save_LIBS=$LIBS | 4925 ac_check_lib_save_LIBS=$LIBS |
4509 LIBS="-l$SV_MODULE_LIB $LIBS" | 4926 LIBS="-l$SV_MODULE_LIB $LIBS" |
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4927 cat >conftest.$ac_ext <<_ACEOF |
4928 /* confdefs.h. */ | |
4929 _ACEOF | |
4930 cat confdefs.h >>conftest.$ac_ext | |
4931 cat >>conftest.$ac_ext <<_ACEOF | |
4511 /* end confdefs.h. */ | 4932 /* end confdefs.h. */ |
4512 | 4933 |
4513 /* Override any GCC internal prototype to avoid an error. | 4934 /* Override any GCC internal prototype to avoid an error. |
4514 Use char because int might match the return type of a GCC | 4935 Use char because int might match the return type of a GCC |
4515 builtin and then its argument prototype would still apply. */ | 4936 builtin and then its argument prototype would still apply. */ |
4523 return $SV_MODULE_FUNC (); | 4944 return $SV_MODULE_FUNC (); |
4524 ; | 4945 ; |
4525 return 0; | 4946 return 0; |
4526 } | 4947 } |
4527 _ACEOF | 4948 _ACEOF |
4528 if ac_fn_cxx_try_link "$LINENO"; then : | 4949 rm -f conftest.$ac_objext conftest$ac_exeext |
4950 if { (ac_try="$ac_link" | |
4951 case "(($ac_try" in | |
4952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4953 *) ac_try_echo=$ac_try;; | |
4954 esac | |
4955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4956 (eval "$ac_link") 2>conftest.er1 | |
4957 ac_status=$? | |
4958 grep -v '^ *+' conftest.er1 >conftest.err | |
4959 rm -f conftest.er1 | |
4960 cat conftest.err >&5 | |
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4962 (exit $ac_status); } && { | |
4963 test -z "$ac_cxx_werror_flag" || | |
4964 test ! -s conftest.err | |
4965 } && test -s conftest$ac_exeext && | |
4966 $as_test_x conftest$ac_exeext; then | |
4529 eval "$as_ac_Lib=yes" | 4967 eval "$as_ac_Lib=yes" |
4530 else | 4968 else |
4531 eval "$as_ac_Lib=no" | 4969 echo "$as_me: failed program was:" >&5 |
4532 fi | 4970 sed 's/^/| /' conftest.$ac_ext >&5 |
4533 rm -f core conftest.err conftest.$ac_objext \ | 4971 |
4534 conftest$ac_exeext conftest.$ac_ext | 4972 eval "$as_ac_Lib=no" |
4973 fi | |
4974 | |
4975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4976 conftest$ac_exeext conftest.$ac_ext | |
4535 LIBS=$ac_check_lib_save_LIBS | 4977 LIBS=$ac_check_lib_save_LIBS |
4536 fi | 4978 fi |
4537 eval ac_res=\$$as_ac_Lib | 4979 ac_res=`eval echo '${'$as_ac_Lib'}'` |
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4980 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4539 $as_echo "$ac_res" >&6; } | 4981 echo "${ECHO_T}$ac_res" >&6; } |
4540 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 4982 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
4541 LIBS="$LIBS -l$SV_MODULE_LIB" | 4983 LIBS="$LIBS -l$SV_MODULE_LIB" |
4542 else | 4984 else |
4543 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4985 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
4986 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
4987 { (exit 1); exit 1; }; } | |
4544 fi | 4988 fi |
4545 | 4989 |
4546 fi | 4990 fi |
4547 fi | 4991 fi |
4548 | 4992 |
4553 SV_MODULE_LIB=fftw3f | 4997 SV_MODULE_LIB=fftw3f |
4554 SV_MODULE_FUNC=fftwf_execute | 4998 SV_MODULE_FUNC=fftwf_execute |
4555 SV_MODULE_HAVE=HAVE_$(echo fftw3f | tr 'a-z' 'A-Z') | 4999 SV_MODULE_HAVE=HAVE_$(echo fftw3f | tr 'a-z' 'A-Z') |
4556 SV_MODULE_FAILED=1 | 5000 SV_MODULE_FAILED=1 |
4557 if test -n "$fftw3f_LIBS" ; then | 5001 if test -n "$fftw3f_LIBS" ; then |
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5002 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
4559 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5003 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
4560 CXXFLAGS="$CXXFLAGS $fftw3f_CFLAGS" | 5004 CXXFLAGS="$CXXFLAGS $fftw3f_CFLAGS" |
4561 LIBS="$LIBS $fftw3f_LIBS" | 5005 LIBS="$LIBS $fftw3f_LIBS" |
4562 SV_MODULE_FAILED="" | 5006 SV_MODULE_FAILED="" |
4563 fi | 5007 fi |
4564 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5008 if test -z "$SV_MODULE_VERSION_TEST" ; then |
4565 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5009 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
4566 fi | 5010 fi |
4567 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5011 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
4568 | 5012 |
4569 pkg_failed=no | 5013 pkg_failed=no |
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3f" >&5 | 5014 { echo "$as_me:$LINENO: checking for fftw3f" >&5 |
4571 $as_echo_n "checking for fftw3f... " >&6; } | 5015 echo $ECHO_N "checking for fftw3f... $ECHO_C" >&6; } |
4572 | 5016 |
4573 if test -n "$fftw3f_CFLAGS"; then | 5017 if test -n "$fftw3f_CFLAGS"; then |
4574 pkg_cv_fftw3f_CFLAGS="$fftw3f_CFLAGS" | 5018 pkg_cv_fftw3f_CFLAGS="$fftw3f_CFLAGS" |
4575 elif test -n "$PKG_CONFIG"; then | 5019 elif test -n "$PKG_CONFIG"; then |
4576 if test -n "$PKG_CONFIG" && \ | 5020 if test -n "$PKG_CONFIG" && \ |
4577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5021 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4578 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5022 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4579 ac_status=$? | 5023 ac_status=$? |
4580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4581 test $ac_status = 0; }; then | 5025 (exit $ac_status); }; then |
4582 pkg_cv_fftw3f_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5026 pkg_cv_fftw3f_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4583 else | 5027 else |
4584 pkg_failed=yes | 5028 pkg_failed=yes |
4585 fi | 5029 fi |
4586 else | 5030 else |
4588 fi | 5032 fi |
4589 if test -n "$fftw3f_LIBS"; then | 5033 if test -n "$fftw3f_LIBS"; then |
4590 pkg_cv_fftw3f_LIBS="$fftw3f_LIBS" | 5034 pkg_cv_fftw3f_LIBS="$fftw3f_LIBS" |
4591 elif test -n "$PKG_CONFIG"; then | 5035 elif test -n "$PKG_CONFIG"; then |
4592 if test -n "$PKG_CONFIG" && \ | 5036 if test -n "$PKG_CONFIG" && \ |
4593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4594 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5038 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4595 ac_status=$? | 5039 ac_status=$? |
4596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4597 test $ac_status = 0; }; then | 5041 (exit $ac_status); }; then |
4598 pkg_cv_fftw3f_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5042 pkg_cv_fftw3f_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4599 else | 5043 else |
4600 pkg_failed=yes | 5044 pkg_failed=yes |
4601 fi | 5045 fi |
4602 else | 5046 else |
4604 fi | 5048 fi |
4605 | 5049 |
4606 | 5050 |
4607 | 5051 |
4608 if test $pkg_failed = yes; then | 5052 if test $pkg_failed = yes; then |
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5053 { echo "$as_me:$LINENO: result: no" >&5 |
4610 $as_echo "no" >&6; } | 5054 echo "${ECHO_T}no" >&6; } |
4611 | 5055 |
4612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4613 _pkg_short_errors_supported=yes | 5057 _pkg_short_errors_supported=yes |
4614 else | 5058 else |
4615 _pkg_short_errors_supported=no | 5059 _pkg_short_errors_supported=no |
4620 fftw3f_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 5064 fftw3f_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
4621 fi | 5065 fi |
4622 # Put the nasty error message in config.log where it belongs | 5066 # Put the nasty error message in config.log where it belongs |
4623 echo "$fftw3f_PKG_ERRORS" >&5 | 5067 echo "$fftw3f_PKG_ERRORS" >&5 |
4624 | 5068 |
4625 { $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 | 5069 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4626 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5070 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4627 elif test $pkg_failed = untried; then | 5071 elif test $pkg_failed = untried; then |
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5072 { echo "$as_me:$LINENO: result: no" >&5 |
4629 $as_echo "no" >&6; } | 5073 echo "${ECHO_T}no" >&6; } |
4630 { $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 | 5074 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4631 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5075 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4632 else | 5076 else |
4633 fftw3f_CFLAGS=$pkg_cv_fftw3f_CFLAGS | 5077 fftw3f_CFLAGS=$pkg_cv_fftw3f_CFLAGS |
4634 fftw3f_LIBS=$pkg_cv_fftw3f_LIBS | 5078 fftw3f_LIBS=$pkg_cv_fftw3f_LIBS |
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5079 { echo "$as_me:$LINENO: result: yes" >&5 |
4636 $as_echo "yes" >&6; } | 5080 echo "${ECHO_T}yes" >&6; } |
4637 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fftw3f_CFLAGS";LIBS="$LIBS $fftw3f_LIBS";SV_MODULE_FAILED="" | 5081 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fftw3f_CFLAGS";LIBS="$LIBS $fftw3f_LIBS";SV_MODULE_FAILED="" |
4638 fi | 5082 fi |
4639 fi | 5083 fi |
4640 if test -n "$SV_MODULE_FAILED"; then | 5084 if test -n "$SV_MODULE_FAILED"; then |
4641 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5085 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4642 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5087 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
5088 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
5089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
5090 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5091 fi | |
5092 ac_res=`eval echo '${'$as_ac_Header'}'` | |
5093 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
5094 echo "${ECHO_T}$ac_res" >&6; } | |
5095 else | |
5096 # Is the header compilable? | |
5097 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
5098 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
5099 cat >conftest.$ac_ext <<_ACEOF | |
5100 /* confdefs.h. */ | |
5101 _ACEOF | |
5102 cat confdefs.h >>conftest.$ac_ext | |
5103 cat >>conftest.$ac_ext <<_ACEOF | |
5104 /* end confdefs.h. */ | |
5105 $ac_includes_default | |
5106 #include <$SV_MODULE_HEADER> | |
5107 _ACEOF | |
5108 rm -f conftest.$ac_objext | |
5109 if { (ac_try="$ac_compile" | |
5110 case "(($ac_try" in | |
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5112 *) ac_try_echo=$ac_try;; | |
5113 esac | |
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5115 (eval "$ac_compile") 2>conftest.er1 | |
5116 ac_status=$? | |
5117 grep -v '^ *+' conftest.er1 >conftest.err | |
5118 rm -f conftest.er1 | |
5119 cat conftest.err >&5 | |
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5121 (exit $ac_status); } && { | |
5122 test -z "$ac_cxx_werror_flag" || | |
5123 test ! -s conftest.err | |
5124 } && test -s conftest.$ac_objext; then | |
5125 ac_header_compiler=yes | |
5126 else | |
5127 echo "$as_me: failed program was:" >&5 | |
5128 sed 's/^/| /' conftest.$ac_ext >&5 | |
5129 | |
5130 ac_header_compiler=no | |
5131 fi | |
5132 | |
5133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5134 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
5135 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
5136 | |
5137 # Is the header present? | |
5138 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
5139 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
5140 cat >conftest.$ac_ext <<_ACEOF | |
5141 /* confdefs.h. */ | |
5142 _ACEOF | |
5143 cat confdefs.h >>conftest.$ac_ext | |
5144 cat >>conftest.$ac_ext <<_ACEOF | |
5145 /* end confdefs.h. */ | |
5146 #include <$SV_MODULE_HEADER> | |
5147 _ACEOF | |
5148 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
5149 case "(($ac_try" in | |
5150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5151 *) ac_try_echo=$ac_try;; | |
5152 esac | |
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5155 ac_status=$? | |
5156 grep -v '^ *+' conftest.er1 >conftest.err | |
5157 rm -f conftest.er1 | |
5158 cat conftest.err >&5 | |
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5160 (exit $ac_status); } >/dev/null && { | |
5161 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
5162 test ! -s conftest.err | |
5163 }; then | |
5164 ac_header_preproc=yes | |
5165 else | |
5166 echo "$as_me: failed program was:" >&5 | |
5167 sed 's/^/| /' conftest.$ac_ext >&5 | |
5168 | |
5169 ac_header_preproc=no | |
5170 fi | |
5171 | |
5172 rm -f conftest.err conftest.$ac_ext | |
5173 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
5174 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
5175 | |
5176 # So? What about this header? | |
5177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
5178 yes:no: ) | |
5179 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
5180 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
5181 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
5182 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
5183 ac_header_preproc=yes | |
5184 ;; | |
5185 no:yes:* ) | |
5186 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
5187 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
5188 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
5189 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
5190 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
5191 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
5192 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
5193 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
5194 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
5195 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
5196 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
5197 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
5198 ( cat <<\_ASBOX | |
5199 ## ------------------------------------------- ## | |
5200 ## Report this to cannam@all-day-breakfast.com ## | |
5201 ## ------------------------------------------- ## | |
5202 _ASBOX | |
5203 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
5204 ;; | |
5205 esac | |
5206 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
5207 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
5208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
5209 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5210 else | |
5211 eval "$as_ac_Header=\$ac_header_preproc" | |
5212 fi | |
5213 ac_res=`eval echo '${'$as_ac_Header'}'` | |
5214 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
5215 echo "${ECHO_T}$ac_res" >&6; } | |
5216 | |
5217 fi | |
5218 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4644 HAVES="$HAVES $SV_MODULE_HAVE" | 5219 HAVES="$HAVES $SV_MODULE_HAVE" |
4645 else | 5220 else |
4646 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5221 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
5222 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
5223 { (exit 1); exit 1; }; } | |
4647 fi | 5224 fi |
4648 | 5225 |
4649 | 5226 |
4650 if test -n "$SV_MODULE_LIB"; then | 5227 if test -n "$SV_MODULE_LIB"; then |
4651 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5228 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5229 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4653 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5230 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
4654 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 5231 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
4655 $as_echo_n "(cached) " >&6 | 5232 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4656 else | 5233 else |
4657 ac_check_lib_save_LIBS=$LIBS | 5234 ac_check_lib_save_LIBS=$LIBS |
4658 LIBS="-l$SV_MODULE_LIB $LIBS" | 5235 LIBS="-l$SV_MODULE_LIB $LIBS" |
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5236 cat >conftest.$ac_ext <<_ACEOF |
5237 /* confdefs.h. */ | |
5238 _ACEOF | |
5239 cat confdefs.h >>conftest.$ac_ext | |
5240 cat >>conftest.$ac_ext <<_ACEOF | |
4660 /* end confdefs.h. */ | 5241 /* end confdefs.h. */ |
4661 | 5242 |
4662 /* Override any GCC internal prototype to avoid an error. | 5243 /* Override any GCC internal prototype to avoid an error. |
4663 Use char because int might match the return type of a GCC | 5244 Use char because int might match the return type of a GCC |
4664 builtin and then its argument prototype would still apply. */ | 5245 builtin and then its argument prototype would still apply. */ |
4672 return $SV_MODULE_FUNC (); | 5253 return $SV_MODULE_FUNC (); |
4673 ; | 5254 ; |
4674 return 0; | 5255 return 0; |
4675 } | 5256 } |
4676 _ACEOF | 5257 _ACEOF |
4677 if ac_fn_cxx_try_link "$LINENO"; then : | 5258 rm -f conftest.$ac_objext conftest$ac_exeext |
5259 if { (ac_try="$ac_link" | |
5260 case "(($ac_try" in | |
5261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5262 *) ac_try_echo=$ac_try;; | |
5263 esac | |
5264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5265 (eval "$ac_link") 2>conftest.er1 | |
5266 ac_status=$? | |
5267 grep -v '^ *+' conftest.er1 >conftest.err | |
5268 rm -f conftest.er1 | |
5269 cat conftest.err >&5 | |
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5271 (exit $ac_status); } && { | |
5272 test -z "$ac_cxx_werror_flag" || | |
5273 test ! -s conftest.err | |
5274 } && test -s conftest$ac_exeext && | |
5275 $as_test_x conftest$ac_exeext; then | |
4678 eval "$as_ac_Lib=yes" | 5276 eval "$as_ac_Lib=yes" |
4679 else | 5277 else |
4680 eval "$as_ac_Lib=no" | 5278 echo "$as_me: failed program was:" >&5 |
4681 fi | 5279 sed 's/^/| /' conftest.$ac_ext >&5 |
4682 rm -f core conftest.err conftest.$ac_objext \ | 5280 |
4683 conftest$ac_exeext conftest.$ac_ext | 5281 eval "$as_ac_Lib=no" |
5282 fi | |
5283 | |
5284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5285 conftest$ac_exeext conftest.$ac_ext | |
4684 LIBS=$ac_check_lib_save_LIBS | 5286 LIBS=$ac_check_lib_save_LIBS |
4685 fi | 5287 fi |
4686 eval ac_res=\$$as_ac_Lib | 5288 ac_res=`eval echo '${'$as_ac_Lib'}'` |
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5289 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4688 $as_echo "$ac_res" >&6; } | 5290 echo "${ECHO_T}$ac_res" >&6; } |
4689 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5291 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
4690 LIBS="$LIBS -l$SV_MODULE_LIB" | 5292 LIBS="$LIBS -l$SV_MODULE_LIB" |
4691 else | 5293 else |
4692 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5294 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
5295 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
5296 { (exit 1); exit 1; }; } | |
4693 fi | 5297 fi |
4694 | 5298 |
4695 fi | 5299 fi |
4696 fi | 5300 fi |
4697 | 5301 |
4702 SV_MODULE_LIB=sndfile | 5306 SV_MODULE_LIB=sndfile |
4703 SV_MODULE_FUNC=sf_open | 5307 SV_MODULE_FUNC=sf_open |
4704 SV_MODULE_HAVE=HAVE_$(echo sndfile | tr 'a-z' 'A-Z') | 5308 SV_MODULE_HAVE=HAVE_$(echo sndfile | tr 'a-z' 'A-Z') |
4705 SV_MODULE_FAILED=1 | 5309 SV_MODULE_FAILED=1 |
4706 if test -n "$sndfile_LIBS" ; then | 5310 if test -n "$sndfile_LIBS" ; then |
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5311 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
4708 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5312 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
4709 CXXFLAGS="$CXXFLAGS $sndfile_CFLAGS" | 5313 CXXFLAGS="$CXXFLAGS $sndfile_CFLAGS" |
4710 LIBS="$LIBS $sndfile_LIBS" | 5314 LIBS="$LIBS $sndfile_LIBS" |
4711 SV_MODULE_FAILED="" | 5315 SV_MODULE_FAILED="" |
4712 fi | 5316 fi |
4713 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5317 if test -z "$SV_MODULE_VERSION_TEST" ; then |
4714 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5318 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
4715 fi | 5319 fi |
4716 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5320 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
4717 | 5321 |
4718 pkg_failed=no | 5322 pkg_failed=no |
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sndfile" >&5 | 5323 { echo "$as_me:$LINENO: checking for sndfile" >&5 |
4720 $as_echo_n "checking for sndfile... " >&6; } | 5324 echo $ECHO_N "checking for sndfile... $ECHO_C" >&6; } |
4721 | 5325 |
4722 if test -n "$sndfile_CFLAGS"; then | 5326 if test -n "$sndfile_CFLAGS"; then |
4723 pkg_cv_sndfile_CFLAGS="$sndfile_CFLAGS" | 5327 pkg_cv_sndfile_CFLAGS="$sndfile_CFLAGS" |
4724 elif test -n "$PKG_CONFIG"; then | 5328 elif test -n "$PKG_CONFIG"; then |
4725 if test -n "$PKG_CONFIG" && \ | 5329 if test -n "$PKG_CONFIG" && \ |
4726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4727 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5331 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4728 ac_status=$? | 5332 ac_status=$? |
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4730 test $ac_status = 0; }; then | 5334 (exit $ac_status); }; then |
4731 pkg_cv_sndfile_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5335 pkg_cv_sndfile_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4732 else | 5336 else |
4733 pkg_failed=yes | 5337 pkg_failed=yes |
4734 fi | 5338 fi |
4735 else | 5339 else |
4737 fi | 5341 fi |
4738 if test -n "$sndfile_LIBS"; then | 5342 if test -n "$sndfile_LIBS"; then |
4739 pkg_cv_sndfile_LIBS="$sndfile_LIBS" | 5343 pkg_cv_sndfile_LIBS="$sndfile_LIBS" |
4740 elif test -n "$PKG_CONFIG"; then | 5344 elif test -n "$PKG_CONFIG"; then |
4741 if test -n "$PKG_CONFIG" && \ | 5345 if test -n "$PKG_CONFIG" && \ |
4742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4743 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5347 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4744 ac_status=$? | 5348 ac_status=$? |
4745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4746 test $ac_status = 0; }; then | 5350 (exit $ac_status); }; then |
4747 pkg_cv_sndfile_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5351 pkg_cv_sndfile_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4748 else | 5352 else |
4749 pkg_failed=yes | 5353 pkg_failed=yes |
4750 fi | 5354 fi |
4751 else | 5355 else |
4753 fi | 5357 fi |
4754 | 5358 |
4755 | 5359 |
4756 | 5360 |
4757 if test $pkg_failed = yes; then | 5361 if test $pkg_failed = yes; then |
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5362 { echo "$as_me:$LINENO: result: no" >&5 |
4759 $as_echo "no" >&6; } | 5363 echo "${ECHO_T}no" >&6; } |
4760 | 5364 |
4761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4762 _pkg_short_errors_supported=yes | 5366 _pkg_short_errors_supported=yes |
4763 else | 5367 else |
4764 _pkg_short_errors_supported=no | 5368 _pkg_short_errors_supported=no |
4769 sndfile_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 5373 sndfile_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
4770 fi | 5374 fi |
4771 # Put the nasty error message in config.log where it belongs | 5375 # Put the nasty error message in config.log where it belongs |
4772 echo "$sndfile_PKG_ERRORS" >&5 | 5376 echo "$sndfile_PKG_ERRORS" >&5 |
4773 | 5377 |
4774 { $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 | 5378 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4775 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5379 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4776 elif test $pkg_failed = untried; then | 5380 elif test $pkg_failed = untried; then |
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5381 { echo "$as_me:$LINENO: result: no" >&5 |
4778 $as_echo "no" >&6; } | 5382 echo "${ECHO_T}no" >&6; } |
4779 { $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 | 5383 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4780 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5384 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4781 else | 5385 else |
4782 sndfile_CFLAGS=$pkg_cv_sndfile_CFLAGS | 5386 sndfile_CFLAGS=$pkg_cv_sndfile_CFLAGS |
4783 sndfile_LIBS=$pkg_cv_sndfile_LIBS | 5387 sndfile_LIBS=$pkg_cv_sndfile_LIBS |
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5388 { echo "$as_me:$LINENO: result: yes" >&5 |
4785 $as_echo "yes" >&6; } | 5389 echo "${ECHO_T}yes" >&6; } |
4786 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $sndfile_CFLAGS";LIBS="$LIBS $sndfile_LIBS";SV_MODULE_FAILED="" | 5390 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $sndfile_CFLAGS";LIBS="$LIBS $sndfile_LIBS";SV_MODULE_FAILED="" |
4787 fi | 5391 fi |
4788 fi | 5392 fi |
4789 if test -n "$SV_MODULE_FAILED"; then | 5393 if test -n "$SV_MODULE_FAILED"; then |
4790 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5394 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4791 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5396 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
5397 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
5398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
5399 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5400 fi | |
5401 ac_res=`eval echo '${'$as_ac_Header'}'` | |
5402 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
5403 echo "${ECHO_T}$ac_res" >&6; } | |
5404 else | |
5405 # Is the header compilable? | |
5406 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
5407 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
5408 cat >conftest.$ac_ext <<_ACEOF | |
5409 /* confdefs.h. */ | |
5410 _ACEOF | |
5411 cat confdefs.h >>conftest.$ac_ext | |
5412 cat >>conftest.$ac_ext <<_ACEOF | |
5413 /* end confdefs.h. */ | |
5414 $ac_includes_default | |
5415 #include <$SV_MODULE_HEADER> | |
5416 _ACEOF | |
5417 rm -f conftest.$ac_objext | |
5418 if { (ac_try="$ac_compile" | |
5419 case "(($ac_try" in | |
5420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5421 *) ac_try_echo=$ac_try;; | |
5422 esac | |
5423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5424 (eval "$ac_compile") 2>conftest.er1 | |
5425 ac_status=$? | |
5426 grep -v '^ *+' conftest.er1 >conftest.err | |
5427 rm -f conftest.er1 | |
5428 cat conftest.err >&5 | |
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5430 (exit $ac_status); } && { | |
5431 test -z "$ac_cxx_werror_flag" || | |
5432 test ! -s conftest.err | |
5433 } && test -s conftest.$ac_objext; then | |
5434 ac_header_compiler=yes | |
5435 else | |
5436 echo "$as_me: failed program was:" >&5 | |
5437 sed 's/^/| /' conftest.$ac_ext >&5 | |
5438 | |
5439 ac_header_compiler=no | |
5440 fi | |
5441 | |
5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5443 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
5444 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
5445 | |
5446 # Is the header present? | |
5447 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
5448 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
5449 cat >conftest.$ac_ext <<_ACEOF | |
5450 /* confdefs.h. */ | |
5451 _ACEOF | |
5452 cat confdefs.h >>conftest.$ac_ext | |
5453 cat >>conftest.$ac_ext <<_ACEOF | |
5454 /* end confdefs.h. */ | |
5455 #include <$SV_MODULE_HEADER> | |
5456 _ACEOF | |
5457 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
5458 case "(($ac_try" in | |
5459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5460 *) ac_try_echo=$ac_try;; | |
5461 esac | |
5462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5464 ac_status=$? | |
5465 grep -v '^ *+' conftest.er1 >conftest.err | |
5466 rm -f conftest.er1 | |
5467 cat conftest.err >&5 | |
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5469 (exit $ac_status); } >/dev/null && { | |
5470 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
5471 test ! -s conftest.err | |
5472 }; then | |
5473 ac_header_preproc=yes | |
5474 else | |
5475 echo "$as_me: failed program was:" >&5 | |
5476 sed 's/^/| /' conftest.$ac_ext >&5 | |
5477 | |
5478 ac_header_preproc=no | |
5479 fi | |
5480 | |
5481 rm -f conftest.err conftest.$ac_ext | |
5482 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
5483 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
5484 | |
5485 # So? What about this header? | |
5486 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
5487 yes:no: ) | |
5488 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
5489 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
5490 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
5491 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
5492 ac_header_preproc=yes | |
5493 ;; | |
5494 no:yes:* ) | |
5495 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
5496 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
5497 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
5498 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
5499 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
5500 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
5501 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
5502 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
5503 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
5504 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
5505 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
5506 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
5507 ( cat <<\_ASBOX | |
5508 ## ------------------------------------------- ## | |
5509 ## Report this to cannam@all-day-breakfast.com ## | |
5510 ## ------------------------------------------- ## | |
5511 _ASBOX | |
5512 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
5513 ;; | |
5514 esac | |
5515 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
5516 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
5517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
5518 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5519 else | |
5520 eval "$as_ac_Header=\$ac_header_preproc" | |
5521 fi | |
5522 ac_res=`eval echo '${'$as_ac_Header'}'` | |
5523 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
5524 echo "${ECHO_T}$ac_res" >&6; } | |
5525 | |
5526 fi | |
5527 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4793 HAVES="$HAVES $SV_MODULE_HAVE" | 5528 HAVES="$HAVES $SV_MODULE_HAVE" |
4794 else | 5529 else |
4795 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5530 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
5531 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
5532 { (exit 1); exit 1; }; } | |
4796 fi | 5533 fi |
4797 | 5534 |
4798 | 5535 |
4799 if test -n "$SV_MODULE_LIB"; then | 5536 if test -n "$SV_MODULE_LIB"; then |
4800 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5537 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5538 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4802 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5539 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
4803 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 5540 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
4804 $as_echo_n "(cached) " >&6 | 5541 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4805 else | 5542 else |
4806 ac_check_lib_save_LIBS=$LIBS | 5543 ac_check_lib_save_LIBS=$LIBS |
4807 LIBS="-l$SV_MODULE_LIB $LIBS" | 5544 LIBS="-l$SV_MODULE_LIB $LIBS" |
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5545 cat >conftest.$ac_ext <<_ACEOF |
5546 /* confdefs.h. */ | |
5547 _ACEOF | |
5548 cat confdefs.h >>conftest.$ac_ext | |
5549 cat >>conftest.$ac_ext <<_ACEOF | |
4809 /* end confdefs.h. */ | 5550 /* end confdefs.h. */ |
4810 | 5551 |
4811 /* Override any GCC internal prototype to avoid an error. | 5552 /* Override any GCC internal prototype to avoid an error. |
4812 Use char because int might match the return type of a GCC | 5553 Use char because int might match the return type of a GCC |
4813 builtin and then its argument prototype would still apply. */ | 5554 builtin and then its argument prototype would still apply. */ |
4821 return $SV_MODULE_FUNC (); | 5562 return $SV_MODULE_FUNC (); |
4822 ; | 5563 ; |
4823 return 0; | 5564 return 0; |
4824 } | 5565 } |
4825 _ACEOF | 5566 _ACEOF |
4826 if ac_fn_cxx_try_link "$LINENO"; then : | 5567 rm -f conftest.$ac_objext conftest$ac_exeext |
5568 if { (ac_try="$ac_link" | |
5569 case "(($ac_try" in | |
5570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5571 *) ac_try_echo=$ac_try;; | |
5572 esac | |
5573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5574 (eval "$ac_link") 2>conftest.er1 | |
5575 ac_status=$? | |
5576 grep -v '^ *+' conftest.er1 >conftest.err | |
5577 rm -f conftest.er1 | |
5578 cat conftest.err >&5 | |
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5580 (exit $ac_status); } && { | |
5581 test -z "$ac_cxx_werror_flag" || | |
5582 test ! -s conftest.err | |
5583 } && test -s conftest$ac_exeext && | |
5584 $as_test_x conftest$ac_exeext; then | |
4827 eval "$as_ac_Lib=yes" | 5585 eval "$as_ac_Lib=yes" |
4828 else | 5586 else |
4829 eval "$as_ac_Lib=no" | 5587 echo "$as_me: failed program was:" >&5 |
4830 fi | 5588 sed 's/^/| /' conftest.$ac_ext >&5 |
4831 rm -f core conftest.err conftest.$ac_objext \ | 5589 |
4832 conftest$ac_exeext conftest.$ac_ext | 5590 eval "$as_ac_Lib=no" |
5591 fi | |
5592 | |
5593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5594 conftest$ac_exeext conftest.$ac_ext | |
4833 LIBS=$ac_check_lib_save_LIBS | 5595 LIBS=$ac_check_lib_save_LIBS |
4834 fi | 5596 fi |
4835 eval ac_res=\$$as_ac_Lib | 5597 ac_res=`eval echo '${'$as_ac_Lib'}'` |
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5598 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4837 $as_echo "$ac_res" >&6; } | 5599 echo "${ECHO_T}$ac_res" >&6; } |
4838 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5600 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
4839 LIBS="$LIBS -l$SV_MODULE_LIB" | 5601 LIBS="$LIBS -l$SV_MODULE_LIB" |
4840 else | 5602 else |
4841 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5603 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
5604 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
5605 { (exit 1); exit 1; }; } | |
4842 fi | 5606 fi |
4843 | 5607 |
4844 fi | 5608 fi |
4845 fi | 5609 fi |
4846 | 5610 |
4851 SV_MODULE_LIB=samplerate | 5615 SV_MODULE_LIB=samplerate |
4852 SV_MODULE_FUNC=src_new | 5616 SV_MODULE_FUNC=src_new |
4853 SV_MODULE_HAVE=HAVE_$(echo samplerate | tr 'a-z' 'A-Z') | 5617 SV_MODULE_HAVE=HAVE_$(echo samplerate | tr 'a-z' 'A-Z') |
4854 SV_MODULE_FAILED=1 | 5618 SV_MODULE_FAILED=1 |
4855 if test -n "$samplerate_LIBS" ; then | 5619 if test -n "$samplerate_LIBS" ; then |
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5620 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
4857 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5621 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
4858 CXXFLAGS="$CXXFLAGS $samplerate_CFLAGS" | 5622 CXXFLAGS="$CXXFLAGS $samplerate_CFLAGS" |
4859 LIBS="$LIBS $samplerate_LIBS" | 5623 LIBS="$LIBS $samplerate_LIBS" |
4860 SV_MODULE_FAILED="" | 5624 SV_MODULE_FAILED="" |
4861 fi | 5625 fi |
4862 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5626 if test -z "$SV_MODULE_VERSION_TEST" ; then |
4863 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5627 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
4864 fi | 5628 fi |
4865 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5629 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
4866 | 5630 |
4867 pkg_failed=no | 5631 pkg_failed=no |
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate" >&5 | 5632 { echo "$as_me:$LINENO: checking for samplerate" >&5 |
4869 $as_echo_n "checking for samplerate... " >&6; } | 5633 echo $ECHO_N "checking for samplerate... $ECHO_C" >&6; } |
4870 | 5634 |
4871 if test -n "$samplerate_CFLAGS"; then | 5635 if test -n "$samplerate_CFLAGS"; then |
4872 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS" | 5636 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS" |
4873 elif test -n "$PKG_CONFIG"; then | 5637 elif test -n "$PKG_CONFIG"; then |
4874 if test -n "$PKG_CONFIG" && \ | 5638 if test -n "$PKG_CONFIG" && \ |
4875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4876 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5640 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4877 ac_status=$? | 5641 ac_status=$? |
4878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4879 test $ac_status = 0; }; then | 5643 (exit $ac_status); }; then |
4880 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5644 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4881 else | 5645 else |
4882 pkg_failed=yes | 5646 pkg_failed=yes |
4883 fi | 5647 fi |
4884 else | 5648 else |
4886 fi | 5650 fi |
4887 if test -n "$samplerate_LIBS"; then | 5651 if test -n "$samplerate_LIBS"; then |
4888 pkg_cv_samplerate_LIBS="$samplerate_LIBS" | 5652 pkg_cv_samplerate_LIBS="$samplerate_LIBS" |
4889 elif test -n "$PKG_CONFIG"; then | 5653 elif test -n "$PKG_CONFIG"; then |
4890 if test -n "$PKG_CONFIG" && \ | 5654 if test -n "$PKG_CONFIG" && \ |
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
4892 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5656 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4893 ac_status=$? | 5657 ac_status=$? |
4894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4895 test $ac_status = 0; }; then | 5659 (exit $ac_status); }; then |
4896 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5660 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4897 else | 5661 else |
4898 pkg_failed=yes | 5662 pkg_failed=yes |
4899 fi | 5663 fi |
4900 else | 5664 else |
4902 fi | 5666 fi |
4903 | 5667 |
4904 | 5668 |
4905 | 5669 |
4906 if test $pkg_failed = yes; then | 5670 if test $pkg_failed = yes; then |
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5671 { echo "$as_me:$LINENO: result: no" >&5 |
4908 $as_echo "no" >&6; } | 5672 echo "${ECHO_T}no" >&6; } |
4909 | 5673 |
4910 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4911 _pkg_short_errors_supported=yes | 5675 _pkg_short_errors_supported=yes |
4912 else | 5676 else |
4913 _pkg_short_errors_supported=no | 5677 _pkg_short_errors_supported=no |
4918 samplerate_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 5682 samplerate_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
4919 fi | 5683 fi |
4920 # Put the nasty error message in config.log where it belongs | 5684 # Put the nasty error message in config.log where it belongs |
4921 echo "$samplerate_PKG_ERRORS" >&5 | 5685 echo "$samplerate_PKG_ERRORS" >&5 |
4922 | 5686 |
4923 { $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 | 5687 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4924 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5688 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4925 elif test $pkg_failed = untried; then | 5689 elif test $pkg_failed = untried; then |
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5690 { echo "$as_me:$LINENO: result: no" >&5 |
4927 $as_echo "no" >&6; } | 5691 echo "${ECHO_T}no" >&6; } |
4928 { $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 | 5692 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
4929 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5693 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4930 else | 5694 else |
4931 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS | 5695 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS |
4932 samplerate_LIBS=$pkg_cv_samplerate_LIBS | 5696 samplerate_LIBS=$pkg_cv_samplerate_LIBS |
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5697 { echo "$as_me:$LINENO: result: yes" >&5 |
4934 $as_echo "yes" >&6; } | 5698 echo "${ECHO_T}yes" >&6; } |
4935 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $samplerate_CFLAGS";LIBS="$LIBS $samplerate_LIBS";SV_MODULE_FAILED="" | 5699 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $samplerate_CFLAGS";LIBS="$LIBS $samplerate_LIBS";SV_MODULE_FAILED="" |
4936 fi | 5700 fi |
4937 fi | 5701 fi |
4938 if test -n "$SV_MODULE_FAILED"; then | 5702 if test -n "$SV_MODULE_FAILED"; then |
4939 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5703 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4940 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5705 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
5706 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
5707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
5708 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5709 fi | |
5710 ac_res=`eval echo '${'$as_ac_Header'}'` | |
5711 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
5712 echo "${ECHO_T}$ac_res" >&6; } | |
5713 else | |
5714 # Is the header compilable? | |
5715 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
5716 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
5717 cat >conftest.$ac_ext <<_ACEOF | |
5718 /* confdefs.h. */ | |
5719 _ACEOF | |
5720 cat confdefs.h >>conftest.$ac_ext | |
5721 cat >>conftest.$ac_ext <<_ACEOF | |
5722 /* end confdefs.h. */ | |
5723 $ac_includes_default | |
5724 #include <$SV_MODULE_HEADER> | |
5725 _ACEOF | |
5726 rm -f conftest.$ac_objext | |
5727 if { (ac_try="$ac_compile" | |
5728 case "(($ac_try" in | |
5729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5730 *) ac_try_echo=$ac_try;; | |
5731 esac | |
5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5733 (eval "$ac_compile") 2>conftest.er1 | |
5734 ac_status=$? | |
5735 grep -v '^ *+' conftest.er1 >conftest.err | |
5736 rm -f conftest.er1 | |
5737 cat conftest.err >&5 | |
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5739 (exit $ac_status); } && { | |
5740 test -z "$ac_cxx_werror_flag" || | |
5741 test ! -s conftest.err | |
5742 } && test -s conftest.$ac_objext; then | |
5743 ac_header_compiler=yes | |
5744 else | |
5745 echo "$as_me: failed program was:" >&5 | |
5746 sed 's/^/| /' conftest.$ac_ext >&5 | |
5747 | |
5748 ac_header_compiler=no | |
5749 fi | |
5750 | |
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5752 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
5753 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
5754 | |
5755 # Is the header present? | |
5756 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
5757 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
5758 cat >conftest.$ac_ext <<_ACEOF | |
5759 /* confdefs.h. */ | |
5760 _ACEOF | |
5761 cat confdefs.h >>conftest.$ac_ext | |
5762 cat >>conftest.$ac_ext <<_ACEOF | |
5763 /* end confdefs.h. */ | |
5764 #include <$SV_MODULE_HEADER> | |
5765 _ACEOF | |
5766 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
5767 case "(($ac_try" in | |
5768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5769 *) ac_try_echo=$ac_try;; | |
5770 esac | |
5771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5773 ac_status=$? | |
5774 grep -v '^ *+' conftest.er1 >conftest.err | |
5775 rm -f conftest.er1 | |
5776 cat conftest.err >&5 | |
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5778 (exit $ac_status); } >/dev/null && { | |
5779 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
5780 test ! -s conftest.err | |
5781 }; then | |
5782 ac_header_preproc=yes | |
5783 else | |
5784 echo "$as_me: failed program was:" >&5 | |
5785 sed 's/^/| /' conftest.$ac_ext >&5 | |
5786 | |
5787 ac_header_preproc=no | |
5788 fi | |
5789 | |
5790 rm -f conftest.err conftest.$ac_ext | |
5791 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
5792 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
5793 | |
5794 # So? What about this header? | |
5795 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
5796 yes:no: ) | |
5797 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
5798 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
5799 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
5800 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
5801 ac_header_preproc=yes | |
5802 ;; | |
5803 no:yes:* ) | |
5804 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
5805 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
5806 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
5807 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
5808 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
5809 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
5810 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
5811 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
5812 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
5813 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
5814 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
5815 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
5816 ( cat <<\_ASBOX | |
5817 ## ------------------------------------------- ## | |
5818 ## Report this to cannam@all-day-breakfast.com ## | |
5819 ## ------------------------------------------- ## | |
5820 _ASBOX | |
5821 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
5822 ;; | |
5823 esac | |
5824 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
5825 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
5826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
5827 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5828 else | |
5829 eval "$as_ac_Header=\$ac_header_preproc" | |
5830 fi | |
5831 ac_res=`eval echo '${'$as_ac_Header'}'` | |
5832 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
5833 echo "${ECHO_T}$ac_res" >&6; } | |
5834 | |
5835 fi | |
5836 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4942 HAVES="$HAVES $SV_MODULE_HAVE" | 5837 HAVES="$HAVES $SV_MODULE_HAVE" |
4943 else | 5838 else |
4944 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5839 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
5840 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
5841 { (exit 1); exit 1; }; } | |
4945 fi | 5842 fi |
4946 | 5843 |
4947 | 5844 |
4948 if test -n "$SV_MODULE_LIB"; then | 5845 if test -n "$SV_MODULE_LIB"; then |
4949 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5846 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5847 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4951 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5848 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
4952 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 5849 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
4953 $as_echo_n "(cached) " >&6 | 5850 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4954 else | 5851 else |
4955 ac_check_lib_save_LIBS=$LIBS | 5852 ac_check_lib_save_LIBS=$LIBS |
4956 LIBS="-l$SV_MODULE_LIB $LIBS" | 5853 LIBS="-l$SV_MODULE_LIB $LIBS" |
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5854 cat >conftest.$ac_ext <<_ACEOF |
5855 /* confdefs.h. */ | |
5856 _ACEOF | |
5857 cat confdefs.h >>conftest.$ac_ext | |
5858 cat >>conftest.$ac_ext <<_ACEOF | |
4958 /* end confdefs.h. */ | 5859 /* end confdefs.h. */ |
4959 | 5860 |
4960 /* Override any GCC internal prototype to avoid an error. | 5861 /* Override any GCC internal prototype to avoid an error. |
4961 Use char because int might match the return type of a GCC | 5862 Use char because int might match the return type of a GCC |
4962 builtin and then its argument prototype would still apply. */ | 5863 builtin and then its argument prototype would still apply. */ |
4970 return $SV_MODULE_FUNC (); | 5871 return $SV_MODULE_FUNC (); |
4971 ; | 5872 ; |
4972 return 0; | 5873 return 0; |
4973 } | 5874 } |
4974 _ACEOF | 5875 _ACEOF |
4975 if ac_fn_cxx_try_link "$LINENO"; then : | 5876 rm -f conftest.$ac_objext conftest$ac_exeext |
5877 if { (ac_try="$ac_link" | |
5878 case "(($ac_try" in | |
5879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5880 *) ac_try_echo=$ac_try;; | |
5881 esac | |
5882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5883 (eval "$ac_link") 2>conftest.er1 | |
5884 ac_status=$? | |
5885 grep -v '^ *+' conftest.er1 >conftest.err | |
5886 rm -f conftest.er1 | |
5887 cat conftest.err >&5 | |
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5889 (exit $ac_status); } && { | |
5890 test -z "$ac_cxx_werror_flag" || | |
5891 test ! -s conftest.err | |
5892 } && test -s conftest$ac_exeext && | |
5893 $as_test_x conftest$ac_exeext; then | |
4976 eval "$as_ac_Lib=yes" | 5894 eval "$as_ac_Lib=yes" |
4977 else | 5895 else |
4978 eval "$as_ac_Lib=no" | 5896 echo "$as_me: failed program was:" >&5 |
4979 fi | 5897 sed 's/^/| /' conftest.$ac_ext >&5 |
4980 rm -f core conftest.err conftest.$ac_objext \ | 5898 |
4981 conftest$ac_exeext conftest.$ac_ext | 5899 eval "$as_ac_Lib=no" |
5900 fi | |
5901 | |
5902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5903 conftest$ac_exeext conftest.$ac_ext | |
4982 LIBS=$ac_check_lib_save_LIBS | 5904 LIBS=$ac_check_lib_save_LIBS |
4983 fi | 5905 fi |
4984 eval ac_res=\$$as_ac_Lib | 5906 ac_res=`eval echo '${'$as_ac_Lib'}'` |
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5907 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4986 $as_echo "$ac_res" >&6; } | 5908 echo "${ECHO_T}$ac_res" >&6; } |
4987 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5909 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
4988 LIBS="$LIBS -l$SV_MODULE_LIB" | 5910 LIBS="$LIBS -l$SV_MODULE_LIB" |
4989 else | 5911 else |
4990 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5912 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
5913 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
5914 { (exit 1); exit 1; }; } | |
4991 fi | 5915 fi |
4992 | 5916 |
4993 fi | 5917 fi |
4994 fi | 5918 fi |
4995 | 5919 |
5000 SV_MODULE_LIB= | 5924 SV_MODULE_LIB= |
5001 SV_MODULE_FUNC= | 5925 SV_MODULE_FUNC= |
5002 SV_MODULE_HAVE=HAVE_$(echo vamp | tr 'a-z' 'A-Z') | 5926 SV_MODULE_HAVE=HAVE_$(echo vamp | tr 'a-z' 'A-Z') |
5003 SV_MODULE_FAILED=1 | 5927 SV_MODULE_FAILED=1 |
5004 if test -n "$vamp_LIBS" ; then | 5928 if test -n "$vamp_LIBS" ; then |
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5929 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5006 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5930 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5007 CXXFLAGS="$CXXFLAGS $vamp_CFLAGS" | 5931 CXXFLAGS="$CXXFLAGS $vamp_CFLAGS" |
5008 LIBS="$LIBS $vamp_LIBS" | 5932 LIBS="$LIBS $vamp_LIBS" |
5009 SV_MODULE_FAILED="" | 5933 SV_MODULE_FAILED="" |
5010 fi | 5934 fi |
5011 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5935 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5012 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5936 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5013 fi | 5937 fi |
5014 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5938 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5015 | 5939 |
5016 pkg_failed=no | 5940 pkg_failed=no |
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5 | 5941 { echo "$as_me:$LINENO: checking for vamp" >&5 |
5018 $as_echo_n "checking for vamp... " >&6; } | 5942 echo $ECHO_N "checking for vamp... $ECHO_C" >&6; } |
5019 | 5943 |
5020 if test -n "$vamp_CFLAGS"; then | 5944 if test -n "$vamp_CFLAGS"; then |
5021 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS" | 5945 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS" |
5022 elif test -n "$PKG_CONFIG"; then | 5946 elif test -n "$PKG_CONFIG"; then |
5023 if test -n "$PKG_CONFIG" && \ | 5947 if test -n "$PKG_CONFIG" && \ |
5024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5948 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5025 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5949 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5026 ac_status=$? | 5950 ac_status=$? |
5027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5028 test $ac_status = 0; }; then | 5952 (exit $ac_status); }; then |
5029 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5953 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5030 else | 5954 else |
5031 pkg_failed=yes | 5955 pkg_failed=yes |
5032 fi | 5956 fi |
5033 else | 5957 else |
5035 fi | 5959 fi |
5036 if test -n "$vamp_LIBS"; then | 5960 if test -n "$vamp_LIBS"; then |
5037 pkg_cv_vamp_LIBS="$vamp_LIBS" | 5961 pkg_cv_vamp_LIBS="$vamp_LIBS" |
5038 elif test -n "$PKG_CONFIG"; then | 5962 elif test -n "$PKG_CONFIG"; then |
5039 if test -n "$PKG_CONFIG" && \ | 5963 if test -n "$PKG_CONFIG" && \ |
5040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5041 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5965 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5042 ac_status=$? | 5966 ac_status=$? |
5043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5044 test $ac_status = 0; }; then | 5968 (exit $ac_status); }; then |
5045 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5969 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5046 else | 5970 else |
5047 pkg_failed=yes | 5971 pkg_failed=yes |
5048 fi | 5972 fi |
5049 else | 5973 else |
5051 fi | 5975 fi |
5052 | 5976 |
5053 | 5977 |
5054 | 5978 |
5055 if test $pkg_failed = yes; then | 5979 if test $pkg_failed = yes; then |
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5980 { echo "$as_me:$LINENO: result: no" >&5 |
5057 $as_echo "no" >&6; } | 5981 echo "${ECHO_T}no" >&6; } |
5058 | 5982 |
5059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5060 _pkg_short_errors_supported=yes | 5984 _pkg_short_errors_supported=yes |
5061 else | 5985 else |
5062 _pkg_short_errors_supported=no | 5986 _pkg_short_errors_supported=no |
5067 vamp_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 5991 vamp_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
5068 fi | 5992 fi |
5069 # Put the nasty error message in config.log where it belongs | 5993 # Put the nasty error message in config.log where it belongs |
5070 echo "$vamp_PKG_ERRORS" >&5 | 5994 echo "$vamp_PKG_ERRORS" >&5 |
5071 | 5995 |
5072 { $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 | 5996 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5073 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5997 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5074 elif test $pkg_failed = untried; then | 5998 elif test $pkg_failed = untried; then |
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5999 { echo "$as_me:$LINENO: result: no" >&5 |
5076 $as_echo "no" >&6; } | 6000 echo "${ECHO_T}no" >&6; } |
5077 { $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 | 6001 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5078 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6002 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5079 else | 6003 else |
5080 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS | 6004 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS |
5081 vamp_LIBS=$pkg_cv_vamp_LIBS | 6005 vamp_LIBS=$pkg_cv_vamp_LIBS |
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6006 { echo "$as_me:$LINENO: result: yes" >&5 |
5083 $as_echo "yes" >&6; } | 6007 echo "${ECHO_T}yes" >&6; } |
5084 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamp_CFLAGS";LIBS="$LIBS $vamp_LIBS";SV_MODULE_FAILED="" | 6008 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamp_CFLAGS";LIBS="$LIBS $vamp_LIBS";SV_MODULE_FAILED="" |
5085 fi | 6009 fi |
5086 fi | 6010 fi |
5087 if test -n "$SV_MODULE_FAILED"; then | 6011 if test -n "$SV_MODULE_FAILED"; then |
5088 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6012 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5089 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5090 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6014 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
6015 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
6016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6017 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6018 fi | |
6019 ac_res=`eval echo '${'$as_ac_Header'}'` | |
6020 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6021 echo "${ECHO_T}$ac_res" >&6; } | |
6022 else | |
6023 # Is the header compilable? | |
6024 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
6025 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
6026 cat >conftest.$ac_ext <<_ACEOF | |
6027 /* confdefs.h. */ | |
6028 _ACEOF | |
6029 cat confdefs.h >>conftest.$ac_ext | |
6030 cat >>conftest.$ac_ext <<_ACEOF | |
6031 /* end confdefs.h. */ | |
6032 $ac_includes_default | |
6033 #include <$SV_MODULE_HEADER> | |
6034 _ACEOF | |
6035 rm -f conftest.$ac_objext | |
6036 if { (ac_try="$ac_compile" | |
6037 case "(($ac_try" in | |
6038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6039 *) ac_try_echo=$ac_try;; | |
6040 esac | |
6041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6042 (eval "$ac_compile") 2>conftest.er1 | |
6043 ac_status=$? | |
6044 grep -v '^ *+' conftest.er1 >conftest.err | |
6045 rm -f conftest.er1 | |
6046 cat conftest.err >&5 | |
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6048 (exit $ac_status); } && { | |
6049 test -z "$ac_cxx_werror_flag" || | |
6050 test ! -s conftest.err | |
6051 } && test -s conftest.$ac_objext; then | |
6052 ac_header_compiler=yes | |
6053 else | |
6054 echo "$as_me: failed program was:" >&5 | |
6055 sed 's/^/| /' conftest.$ac_ext >&5 | |
6056 | |
6057 ac_header_compiler=no | |
6058 fi | |
6059 | |
6060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6061 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6062 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6063 | |
6064 # Is the header present? | |
6065 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
6066 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
6067 cat >conftest.$ac_ext <<_ACEOF | |
6068 /* confdefs.h. */ | |
6069 _ACEOF | |
6070 cat confdefs.h >>conftest.$ac_ext | |
6071 cat >>conftest.$ac_ext <<_ACEOF | |
6072 /* end confdefs.h. */ | |
6073 #include <$SV_MODULE_HEADER> | |
6074 _ACEOF | |
6075 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6076 case "(($ac_try" in | |
6077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6078 *) ac_try_echo=$ac_try;; | |
6079 esac | |
6080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6082 ac_status=$? | |
6083 grep -v '^ *+' conftest.er1 >conftest.err | |
6084 rm -f conftest.er1 | |
6085 cat conftest.err >&5 | |
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6087 (exit $ac_status); } >/dev/null && { | |
6088 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
6089 test ! -s conftest.err | |
6090 }; then | |
6091 ac_header_preproc=yes | |
6092 else | |
6093 echo "$as_me: failed program was:" >&5 | |
6094 sed 's/^/| /' conftest.$ac_ext >&5 | |
6095 | |
6096 ac_header_preproc=no | |
6097 fi | |
6098 | |
6099 rm -f conftest.err conftest.$ac_ext | |
6100 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6101 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
6102 | |
6103 # So? What about this header? | |
6104 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
6105 yes:no: ) | |
6106 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6107 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6108 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
6109 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
6110 ac_header_preproc=yes | |
6111 ;; | |
6112 no:yes:* ) | |
6113 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
6114 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
6115 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
6116 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
6117 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
6118 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
6119 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
6120 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
6121 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
6122 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
6123 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
6124 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
6125 ( cat <<\_ASBOX | |
6126 ## ------------------------------------------- ## | |
6127 ## Report this to cannam@all-day-breakfast.com ## | |
6128 ## ------------------------------------------- ## | |
6129 _ASBOX | |
6130 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
6131 ;; | |
6132 esac | |
6133 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
6134 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
6135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6136 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6137 else | |
6138 eval "$as_ac_Header=\$ac_header_preproc" | |
6139 fi | |
6140 ac_res=`eval echo '${'$as_ac_Header'}'` | |
6141 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6142 echo "${ECHO_T}$ac_res" >&6; } | |
6143 | |
6144 fi | |
6145 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5091 HAVES="$HAVES $SV_MODULE_HAVE" | 6146 HAVES="$HAVES $SV_MODULE_HAVE" |
5092 else | 6147 else |
5093 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 6148 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
6149 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
6150 { (exit 1); exit 1; }; } | |
5094 fi | 6151 fi |
5095 | 6152 |
5096 | 6153 |
5097 if test -n "$SV_MODULE_LIB"; then | 6154 if test -n "$SV_MODULE_LIB"; then |
5098 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6155 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6156 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5100 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6157 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
5101 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 6158 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5102 $as_echo_n "(cached) " >&6 | 6159 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5103 else | 6160 else |
5104 ac_check_lib_save_LIBS=$LIBS | 6161 ac_check_lib_save_LIBS=$LIBS |
5105 LIBS="-l$SV_MODULE_LIB $LIBS" | 6162 LIBS="-l$SV_MODULE_LIB $LIBS" |
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6163 cat >conftest.$ac_ext <<_ACEOF |
6164 /* confdefs.h. */ | |
6165 _ACEOF | |
6166 cat confdefs.h >>conftest.$ac_ext | |
6167 cat >>conftest.$ac_ext <<_ACEOF | |
5107 /* end confdefs.h. */ | 6168 /* end confdefs.h. */ |
5108 | 6169 |
5109 /* Override any GCC internal prototype to avoid an error. | 6170 /* Override any GCC internal prototype to avoid an error. |
5110 Use char because int might match the return type of a GCC | 6171 Use char because int might match the return type of a GCC |
5111 builtin and then its argument prototype would still apply. */ | 6172 builtin and then its argument prototype would still apply. */ |
5119 return $SV_MODULE_FUNC (); | 6180 return $SV_MODULE_FUNC (); |
5120 ; | 6181 ; |
5121 return 0; | 6182 return 0; |
5122 } | 6183 } |
5123 _ACEOF | 6184 _ACEOF |
5124 if ac_fn_cxx_try_link "$LINENO"; then : | 6185 rm -f conftest.$ac_objext conftest$ac_exeext |
6186 if { (ac_try="$ac_link" | |
6187 case "(($ac_try" in | |
6188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6189 *) ac_try_echo=$ac_try;; | |
6190 esac | |
6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6192 (eval "$ac_link") 2>conftest.er1 | |
6193 ac_status=$? | |
6194 grep -v '^ *+' conftest.er1 >conftest.err | |
6195 rm -f conftest.er1 | |
6196 cat conftest.err >&5 | |
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6198 (exit $ac_status); } && { | |
6199 test -z "$ac_cxx_werror_flag" || | |
6200 test ! -s conftest.err | |
6201 } && test -s conftest$ac_exeext && | |
6202 $as_test_x conftest$ac_exeext; then | |
5125 eval "$as_ac_Lib=yes" | 6203 eval "$as_ac_Lib=yes" |
5126 else | 6204 else |
5127 eval "$as_ac_Lib=no" | 6205 echo "$as_me: failed program was:" >&5 |
5128 fi | 6206 sed 's/^/| /' conftest.$ac_ext >&5 |
5129 rm -f core conftest.err conftest.$ac_objext \ | 6207 |
5130 conftest$ac_exeext conftest.$ac_ext | 6208 eval "$as_ac_Lib=no" |
6209 fi | |
6210 | |
6211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6212 conftest$ac_exeext conftest.$ac_ext | |
5131 LIBS=$ac_check_lib_save_LIBS | 6213 LIBS=$ac_check_lib_save_LIBS |
5132 fi | 6214 fi |
5133 eval ac_res=\$$as_ac_Lib | 6215 ac_res=`eval echo '${'$as_ac_Lib'}'` |
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6216 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5135 $as_echo "$ac_res" >&6; } | 6217 echo "${ECHO_T}$ac_res" >&6; } |
5136 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6218 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
5137 LIBS="$LIBS -l$SV_MODULE_LIB" | 6219 LIBS="$LIBS -l$SV_MODULE_LIB" |
5138 else | 6220 else |
5139 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 6221 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
6222 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
6223 { (exit 1); exit 1; }; } | |
5140 fi | 6224 fi |
5141 | 6225 |
5142 fi | 6226 fi |
5143 fi | 6227 fi |
5144 | 6228 |
5149 SV_MODULE_LIB= | 6233 SV_MODULE_LIB= |
5150 SV_MODULE_FUNC= | 6234 SV_MODULE_FUNC= |
5151 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') | 6235 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') |
5152 SV_MODULE_FAILED=1 | 6236 SV_MODULE_FAILED=1 |
5153 if test -n "$vamphostsdk_LIBS" ; then | 6237 if test -n "$vamphostsdk_LIBS" ; then |
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6238 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5155 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6239 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5156 CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS" | 6240 CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS" |
5157 LIBS="$LIBS $vamphostsdk_LIBS" | 6241 LIBS="$LIBS $vamphostsdk_LIBS" |
5158 SV_MODULE_FAILED="" | 6242 SV_MODULE_FAILED="" |
5159 fi | 6243 fi |
5160 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6244 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5161 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6245 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5162 fi | 6246 fi |
5163 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6247 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5164 | 6248 |
5165 pkg_failed=no | 6249 pkg_failed=no |
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5 | 6250 { echo "$as_me:$LINENO: checking for vamphostsdk" >&5 |
5167 $as_echo_n "checking for vamphostsdk... " >&6; } | 6251 echo $ECHO_N "checking for vamphostsdk... $ECHO_C" >&6; } |
5168 | 6252 |
5169 if test -n "$vamphostsdk_CFLAGS"; then | 6253 if test -n "$vamphostsdk_CFLAGS"; then |
5170 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS" | 6254 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS" |
5171 elif test -n "$PKG_CONFIG"; then | 6255 elif test -n "$PKG_CONFIG"; then |
5172 if test -n "$PKG_CONFIG" && \ | 6256 if test -n "$PKG_CONFIG" && \ |
5173 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5174 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6258 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5175 ac_status=$? | 6259 ac_status=$? |
5176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5177 test $ac_status = 0; }; then | 6261 (exit $ac_status); }; then |
5178 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6262 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5179 else | 6263 else |
5180 pkg_failed=yes | 6264 pkg_failed=yes |
5181 fi | 6265 fi |
5182 else | 6266 else |
5184 fi | 6268 fi |
5185 if test -n "$vamphostsdk_LIBS"; then | 6269 if test -n "$vamphostsdk_LIBS"; then |
5186 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS" | 6270 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS" |
5187 elif test -n "$PKG_CONFIG"; then | 6271 elif test -n "$PKG_CONFIG"; then |
5188 if test -n "$PKG_CONFIG" && \ | 6272 if test -n "$PKG_CONFIG" && \ |
5189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5190 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6274 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5191 ac_status=$? | 6275 ac_status=$? |
5192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5193 test $ac_status = 0; }; then | 6277 (exit $ac_status); }; then |
5194 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6278 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5195 else | 6279 else |
5196 pkg_failed=yes | 6280 pkg_failed=yes |
5197 fi | 6281 fi |
5198 else | 6282 else |
5200 fi | 6284 fi |
5201 | 6285 |
5202 | 6286 |
5203 | 6287 |
5204 if test $pkg_failed = yes; then | 6288 if test $pkg_failed = yes; then |
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6289 { echo "$as_me:$LINENO: result: no" >&5 |
5206 $as_echo "no" >&6; } | 6290 echo "${ECHO_T}no" >&6; } |
5207 | 6291 |
5208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5209 _pkg_short_errors_supported=yes | 6293 _pkg_short_errors_supported=yes |
5210 else | 6294 else |
5211 _pkg_short_errors_supported=no | 6295 _pkg_short_errors_supported=no |
5216 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 6300 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
5217 fi | 6301 fi |
5218 # Put the nasty error message in config.log where it belongs | 6302 # Put the nasty error message in config.log where it belongs |
5219 echo "$vamphostsdk_PKG_ERRORS" >&5 | 6303 echo "$vamphostsdk_PKG_ERRORS" >&5 |
5220 | 6304 |
5221 { $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 | 6305 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5222 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6306 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5223 elif test $pkg_failed = untried; then | 6307 elif test $pkg_failed = untried; then |
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6308 { echo "$as_me:$LINENO: result: no" >&5 |
5225 $as_echo "no" >&6; } | 6309 echo "${ECHO_T}no" >&6; } |
5226 { $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 | 6310 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5227 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6311 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5228 else | 6312 else |
5229 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS | 6313 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS |
5230 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS | 6314 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS |
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6315 { echo "$as_me:$LINENO: result: yes" >&5 |
5232 $as_echo "yes" >&6; } | 6316 echo "${ECHO_T}yes" >&6; } |
5233 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS";LIBS="$LIBS $vamphostsdk_LIBS";SV_MODULE_FAILED="" | 6317 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS";LIBS="$LIBS $vamphostsdk_LIBS";SV_MODULE_FAILED="" |
5234 fi | 6318 fi |
5235 fi | 6319 fi |
5236 if test -n "$SV_MODULE_FAILED"; then | 6320 if test -n "$SV_MODULE_FAILED"; then |
5237 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6321 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5238 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6323 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
6324 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
6325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6326 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6327 fi | |
6328 ac_res=`eval echo '${'$as_ac_Header'}'` | |
6329 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6330 echo "${ECHO_T}$ac_res" >&6; } | |
6331 else | |
6332 # Is the header compilable? | |
6333 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
6334 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
6335 cat >conftest.$ac_ext <<_ACEOF | |
6336 /* confdefs.h. */ | |
6337 _ACEOF | |
6338 cat confdefs.h >>conftest.$ac_ext | |
6339 cat >>conftest.$ac_ext <<_ACEOF | |
6340 /* end confdefs.h. */ | |
6341 $ac_includes_default | |
6342 #include <$SV_MODULE_HEADER> | |
6343 _ACEOF | |
6344 rm -f conftest.$ac_objext | |
6345 if { (ac_try="$ac_compile" | |
6346 case "(($ac_try" in | |
6347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6348 *) ac_try_echo=$ac_try;; | |
6349 esac | |
6350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6351 (eval "$ac_compile") 2>conftest.er1 | |
6352 ac_status=$? | |
6353 grep -v '^ *+' conftest.er1 >conftest.err | |
6354 rm -f conftest.er1 | |
6355 cat conftest.err >&5 | |
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6357 (exit $ac_status); } && { | |
6358 test -z "$ac_cxx_werror_flag" || | |
6359 test ! -s conftest.err | |
6360 } && test -s conftest.$ac_objext; then | |
6361 ac_header_compiler=yes | |
6362 else | |
6363 echo "$as_me: failed program was:" >&5 | |
6364 sed 's/^/| /' conftest.$ac_ext >&5 | |
6365 | |
6366 ac_header_compiler=no | |
6367 fi | |
6368 | |
6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6371 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6372 | |
6373 # Is the header present? | |
6374 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
6375 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
6376 cat >conftest.$ac_ext <<_ACEOF | |
6377 /* confdefs.h. */ | |
6378 _ACEOF | |
6379 cat confdefs.h >>conftest.$ac_ext | |
6380 cat >>conftest.$ac_ext <<_ACEOF | |
6381 /* end confdefs.h. */ | |
6382 #include <$SV_MODULE_HEADER> | |
6383 _ACEOF | |
6384 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6385 case "(($ac_try" in | |
6386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6387 *) ac_try_echo=$ac_try;; | |
6388 esac | |
6389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6391 ac_status=$? | |
6392 grep -v '^ *+' conftest.er1 >conftest.err | |
6393 rm -f conftest.er1 | |
6394 cat conftest.err >&5 | |
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6396 (exit $ac_status); } >/dev/null && { | |
6397 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
6398 test ! -s conftest.err | |
6399 }; then | |
6400 ac_header_preproc=yes | |
6401 else | |
6402 echo "$as_me: failed program was:" >&5 | |
6403 sed 's/^/| /' conftest.$ac_ext >&5 | |
6404 | |
6405 ac_header_preproc=no | |
6406 fi | |
6407 | |
6408 rm -f conftest.err conftest.$ac_ext | |
6409 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6410 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
6411 | |
6412 # So? What about this header? | |
6413 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
6414 yes:no: ) | |
6415 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6416 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6417 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
6418 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
6419 ac_header_preproc=yes | |
6420 ;; | |
6421 no:yes:* ) | |
6422 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
6423 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
6424 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
6425 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
6426 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
6427 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
6428 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
6429 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
6430 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
6431 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
6432 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
6433 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
6434 ( cat <<\_ASBOX | |
6435 ## ------------------------------------------- ## | |
6436 ## Report this to cannam@all-day-breakfast.com ## | |
6437 ## ------------------------------------------- ## | |
6438 _ASBOX | |
6439 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
6440 ;; | |
6441 esac | |
6442 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
6443 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
6444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6445 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6446 else | |
6447 eval "$as_ac_Header=\$ac_header_preproc" | |
6448 fi | |
6449 ac_res=`eval echo '${'$as_ac_Header'}'` | |
6450 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6451 echo "${ECHO_T}$ac_res" >&6; } | |
6452 | |
6453 fi | |
6454 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5240 HAVES="$HAVES $SV_MODULE_HAVE" | 6455 HAVES="$HAVES $SV_MODULE_HAVE" |
5241 else | 6456 else |
5242 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 6457 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
6458 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
6459 { (exit 1); exit 1; }; } | |
5243 fi | 6460 fi |
5244 | 6461 |
5245 | 6462 |
5246 if test -n "$SV_MODULE_LIB"; then | 6463 if test -n "$SV_MODULE_LIB"; then |
5247 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6464 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6465 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5249 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6466 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
5250 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 6467 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5251 $as_echo_n "(cached) " >&6 | 6468 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5252 else | 6469 else |
5253 ac_check_lib_save_LIBS=$LIBS | 6470 ac_check_lib_save_LIBS=$LIBS |
5254 LIBS="-l$SV_MODULE_LIB $LIBS" | 6471 LIBS="-l$SV_MODULE_LIB $LIBS" |
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6472 cat >conftest.$ac_ext <<_ACEOF |
6473 /* confdefs.h. */ | |
6474 _ACEOF | |
6475 cat confdefs.h >>conftest.$ac_ext | |
6476 cat >>conftest.$ac_ext <<_ACEOF | |
5256 /* end confdefs.h. */ | 6477 /* end confdefs.h. */ |
5257 | 6478 |
5258 /* Override any GCC internal prototype to avoid an error. | 6479 /* Override any GCC internal prototype to avoid an error. |
5259 Use char because int might match the return type of a GCC | 6480 Use char because int might match the return type of a GCC |
5260 builtin and then its argument prototype would still apply. */ | 6481 builtin and then its argument prototype would still apply. */ |
5268 return $SV_MODULE_FUNC (); | 6489 return $SV_MODULE_FUNC (); |
5269 ; | 6490 ; |
5270 return 0; | 6491 return 0; |
5271 } | 6492 } |
5272 _ACEOF | 6493 _ACEOF |
5273 if ac_fn_cxx_try_link "$LINENO"; then : | 6494 rm -f conftest.$ac_objext conftest$ac_exeext |
6495 if { (ac_try="$ac_link" | |
6496 case "(($ac_try" in | |
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6498 *) ac_try_echo=$ac_try;; | |
6499 esac | |
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6501 (eval "$ac_link") 2>conftest.er1 | |
6502 ac_status=$? | |
6503 grep -v '^ *+' conftest.er1 >conftest.err | |
6504 rm -f conftest.er1 | |
6505 cat conftest.err >&5 | |
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6507 (exit $ac_status); } && { | |
6508 test -z "$ac_cxx_werror_flag" || | |
6509 test ! -s conftest.err | |
6510 } && test -s conftest$ac_exeext && | |
6511 $as_test_x conftest$ac_exeext; then | |
5274 eval "$as_ac_Lib=yes" | 6512 eval "$as_ac_Lib=yes" |
5275 else | 6513 else |
5276 eval "$as_ac_Lib=no" | 6514 echo "$as_me: failed program was:" >&5 |
5277 fi | 6515 sed 's/^/| /' conftest.$ac_ext >&5 |
5278 rm -f core conftest.err conftest.$ac_objext \ | 6516 |
5279 conftest$ac_exeext conftest.$ac_ext | 6517 eval "$as_ac_Lib=no" |
6518 fi | |
6519 | |
6520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6521 conftest$ac_exeext conftest.$ac_ext | |
5280 LIBS=$ac_check_lib_save_LIBS | 6522 LIBS=$ac_check_lib_save_LIBS |
5281 fi | 6523 fi |
5282 eval ac_res=\$$as_ac_Lib | 6524 ac_res=`eval echo '${'$as_ac_Lib'}'` |
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6525 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5284 $as_echo "$ac_res" >&6; } | 6526 echo "${ECHO_T}$ac_res" >&6; } |
5285 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6527 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
5286 LIBS="$LIBS -l$SV_MODULE_LIB" | 6528 LIBS="$LIBS -l$SV_MODULE_LIB" |
5287 else | 6529 else |
5288 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 6530 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
6531 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
6532 { (exit 1); exit 1; }; } | |
5289 fi | 6533 fi |
5290 | 6534 |
5291 fi | 6535 fi |
5292 fi | 6536 fi |
5293 | 6537 |
5298 SV_MODULE_LIB=rubberband | 6542 SV_MODULE_LIB=rubberband |
5299 SV_MODULE_FUNC=rubberband_new | 6543 SV_MODULE_FUNC=rubberband_new |
5300 SV_MODULE_HAVE=HAVE_$(echo rubberband | tr 'a-z' 'A-Z') | 6544 SV_MODULE_HAVE=HAVE_$(echo rubberband | tr 'a-z' 'A-Z') |
5301 SV_MODULE_FAILED=1 | 6545 SV_MODULE_FAILED=1 |
5302 if test -n "$rubberband_LIBS" ; then | 6546 if test -n "$rubberband_LIBS" ; then |
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6547 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5304 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6548 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5305 CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS" | 6549 CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS" |
5306 LIBS="$LIBS $rubberband_LIBS" | 6550 LIBS="$LIBS $rubberband_LIBS" |
5307 SV_MODULE_FAILED="" | 6551 SV_MODULE_FAILED="" |
5308 fi | 6552 fi |
5309 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6553 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5310 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6554 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5311 fi | 6555 fi |
5312 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6556 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5313 | 6557 |
5314 pkg_failed=no | 6558 pkg_failed=no |
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5 | 6559 { echo "$as_me:$LINENO: checking for rubberband" >&5 |
5316 $as_echo_n "checking for rubberband... " >&6; } | 6560 echo $ECHO_N "checking for rubberband... $ECHO_C" >&6; } |
5317 | 6561 |
5318 if test -n "$rubberband_CFLAGS"; then | 6562 if test -n "$rubberband_CFLAGS"; then |
5319 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS" | 6563 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS" |
5320 elif test -n "$PKG_CONFIG"; then | 6564 elif test -n "$PKG_CONFIG"; then |
5321 if test -n "$PKG_CONFIG" && \ | 6565 if test -n "$PKG_CONFIG" && \ |
5322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5323 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6567 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5324 ac_status=$? | 6568 ac_status=$? |
5325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5326 test $ac_status = 0; }; then | 6570 (exit $ac_status); }; then |
5327 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6571 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5328 else | 6572 else |
5329 pkg_failed=yes | 6573 pkg_failed=yes |
5330 fi | 6574 fi |
5331 else | 6575 else |
5333 fi | 6577 fi |
5334 if test -n "$rubberband_LIBS"; then | 6578 if test -n "$rubberband_LIBS"; then |
5335 pkg_cv_rubberband_LIBS="$rubberband_LIBS" | 6579 pkg_cv_rubberband_LIBS="$rubberband_LIBS" |
5336 elif test -n "$PKG_CONFIG"; then | 6580 elif test -n "$PKG_CONFIG"; then |
5337 if test -n "$PKG_CONFIG" && \ | 6581 if test -n "$PKG_CONFIG" && \ |
5338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5339 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6583 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5340 ac_status=$? | 6584 ac_status=$? |
5341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5342 test $ac_status = 0; }; then | 6586 (exit $ac_status); }; then |
5343 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6587 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5344 else | 6588 else |
5345 pkg_failed=yes | 6589 pkg_failed=yes |
5346 fi | 6590 fi |
5347 else | 6591 else |
5349 fi | 6593 fi |
5350 | 6594 |
5351 | 6595 |
5352 | 6596 |
5353 if test $pkg_failed = yes; then | 6597 if test $pkg_failed = yes; then |
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6598 { echo "$as_me:$LINENO: result: no" >&5 |
5355 $as_echo "no" >&6; } | 6599 echo "${ECHO_T}no" >&6; } |
5356 | 6600 |
5357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5358 _pkg_short_errors_supported=yes | 6602 _pkg_short_errors_supported=yes |
5359 else | 6603 else |
5360 _pkg_short_errors_supported=no | 6604 _pkg_short_errors_supported=no |
5365 rubberband_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 6609 rubberband_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
5366 fi | 6610 fi |
5367 # Put the nasty error message in config.log where it belongs | 6611 # Put the nasty error message in config.log where it belongs |
5368 echo "$rubberband_PKG_ERRORS" >&5 | 6612 echo "$rubberband_PKG_ERRORS" >&5 |
5369 | 6613 |
5370 { $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 | 6614 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5371 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6615 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5372 elif test $pkg_failed = untried; then | 6616 elif test $pkg_failed = untried; then |
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6617 { echo "$as_me:$LINENO: result: no" >&5 |
5374 $as_echo "no" >&6; } | 6618 echo "${ECHO_T}no" >&6; } |
5375 { $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 | 6619 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5376 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6620 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5377 else | 6621 else |
5378 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS | 6622 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS |
5379 rubberband_LIBS=$pkg_cv_rubberband_LIBS | 6623 rubberband_LIBS=$pkg_cv_rubberband_LIBS |
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6624 { echo "$as_me:$LINENO: result: yes" >&5 |
5381 $as_echo "yes" >&6; } | 6625 echo "${ECHO_T}yes" >&6; } |
5382 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED="" | 6626 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED="" |
5383 fi | 6627 fi |
5384 fi | 6628 fi |
5385 if test -n "$SV_MODULE_FAILED"; then | 6629 if test -n "$SV_MODULE_FAILED"; then |
5386 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6630 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5387 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5388 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6632 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
6633 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
6634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6635 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6636 fi | |
6637 ac_res=`eval echo '${'$as_ac_Header'}'` | |
6638 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6639 echo "${ECHO_T}$ac_res" >&6; } | |
6640 else | |
6641 # Is the header compilable? | |
6642 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
6643 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
6644 cat >conftest.$ac_ext <<_ACEOF | |
6645 /* confdefs.h. */ | |
6646 _ACEOF | |
6647 cat confdefs.h >>conftest.$ac_ext | |
6648 cat >>conftest.$ac_ext <<_ACEOF | |
6649 /* end confdefs.h. */ | |
6650 $ac_includes_default | |
6651 #include <$SV_MODULE_HEADER> | |
6652 _ACEOF | |
6653 rm -f conftest.$ac_objext | |
6654 if { (ac_try="$ac_compile" | |
6655 case "(($ac_try" in | |
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6657 *) ac_try_echo=$ac_try;; | |
6658 esac | |
6659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6660 (eval "$ac_compile") 2>conftest.er1 | |
6661 ac_status=$? | |
6662 grep -v '^ *+' conftest.er1 >conftest.err | |
6663 rm -f conftest.er1 | |
6664 cat conftest.err >&5 | |
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6666 (exit $ac_status); } && { | |
6667 test -z "$ac_cxx_werror_flag" || | |
6668 test ! -s conftest.err | |
6669 } && test -s conftest.$ac_objext; then | |
6670 ac_header_compiler=yes | |
6671 else | |
6672 echo "$as_me: failed program was:" >&5 | |
6673 sed 's/^/| /' conftest.$ac_ext >&5 | |
6674 | |
6675 ac_header_compiler=no | |
6676 fi | |
6677 | |
6678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6680 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6681 | |
6682 # Is the header present? | |
6683 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
6684 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
6685 cat >conftest.$ac_ext <<_ACEOF | |
6686 /* confdefs.h. */ | |
6687 _ACEOF | |
6688 cat confdefs.h >>conftest.$ac_ext | |
6689 cat >>conftest.$ac_ext <<_ACEOF | |
6690 /* end confdefs.h. */ | |
6691 #include <$SV_MODULE_HEADER> | |
6692 _ACEOF | |
6693 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6694 case "(($ac_try" in | |
6695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6696 *) ac_try_echo=$ac_try;; | |
6697 esac | |
6698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6700 ac_status=$? | |
6701 grep -v '^ *+' conftest.er1 >conftest.err | |
6702 rm -f conftest.er1 | |
6703 cat conftest.err >&5 | |
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6705 (exit $ac_status); } >/dev/null && { | |
6706 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
6707 test ! -s conftest.err | |
6708 }; then | |
6709 ac_header_preproc=yes | |
6710 else | |
6711 echo "$as_me: failed program was:" >&5 | |
6712 sed 's/^/| /' conftest.$ac_ext >&5 | |
6713 | |
6714 ac_header_preproc=no | |
6715 fi | |
6716 | |
6717 rm -f conftest.err conftest.$ac_ext | |
6718 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6719 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
6720 | |
6721 # So? What about this header? | |
6722 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
6723 yes:no: ) | |
6724 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6725 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6726 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
6727 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
6728 ac_header_preproc=yes | |
6729 ;; | |
6730 no:yes:* ) | |
6731 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
6732 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
6733 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
6734 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
6735 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
6736 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
6737 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
6738 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
6739 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
6740 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
6741 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
6742 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
6743 ( cat <<\_ASBOX | |
6744 ## ------------------------------------------- ## | |
6745 ## Report this to cannam@all-day-breakfast.com ## | |
6746 ## ------------------------------------------- ## | |
6747 _ASBOX | |
6748 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
6749 ;; | |
6750 esac | |
6751 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
6752 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
6753 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6754 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6755 else | |
6756 eval "$as_ac_Header=\$ac_header_preproc" | |
6757 fi | |
6758 ac_res=`eval echo '${'$as_ac_Header'}'` | |
6759 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6760 echo "${ECHO_T}$ac_res" >&6; } | |
6761 | |
6762 fi | |
6763 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5389 HAVES="$HAVES $SV_MODULE_HAVE" | 6764 HAVES="$HAVES $SV_MODULE_HAVE" |
5390 else | 6765 else |
5391 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 6766 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
6767 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
6768 { (exit 1); exit 1; }; } | |
5392 fi | 6769 fi |
5393 | 6770 |
5394 | 6771 |
5395 if test -n "$SV_MODULE_LIB"; then | 6772 if test -n "$SV_MODULE_LIB"; then |
5396 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6773 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6774 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5398 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6775 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
5399 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 6776 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5400 $as_echo_n "(cached) " >&6 | 6777 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5401 else | 6778 else |
5402 ac_check_lib_save_LIBS=$LIBS | 6779 ac_check_lib_save_LIBS=$LIBS |
5403 LIBS="-l$SV_MODULE_LIB $LIBS" | 6780 LIBS="-l$SV_MODULE_LIB $LIBS" |
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6781 cat >conftest.$ac_ext <<_ACEOF |
6782 /* confdefs.h. */ | |
6783 _ACEOF | |
6784 cat confdefs.h >>conftest.$ac_ext | |
6785 cat >>conftest.$ac_ext <<_ACEOF | |
5405 /* end confdefs.h. */ | 6786 /* end confdefs.h. */ |
5406 | 6787 |
5407 /* Override any GCC internal prototype to avoid an error. | 6788 /* Override any GCC internal prototype to avoid an error. |
5408 Use char because int might match the return type of a GCC | 6789 Use char because int might match the return type of a GCC |
5409 builtin and then its argument prototype would still apply. */ | 6790 builtin and then its argument prototype would still apply. */ |
5417 return $SV_MODULE_FUNC (); | 6798 return $SV_MODULE_FUNC (); |
5418 ; | 6799 ; |
5419 return 0; | 6800 return 0; |
5420 } | 6801 } |
5421 _ACEOF | 6802 _ACEOF |
5422 if ac_fn_cxx_try_link "$LINENO"; then : | 6803 rm -f conftest.$ac_objext conftest$ac_exeext |
6804 if { (ac_try="$ac_link" | |
6805 case "(($ac_try" in | |
6806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6807 *) ac_try_echo=$ac_try;; | |
6808 esac | |
6809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6810 (eval "$ac_link") 2>conftest.er1 | |
6811 ac_status=$? | |
6812 grep -v '^ *+' conftest.er1 >conftest.err | |
6813 rm -f conftest.er1 | |
6814 cat conftest.err >&5 | |
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6816 (exit $ac_status); } && { | |
6817 test -z "$ac_cxx_werror_flag" || | |
6818 test ! -s conftest.err | |
6819 } && test -s conftest$ac_exeext && | |
6820 $as_test_x conftest$ac_exeext; then | |
5423 eval "$as_ac_Lib=yes" | 6821 eval "$as_ac_Lib=yes" |
5424 else | 6822 else |
5425 eval "$as_ac_Lib=no" | 6823 echo "$as_me: failed program was:" >&5 |
5426 fi | 6824 sed 's/^/| /' conftest.$ac_ext >&5 |
5427 rm -f core conftest.err conftest.$ac_objext \ | 6825 |
5428 conftest$ac_exeext conftest.$ac_ext | 6826 eval "$as_ac_Lib=no" |
6827 fi | |
6828 | |
6829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6830 conftest$ac_exeext conftest.$ac_ext | |
5429 LIBS=$ac_check_lib_save_LIBS | 6831 LIBS=$ac_check_lib_save_LIBS |
5430 fi | 6832 fi |
5431 eval ac_res=\$$as_ac_Lib | 6833 ac_res=`eval echo '${'$as_ac_Lib'}'` |
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6834 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5433 $as_echo "$ac_res" >&6; } | 6835 echo "${ECHO_T}$ac_res" >&6; } |
5434 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6836 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
5435 LIBS="$LIBS -l$SV_MODULE_LIB" | 6837 LIBS="$LIBS -l$SV_MODULE_LIB" |
5436 else | 6838 else |
5437 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 6839 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
6840 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
6841 { (exit 1); exit 1; }; } | |
5438 fi | 6842 fi |
5439 | 6843 |
5440 fi | 6844 fi |
5441 fi | 6845 fi |
5442 | 6846 |
5447 SV_MODULE_LIB=raptor | 6851 SV_MODULE_LIB=raptor |
5448 SV_MODULE_FUNC=raptor_start_parse | 6852 SV_MODULE_FUNC=raptor_start_parse |
5449 SV_MODULE_HAVE=HAVE_$(echo raptor | tr 'a-z' 'A-Z') | 6853 SV_MODULE_HAVE=HAVE_$(echo raptor | tr 'a-z' 'A-Z') |
5450 SV_MODULE_FAILED=1 | 6854 SV_MODULE_FAILED=1 |
5451 if test -n "$raptor_LIBS" ; then | 6855 if test -n "$raptor_LIBS" ; then |
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6856 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5453 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6857 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5454 CXXFLAGS="$CXXFLAGS $raptor_CFLAGS" | 6858 CXXFLAGS="$CXXFLAGS $raptor_CFLAGS" |
5455 LIBS="$LIBS $raptor_LIBS" | 6859 LIBS="$LIBS $raptor_LIBS" |
5456 SV_MODULE_FAILED="" | 6860 SV_MODULE_FAILED="" |
5457 fi | 6861 fi |
5458 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6862 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5459 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6863 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5460 fi | 6864 fi |
5461 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6865 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5462 | 6866 |
5463 pkg_failed=no | 6867 pkg_failed=no |
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raptor" >&5 | 6868 { echo "$as_me:$LINENO: checking for raptor" >&5 |
5465 $as_echo_n "checking for raptor... " >&6; } | 6869 echo $ECHO_N "checking for raptor... $ECHO_C" >&6; } |
5466 | 6870 |
5467 if test -n "$raptor_CFLAGS"; then | 6871 if test -n "$raptor_CFLAGS"; then |
5468 pkg_cv_raptor_CFLAGS="$raptor_CFLAGS" | 6872 pkg_cv_raptor_CFLAGS="$raptor_CFLAGS" |
5469 elif test -n "$PKG_CONFIG"; then | 6873 elif test -n "$PKG_CONFIG"; then |
5470 if test -n "$PKG_CONFIG" && \ | 6874 if test -n "$PKG_CONFIG" && \ |
5471 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6875 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5472 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6876 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5473 ac_status=$? | 6877 ac_status=$? |
5474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5475 test $ac_status = 0; }; then | 6879 (exit $ac_status); }; then |
5476 pkg_cv_raptor_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6880 pkg_cv_raptor_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5477 else | 6881 else |
5478 pkg_failed=yes | 6882 pkg_failed=yes |
5479 fi | 6883 fi |
5480 else | 6884 else |
5482 fi | 6886 fi |
5483 if test -n "$raptor_LIBS"; then | 6887 if test -n "$raptor_LIBS"; then |
5484 pkg_cv_raptor_LIBS="$raptor_LIBS" | 6888 pkg_cv_raptor_LIBS="$raptor_LIBS" |
5485 elif test -n "$PKG_CONFIG"; then | 6889 elif test -n "$PKG_CONFIG"; then |
5486 if test -n "$PKG_CONFIG" && \ | 6890 if test -n "$PKG_CONFIG" && \ |
5487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5488 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6892 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5489 ac_status=$? | 6893 ac_status=$? |
5490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5491 test $ac_status = 0; }; then | 6895 (exit $ac_status); }; then |
5492 pkg_cv_raptor_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6896 pkg_cv_raptor_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5493 else | 6897 else |
5494 pkg_failed=yes | 6898 pkg_failed=yes |
5495 fi | 6899 fi |
5496 else | 6900 else |
5498 fi | 6902 fi |
5499 | 6903 |
5500 | 6904 |
5501 | 6905 |
5502 if test $pkg_failed = yes; then | 6906 if test $pkg_failed = yes; then |
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6907 { echo "$as_me:$LINENO: result: no" >&5 |
5504 $as_echo "no" >&6; } | 6908 echo "${ECHO_T}no" >&6; } |
5505 | 6909 |
5506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6910 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5507 _pkg_short_errors_supported=yes | 6911 _pkg_short_errors_supported=yes |
5508 else | 6912 else |
5509 _pkg_short_errors_supported=no | 6913 _pkg_short_errors_supported=no |
5514 raptor_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 6918 raptor_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
5515 fi | 6919 fi |
5516 # Put the nasty error message in config.log where it belongs | 6920 # Put the nasty error message in config.log where it belongs |
5517 echo "$raptor_PKG_ERRORS" >&5 | 6921 echo "$raptor_PKG_ERRORS" >&5 |
5518 | 6922 |
5519 { $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 | 6923 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5520 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6924 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5521 elif test $pkg_failed = untried; then | 6925 elif test $pkg_failed = untried; then |
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6926 { echo "$as_me:$LINENO: result: no" >&5 |
5523 $as_echo "no" >&6; } | 6927 echo "${ECHO_T}no" >&6; } |
5524 { $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 | 6928 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5525 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6929 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5526 else | 6930 else |
5527 raptor_CFLAGS=$pkg_cv_raptor_CFLAGS | 6931 raptor_CFLAGS=$pkg_cv_raptor_CFLAGS |
5528 raptor_LIBS=$pkg_cv_raptor_LIBS | 6932 raptor_LIBS=$pkg_cv_raptor_LIBS |
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6933 { echo "$as_me:$LINENO: result: yes" >&5 |
5530 $as_echo "yes" >&6; } | 6934 echo "${ECHO_T}yes" >&6; } |
5531 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $raptor_CFLAGS";LIBS="$LIBS $raptor_LIBS";SV_MODULE_FAILED="" | 6935 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $raptor_CFLAGS";LIBS="$LIBS $raptor_LIBS";SV_MODULE_FAILED="" |
5532 fi | 6936 fi |
5533 fi | 6937 fi |
5534 if test -n "$SV_MODULE_FAILED"; then | 6938 if test -n "$SV_MODULE_FAILED"; then |
5535 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6939 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5536 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5537 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6941 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
6942 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
6943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
6944 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6945 fi | |
6946 ac_res=`eval echo '${'$as_ac_Header'}'` | |
6947 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6948 echo "${ECHO_T}$ac_res" >&6; } | |
6949 else | |
6950 # Is the header compilable? | |
6951 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
6952 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
6953 cat >conftest.$ac_ext <<_ACEOF | |
6954 /* confdefs.h. */ | |
6955 _ACEOF | |
6956 cat confdefs.h >>conftest.$ac_ext | |
6957 cat >>conftest.$ac_ext <<_ACEOF | |
6958 /* end confdefs.h. */ | |
6959 $ac_includes_default | |
6960 #include <$SV_MODULE_HEADER> | |
6961 _ACEOF | |
6962 rm -f conftest.$ac_objext | |
6963 if { (ac_try="$ac_compile" | |
6964 case "(($ac_try" in | |
6965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6966 *) ac_try_echo=$ac_try;; | |
6967 esac | |
6968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6969 (eval "$ac_compile") 2>conftest.er1 | |
6970 ac_status=$? | |
6971 grep -v '^ *+' conftest.er1 >conftest.err | |
6972 rm -f conftest.er1 | |
6973 cat conftest.err >&5 | |
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6975 (exit $ac_status); } && { | |
6976 test -z "$ac_cxx_werror_flag" || | |
6977 test ! -s conftest.err | |
6978 } && test -s conftest.$ac_objext; then | |
6979 ac_header_compiler=yes | |
6980 else | |
6981 echo "$as_me: failed program was:" >&5 | |
6982 sed 's/^/| /' conftest.$ac_ext >&5 | |
6983 | |
6984 ac_header_compiler=no | |
6985 fi | |
6986 | |
6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6989 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6990 | |
6991 # Is the header present? | |
6992 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
6993 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
6994 cat >conftest.$ac_ext <<_ACEOF | |
6995 /* confdefs.h. */ | |
6996 _ACEOF | |
6997 cat confdefs.h >>conftest.$ac_ext | |
6998 cat >>conftest.$ac_ext <<_ACEOF | |
6999 /* end confdefs.h. */ | |
7000 #include <$SV_MODULE_HEADER> | |
7001 _ACEOF | |
7002 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
7003 case "(($ac_try" in | |
7004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7005 *) ac_try_echo=$ac_try;; | |
7006 esac | |
7007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
7009 ac_status=$? | |
7010 grep -v '^ *+' conftest.er1 >conftest.err | |
7011 rm -f conftest.er1 | |
7012 cat conftest.err >&5 | |
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7014 (exit $ac_status); } >/dev/null && { | |
7015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
7016 test ! -s conftest.err | |
7017 }; then | |
7018 ac_header_preproc=yes | |
7019 else | |
7020 echo "$as_me: failed program was:" >&5 | |
7021 sed 's/^/| /' conftest.$ac_ext >&5 | |
7022 | |
7023 ac_header_preproc=no | |
7024 fi | |
7025 | |
7026 rm -f conftest.err conftest.$ac_ext | |
7027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
7028 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
7029 | |
7030 # So? What about this header? | |
7031 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
7032 yes:no: ) | |
7033 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
7034 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7035 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
7036 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
7037 ac_header_preproc=yes | |
7038 ;; | |
7039 no:yes:* ) | |
7040 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
7041 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
7042 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
7043 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
7044 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
7045 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
7046 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
7047 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
7048 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
7049 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
7050 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
7051 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
7052 ( cat <<\_ASBOX | |
7053 ## ------------------------------------------- ## | |
7054 ## Report this to cannam@all-day-breakfast.com ## | |
7055 ## ------------------------------------------- ## | |
7056 _ASBOX | |
7057 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
7058 ;; | |
7059 esac | |
7060 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
7061 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
7062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7063 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7064 else | |
7065 eval "$as_ac_Header=\$ac_header_preproc" | |
7066 fi | |
7067 ac_res=`eval echo '${'$as_ac_Header'}'` | |
7068 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7069 echo "${ECHO_T}$ac_res" >&6; } | |
7070 | |
7071 fi | |
7072 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5538 HAVES="$HAVES $SV_MODULE_HAVE" | 7073 HAVES="$HAVES $SV_MODULE_HAVE" |
5539 else | 7074 else |
5540 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 7075 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
7076 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
7077 { (exit 1); exit 1; }; } | |
5541 fi | 7078 fi |
5542 | 7079 |
5543 | 7080 |
5544 if test -n "$SV_MODULE_LIB"; then | 7081 if test -n "$SV_MODULE_LIB"; then |
5545 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 7082 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 7083 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5547 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 7084 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
5548 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 7085 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5549 $as_echo_n "(cached) " >&6 | 7086 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5550 else | 7087 else |
5551 ac_check_lib_save_LIBS=$LIBS | 7088 ac_check_lib_save_LIBS=$LIBS |
5552 LIBS="-l$SV_MODULE_LIB $LIBS" | 7089 LIBS="-l$SV_MODULE_LIB $LIBS" |
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7090 cat >conftest.$ac_ext <<_ACEOF |
7091 /* confdefs.h. */ | |
7092 _ACEOF | |
7093 cat confdefs.h >>conftest.$ac_ext | |
7094 cat >>conftest.$ac_ext <<_ACEOF | |
5554 /* end confdefs.h. */ | 7095 /* end confdefs.h. */ |
5555 | 7096 |
5556 /* Override any GCC internal prototype to avoid an error. | 7097 /* Override any GCC internal prototype to avoid an error. |
5557 Use char because int might match the return type of a GCC | 7098 Use char because int might match the return type of a GCC |
5558 builtin and then its argument prototype would still apply. */ | 7099 builtin and then its argument prototype would still apply. */ |
5566 return $SV_MODULE_FUNC (); | 7107 return $SV_MODULE_FUNC (); |
5567 ; | 7108 ; |
5568 return 0; | 7109 return 0; |
5569 } | 7110 } |
5570 _ACEOF | 7111 _ACEOF |
5571 if ac_fn_cxx_try_link "$LINENO"; then : | 7112 rm -f conftest.$ac_objext conftest$ac_exeext |
7113 if { (ac_try="$ac_link" | |
7114 case "(($ac_try" in | |
7115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7116 *) ac_try_echo=$ac_try;; | |
7117 esac | |
7118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7119 (eval "$ac_link") 2>conftest.er1 | |
7120 ac_status=$? | |
7121 grep -v '^ *+' conftest.er1 >conftest.err | |
7122 rm -f conftest.er1 | |
7123 cat conftest.err >&5 | |
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7125 (exit $ac_status); } && { | |
7126 test -z "$ac_cxx_werror_flag" || | |
7127 test ! -s conftest.err | |
7128 } && test -s conftest$ac_exeext && | |
7129 $as_test_x conftest$ac_exeext; then | |
5572 eval "$as_ac_Lib=yes" | 7130 eval "$as_ac_Lib=yes" |
5573 else | 7131 else |
5574 eval "$as_ac_Lib=no" | 7132 echo "$as_me: failed program was:" >&5 |
5575 fi | 7133 sed 's/^/| /' conftest.$ac_ext >&5 |
5576 rm -f core conftest.err conftest.$ac_objext \ | 7134 |
5577 conftest$ac_exeext conftest.$ac_ext | 7135 eval "$as_ac_Lib=no" |
7136 fi | |
7137 | |
7138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
7139 conftest$ac_exeext conftest.$ac_ext | |
5578 LIBS=$ac_check_lib_save_LIBS | 7140 LIBS=$ac_check_lib_save_LIBS |
5579 fi | 7141 fi |
5580 eval ac_res=\$$as_ac_Lib | 7142 ac_res=`eval echo '${'$as_ac_Lib'}'` |
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 7143 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5582 $as_echo "$ac_res" >&6; } | 7144 echo "${ECHO_T}$ac_res" >&6; } |
5583 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 7145 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
5584 LIBS="$LIBS -l$SV_MODULE_LIB" | 7146 LIBS="$LIBS -l$SV_MODULE_LIB" |
5585 else | 7147 else |
5586 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 7148 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
7149 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
7150 { (exit 1); exit 1; }; } | |
5587 fi | 7151 fi |
5588 | 7152 |
5589 fi | 7153 fi |
5590 fi | 7154 fi |
5591 | 7155 |
5596 SV_MODULE_LIB=rasqal | 7160 SV_MODULE_LIB=rasqal |
5597 SV_MODULE_FUNC=rasqal_new_world | 7161 SV_MODULE_FUNC=rasqal_new_world |
5598 SV_MODULE_HAVE=HAVE_$(echo rasqal | tr 'a-z' 'A-Z') | 7162 SV_MODULE_HAVE=HAVE_$(echo rasqal | tr 'a-z' 'A-Z') |
5599 SV_MODULE_FAILED=1 | 7163 SV_MODULE_FAILED=1 |
5600 if test -n "$rasqal_LIBS" ; then | 7164 if test -n "$rasqal_LIBS" ; then |
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 7165 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5602 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 7166 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5603 CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS" | 7167 CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS" |
5604 LIBS="$LIBS $rasqal_LIBS" | 7168 LIBS="$LIBS $rasqal_LIBS" |
5605 SV_MODULE_FAILED="" | 7169 SV_MODULE_FAILED="" |
5606 fi | 7170 fi |
5607 if test -z "$SV_MODULE_VERSION_TEST" ; then | 7171 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5608 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 7172 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5609 fi | 7173 fi |
5610 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 7174 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5611 | 7175 |
5612 pkg_failed=no | 7176 pkg_failed=no |
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rasqal" >&5 | 7177 { echo "$as_me:$LINENO: checking for rasqal" >&5 |
5614 $as_echo_n "checking for rasqal... " >&6; } | 7178 echo $ECHO_N "checking for rasqal... $ECHO_C" >&6; } |
5615 | 7179 |
5616 if test -n "$rasqal_CFLAGS"; then | 7180 if test -n "$rasqal_CFLAGS"; then |
5617 pkg_cv_rasqal_CFLAGS="$rasqal_CFLAGS" | 7181 pkg_cv_rasqal_CFLAGS="$rasqal_CFLAGS" |
5618 elif test -n "$PKG_CONFIG"; then | 7182 elif test -n "$PKG_CONFIG"; then |
5619 if test -n "$PKG_CONFIG" && \ | 7183 if test -n "$PKG_CONFIG" && \ |
5620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5621 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7185 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5622 ac_status=$? | 7186 ac_status=$? |
5623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5624 test $ac_status = 0; }; then | 7188 (exit $ac_status); }; then |
5625 pkg_cv_rasqal_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7189 pkg_cv_rasqal_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5626 else | 7190 else |
5627 pkg_failed=yes | 7191 pkg_failed=yes |
5628 fi | 7192 fi |
5629 else | 7193 else |
5631 fi | 7195 fi |
5632 if test -n "$rasqal_LIBS"; then | 7196 if test -n "$rasqal_LIBS"; then |
5633 pkg_cv_rasqal_LIBS="$rasqal_LIBS" | 7197 pkg_cv_rasqal_LIBS="$rasqal_LIBS" |
5634 elif test -n "$PKG_CONFIG"; then | 7198 elif test -n "$PKG_CONFIG"; then |
5635 if test -n "$PKG_CONFIG" && \ | 7199 if test -n "$PKG_CONFIG" && \ |
5636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7200 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5637 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7201 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5638 ac_status=$? | 7202 ac_status=$? |
5639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5640 test $ac_status = 0; }; then | 7204 (exit $ac_status); }; then |
5641 pkg_cv_rasqal_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7205 pkg_cv_rasqal_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5642 else | 7206 else |
5643 pkg_failed=yes | 7207 pkg_failed=yes |
5644 fi | 7208 fi |
5645 else | 7209 else |
5647 fi | 7211 fi |
5648 | 7212 |
5649 | 7213 |
5650 | 7214 |
5651 if test $pkg_failed = yes; then | 7215 if test $pkg_failed = yes; then |
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7216 { echo "$as_me:$LINENO: result: no" >&5 |
5653 $as_echo "no" >&6; } | 7217 echo "${ECHO_T}no" >&6; } |
5654 | 7218 |
5655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 7219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5656 _pkg_short_errors_supported=yes | 7220 _pkg_short_errors_supported=yes |
5657 else | 7221 else |
5658 _pkg_short_errors_supported=no | 7222 _pkg_short_errors_supported=no |
5663 rasqal_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 7227 rasqal_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
5664 fi | 7228 fi |
5665 # Put the nasty error message in config.log where it belongs | 7229 # Put the nasty error message in config.log where it belongs |
5666 echo "$rasqal_PKG_ERRORS" >&5 | 7230 echo "$rasqal_PKG_ERRORS" >&5 |
5667 | 7231 |
5668 { $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 | 7232 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5669 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7233 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5670 elif test $pkg_failed = untried; then | 7234 elif test $pkg_failed = untried; then |
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7235 { echo "$as_me:$LINENO: result: no" >&5 |
5672 $as_echo "no" >&6; } | 7236 echo "${ECHO_T}no" >&6; } |
5673 { $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 | 7237 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5674 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7238 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5675 else | 7239 else |
5676 rasqal_CFLAGS=$pkg_cv_rasqal_CFLAGS | 7240 rasqal_CFLAGS=$pkg_cv_rasqal_CFLAGS |
5677 rasqal_LIBS=$pkg_cv_rasqal_LIBS | 7241 rasqal_LIBS=$pkg_cv_rasqal_LIBS |
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7242 { echo "$as_me:$LINENO: result: yes" >&5 |
5679 $as_echo "yes" >&6; } | 7243 echo "${ECHO_T}yes" >&6; } |
5680 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS";LIBS="$LIBS $rasqal_LIBS";SV_MODULE_FAILED="" | 7244 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS";LIBS="$LIBS $rasqal_LIBS";SV_MODULE_FAILED="" |
5681 fi | 7245 fi |
5682 fi | 7246 fi |
5683 if test -n "$SV_MODULE_FAILED"; then | 7247 if test -n "$SV_MODULE_FAILED"; then |
5684 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 7248 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5685 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 7249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5686 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 7250 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
7251 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
7252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7253 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7254 fi | |
7255 ac_res=`eval echo '${'$as_ac_Header'}'` | |
7256 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7257 echo "${ECHO_T}$ac_res" >&6; } | |
7258 else | |
7259 # Is the header compilable? | |
7260 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
7261 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
7262 cat >conftest.$ac_ext <<_ACEOF | |
7263 /* confdefs.h. */ | |
7264 _ACEOF | |
7265 cat confdefs.h >>conftest.$ac_ext | |
7266 cat >>conftest.$ac_ext <<_ACEOF | |
7267 /* end confdefs.h. */ | |
7268 $ac_includes_default | |
7269 #include <$SV_MODULE_HEADER> | |
7270 _ACEOF | |
7271 rm -f conftest.$ac_objext | |
7272 if { (ac_try="$ac_compile" | |
7273 case "(($ac_try" in | |
7274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7275 *) ac_try_echo=$ac_try;; | |
7276 esac | |
7277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7278 (eval "$ac_compile") 2>conftest.er1 | |
7279 ac_status=$? | |
7280 grep -v '^ *+' conftest.er1 >conftest.err | |
7281 rm -f conftest.er1 | |
7282 cat conftest.err >&5 | |
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7284 (exit $ac_status); } && { | |
7285 test -z "$ac_cxx_werror_flag" || | |
7286 test ! -s conftest.err | |
7287 } && test -s conftest.$ac_objext; then | |
7288 ac_header_compiler=yes | |
7289 else | |
7290 echo "$as_me: failed program was:" >&5 | |
7291 sed 's/^/| /' conftest.$ac_ext >&5 | |
7292 | |
7293 ac_header_compiler=no | |
7294 fi | |
7295 | |
7296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
7298 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
7299 | |
7300 # Is the header present? | |
7301 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
7302 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
7303 cat >conftest.$ac_ext <<_ACEOF | |
7304 /* confdefs.h. */ | |
7305 _ACEOF | |
7306 cat confdefs.h >>conftest.$ac_ext | |
7307 cat >>conftest.$ac_ext <<_ACEOF | |
7308 /* end confdefs.h. */ | |
7309 #include <$SV_MODULE_HEADER> | |
7310 _ACEOF | |
7311 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
7312 case "(($ac_try" in | |
7313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7314 *) ac_try_echo=$ac_try;; | |
7315 esac | |
7316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
7318 ac_status=$? | |
7319 grep -v '^ *+' conftest.er1 >conftest.err | |
7320 rm -f conftest.er1 | |
7321 cat conftest.err >&5 | |
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7323 (exit $ac_status); } >/dev/null && { | |
7324 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
7325 test ! -s conftest.err | |
7326 }; then | |
7327 ac_header_preproc=yes | |
7328 else | |
7329 echo "$as_me: failed program was:" >&5 | |
7330 sed 's/^/| /' conftest.$ac_ext >&5 | |
7331 | |
7332 ac_header_preproc=no | |
7333 fi | |
7334 | |
7335 rm -f conftest.err conftest.$ac_ext | |
7336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
7337 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
7338 | |
7339 # So? What about this header? | |
7340 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
7341 yes:no: ) | |
7342 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
7343 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7344 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
7345 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
7346 ac_header_preproc=yes | |
7347 ;; | |
7348 no:yes:* ) | |
7349 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
7350 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
7351 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
7352 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
7353 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
7354 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
7355 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
7356 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
7357 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
7358 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
7359 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
7360 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
7361 ( cat <<\_ASBOX | |
7362 ## ------------------------------------------- ## | |
7363 ## Report this to cannam@all-day-breakfast.com ## | |
7364 ## ------------------------------------------- ## | |
7365 _ASBOX | |
7366 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
7367 ;; | |
7368 esac | |
7369 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
7370 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
7371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7372 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7373 else | |
7374 eval "$as_ac_Header=\$ac_header_preproc" | |
7375 fi | |
7376 ac_res=`eval echo '${'$as_ac_Header'}'` | |
7377 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7378 echo "${ECHO_T}$ac_res" >&6; } | |
7379 | |
7380 fi | |
7381 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5687 HAVES="$HAVES $SV_MODULE_HAVE" | 7382 HAVES="$HAVES $SV_MODULE_HAVE" |
5688 else | 7383 else |
5689 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 7384 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
7385 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
7386 { (exit 1); exit 1; }; } | |
5690 fi | 7387 fi |
5691 | 7388 |
5692 | 7389 |
5693 if test -n "$SV_MODULE_LIB"; then | 7390 if test -n "$SV_MODULE_LIB"; then |
5694 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 7391 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 7392 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5696 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 7393 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
5697 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 7394 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5698 $as_echo_n "(cached) " >&6 | 7395 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5699 else | 7396 else |
5700 ac_check_lib_save_LIBS=$LIBS | 7397 ac_check_lib_save_LIBS=$LIBS |
5701 LIBS="-l$SV_MODULE_LIB $LIBS" | 7398 LIBS="-l$SV_MODULE_LIB $LIBS" |
5702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7399 cat >conftest.$ac_ext <<_ACEOF |
7400 /* confdefs.h. */ | |
7401 _ACEOF | |
7402 cat confdefs.h >>conftest.$ac_ext | |
7403 cat >>conftest.$ac_ext <<_ACEOF | |
5703 /* end confdefs.h. */ | 7404 /* end confdefs.h. */ |
5704 | 7405 |
5705 /* Override any GCC internal prototype to avoid an error. | 7406 /* Override any GCC internal prototype to avoid an error. |
5706 Use char because int might match the return type of a GCC | 7407 Use char because int might match the return type of a GCC |
5707 builtin and then its argument prototype would still apply. */ | 7408 builtin and then its argument prototype would still apply. */ |
5715 return $SV_MODULE_FUNC (); | 7416 return $SV_MODULE_FUNC (); |
5716 ; | 7417 ; |
5717 return 0; | 7418 return 0; |
5718 } | 7419 } |
5719 _ACEOF | 7420 _ACEOF |
5720 if ac_fn_cxx_try_link "$LINENO"; then : | 7421 rm -f conftest.$ac_objext conftest$ac_exeext |
7422 if { (ac_try="$ac_link" | |
7423 case "(($ac_try" in | |
7424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7425 *) ac_try_echo=$ac_try;; | |
7426 esac | |
7427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7428 (eval "$ac_link") 2>conftest.er1 | |
7429 ac_status=$? | |
7430 grep -v '^ *+' conftest.er1 >conftest.err | |
7431 rm -f conftest.er1 | |
7432 cat conftest.err >&5 | |
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7434 (exit $ac_status); } && { | |
7435 test -z "$ac_cxx_werror_flag" || | |
7436 test ! -s conftest.err | |
7437 } && test -s conftest$ac_exeext && | |
7438 $as_test_x conftest$ac_exeext; then | |
5721 eval "$as_ac_Lib=yes" | 7439 eval "$as_ac_Lib=yes" |
5722 else | 7440 else |
5723 eval "$as_ac_Lib=no" | 7441 echo "$as_me: failed program was:" >&5 |
5724 fi | 7442 sed 's/^/| /' conftest.$ac_ext >&5 |
5725 rm -f core conftest.err conftest.$ac_objext \ | 7443 |
5726 conftest$ac_exeext conftest.$ac_ext | 7444 eval "$as_ac_Lib=no" |
7445 fi | |
7446 | |
7447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
7448 conftest$ac_exeext conftest.$ac_ext | |
5727 LIBS=$ac_check_lib_save_LIBS | 7449 LIBS=$ac_check_lib_save_LIBS |
5728 fi | 7450 fi |
5729 eval ac_res=\$$as_ac_Lib | 7451 ac_res=`eval echo '${'$as_ac_Lib'}'` |
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 7452 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5731 $as_echo "$ac_res" >&6; } | 7453 echo "${ECHO_T}$ac_res" >&6; } |
5732 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 7454 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
5733 LIBS="$LIBS -l$SV_MODULE_LIB" | 7455 LIBS="$LIBS -l$SV_MODULE_LIB" |
5734 else | 7456 else |
5735 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 7457 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
7458 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
7459 { (exit 1); exit 1; }; } | |
5736 fi | 7460 fi |
5737 | 7461 |
5738 fi | 7462 fi |
5739 fi | 7463 fi |
5740 | 7464 |
5745 SV_MODULE_LIB=rdf | 7469 SV_MODULE_LIB=rdf |
5746 SV_MODULE_FUNC=librdf_new_world | 7470 SV_MODULE_FUNC=librdf_new_world |
5747 SV_MODULE_HAVE=HAVE_$(echo redland | tr 'a-z' 'A-Z') | 7471 SV_MODULE_HAVE=HAVE_$(echo redland | tr 'a-z' 'A-Z') |
5748 SV_MODULE_FAILED=1 | 7472 SV_MODULE_FAILED=1 |
5749 if test -n "$redland_LIBS" ; then | 7473 if test -n "$redland_LIBS" ; then |
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 7474 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5751 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 7475 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5752 CXXFLAGS="$CXXFLAGS $redland_CFLAGS" | 7476 CXXFLAGS="$CXXFLAGS $redland_CFLAGS" |
5753 LIBS="$LIBS $redland_LIBS" | 7477 LIBS="$LIBS $redland_LIBS" |
5754 SV_MODULE_FAILED="" | 7478 SV_MODULE_FAILED="" |
5755 fi | 7479 fi |
5756 if test -z "$SV_MODULE_VERSION_TEST" ; then | 7480 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5757 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 7481 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5758 fi | 7482 fi |
5759 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 7483 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5760 | 7484 |
5761 pkg_failed=no | 7485 pkg_failed=no |
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redland" >&5 | 7486 { echo "$as_me:$LINENO: checking for redland" >&5 |
5763 $as_echo_n "checking for redland... " >&6; } | 7487 echo $ECHO_N "checking for redland... $ECHO_C" >&6; } |
5764 | 7488 |
5765 if test -n "$redland_CFLAGS"; then | 7489 if test -n "$redland_CFLAGS"; then |
5766 pkg_cv_redland_CFLAGS="$redland_CFLAGS" | 7490 pkg_cv_redland_CFLAGS="$redland_CFLAGS" |
5767 elif test -n "$PKG_CONFIG"; then | 7491 elif test -n "$PKG_CONFIG"; then |
5768 if test -n "$PKG_CONFIG" && \ | 7492 if test -n "$PKG_CONFIG" && \ |
5769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7493 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5770 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7494 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5771 ac_status=$? | 7495 ac_status=$? |
5772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5773 test $ac_status = 0; }; then | 7497 (exit $ac_status); }; then |
5774 pkg_cv_redland_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7498 pkg_cv_redland_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5775 else | 7499 else |
5776 pkg_failed=yes | 7500 pkg_failed=yes |
5777 fi | 7501 fi |
5778 else | 7502 else |
5780 fi | 7504 fi |
5781 if test -n "$redland_LIBS"; then | 7505 if test -n "$redland_LIBS"; then |
5782 pkg_cv_redland_LIBS="$redland_LIBS" | 7506 pkg_cv_redland_LIBS="$redland_LIBS" |
5783 elif test -n "$PKG_CONFIG"; then | 7507 elif test -n "$PKG_CONFIG"; then |
5784 if test -n "$PKG_CONFIG" && \ | 7508 if test -n "$PKG_CONFIG" && \ |
5785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5786 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7510 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5787 ac_status=$? | 7511 ac_status=$? |
5788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5789 test $ac_status = 0; }; then | 7513 (exit $ac_status); }; then |
5790 pkg_cv_redland_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7514 pkg_cv_redland_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5791 else | 7515 else |
5792 pkg_failed=yes | 7516 pkg_failed=yes |
5793 fi | 7517 fi |
5794 else | 7518 else |
5796 fi | 7520 fi |
5797 | 7521 |
5798 | 7522 |
5799 | 7523 |
5800 if test $pkg_failed = yes; then | 7524 if test $pkg_failed = yes; then |
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7525 { echo "$as_me:$LINENO: result: no" >&5 |
5802 $as_echo "no" >&6; } | 7526 echo "${ECHO_T}no" >&6; } |
5803 | 7527 |
5804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 7528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5805 _pkg_short_errors_supported=yes | 7529 _pkg_short_errors_supported=yes |
5806 else | 7530 else |
5807 _pkg_short_errors_supported=no | 7531 _pkg_short_errors_supported=no |
5812 redland_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 7536 redland_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
5813 fi | 7537 fi |
5814 # Put the nasty error message in config.log where it belongs | 7538 # Put the nasty error message in config.log where it belongs |
5815 echo "$redland_PKG_ERRORS" >&5 | 7539 echo "$redland_PKG_ERRORS" >&5 |
5816 | 7540 |
5817 { $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 | 7541 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5818 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7542 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5819 elif test $pkg_failed = untried; then | 7543 elif test $pkg_failed = untried; then |
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7544 { echo "$as_me:$LINENO: result: no" >&5 |
5821 $as_echo "no" >&6; } | 7545 echo "${ECHO_T}no" >&6; } |
5822 { $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 | 7546 { echo "$as_me:$LINENO: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5823 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7547 echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5824 else | 7548 else |
5825 redland_CFLAGS=$pkg_cv_redland_CFLAGS | 7549 redland_CFLAGS=$pkg_cv_redland_CFLAGS |
5826 redland_LIBS=$pkg_cv_redland_LIBS | 7550 redland_LIBS=$pkg_cv_redland_LIBS |
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7551 { echo "$as_me:$LINENO: result: yes" >&5 |
5828 $as_echo "yes" >&6; } | 7552 echo "${ECHO_T}yes" >&6; } |
5829 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $redland_CFLAGS";LIBS="$LIBS $redland_LIBS";SV_MODULE_FAILED="" | 7553 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $redland_CFLAGS";LIBS="$LIBS $redland_LIBS";SV_MODULE_FAILED="" |
5830 fi | 7554 fi |
5831 fi | 7555 fi |
5832 if test -n "$SV_MODULE_FAILED"; then | 7556 if test -n "$SV_MODULE_FAILED"; then |
5833 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 7557 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5834 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 7558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5835 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 7559 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
7560 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
7561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7562 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7563 fi | |
7564 ac_res=`eval echo '${'$as_ac_Header'}'` | |
7565 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7566 echo "${ECHO_T}$ac_res" >&6; } | |
7567 else | |
7568 # Is the header compilable? | |
7569 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
7570 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
7571 cat >conftest.$ac_ext <<_ACEOF | |
7572 /* confdefs.h. */ | |
7573 _ACEOF | |
7574 cat confdefs.h >>conftest.$ac_ext | |
7575 cat >>conftest.$ac_ext <<_ACEOF | |
7576 /* end confdefs.h. */ | |
7577 $ac_includes_default | |
7578 #include <$SV_MODULE_HEADER> | |
7579 _ACEOF | |
7580 rm -f conftest.$ac_objext | |
7581 if { (ac_try="$ac_compile" | |
7582 case "(($ac_try" in | |
7583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7584 *) ac_try_echo=$ac_try;; | |
7585 esac | |
7586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7587 (eval "$ac_compile") 2>conftest.er1 | |
7588 ac_status=$? | |
7589 grep -v '^ *+' conftest.er1 >conftest.err | |
7590 rm -f conftest.er1 | |
7591 cat conftest.err >&5 | |
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7593 (exit $ac_status); } && { | |
7594 test -z "$ac_cxx_werror_flag" || | |
7595 test ! -s conftest.err | |
7596 } && test -s conftest.$ac_objext; then | |
7597 ac_header_compiler=yes | |
7598 else | |
7599 echo "$as_me: failed program was:" >&5 | |
7600 sed 's/^/| /' conftest.$ac_ext >&5 | |
7601 | |
7602 ac_header_compiler=no | |
7603 fi | |
7604 | |
7605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7606 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
7607 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
7608 | |
7609 # Is the header present? | |
7610 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
7611 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
7612 cat >conftest.$ac_ext <<_ACEOF | |
7613 /* confdefs.h. */ | |
7614 _ACEOF | |
7615 cat confdefs.h >>conftest.$ac_ext | |
7616 cat >>conftest.$ac_ext <<_ACEOF | |
7617 /* end confdefs.h. */ | |
7618 #include <$SV_MODULE_HEADER> | |
7619 _ACEOF | |
7620 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
7621 case "(($ac_try" in | |
7622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7623 *) ac_try_echo=$ac_try;; | |
7624 esac | |
7625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
7627 ac_status=$? | |
7628 grep -v '^ *+' conftest.er1 >conftest.err | |
7629 rm -f conftest.er1 | |
7630 cat conftest.err >&5 | |
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7632 (exit $ac_status); } >/dev/null && { | |
7633 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
7634 test ! -s conftest.err | |
7635 }; then | |
7636 ac_header_preproc=yes | |
7637 else | |
7638 echo "$as_me: failed program was:" >&5 | |
7639 sed 's/^/| /' conftest.$ac_ext >&5 | |
7640 | |
7641 ac_header_preproc=no | |
7642 fi | |
7643 | |
7644 rm -f conftest.err conftest.$ac_ext | |
7645 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
7646 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
7647 | |
7648 # So? What about this header? | |
7649 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
7650 yes:no: ) | |
7651 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
7652 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7653 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
7654 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
7655 ac_header_preproc=yes | |
7656 ;; | |
7657 no:yes:* ) | |
7658 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
7659 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
7660 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
7661 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
7662 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
7663 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
7664 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
7665 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
7666 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
7667 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
7668 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
7669 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
7670 ( cat <<\_ASBOX | |
7671 ## ------------------------------------------- ## | |
7672 ## Report this to cannam@all-day-breakfast.com ## | |
7673 ## ------------------------------------------- ## | |
7674 _ASBOX | |
7675 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
7676 ;; | |
7677 esac | |
7678 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
7679 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
7680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7681 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7682 else | |
7683 eval "$as_ac_Header=\$ac_header_preproc" | |
7684 fi | |
7685 ac_res=`eval echo '${'$as_ac_Header'}'` | |
7686 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7687 echo "${ECHO_T}$ac_res" >&6; } | |
7688 | |
7689 fi | |
7690 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5836 HAVES="$HAVES $SV_MODULE_HAVE" | 7691 HAVES="$HAVES $SV_MODULE_HAVE" |
5837 else | 7692 else |
5838 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 7693 { { echo "$as_me:$LINENO: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&5 |
7694 echo "$as_me: error: Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" >&2;} | |
7695 { (exit 1); exit 1; }; } | |
5839 fi | 7696 fi |
5840 | 7697 |
5841 | 7698 |
5842 if test -n "$SV_MODULE_LIB"; then | 7699 if test -n "$SV_MODULE_LIB"; then |
5843 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 7700 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 7701 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5845 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 7702 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
5846 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 7703 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5847 $as_echo_n "(cached) " >&6 | 7704 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5848 else | 7705 else |
5849 ac_check_lib_save_LIBS=$LIBS | 7706 ac_check_lib_save_LIBS=$LIBS |
5850 LIBS="-l$SV_MODULE_LIB $LIBS" | 7707 LIBS="-l$SV_MODULE_LIB $LIBS" |
5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7708 cat >conftest.$ac_ext <<_ACEOF |
7709 /* confdefs.h. */ | |
7710 _ACEOF | |
7711 cat confdefs.h >>conftest.$ac_ext | |
7712 cat >>conftest.$ac_ext <<_ACEOF | |
5852 /* end confdefs.h. */ | 7713 /* end confdefs.h. */ |
5853 | 7714 |
5854 /* Override any GCC internal prototype to avoid an error. | 7715 /* Override any GCC internal prototype to avoid an error. |
5855 Use char because int might match the return type of a GCC | 7716 Use char because int might match the return type of a GCC |
5856 builtin and then its argument prototype would still apply. */ | 7717 builtin and then its argument prototype would still apply. */ |
5864 return $SV_MODULE_FUNC (); | 7725 return $SV_MODULE_FUNC (); |
5865 ; | 7726 ; |
5866 return 0; | 7727 return 0; |
5867 } | 7728 } |
5868 _ACEOF | 7729 _ACEOF |
5869 if ac_fn_cxx_try_link "$LINENO"; then : | 7730 rm -f conftest.$ac_objext conftest$ac_exeext |
7731 if { (ac_try="$ac_link" | |
7732 case "(($ac_try" in | |
7733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7734 *) ac_try_echo=$ac_try;; | |
7735 esac | |
7736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7737 (eval "$ac_link") 2>conftest.er1 | |
7738 ac_status=$? | |
7739 grep -v '^ *+' conftest.er1 >conftest.err | |
7740 rm -f conftest.er1 | |
7741 cat conftest.err >&5 | |
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7743 (exit $ac_status); } && { | |
7744 test -z "$ac_cxx_werror_flag" || | |
7745 test ! -s conftest.err | |
7746 } && test -s conftest$ac_exeext && | |
7747 $as_test_x conftest$ac_exeext; then | |
5870 eval "$as_ac_Lib=yes" | 7748 eval "$as_ac_Lib=yes" |
5871 else | 7749 else |
5872 eval "$as_ac_Lib=no" | 7750 echo "$as_me: failed program was:" >&5 |
5873 fi | 7751 sed 's/^/| /' conftest.$ac_ext >&5 |
5874 rm -f core conftest.err conftest.$ac_objext \ | 7752 |
5875 conftest$ac_exeext conftest.$ac_ext | 7753 eval "$as_ac_Lib=no" |
7754 fi | |
7755 | |
7756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
7757 conftest$ac_exeext conftest.$ac_ext | |
5876 LIBS=$ac_check_lib_save_LIBS | 7758 LIBS=$ac_check_lib_save_LIBS |
5877 fi | 7759 fi |
5878 eval ac_res=\$$as_ac_Lib | 7760 ac_res=`eval echo '${'$as_ac_Lib'}'` |
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 7761 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5880 $as_echo "$ac_res" >&6; } | 7762 echo "${ECHO_T}$ac_res" >&6; } |
5881 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 7763 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
5882 LIBS="$LIBS -l$SV_MODULE_LIB" | 7764 LIBS="$LIBS -l$SV_MODULE_LIB" |
5883 else | 7765 else |
5884 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 7766 { { echo "$as_me:$LINENO: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&5 |
7767 echo "$as_me: error: Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" >&2;} | |
7768 { (exit 1); exit 1; }; } | |
5885 fi | 7769 fi |
5886 | 7770 |
5887 fi | 7771 fi |
5888 fi | 7772 fi |
5889 | 7773 |
5895 SV_MODULE_LIB=lo | 7779 SV_MODULE_LIB=lo |
5896 SV_MODULE_FUNC=lo_address_new | 7780 SV_MODULE_FUNC=lo_address_new |
5897 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | 7781 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') |
5898 SV_MODULE_FAILED=1 | 7782 SV_MODULE_FAILED=1 |
5899 if test -n "$liblo_LIBS" ; then | 7783 if test -n "$liblo_LIBS" ; then |
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 7784 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5901 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 7785 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5902 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" | 7786 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" |
5903 LIBS="$LIBS $liblo_LIBS" | 7787 LIBS="$LIBS $liblo_LIBS" |
5904 SV_MODULE_FAILED="" | 7788 SV_MODULE_FAILED="" |
5905 fi | 7789 fi |
5906 if test -z "$SV_MODULE_VERSION_TEST" ; then | 7790 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5907 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 7791 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5908 fi | 7792 fi |
5909 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 7793 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5910 | 7794 |
5911 pkg_failed=no | 7795 pkg_failed=no |
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 | 7796 { echo "$as_me:$LINENO: checking for liblo" >&5 |
5913 $as_echo_n "checking for liblo... " >&6; } | 7797 echo $ECHO_N "checking for liblo... $ECHO_C" >&6; } |
5914 | 7798 |
5915 if test -n "$liblo_CFLAGS"; then | 7799 if test -n "$liblo_CFLAGS"; then |
5916 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" | 7800 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" |
5917 elif test -n "$PKG_CONFIG"; then | 7801 elif test -n "$PKG_CONFIG"; then |
5918 if test -n "$PKG_CONFIG" && \ | 7802 if test -n "$PKG_CONFIG" && \ |
5919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7803 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5920 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7804 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5921 ac_status=$? | 7805 ac_status=$? |
5922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5923 test $ac_status = 0; }; then | 7807 (exit $ac_status); }; then |
5924 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7808 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5925 else | 7809 else |
5926 pkg_failed=yes | 7810 pkg_failed=yes |
5927 fi | 7811 fi |
5928 else | 7812 else |
5930 fi | 7814 fi |
5931 if test -n "$liblo_LIBS"; then | 7815 if test -n "$liblo_LIBS"; then |
5932 pkg_cv_liblo_LIBS="$liblo_LIBS" | 7816 pkg_cv_liblo_LIBS="$liblo_LIBS" |
5933 elif test -n "$PKG_CONFIG"; then | 7817 elif test -n "$PKG_CONFIG"; then |
5934 if test -n "$PKG_CONFIG" && \ | 7818 if test -n "$PKG_CONFIG" && \ |
5935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7819 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
5936 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7820 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5937 ac_status=$? | 7821 ac_status=$? |
5938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5939 test $ac_status = 0; }; then | 7823 (exit $ac_status); }; then |
5940 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7824 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5941 else | 7825 else |
5942 pkg_failed=yes | 7826 pkg_failed=yes |
5943 fi | 7827 fi |
5944 else | 7828 else |
5946 fi | 7830 fi |
5947 | 7831 |
5948 | 7832 |
5949 | 7833 |
5950 if test $pkg_failed = yes; then | 7834 if test $pkg_failed = yes; then |
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7835 { echo "$as_me:$LINENO: result: no" >&5 |
5952 $as_echo "no" >&6; } | 7836 echo "${ECHO_T}no" >&6; } |
5953 | 7837 |
5954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 7838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5955 _pkg_short_errors_supported=yes | 7839 _pkg_short_errors_supported=yes |
5956 else | 7840 else |
5957 _pkg_short_errors_supported=no | 7841 _pkg_short_errors_supported=no |
5962 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 7846 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
5963 fi | 7847 fi |
5964 # Put the nasty error message in config.log where it belongs | 7848 # Put the nasty error message in config.log where it belongs |
5965 echo "$liblo_PKG_ERRORS" >&5 | 7849 echo "$liblo_PKG_ERRORS" >&5 |
5966 | 7850 |
5967 { $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 | 7851 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5968 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7852 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5969 elif test $pkg_failed = untried; then | 7853 elif test $pkg_failed = untried; then |
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7854 { echo "$as_me:$LINENO: result: no" >&5 |
5971 $as_echo "no" >&6; } | 7855 echo "${ECHO_T}no" >&6; } |
5972 { $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 | 7856 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5973 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7857 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5974 else | 7858 else |
5975 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS | 7859 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS |
5976 liblo_LIBS=$pkg_cv_liblo_LIBS | 7860 liblo_LIBS=$pkg_cv_liblo_LIBS |
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7861 { echo "$as_me:$LINENO: result: yes" >&5 |
5978 $as_echo "yes" >&6; } | 7862 echo "${ECHO_T}yes" >&6; } |
5979 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" | 7863 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" |
5980 fi | 7864 fi |
5981 fi | 7865 fi |
5982 if test -n "$SV_MODULE_FAILED"; then | 7866 if test -n "$SV_MODULE_FAILED"; then |
5983 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 7867 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5984 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 7868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 7869 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
7870 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
7871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7872 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7873 fi | |
7874 ac_res=`eval echo '${'$as_ac_Header'}'` | |
7875 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7876 echo "${ECHO_T}$ac_res" >&6; } | |
7877 else | |
7878 # Is the header compilable? | |
7879 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
7880 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
7881 cat >conftest.$ac_ext <<_ACEOF | |
7882 /* confdefs.h. */ | |
7883 _ACEOF | |
7884 cat confdefs.h >>conftest.$ac_ext | |
7885 cat >>conftest.$ac_ext <<_ACEOF | |
7886 /* end confdefs.h. */ | |
7887 $ac_includes_default | |
7888 #include <$SV_MODULE_HEADER> | |
7889 _ACEOF | |
7890 rm -f conftest.$ac_objext | |
7891 if { (ac_try="$ac_compile" | |
7892 case "(($ac_try" in | |
7893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7894 *) ac_try_echo=$ac_try;; | |
7895 esac | |
7896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7897 (eval "$ac_compile") 2>conftest.er1 | |
7898 ac_status=$? | |
7899 grep -v '^ *+' conftest.er1 >conftest.err | |
7900 rm -f conftest.er1 | |
7901 cat conftest.err >&5 | |
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7903 (exit $ac_status); } && { | |
7904 test -z "$ac_cxx_werror_flag" || | |
7905 test ! -s conftest.err | |
7906 } && test -s conftest.$ac_objext; then | |
7907 ac_header_compiler=yes | |
7908 else | |
7909 echo "$as_me: failed program was:" >&5 | |
7910 sed 's/^/| /' conftest.$ac_ext >&5 | |
7911 | |
7912 ac_header_compiler=no | |
7913 fi | |
7914 | |
7915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
7917 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
7918 | |
7919 # Is the header present? | |
7920 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
7921 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
7922 cat >conftest.$ac_ext <<_ACEOF | |
7923 /* confdefs.h. */ | |
7924 _ACEOF | |
7925 cat confdefs.h >>conftest.$ac_ext | |
7926 cat >>conftest.$ac_ext <<_ACEOF | |
7927 /* end confdefs.h. */ | |
7928 #include <$SV_MODULE_HEADER> | |
7929 _ACEOF | |
7930 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
7931 case "(($ac_try" in | |
7932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7933 *) ac_try_echo=$ac_try;; | |
7934 esac | |
7935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
7937 ac_status=$? | |
7938 grep -v '^ *+' conftest.er1 >conftest.err | |
7939 rm -f conftest.er1 | |
7940 cat conftest.err >&5 | |
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7942 (exit $ac_status); } >/dev/null && { | |
7943 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
7944 test ! -s conftest.err | |
7945 }; then | |
7946 ac_header_preproc=yes | |
7947 else | |
7948 echo "$as_me: failed program was:" >&5 | |
7949 sed 's/^/| /' conftest.$ac_ext >&5 | |
7950 | |
7951 ac_header_preproc=no | |
7952 fi | |
7953 | |
7954 rm -f conftest.err conftest.$ac_ext | |
7955 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
7956 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
7957 | |
7958 # So? What about this header? | |
7959 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
7960 yes:no: ) | |
7961 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
7962 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7963 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
7964 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
7965 ac_header_preproc=yes | |
7966 ;; | |
7967 no:yes:* ) | |
7968 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
7969 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
7970 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
7971 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
7972 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
7973 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
7974 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
7975 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
7976 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
7977 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
7978 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
7979 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
7980 ( cat <<\_ASBOX | |
7981 ## ------------------------------------------- ## | |
7982 ## Report this to cannam@all-day-breakfast.com ## | |
7983 ## ------------------------------------------- ## | |
7984 _ASBOX | |
7985 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
7986 ;; | |
7987 esac | |
7988 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
7989 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
7990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
7991 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7992 else | |
7993 eval "$as_ac_Header=\$ac_header_preproc" | |
7994 fi | |
7995 ac_res=`eval echo '${'$as_ac_Header'}'` | |
7996 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7997 echo "${ECHO_T}$ac_res" >&6; } | |
7998 | |
7999 fi | |
8000 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
5986 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 8001 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
5987 else | 8002 else |
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 8003 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
5989 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 8004 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
5990 fi | 8005 fi |
5991 | 8006 |
5992 | 8007 |
5993 if test -z "$SV_MODULE_FAILED"; then | 8008 if test -z "$SV_MODULE_FAILED"; then |
5994 if test -n "$SV_MODULE_LIB"; then | 8009 if test -n "$SV_MODULE_LIB"; then |
5995 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 8010 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 8011 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5997 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 8012 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
5998 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 8013 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5999 $as_echo_n "(cached) " >&6 | 8014 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6000 else | 8015 else |
6001 ac_check_lib_save_LIBS=$LIBS | 8016 ac_check_lib_save_LIBS=$LIBS |
6002 LIBS="-l$SV_MODULE_LIB $LIBS" | 8017 LIBS="-l$SV_MODULE_LIB $LIBS" |
6003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8018 cat >conftest.$ac_ext <<_ACEOF |
8019 /* confdefs.h. */ | |
8020 _ACEOF | |
8021 cat confdefs.h >>conftest.$ac_ext | |
8022 cat >>conftest.$ac_ext <<_ACEOF | |
6004 /* end confdefs.h. */ | 8023 /* end confdefs.h. */ |
6005 | 8024 |
6006 /* Override any GCC internal prototype to avoid an error. | 8025 /* Override any GCC internal prototype to avoid an error. |
6007 Use char because int might match the return type of a GCC | 8026 Use char because int might match the return type of a GCC |
6008 builtin and then its argument prototype would still apply. */ | 8027 builtin and then its argument prototype would still apply. */ |
6016 return $SV_MODULE_FUNC (); | 8035 return $SV_MODULE_FUNC (); |
6017 ; | 8036 ; |
6018 return 0; | 8037 return 0; |
6019 } | 8038 } |
6020 _ACEOF | 8039 _ACEOF |
6021 if ac_fn_cxx_try_link "$LINENO"; then : | 8040 rm -f conftest.$ac_objext conftest$ac_exeext |
8041 if { (ac_try="$ac_link" | |
8042 case "(($ac_try" in | |
8043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8044 *) ac_try_echo=$ac_try;; | |
8045 esac | |
8046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8047 (eval "$ac_link") 2>conftest.er1 | |
8048 ac_status=$? | |
8049 grep -v '^ *+' conftest.er1 >conftest.err | |
8050 rm -f conftest.er1 | |
8051 cat conftest.err >&5 | |
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8053 (exit $ac_status); } && { | |
8054 test -z "$ac_cxx_werror_flag" || | |
8055 test ! -s conftest.err | |
8056 } && test -s conftest$ac_exeext && | |
8057 $as_test_x conftest$ac_exeext; then | |
6022 eval "$as_ac_Lib=yes" | 8058 eval "$as_ac_Lib=yes" |
6023 else | 8059 else |
6024 eval "$as_ac_Lib=no" | 8060 echo "$as_me: failed program was:" >&5 |
6025 fi | 8061 sed 's/^/| /' conftest.$ac_ext >&5 |
6026 rm -f core conftest.err conftest.$ac_objext \ | 8062 |
6027 conftest$ac_exeext conftest.$ac_ext | 8063 eval "$as_ac_Lib=no" |
8064 fi | |
8065 | |
8066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
8067 conftest$ac_exeext conftest.$ac_ext | |
6028 LIBS=$ac_check_lib_save_LIBS | 8068 LIBS=$ac_check_lib_save_LIBS |
6029 fi | 8069 fi |
6030 eval ac_res=\$$as_ac_Lib | 8070 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 8071 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6032 $as_echo "$ac_res" >&6; } | 8072 echo "${ECHO_T}$ac_res" >&6; } |
6033 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 8073 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6034 LIBS="$LIBS -l$SV_MODULE_LIB" | 8074 LIBS="$LIBS -l$SV_MODULE_LIB" |
6035 else | 8075 else |
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 8076 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6037 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 8077 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6038 fi | 8078 fi |
6039 | 8079 |
6040 fi | 8080 fi |
6041 fi | 8081 fi |
6042 fi | 8082 fi |
6048 SV_MODULE_LIB=portaudio | 8088 SV_MODULE_LIB=portaudio |
6049 SV_MODULE_FUNC=Pa_IsFormatSupported | 8089 SV_MODULE_FUNC=Pa_IsFormatSupported |
6050 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') | 8090 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') |
6051 SV_MODULE_FAILED=1 | 8091 SV_MODULE_FAILED=1 |
6052 if test -n "$portaudio_2_0_LIBS" ; then | 8092 if test -n "$portaudio_2_0_LIBS" ; then |
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 8093 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6054 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 8094 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6055 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" | 8095 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" |
6056 LIBS="$LIBS $portaudio_2_0_LIBS" | 8096 LIBS="$LIBS $portaudio_2_0_LIBS" |
6057 SV_MODULE_FAILED="" | 8097 SV_MODULE_FAILED="" |
6058 fi | 8098 fi |
6059 if test -z "$SV_MODULE_VERSION_TEST" ; then | 8099 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6060 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 8100 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6061 fi | 8101 fi |
6062 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 8102 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6063 | 8103 |
6064 pkg_failed=no | 8104 pkg_failed=no |
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 | 8105 { echo "$as_me:$LINENO: checking for portaudio_2_0" >&5 |
6066 $as_echo_n "checking for portaudio_2_0... " >&6; } | 8106 echo $ECHO_N "checking for portaudio_2_0... $ECHO_C" >&6; } |
6067 | 8107 |
6068 if test -n "$portaudio_2_0_CFLAGS"; then | 8108 if test -n "$portaudio_2_0_CFLAGS"; then |
6069 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" | 8109 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" |
6070 elif test -n "$PKG_CONFIG"; then | 8110 elif test -n "$PKG_CONFIG"; then |
6071 if test -n "$PKG_CONFIG" && \ | 8111 if test -n "$PKG_CONFIG" && \ |
6072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 8112 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6073 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 8113 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6074 ac_status=$? | 8114 ac_status=$? |
6075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6076 test $ac_status = 0; }; then | 8116 (exit $ac_status); }; then |
6077 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 8117 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6078 else | 8118 else |
6079 pkg_failed=yes | 8119 pkg_failed=yes |
6080 fi | 8120 fi |
6081 else | 8121 else |
6083 fi | 8123 fi |
6084 if test -n "$portaudio_2_0_LIBS"; then | 8124 if test -n "$portaudio_2_0_LIBS"; then |
6085 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" | 8125 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" |
6086 elif test -n "$PKG_CONFIG"; then | 8126 elif test -n "$PKG_CONFIG"; then |
6087 if test -n "$PKG_CONFIG" && \ | 8127 if test -n "$PKG_CONFIG" && \ |
6088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 8128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6089 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 8129 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6090 ac_status=$? | 8130 ac_status=$? |
6091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6092 test $ac_status = 0; }; then | 8132 (exit $ac_status); }; then |
6093 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 8133 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6094 else | 8134 else |
6095 pkg_failed=yes | 8135 pkg_failed=yes |
6096 fi | 8136 fi |
6097 else | 8137 else |
6099 fi | 8139 fi |
6100 | 8140 |
6101 | 8141 |
6102 | 8142 |
6103 if test $pkg_failed = yes; then | 8143 if test $pkg_failed = yes; then |
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8144 { echo "$as_me:$LINENO: result: no" >&5 |
6105 $as_echo "no" >&6; } | 8145 echo "${ECHO_T}no" >&6; } |
6106 | 8146 |
6107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 8147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6108 _pkg_short_errors_supported=yes | 8148 _pkg_short_errors_supported=yes |
6109 else | 8149 else |
6110 _pkg_short_errors_supported=no | 8150 _pkg_short_errors_supported=no |
6115 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 8155 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
6116 fi | 8156 fi |
6117 # Put the nasty error message in config.log where it belongs | 8157 # Put the nasty error message in config.log where it belongs |
6118 echo "$portaudio_2_0_PKG_ERRORS" >&5 | 8158 echo "$portaudio_2_0_PKG_ERRORS" >&5 |
6119 | 8159 |
6120 { $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 | 8160 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6121 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 8161 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6122 elif test $pkg_failed = untried; then | 8162 elif test $pkg_failed = untried; then |
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8163 { echo "$as_me:$LINENO: result: no" >&5 |
6124 $as_echo "no" >&6; } | 8164 echo "${ECHO_T}no" >&6; } |
6125 { $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 | 8165 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6126 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 8166 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6127 else | 8167 else |
6128 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS | 8168 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS |
6129 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS | 8169 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS |
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 8170 { echo "$as_me:$LINENO: result: yes" >&5 |
6131 $as_echo "yes" >&6; } | 8171 echo "${ECHO_T}yes" >&6; } |
6132 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" | 8172 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" |
6133 fi | 8173 fi |
6134 fi | 8174 fi |
6135 if test -n "$SV_MODULE_FAILED"; then | 8175 if test -n "$SV_MODULE_FAILED"; then |
6136 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 8176 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6137 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 8177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6138 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 8178 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
8179 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
8180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8181 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8182 fi | |
8183 ac_res=`eval echo '${'$as_ac_Header'}'` | |
8184 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8185 echo "${ECHO_T}$ac_res" >&6; } | |
8186 else | |
8187 # Is the header compilable? | |
8188 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
8189 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
8190 cat >conftest.$ac_ext <<_ACEOF | |
8191 /* confdefs.h. */ | |
8192 _ACEOF | |
8193 cat confdefs.h >>conftest.$ac_ext | |
8194 cat >>conftest.$ac_ext <<_ACEOF | |
8195 /* end confdefs.h. */ | |
8196 $ac_includes_default | |
8197 #include <$SV_MODULE_HEADER> | |
8198 _ACEOF | |
8199 rm -f conftest.$ac_objext | |
8200 if { (ac_try="$ac_compile" | |
8201 case "(($ac_try" in | |
8202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8203 *) ac_try_echo=$ac_try;; | |
8204 esac | |
8205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8206 (eval "$ac_compile") 2>conftest.er1 | |
8207 ac_status=$? | |
8208 grep -v '^ *+' conftest.er1 >conftest.err | |
8209 rm -f conftest.er1 | |
8210 cat conftest.err >&5 | |
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8212 (exit $ac_status); } && { | |
8213 test -z "$ac_cxx_werror_flag" || | |
8214 test ! -s conftest.err | |
8215 } && test -s conftest.$ac_objext; then | |
8216 ac_header_compiler=yes | |
8217 else | |
8218 echo "$as_me: failed program was:" >&5 | |
8219 sed 's/^/| /' conftest.$ac_ext >&5 | |
8220 | |
8221 ac_header_compiler=no | |
8222 fi | |
8223 | |
8224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8225 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8226 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
8227 | |
8228 # Is the header present? | |
8229 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
8230 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
8231 cat >conftest.$ac_ext <<_ACEOF | |
8232 /* confdefs.h. */ | |
8233 _ACEOF | |
8234 cat confdefs.h >>conftest.$ac_ext | |
8235 cat >>conftest.$ac_ext <<_ACEOF | |
8236 /* end confdefs.h. */ | |
8237 #include <$SV_MODULE_HEADER> | |
8238 _ACEOF | |
8239 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
8240 case "(($ac_try" in | |
8241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8242 *) ac_try_echo=$ac_try;; | |
8243 esac | |
8244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
8246 ac_status=$? | |
8247 grep -v '^ *+' conftest.er1 >conftest.err | |
8248 rm -f conftest.er1 | |
8249 cat conftest.err >&5 | |
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8251 (exit $ac_status); } >/dev/null && { | |
8252 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
8253 test ! -s conftest.err | |
8254 }; then | |
8255 ac_header_preproc=yes | |
8256 else | |
8257 echo "$as_me: failed program was:" >&5 | |
8258 sed 's/^/| /' conftest.$ac_ext >&5 | |
8259 | |
8260 ac_header_preproc=no | |
8261 fi | |
8262 | |
8263 rm -f conftest.err conftest.$ac_ext | |
8264 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
8265 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
8266 | |
8267 # So? What about this header? | |
8268 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
8269 yes:no: ) | |
8270 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8271 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8272 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
8273 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
8274 ac_header_preproc=yes | |
8275 ;; | |
8276 no:yes:* ) | |
8277 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
8278 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
8279 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
8280 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
8281 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
8282 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
8283 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
8284 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
8285 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
8286 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
8287 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
8288 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
8289 ( cat <<\_ASBOX | |
8290 ## ------------------------------------------- ## | |
8291 ## Report this to cannam@all-day-breakfast.com ## | |
8292 ## ------------------------------------------- ## | |
8293 _ASBOX | |
8294 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
8295 ;; | |
8296 esac | |
8297 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
8298 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
8299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8300 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8301 else | |
8302 eval "$as_ac_Header=\$ac_header_preproc" | |
8303 fi | |
8304 ac_res=`eval echo '${'$as_ac_Header'}'` | |
8305 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8306 echo "${ECHO_T}$ac_res" >&6; } | |
8307 | |
8308 fi | |
8309 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
6139 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 8310 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6140 else | 8311 else |
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 8312 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6142 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 8313 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6143 fi | 8314 fi |
6144 | 8315 |
6145 | 8316 |
6146 if test -z "$SV_MODULE_FAILED"; then | 8317 if test -z "$SV_MODULE_FAILED"; then |
6147 if test -n "$SV_MODULE_LIB"; then | 8318 if test -n "$SV_MODULE_LIB"; then |
6148 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 8319 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 8320 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6150 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 8321 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
6151 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 8322 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
6152 $as_echo_n "(cached) " >&6 | 8323 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6153 else | 8324 else |
6154 ac_check_lib_save_LIBS=$LIBS | 8325 ac_check_lib_save_LIBS=$LIBS |
6155 LIBS="-l$SV_MODULE_LIB $LIBS" | 8326 LIBS="-l$SV_MODULE_LIB $LIBS" |
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8327 cat >conftest.$ac_ext <<_ACEOF |
8328 /* confdefs.h. */ | |
8329 _ACEOF | |
8330 cat confdefs.h >>conftest.$ac_ext | |
8331 cat >>conftest.$ac_ext <<_ACEOF | |
6157 /* end confdefs.h. */ | 8332 /* end confdefs.h. */ |
6158 | 8333 |
6159 /* Override any GCC internal prototype to avoid an error. | 8334 /* Override any GCC internal prototype to avoid an error. |
6160 Use char because int might match the return type of a GCC | 8335 Use char because int might match the return type of a GCC |
6161 builtin and then its argument prototype would still apply. */ | 8336 builtin and then its argument prototype would still apply. */ |
6169 return $SV_MODULE_FUNC (); | 8344 return $SV_MODULE_FUNC (); |
6170 ; | 8345 ; |
6171 return 0; | 8346 return 0; |
6172 } | 8347 } |
6173 _ACEOF | 8348 _ACEOF |
6174 if ac_fn_cxx_try_link "$LINENO"; then : | 8349 rm -f conftest.$ac_objext conftest$ac_exeext |
8350 if { (ac_try="$ac_link" | |
8351 case "(($ac_try" in | |
8352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8353 *) ac_try_echo=$ac_try;; | |
8354 esac | |
8355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8356 (eval "$ac_link") 2>conftest.er1 | |
8357 ac_status=$? | |
8358 grep -v '^ *+' conftest.er1 >conftest.err | |
8359 rm -f conftest.er1 | |
8360 cat conftest.err >&5 | |
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8362 (exit $ac_status); } && { | |
8363 test -z "$ac_cxx_werror_flag" || | |
8364 test ! -s conftest.err | |
8365 } && test -s conftest$ac_exeext && | |
8366 $as_test_x conftest$ac_exeext; then | |
6175 eval "$as_ac_Lib=yes" | 8367 eval "$as_ac_Lib=yes" |
6176 else | 8368 else |
6177 eval "$as_ac_Lib=no" | 8369 echo "$as_me: failed program was:" >&5 |
6178 fi | 8370 sed 's/^/| /' conftest.$ac_ext >&5 |
6179 rm -f core conftest.err conftest.$ac_objext \ | 8371 |
6180 conftest$ac_exeext conftest.$ac_ext | 8372 eval "$as_ac_Lib=no" |
8373 fi | |
8374 | |
8375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
8376 conftest$ac_exeext conftest.$ac_ext | |
6181 LIBS=$ac_check_lib_save_LIBS | 8377 LIBS=$ac_check_lib_save_LIBS |
6182 fi | 8378 fi |
6183 eval ac_res=\$$as_ac_Lib | 8379 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 8380 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6185 $as_echo "$ac_res" >&6; } | 8381 echo "${ECHO_T}$ac_res" >&6; } |
6186 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 8382 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6187 LIBS="$LIBS -l$SV_MODULE_LIB" | 8383 LIBS="$LIBS -l$SV_MODULE_LIB" |
6188 else | 8384 else |
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 8385 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6190 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 8386 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6191 fi | 8387 fi |
6192 | 8388 |
6193 fi | 8389 fi |
6194 fi | 8390 fi |
6195 fi | 8391 fi |
6201 SV_MODULE_LIB=jack | 8397 SV_MODULE_LIB=jack |
6202 SV_MODULE_FUNC=jack_client_open | 8398 SV_MODULE_FUNC=jack_client_open |
6203 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') | 8399 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') |
6204 SV_MODULE_FAILED=1 | 8400 SV_MODULE_FAILED=1 |
6205 if test -n "$JACK_LIBS" ; then | 8401 if test -n "$JACK_LIBS" ; then |
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 8402 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6207 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 8403 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6208 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" | 8404 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" |
6209 LIBS="$LIBS $JACK_LIBS" | 8405 LIBS="$LIBS $JACK_LIBS" |
6210 SV_MODULE_FAILED="" | 8406 SV_MODULE_FAILED="" |
6211 fi | 8407 fi |
6212 if test -z "$SV_MODULE_VERSION_TEST" ; then | 8408 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6213 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 8409 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6214 fi | 8410 fi |
6215 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 8411 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6216 | 8412 |
6217 pkg_failed=no | 8413 pkg_failed=no |
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | 8414 { echo "$as_me:$LINENO: checking for JACK" >&5 |
6219 $as_echo_n "checking for JACK... " >&6; } | 8415 echo $ECHO_N "checking for JACK... $ECHO_C" >&6; } |
6220 | 8416 |
6221 if test -n "$JACK_CFLAGS"; then | 8417 if test -n "$JACK_CFLAGS"; then |
6222 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | 8418 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" |
6223 elif test -n "$PKG_CONFIG"; then | 8419 elif test -n "$PKG_CONFIG"; then |
6224 if test -n "$PKG_CONFIG" && \ | 8420 if test -n "$PKG_CONFIG" && \ |
6225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 8421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6226 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 8422 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6227 ac_status=$? | 8423 ac_status=$? |
6228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6229 test $ac_status = 0; }; then | 8425 (exit $ac_status); }; then |
6230 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 8426 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6231 else | 8427 else |
6232 pkg_failed=yes | 8428 pkg_failed=yes |
6233 fi | 8429 fi |
6234 else | 8430 else |
6236 fi | 8432 fi |
6237 if test -n "$JACK_LIBS"; then | 8433 if test -n "$JACK_LIBS"; then |
6238 pkg_cv_JACK_LIBS="$JACK_LIBS" | 8434 pkg_cv_JACK_LIBS="$JACK_LIBS" |
6239 elif test -n "$PKG_CONFIG"; then | 8435 elif test -n "$PKG_CONFIG"; then |
6240 if test -n "$PKG_CONFIG" && \ | 8436 if test -n "$PKG_CONFIG" && \ |
6241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 8437 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6242 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 8438 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6243 ac_status=$? | 8439 ac_status=$? |
6244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6245 test $ac_status = 0; }; then | 8441 (exit $ac_status); }; then |
6246 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 8442 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6247 else | 8443 else |
6248 pkg_failed=yes | 8444 pkg_failed=yes |
6249 fi | 8445 fi |
6250 else | 8446 else |
6252 fi | 8448 fi |
6253 | 8449 |
6254 | 8450 |
6255 | 8451 |
6256 if test $pkg_failed = yes; then | 8452 if test $pkg_failed = yes; then |
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8453 { echo "$as_me:$LINENO: result: no" >&5 |
6258 $as_echo "no" >&6; } | 8454 echo "${ECHO_T}no" >&6; } |
6259 | 8455 |
6260 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 8456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6261 _pkg_short_errors_supported=yes | 8457 _pkg_short_errors_supported=yes |
6262 else | 8458 else |
6263 _pkg_short_errors_supported=no | 8459 _pkg_short_errors_supported=no |
6268 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 8464 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
6269 fi | 8465 fi |
6270 # Put the nasty error message in config.log where it belongs | 8466 # Put the nasty error message in config.log where it belongs |
6271 echo "$JACK_PKG_ERRORS" >&5 | 8467 echo "$JACK_PKG_ERRORS" >&5 |
6272 | 8468 |
6273 { $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 | 8469 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6274 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 8470 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6275 elif test $pkg_failed = untried; then | 8471 elif test $pkg_failed = untried; then |
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8472 { echo "$as_me:$LINENO: result: no" >&5 |
6277 $as_echo "no" >&6; } | 8473 echo "${ECHO_T}no" >&6; } |
6278 { $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 | 8474 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6279 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 8475 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6280 else | 8476 else |
6281 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | 8477 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS |
6282 JACK_LIBS=$pkg_cv_JACK_LIBS | 8478 JACK_LIBS=$pkg_cv_JACK_LIBS |
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 8479 { echo "$as_me:$LINENO: result: yes" >&5 |
6284 $as_echo "yes" >&6; } | 8480 echo "${ECHO_T}yes" >&6; } |
6285 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" | 8481 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" |
6286 fi | 8482 fi |
6287 fi | 8483 fi |
6288 if test -n "$SV_MODULE_FAILED"; then | 8484 if test -n "$SV_MODULE_FAILED"; then |
6289 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 8485 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6290 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 8486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 8487 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
8488 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
8489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8490 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8491 fi | |
8492 ac_res=`eval echo '${'$as_ac_Header'}'` | |
8493 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8494 echo "${ECHO_T}$ac_res" >&6; } | |
8495 else | |
8496 # Is the header compilable? | |
8497 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
8498 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
8499 cat >conftest.$ac_ext <<_ACEOF | |
8500 /* confdefs.h. */ | |
8501 _ACEOF | |
8502 cat confdefs.h >>conftest.$ac_ext | |
8503 cat >>conftest.$ac_ext <<_ACEOF | |
8504 /* end confdefs.h. */ | |
8505 $ac_includes_default | |
8506 #include <$SV_MODULE_HEADER> | |
8507 _ACEOF | |
8508 rm -f conftest.$ac_objext | |
8509 if { (ac_try="$ac_compile" | |
8510 case "(($ac_try" in | |
8511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8512 *) ac_try_echo=$ac_try;; | |
8513 esac | |
8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8515 (eval "$ac_compile") 2>conftest.er1 | |
8516 ac_status=$? | |
8517 grep -v '^ *+' conftest.er1 >conftest.err | |
8518 rm -f conftest.er1 | |
8519 cat conftest.err >&5 | |
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8521 (exit $ac_status); } && { | |
8522 test -z "$ac_cxx_werror_flag" || | |
8523 test ! -s conftest.err | |
8524 } && test -s conftest.$ac_objext; then | |
8525 ac_header_compiler=yes | |
8526 else | |
8527 echo "$as_me: failed program was:" >&5 | |
8528 sed 's/^/| /' conftest.$ac_ext >&5 | |
8529 | |
8530 ac_header_compiler=no | |
8531 fi | |
8532 | |
8533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8534 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8535 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
8536 | |
8537 # Is the header present? | |
8538 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
8539 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
8540 cat >conftest.$ac_ext <<_ACEOF | |
8541 /* confdefs.h. */ | |
8542 _ACEOF | |
8543 cat confdefs.h >>conftest.$ac_ext | |
8544 cat >>conftest.$ac_ext <<_ACEOF | |
8545 /* end confdefs.h. */ | |
8546 #include <$SV_MODULE_HEADER> | |
8547 _ACEOF | |
8548 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
8549 case "(($ac_try" in | |
8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8551 *) ac_try_echo=$ac_try;; | |
8552 esac | |
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
8555 ac_status=$? | |
8556 grep -v '^ *+' conftest.er1 >conftest.err | |
8557 rm -f conftest.er1 | |
8558 cat conftest.err >&5 | |
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8560 (exit $ac_status); } >/dev/null && { | |
8561 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
8562 test ! -s conftest.err | |
8563 }; then | |
8564 ac_header_preproc=yes | |
8565 else | |
8566 echo "$as_me: failed program was:" >&5 | |
8567 sed 's/^/| /' conftest.$ac_ext >&5 | |
8568 | |
8569 ac_header_preproc=no | |
8570 fi | |
8571 | |
8572 rm -f conftest.err conftest.$ac_ext | |
8573 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
8574 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
8575 | |
8576 # So? What about this header? | |
8577 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
8578 yes:no: ) | |
8579 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8580 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8581 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
8582 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
8583 ac_header_preproc=yes | |
8584 ;; | |
8585 no:yes:* ) | |
8586 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
8587 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
8588 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
8589 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
8590 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
8591 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
8592 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
8593 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
8594 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
8595 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
8596 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
8597 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
8598 ( cat <<\_ASBOX | |
8599 ## ------------------------------------------- ## | |
8600 ## Report this to cannam@all-day-breakfast.com ## | |
8601 ## ------------------------------------------- ## | |
8602 _ASBOX | |
8603 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
8604 ;; | |
8605 esac | |
8606 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
8607 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
8608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8609 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8610 else | |
8611 eval "$as_ac_Header=\$ac_header_preproc" | |
8612 fi | |
8613 ac_res=`eval echo '${'$as_ac_Header'}'` | |
8614 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8615 echo "${ECHO_T}$ac_res" >&6; } | |
8616 | |
8617 fi | |
8618 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
6292 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 8619 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6293 else | 8620 else |
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 8621 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6295 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 8622 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6296 fi | 8623 fi |
6297 | 8624 |
6298 | 8625 |
6299 if test -z "$SV_MODULE_FAILED"; then | 8626 if test -z "$SV_MODULE_FAILED"; then |
6300 if test -n "$SV_MODULE_LIB"; then | 8627 if test -n "$SV_MODULE_LIB"; then |
6301 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 8628 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 8629 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6303 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 8630 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
6304 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 8631 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
6305 $as_echo_n "(cached) " >&6 | 8632 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6306 else | 8633 else |
6307 ac_check_lib_save_LIBS=$LIBS | 8634 ac_check_lib_save_LIBS=$LIBS |
6308 LIBS="-l$SV_MODULE_LIB $LIBS" | 8635 LIBS="-l$SV_MODULE_LIB $LIBS" |
6309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8636 cat >conftest.$ac_ext <<_ACEOF |
8637 /* confdefs.h. */ | |
8638 _ACEOF | |
8639 cat confdefs.h >>conftest.$ac_ext | |
8640 cat >>conftest.$ac_ext <<_ACEOF | |
6310 /* end confdefs.h. */ | 8641 /* end confdefs.h. */ |
6311 | 8642 |
6312 /* Override any GCC internal prototype to avoid an error. | 8643 /* Override any GCC internal prototype to avoid an error. |
6313 Use char because int might match the return type of a GCC | 8644 Use char because int might match the return type of a GCC |
6314 builtin and then its argument prototype would still apply. */ | 8645 builtin and then its argument prototype would still apply. */ |
6322 return $SV_MODULE_FUNC (); | 8653 return $SV_MODULE_FUNC (); |
6323 ; | 8654 ; |
6324 return 0; | 8655 return 0; |
6325 } | 8656 } |
6326 _ACEOF | 8657 _ACEOF |
6327 if ac_fn_cxx_try_link "$LINENO"; then : | 8658 rm -f conftest.$ac_objext conftest$ac_exeext |
8659 if { (ac_try="$ac_link" | |
8660 case "(($ac_try" in | |
8661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8662 *) ac_try_echo=$ac_try;; | |
8663 esac | |
8664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8665 (eval "$ac_link") 2>conftest.er1 | |
8666 ac_status=$? | |
8667 grep -v '^ *+' conftest.er1 >conftest.err | |
8668 rm -f conftest.er1 | |
8669 cat conftest.err >&5 | |
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8671 (exit $ac_status); } && { | |
8672 test -z "$ac_cxx_werror_flag" || | |
8673 test ! -s conftest.err | |
8674 } && test -s conftest$ac_exeext && | |
8675 $as_test_x conftest$ac_exeext; then | |
6328 eval "$as_ac_Lib=yes" | 8676 eval "$as_ac_Lib=yes" |
6329 else | 8677 else |
6330 eval "$as_ac_Lib=no" | 8678 echo "$as_me: failed program was:" >&5 |
6331 fi | 8679 sed 's/^/| /' conftest.$ac_ext >&5 |
6332 rm -f core conftest.err conftest.$ac_objext \ | 8680 |
6333 conftest$ac_exeext conftest.$ac_ext | 8681 eval "$as_ac_Lib=no" |
8682 fi | |
8683 | |
8684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
8685 conftest$ac_exeext conftest.$ac_ext | |
6334 LIBS=$ac_check_lib_save_LIBS | 8686 LIBS=$ac_check_lib_save_LIBS |
6335 fi | 8687 fi |
6336 eval ac_res=\$$as_ac_Lib | 8688 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 8689 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6338 $as_echo "$ac_res" >&6; } | 8690 echo "${ECHO_T}$ac_res" >&6; } |
6339 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 8691 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6340 LIBS="$LIBS -l$SV_MODULE_LIB" | 8692 LIBS="$LIBS -l$SV_MODULE_LIB" |
6341 else | 8693 else |
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 8694 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6343 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 8695 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6344 fi | 8696 fi |
6345 | 8697 |
6346 fi | 8698 fi |
6347 fi | 8699 fi |
6348 fi | 8700 fi |
6354 SV_MODULE_LIB=pulse | 8706 SV_MODULE_LIB=pulse |
6355 SV_MODULE_FUNC=pa_stream_new | 8707 SV_MODULE_FUNC=pa_stream_new |
6356 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') | 8708 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') |
6357 SV_MODULE_FAILED=1 | 8709 SV_MODULE_FAILED=1 |
6358 if test -n "$libpulse_LIBS" ; then | 8710 if test -n "$libpulse_LIBS" ; then |
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 8711 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6360 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 8712 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6361 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" | 8713 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" |
6362 LIBS="$LIBS $libpulse_LIBS" | 8714 LIBS="$LIBS $libpulse_LIBS" |
6363 SV_MODULE_FAILED="" | 8715 SV_MODULE_FAILED="" |
6364 fi | 8716 fi |
6365 if test -z "$SV_MODULE_VERSION_TEST" ; then | 8717 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6366 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 8718 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6367 fi | 8719 fi |
6368 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 8720 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6369 | 8721 |
6370 pkg_failed=no | 8722 pkg_failed=no |
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 | 8723 { echo "$as_me:$LINENO: checking for libpulse" >&5 |
6372 $as_echo_n "checking for libpulse... " >&6; } | 8724 echo $ECHO_N "checking for libpulse... $ECHO_C" >&6; } |
6373 | 8725 |
6374 if test -n "$libpulse_CFLAGS"; then | 8726 if test -n "$libpulse_CFLAGS"; then |
6375 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" | 8727 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" |
6376 elif test -n "$PKG_CONFIG"; then | 8728 elif test -n "$PKG_CONFIG"; then |
6377 if test -n "$PKG_CONFIG" && \ | 8729 if test -n "$PKG_CONFIG" && \ |
6378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 8730 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6379 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 8731 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6380 ac_status=$? | 8732 ac_status=$? |
6381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6382 test $ac_status = 0; }; then | 8734 (exit $ac_status); }; then |
6383 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 8735 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6384 else | 8736 else |
6385 pkg_failed=yes | 8737 pkg_failed=yes |
6386 fi | 8738 fi |
6387 else | 8739 else |
6389 fi | 8741 fi |
6390 if test -n "$libpulse_LIBS"; then | 8742 if test -n "$libpulse_LIBS"; then |
6391 pkg_cv_libpulse_LIBS="$libpulse_LIBS" | 8743 pkg_cv_libpulse_LIBS="$libpulse_LIBS" |
6392 elif test -n "$PKG_CONFIG"; then | 8744 elif test -n "$PKG_CONFIG"; then |
6393 if test -n "$PKG_CONFIG" && \ | 8745 if test -n "$PKG_CONFIG" && \ |
6394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 8746 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6395 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 8747 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6396 ac_status=$? | 8748 ac_status=$? |
6397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6398 test $ac_status = 0; }; then | 8750 (exit $ac_status); }; then |
6399 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 8751 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6400 else | 8752 else |
6401 pkg_failed=yes | 8753 pkg_failed=yes |
6402 fi | 8754 fi |
6403 else | 8755 else |
6405 fi | 8757 fi |
6406 | 8758 |
6407 | 8759 |
6408 | 8760 |
6409 if test $pkg_failed = yes; then | 8761 if test $pkg_failed = yes; then |
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8762 { echo "$as_me:$LINENO: result: no" >&5 |
6411 $as_echo "no" >&6; } | 8763 echo "${ECHO_T}no" >&6; } |
6412 | 8764 |
6413 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 8765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6414 _pkg_short_errors_supported=yes | 8766 _pkg_short_errors_supported=yes |
6415 else | 8767 else |
6416 _pkg_short_errors_supported=no | 8768 _pkg_short_errors_supported=no |
6421 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 8773 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
6422 fi | 8774 fi |
6423 # Put the nasty error message in config.log where it belongs | 8775 # Put the nasty error message in config.log where it belongs |
6424 echo "$libpulse_PKG_ERRORS" >&5 | 8776 echo "$libpulse_PKG_ERRORS" >&5 |
6425 | 8777 |
6426 { $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 | 8778 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6427 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 8779 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6428 elif test $pkg_failed = untried; then | 8780 elif test $pkg_failed = untried; then |
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8781 { echo "$as_me:$LINENO: result: no" >&5 |
6430 $as_echo "no" >&6; } | 8782 echo "${ECHO_T}no" >&6; } |
6431 { $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 | 8783 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6432 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 8784 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6433 else | 8785 else |
6434 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS | 8786 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS |
6435 libpulse_LIBS=$pkg_cv_libpulse_LIBS | 8787 libpulse_LIBS=$pkg_cv_libpulse_LIBS |
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 8788 { echo "$as_me:$LINENO: result: yes" >&5 |
6437 $as_echo "yes" >&6; } | 8789 echo "${ECHO_T}yes" >&6; } |
6438 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" | 8790 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" |
6439 fi | 8791 fi |
6440 fi | 8792 fi |
6441 if test -n "$SV_MODULE_FAILED"; then | 8793 if test -n "$SV_MODULE_FAILED"; then |
6442 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 8794 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6443 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 8795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6444 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 8796 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
8797 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
8798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8799 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8800 fi | |
8801 ac_res=`eval echo '${'$as_ac_Header'}'` | |
8802 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8803 echo "${ECHO_T}$ac_res" >&6; } | |
8804 else | |
8805 # Is the header compilable? | |
8806 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
8807 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
8808 cat >conftest.$ac_ext <<_ACEOF | |
8809 /* confdefs.h. */ | |
8810 _ACEOF | |
8811 cat confdefs.h >>conftest.$ac_ext | |
8812 cat >>conftest.$ac_ext <<_ACEOF | |
8813 /* end confdefs.h. */ | |
8814 $ac_includes_default | |
8815 #include <$SV_MODULE_HEADER> | |
8816 _ACEOF | |
8817 rm -f conftest.$ac_objext | |
8818 if { (ac_try="$ac_compile" | |
8819 case "(($ac_try" in | |
8820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8821 *) ac_try_echo=$ac_try;; | |
8822 esac | |
8823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8824 (eval "$ac_compile") 2>conftest.er1 | |
8825 ac_status=$? | |
8826 grep -v '^ *+' conftest.er1 >conftest.err | |
8827 rm -f conftest.er1 | |
8828 cat conftest.err >&5 | |
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8830 (exit $ac_status); } && { | |
8831 test -z "$ac_cxx_werror_flag" || | |
8832 test ! -s conftest.err | |
8833 } && test -s conftest.$ac_objext; then | |
8834 ac_header_compiler=yes | |
8835 else | |
8836 echo "$as_me: failed program was:" >&5 | |
8837 sed 's/^/| /' conftest.$ac_ext >&5 | |
8838 | |
8839 ac_header_compiler=no | |
8840 fi | |
8841 | |
8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8843 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
8844 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
8845 | |
8846 # Is the header present? | |
8847 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
8848 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
8849 cat >conftest.$ac_ext <<_ACEOF | |
8850 /* confdefs.h. */ | |
8851 _ACEOF | |
8852 cat confdefs.h >>conftest.$ac_ext | |
8853 cat >>conftest.$ac_ext <<_ACEOF | |
8854 /* end confdefs.h. */ | |
8855 #include <$SV_MODULE_HEADER> | |
8856 _ACEOF | |
8857 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
8858 case "(($ac_try" in | |
8859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8860 *) ac_try_echo=$ac_try;; | |
8861 esac | |
8862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
8864 ac_status=$? | |
8865 grep -v '^ *+' conftest.er1 >conftest.err | |
8866 rm -f conftest.er1 | |
8867 cat conftest.err >&5 | |
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8869 (exit $ac_status); } >/dev/null && { | |
8870 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
8871 test ! -s conftest.err | |
8872 }; then | |
8873 ac_header_preproc=yes | |
8874 else | |
8875 echo "$as_me: failed program was:" >&5 | |
8876 sed 's/^/| /' conftest.$ac_ext >&5 | |
8877 | |
8878 ac_header_preproc=no | |
8879 fi | |
8880 | |
8881 rm -f conftest.err conftest.$ac_ext | |
8882 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
8883 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
8884 | |
8885 # So? What about this header? | |
8886 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
8887 yes:no: ) | |
8888 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
8889 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
8890 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
8891 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
8892 ac_header_preproc=yes | |
8893 ;; | |
8894 no:yes:* ) | |
8895 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
8896 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
8897 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
8898 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
8899 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
8900 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
8901 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
8902 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
8903 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
8904 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
8905 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
8906 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
8907 ( cat <<\_ASBOX | |
8908 ## ------------------------------------------- ## | |
8909 ## Report this to cannam@all-day-breakfast.com ## | |
8910 ## ------------------------------------------- ## | |
8911 _ASBOX | |
8912 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
8913 ;; | |
8914 esac | |
8915 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
8916 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
8917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
8918 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8919 else | |
8920 eval "$as_ac_Header=\$ac_header_preproc" | |
8921 fi | |
8922 ac_res=`eval echo '${'$as_ac_Header'}'` | |
8923 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8924 echo "${ECHO_T}$ac_res" >&6; } | |
8925 | |
8926 fi | |
8927 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
6445 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 8928 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6446 else | 8929 else |
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 8930 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6448 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 8931 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6449 fi | 8932 fi |
6450 | 8933 |
6451 | 8934 |
6452 if test -z "$SV_MODULE_FAILED"; then | 8935 if test -z "$SV_MODULE_FAILED"; then |
6453 if test -n "$SV_MODULE_LIB"; then | 8936 if test -n "$SV_MODULE_LIB"; then |
6454 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 8937 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 8938 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6456 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 8939 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
6457 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 8940 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
6458 $as_echo_n "(cached) " >&6 | 8941 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6459 else | 8942 else |
6460 ac_check_lib_save_LIBS=$LIBS | 8943 ac_check_lib_save_LIBS=$LIBS |
6461 LIBS="-l$SV_MODULE_LIB $LIBS" | 8944 LIBS="-l$SV_MODULE_LIB $LIBS" |
6462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8945 cat >conftest.$ac_ext <<_ACEOF |
8946 /* confdefs.h. */ | |
8947 _ACEOF | |
8948 cat confdefs.h >>conftest.$ac_ext | |
8949 cat >>conftest.$ac_ext <<_ACEOF | |
6463 /* end confdefs.h. */ | 8950 /* end confdefs.h. */ |
6464 | 8951 |
6465 /* Override any GCC internal prototype to avoid an error. | 8952 /* Override any GCC internal prototype to avoid an error. |
6466 Use char because int might match the return type of a GCC | 8953 Use char because int might match the return type of a GCC |
6467 builtin and then its argument prototype would still apply. */ | 8954 builtin and then its argument prototype would still apply. */ |
6475 return $SV_MODULE_FUNC (); | 8962 return $SV_MODULE_FUNC (); |
6476 ; | 8963 ; |
6477 return 0; | 8964 return 0; |
6478 } | 8965 } |
6479 _ACEOF | 8966 _ACEOF |
6480 if ac_fn_cxx_try_link "$LINENO"; then : | 8967 rm -f conftest.$ac_objext conftest$ac_exeext |
8968 if { (ac_try="$ac_link" | |
8969 case "(($ac_try" in | |
8970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8971 *) ac_try_echo=$ac_try;; | |
8972 esac | |
8973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8974 (eval "$ac_link") 2>conftest.er1 | |
8975 ac_status=$? | |
8976 grep -v '^ *+' conftest.er1 >conftest.err | |
8977 rm -f conftest.er1 | |
8978 cat conftest.err >&5 | |
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8980 (exit $ac_status); } && { | |
8981 test -z "$ac_cxx_werror_flag" || | |
8982 test ! -s conftest.err | |
8983 } && test -s conftest$ac_exeext && | |
8984 $as_test_x conftest$ac_exeext; then | |
6481 eval "$as_ac_Lib=yes" | 8985 eval "$as_ac_Lib=yes" |
6482 else | 8986 else |
6483 eval "$as_ac_Lib=no" | 8987 echo "$as_me: failed program was:" >&5 |
6484 fi | 8988 sed 's/^/| /' conftest.$ac_ext >&5 |
6485 rm -f core conftest.err conftest.$ac_objext \ | 8989 |
6486 conftest$ac_exeext conftest.$ac_ext | 8990 eval "$as_ac_Lib=no" |
8991 fi | |
8992 | |
8993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
8994 conftest$ac_exeext conftest.$ac_ext | |
6487 LIBS=$ac_check_lib_save_LIBS | 8995 LIBS=$ac_check_lib_save_LIBS |
6488 fi | 8996 fi |
6489 eval ac_res=\$$as_ac_Lib | 8997 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 8998 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6491 $as_echo "$ac_res" >&6; } | 8999 echo "${ECHO_T}$ac_res" >&6; } |
6492 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 9000 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6493 LIBS="$LIBS -l$SV_MODULE_LIB" | 9001 LIBS="$LIBS -l$SV_MODULE_LIB" |
6494 else | 9002 else |
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 9003 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6496 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 9004 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6497 fi | 9005 fi |
6498 | 9006 |
6499 fi | 9007 fi |
6500 fi | 9008 fi |
6501 fi | 9009 fi |
6507 SV_MODULE_LIB=lrdf | 9015 SV_MODULE_LIB=lrdf |
6508 SV_MODULE_FUNC=lrdf_init | 9016 SV_MODULE_FUNC=lrdf_init |
6509 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') | 9017 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') |
6510 SV_MODULE_FAILED=1 | 9018 SV_MODULE_FAILED=1 |
6511 if test -n "$lrdf_LIBS" ; then | 9019 if test -n "$lrdf_LIBS" ; then |
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 9020 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6513 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 9021 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6514 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" | 9022 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" |
6515 LIBS="$LIBS $lrdf_LIBS" | 9023 LIBS="$LIBS $lrdf_LIBS" |
6516 SV_MODULE_FAILED="" | 9024 SV_MODULE_FAILED="" |
6517 fi | 9025 fi |
6518 if test -z "$SV_MODULE_VERSION_TEST" ; then | 9026 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6519 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 9027 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6520 fi | 9028 fi |
6521 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 9029 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6522 | 9030 |
6523 pkg_failed=no | 9031 pkg_failed=no |
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 | 9032 { echo "$as_me:$LINENO: checking for lrdf" >&5 |
6525 $as_echo_n "checking for lrdf... " >&6; } | 9033 echo $ECHO_N "checking for lrdf... $ECHO_C" >&6; } |
6526 | 9034 |
6527 if test -n "$lrdf_CFLAGS"; then | 9035 if test -n "$lrdf_CFLAGS"; then |
6528 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" | 9036 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" |
6529 elif test -n "$PKG_CONFIG"; then | 9037 elif test -n "$PKG_CONFIG"; then |
6530 if test -n "$PKG_CONFIG" && \ | 9038 if test -n "$PKG_CONFIG" && \ |
6531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6532 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9040 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6533 ac_status=$? | 9041 ac_status=$? |
6534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6535 test $ac_status = 0; }; then | 9043 (exit $ac_status); }; then |
6536 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9044 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6537 else | 9045 else |
6538 pkg_failed=yes | 9046 pkg_failed=yes |
6539 fi | 9047 fi |
6540 else | 9048 else |
6542 fi | 9050 fi |
6543 if test -n "$lrdf_LIBS"; then | 9051 if test -n "$lrdf_LIBS"; then |
6544 pkg_cv_lrdf_LIBS="$lrdf_LIBS" | 9052 pkg_cv_lrdf_LIBS="$lrdf_LIBS" |
6545 elif test -n "$PKG_CONFIG"; then | 9053 elif test -n "$PKG_CONFIG"; then |
6546 if test -n "$PKG_CONFIG" && \ | 9054 if test -n "$PKG_CONFIG" && \ |
6547 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9055 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6548 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9056 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6549 ac_status=$? | 9057 ac_status=$? |
6550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6551 test $ac_status = 0; }; then | 9059 (exit $ac_status); }; then |
6552 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9060 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6553 else | 9061 else |
6554 pkg_failed=yes | 9062 pkg_failed=yes |
6555 fi | 9063 fi |
6556 else | 9064 else |
6558 fi | 9066 fi |
6559 | 9067 |
6560 | 9068 |
6561 | 9069 |
6562 if test $pkg_failed = yes; then | 9070 if test $pkg_failed = yes; then |
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9071 { echo "$as_me:$LINENO: result: no" >&5 |
6564 $as_echo "no" >&6; } | 9072 echo "${ECHO_T}no" >&6; } |
6565 | 9073 |
6566 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 9074 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6567 _pkg_short_errors_supported=yes | 9075 _pkg_short_errors_supported=yes |
6568 else | 9076 else |
6569 _pkg_short_errors_supported=no | 9077 _pkg_short_errors_supported=no |
6574 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 9082 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
6575 fi | 9083 fi |
6576 # Put the nasty error message in config.log where it belongs | 9084 # Put the nasty error message in config.log where it belongs |
6577 echo "$lrdf_PKG_ERRORS" >&5 | 9085 echo "$lrdf_PKG_ERRORS" >&5 |
6578 | 9086 |
6579 { $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 | 9087 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6580 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 9088 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6581 elif test $pkg_failed = untried; then | 9089 elif test $pkg_failed = untried; then |
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9090 { echo "$as_me:$LINENO: result: no" >&5 |
6583 $as_echo "no" >&6; } | 9091 echo "${ECHO_T}no" >&6; } |
6584 { $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 | 9092 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6585 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 9093 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6586 else | 9094 else |
6587 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS | 9095 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS |
6588 lrdf_LIBS=$pkg_cv_lrdf_LIBS | 9096 lrdf_LIBS=$pkg_cv_lrdf_LIBS |
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9097 { echo "$as_me:$LINENO: result: yes" >&5 |
6590 $as_echo "yes" >&6; } | 9098 echo "${ECHO_T}yes" >&6; } |
6591 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" | 9099 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" |
6592 fi | 9100 fi |
6593 fi | 9101 fi |
6594 if test -n "$SV_MODULE_FAILED"; then | 9102 if test -n "$SV_MODULE_FAILED"; then |
6595 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 9103 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6596 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 9104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6597 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 9105 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
9106 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
9107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
9108 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9109 fi | |
9110 ac_res=`eval echo '${'$as_ac_Header'}'` | |
9111 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9112 echo "${ECHO_T}$ac_res" >&6; } | |
9113 else | |
9114 # Is the header compilable? | |
9115 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
9116 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
9117 cat >conftest.$ac_ext <<_ACEOF | |
9118 /* confdefs.h. */ | |
9119 _ACEOF | |
9120 cat confdefs.h >>conftest.$ac_ext | |
9121 cat >>conftest.$ac_ext <<_ACEOF | |
9122 /* end confdefs.h. */ | |
9123 $ac_includes_default | |
9124 #include <$SV_MODULE_HEADER> | |
9125 _ACEOF | |
9126 rm -f conftest.$ac_objext | |
9127 if { (ac_try="$ac_compile" | |
9128 case "(($ac_try" in | |
9129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9130 *) ac_try_echo=$ac_try;; | |
9131 esac | |
9132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9133 (eval "$ac_compile") 2>conftest.er1 | |
9134 ac_status=$? | |
9135 grep -v '^ *+' conftest.er1 >conftest.err | |
9136 rm -f conftest.er1 | |
9137 cat conftest.err >&5 | |
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9139 (exit $ac_status); } && { | |
9140 test -z "$ac_cxx_werror_flag" || | |
9141 test ! -s conftest.err | |
9142 } && test -s conftest.$ac_objext; then | |
9143 ac_header_compiler=yes | |
9144 else | |
9145 echo "$as_me: failed program was:" >&5 | |
9146 sed 's/^/| /' conftest.$ac_ext >&5 | |
9147 | |
9148 ac_header_compiler=no | |
9149 fi | |
9150 | |
9151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
9153 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
9154 | |
9155 # Is the header present? | |
9156 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
9157 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
9158 cat >conftest.$ac_ext <<_ACEOF | |
9159 /* confdefs.h. */ | |
9160 _ACEOF | |
9161 cat confdefs.h >>conftest.$ac_ext | |
9162 cat >>conftest.$ac_ext <<_ACEOF | |
9163 /* end confdefs.h. */ | |
9164 #include <$SV_MODULE_HEADER> | |
9165 _ACEOF | |
9166 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
9167 case "(($ac_try" in | |
9168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9169 *) ac_try_echo=$ac_try;; | |
9170 esac | |
9171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9173 ac_status=$? | |
9174 grep -v '^ *+' conftest.er1 >conftest.err | |
9175 rm -f conftest.er1 | |
9176 cat conftest.err >&5 | |
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9178 (exit $ac_status); } >/dev/null && { | |
9179 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
9180 test ! -s conftest.err | |
9181 }; then | |
9182 ac_header_preproc=yes | |
9183 else | |
9184 echo "$as_me: failed program was:" >&5 | |
9185 sed 's/^/| /' conftest.$ac_ext >&5 | |
9186 | |
9187 ac_header_preproc=no | |
9188 fi | |
9189 | |
9190 rm -f conftest.err conftest.$ac_ext | |
9191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
9192 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
9193 | |
9194 # So? What about this header? | |
9195 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
9196 yes:no: ) | |
9197 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
9198 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
9199 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
9200 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
9201 ac_header_preproc=yes | |
9202 ;; | |
9203 no:yes:* ) | |
9204 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
9205 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
9206 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
9207 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
9208 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
9209 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
9210 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
9211 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
9212 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
9213 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
9214 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
9215 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
9216 ( cat <<\_ASBOX | |
9217 ## ------------------------------------------- ## | |
9218 ## Report this to cannam@all-day-breakfast.com ## | |
9219 ## ------------------------------------------- ## | |
9220 _ASBOX | |
9221 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
9222 ;; | |
9223 esac | |
9224 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
9225 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
9226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
9227 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9228 else | |
9229 eval "$as_ac_Header=\$ac_header_preproc" | |
9230 fi | |
9231 ac_res=`eval echo '${'$as_ac_Header'}'` | |
9232 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9233 echo "${ECHO_T}$ac_res" >&6; } | |
9234 | |
9235 fi | |
9236 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
6598 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 9237 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6599 else | 9238 else |
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 9239 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6601 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 9240 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6602 fi | 9241 fi |
6603 | 9242 |
6604 | 9243 |
6605 if test -z "$SV_MODULE_FAILED"; then | 9244 if test -z "$SV_MODULE_FAILED"; then |
6606 if test -n "$SV_MODULE_LIB"; then | 9245 if test -n "$SV_MODULE_LIB"; then |
6607 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 9246 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 9247 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6609 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 9248 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
6610 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 9249 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
6611 $as_echo_n "(cached) " >&6 | 9250 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6612 else | 9251 else |
6613 ac_check_lib_save_LIBS=$LIBS | 9252 ac_check_lib_save_LIBS=$LIBS |
6614 LIBS="-l$SV_MODULE_LIB $LIBS" | 9253 LIBS="-l$SV_MODULE_LIB $LIBS" |
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9254 cat >conftest.$ac_ext <<_ACEOF |
9255 /* confdefs.h. */ | |
9256 _ACEOF | |
9257 cat confdefs.h >>conftest.$ac_ext | |
9258 cat >>conftest.$ac_ext <<_ACEOF | |
6616 /* end confdefs.h. */ | 9259 /* end confdefs.h. */ |
6617 | 9260 |
6618 /* Override any GCC internal prototype to avoid an error. | 9261 /* Override any GCC internal prototype to avoid an error. |
6619 Use char because int might match the return type of a GCC | 9262 Use char because int might match the return type of a GCC |
6620 builtin and then its argument prototype would still apply. */ | 9263 builtin and then its argument prototype would still apply. */ |
6628 return $SV_MODULE_FUNC (); | 9271 return $SV_MODULE_FUNC (); |
6629 ; | 9272 ; |
6630 return 0; | 9273 return 0; |
6631 } | 9274 } |
6632 _ACEOF | 9275 _ACEOF |
6633 if ac_fn_cxx_try_link "$LINENO"; then : | 9276 rm -f conftest.$ac_objext conftest$ac_exeext |
9277 if { (ac_try="$ac_link" | |
9278 case "(($ac_try" in | |
9279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9280 *) ac_try_echo=$ac_try;; | |
9281 esac | |
9282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9283 (eval "$ac_link") 2>conftest.er1 | |
9284 ac_status=$? | |
9285 grep -v '^ *+' conftest.er1 >conftest.err | |
9286 rm -f conftest.er1 | |
9287 cat conftest.err >&5 | |
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9289 (exit $ac_status); } && { | |
9290 test -z "$ac_cxx_werror_flag" || | |
9291 test ! -s conftest.err | |
9292 } && test -s conftest$ac_exeext && | |
9293 $as_test_x conftest$ac_exeext; then | |
6634 eval "$as_ac_Lib=yes" | 9294 eval "$as_ac_Lib=yes" |
6635 else | 9295 else |
6636 eval "$as_ac_Lib=no" | 9296 echo "$as_me: failed program was:" >&5 |
6637 fi | 9297 sed 's/^/| /' conftest.$ac_ext >&5 |
6638 rm -f core conftest.err conftest.$ac_objext \ | 9298 |
6639 conftest$ac_exeext conftest.$ac_ext | 9299 eval "$as_ac_Lib=no" |
9300 fi | |
9301 | |
9302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
9303 conftest$ac_exeext conftest.$ac_ext | |
6640 LIBS=$ac_check_lib_save_LIBS | 9304 LIBS=$ac_check_lib_save_LIBS |
6641 fi | 9305 fi |
6642 eval ac_res=\$$as_ac_Lib | 9306 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 9307 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6644 $as_echo "$ac_res" >&6; } | 9308 echo "${ECHO_T}$ac_res" >&6; } |
6645 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 9309 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6646 LIBS="$LIBS -l$SV_MODULE_LIB" | 9310 LIBS="$LIBS -l$SV_MODULE_LIB" |
6647 else | 9311 else |
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 9312 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6649 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 9313 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6650 fi | 9314 fi |
6651 | 9315 |
6652 fi | 9316 fi |
6653 fi | 9317 fi |
6654 fi | 9318 fi |
6660 SV_MODULE_LIB=oggz | 9324 SV_MODULE_LIB=oggz |
6661 SV_MODULE_FUNC=oggz_run | 9325 SV_MODULE_FUNC=oggz_run |
6662 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') | 9326 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') |
6663 SV_MODULE_FAILED=1 | 9327 SV_MODULE_FAILED=1 |
6664 if test -n "$oggz_LIBS" ; then | 9328 if test -n "$oggz_LIBS" ; then |
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 9329 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6666 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 9330 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6667 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" | 9331 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" |
6668 LIBS="$LIBS $oggz_LIBS" | 9332 LIBS="$LIBS $oggz_LIBS" |
6669 SV_MODULE_FAILED="" | 9333 SV_MODULE_FAILED="" |
6670 fi | 9334 fi |
6671 if test -z "$SV_MODULE_VERSION_TEST" ; then | 9335 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6672 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 9336 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6673 fi | 9337 fi |
6674 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 9338 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6675 | 9339 |
6676 pkg_failed=no | 9340 pkg_failed=no |
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 | 9341 { echo "$as_me:$LINENO: checking for oggz" >&5 |
6678 $as_echo_n "checking for oggz... " >&6; } | 9342 echo $ECHO_N "checking for oggz... $ECHO_C" >&6; } |
6679 | 9343 |
6680 if test -n "$oggz_CFLAGS"; then | 9344 if test -n "$oggz_CFLAGS"; then |
6681 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" | 9345 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" |
6682 elif test -n "$PKG_CONFIG"; then | 9346 elif test -n "$PKG_CONFIG"; then |
6683 if test -n "$PKG_CONFIG" && \ | 9347 if test -n "$PKG_CONFIG" && \ |
6684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6685 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9349 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6686 ac_status=$? | 9350 ac_status=$? |
6687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6688 test $ac_status = 0; }; then | 9352 (exit $ac_status); }; then |
6689 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9353 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6690 else | 9354 else |
6691 pkg_failed=yes | 9355 pkg_failed=yes |
6692 fi | 9356 fi |
6693 else | 9357 else |
6695 fi | 9359 fi |
6696 if test -n "$oggz_LIBS"; then | 9360 if test -n "$oggz_LIBS"; then |
6697 pkg_cv_oggz_LIBS="$oggz_LIBS" | 9361 pkg_cv_oggz_LIBS="$oggz_LIBS" |
6698 elif test -n "$PKG_CONFIG"; then | 9362 elif test -n "$PKG_CONFIG"; then |
6699 if test -n "$PKG_CONFIG" && \ | 9363 if test -n "$PKG_CONFIG" && \ |
6700 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9364 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6701 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9365 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6702 ac_status=$? | 9366 ac_status=$? |
6703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6704 test $ac_status = 0; }; then | 9368 (exit $ac_status); }; then |
6705 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9369 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6706 else | 9370 else |
6707 pkg_failed=yes | 9371 pkg_failed=yes |
6708 fi | 9372 fi |
6709 else | 9373 else |
6711 fi | 9375 fi |
6712 | 9376 |
6713 | 9377 |
6714 | 9378 |
6715 if test $pkg_failed = yes; then | 9379 if test $pkg_failed = yes; then |
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9380 { echo "$as_me:$LINENO: result: no" >&5 |
6717 $as_echo "no" >&6; } | 9381 echo "${ECHO_T}no" >&6; } |
6718 | 9382 |
6719 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 9383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6720 _pkg_short_errors_supported=yes | 9384 _pkg_short_errors_supported=yes |
6721 else | 9385 else |
6722 _pkg_short_errors_supported=no | 9386 _pkg_short_errors_supported=no |
6727 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 9391 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
6728 fi | 9392 fi |
6729 # Put the nasty error message in config.log where it belongs | 9393 # Put the nasty error message in config.log where it belongs |
6730 echo "$oggz_PKG_ERRORS" >&5 | 9394 echo "$oggz_PKG_ERRORS" >&5 |
6731 | 9395 |
6732 { $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 | 9396 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6733 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 9397 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6734 elif test $pkg_failed = untried; then | 9398 elif test $pkg_failed = untried; then |
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9399 { echo "$as_me:$LINENO: result: no" >&5 |
6736 $as_echo "no" >&6; } | 9400 echo "${ECHO_T}no" >&6; } |
6737 { $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 | 9401 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6738 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 9402 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6739 else | 9403 else |
6740 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS | 9404 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS |
6741 oggz_LIBS=$pkg_cv_oggz_LIBS | 9405 oggz_LIBS=$pkg_cv_oggz_LIBS |
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9406 { echo "$as_me:$LINENO: result: yes" >&5 |
6743 $as_echo "yes" >&6; } | 9407 echo "${ECHO_T}yes" >&6; } |
6744 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" | 9408 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" |
6745 fi | 9409 fi |
6746 fi | 9410 fi |
6747 if test -n "$SV_MODULE_FAILED"; then | 9411 if test -n "$SV_MODULE_FAILED"; then |
6748 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 9412 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6749 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 9413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 9414 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
9415 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
9416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
9417 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9418 fi | |
9419 ac_res=`eval echo '${'$as_ac_Header'}'` | |
9420 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9421 echo "${ECHO_T}$ac_res" >&6; } | |
9422 else | |
9423 # Is the header compilable? | |
9424 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
9425 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
9426 cat >conftest.$ac_ext <<_ACEOF | |
9427 /* confdefs.h. */ | |
9428 _ACEOF | |
9429 cat confdefs.h >>conftest.$ac_ext | |
9430 cat >>conftest.$ac_ext <<_ACEOF | |
9431 /* end confdefs.h. */ | |
9432 $ac_includes_default | |
9433 #include <$SV_MODULE_HEADER> | |
9434 _ACEOF | |
9435 rm -f conftest.$ac_objext | |
9436 if { (ac_try="$ac_compile" | |
9437 case "(($ac_try" in | |
9438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9439 *) ac_try_echo=$ac_try;; | |
9440 esac | |
9441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9442 (eval "$ac_compile") 2>conftest.er1 | |
9443 ac_status=$? | |
9444 grep -v '^ *+' conftest.er1 >conftest.err | |
9445 rm -f conftest.er1 | |
9446 cat conftest.err >&5 | |
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9448 (exit $ac_status); } && { | |
9449 test -z "$ac_cxx_werror_flag" || | |
9450 test ! -s conftest.err | |
9451 } && test -s conftest.$ac_objext; then | |
9452 ac_header_compiler=yes | |
9453 else | |
9454 echo "$as_me: failed program was:" >&5 | |
9455 sed 's/^/| /' conftest.$ac_ext >&5 | |
9456 | |
9457 ac_header_compiler=no | |
9458 fi | |
9459 | |
9460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9461 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
9462 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
9463 | |
9464 # Is the header present? | |
9465 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
9466 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
9467 cat >conftest.$ac_ext <<_ACEOF | |
9468 /* confdefs.h. */ | |
9469 _ACEOF | |
9470 cat confdefs.h >>conftest.$ac_ext | |
9471 cat >>conftest.$ac_ext <<_ACEOF | |
9472 /* end confdefs.h. */ | |
9473 #include <$SV_MODULE_HEADER> | |
9474 _ACEOF | |
9475 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
9476 case "(($ac_try" in | |
9477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9478 *) ac_try_echo=$ac_try;; | |
9479 esac | |
9480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9482 ac_status=$? | |
9483 grep -v '^ *+' conftest.er1 >conftest.err | |
9484 rm -f conftest.er1 | |
9485 cat conftest.err >&5 | |
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9487 (exit $ac_status); } >/dev/null && { | |
9488 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
9489 test ! -s conftest.err | |
9490 }; then | |
9491 ac_header_preproc=yes | |
9492 else | |
9493 echo "$as_me: failed program was:" >&5 | |
9494 sed 's/^/| /' conftest.$ac_ext >&5 | |
9495 | |
9496 ac_header_preproc=no | |
9497 fi | |
9498 | |
9499 rm -f conftest.err conftest.$ac_ext | |
9500 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
9501 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
9502 | |
9503 # So? What about this header? | |
9504 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
9505 yes:no: ) | |
9506 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
9507 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
9508 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
9509 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
9510 ac_header_preproc=yes | |
9511 ;; | |
9512 no:yes:* ) | |
9513 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
9514 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
9515 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
9516 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
9517 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
9518 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
9519 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
9520 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
9521 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
9522 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
9523 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
9524 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
9525 ( cat <<\_ASBOX | |
9526 ## ------------------------------------------- ## | |
9527 ## Report this to cannam@all-day-breakfast.com ## | |
9528 ## ------------------------------------------- ## | |
9529 _ASBOX | |
9530 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
9531 ;; | |
9532 esac | |
9533 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
9534 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
9535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
9536 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9537 else | |
9538 eval "$as_ac_Header=\$ac_header_preproc" | |
9539 fi | |
9540 ac_res=`eval echo '${'$as_ac_Header'}'` | |
9541 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9542 echo "${ECHO_T}$ac_res" >&6; } | |
9543 | |
9544 fi | |
9545 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
6751 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 9546 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6752 else | 9547 else |
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 9548 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6754 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 9549 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6755 fi | 9550 fi |
6756 | 9551 |
6757 | 9552 |
6758 if test -z "$SV_MODULE_FAILED"; then | 9553 if test -z "$SV_MODULE_FAILED"; then |
6759 if test -n "$SV_MODULE_LIB"; then | 9554 if test -n "$SV_MODULE_LIB"; then |
6760 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 9555 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 9556 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6762 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 9557 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
6763 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 9558 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
6764 $as_echo_n "(cached) " >&6 | 9559 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6765 else | 9560 else |
6766 ac_check_lib_save_LIBS=$LIBS | 9561 ac_check_lib_save_LIBS=$LIBS |
6767 LIBS="-l$SV_MODULE_LIB $LIBS" | 9562 LIBS="-l$SV_MODULE_LIB $LIBS" |
6768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9563 cat >conftest.$ac_ext <<_ACEOF |
9564 /* confdefs.h. */ | |
9565 _ACEOF | |
9566 cat confdefs.h >>conftest.$ac_ext | |
9567 cat >>conftest.$ac_ext <<_ACEOF | |
6769 /* end confdefs.h. */ | 9568 /* end confdefs.h. */ |
6770 | 9569 |
6771 /* Override any GCC internal prototype to avoid an error. | 9570 /* Override any GCC internal prototype to avoid an error. |
6772 Use char because int might match the return type of a GCC | 9571 Use char because int might match the return type of a GCC |
6773 builtin and then its argument prototype would still apply. */ | 9572 builtin and then its argument prototype would still apply. */ |
6781 return $SV_MODULE_FUNC (); | 9580 return $SV_MODULE_FUNC (); |
6782 ; | 9581 ; |
6783 return 0; | 9582 return 0; |
6784 } | 9583 } |
6785 _ACEOF | 9584 _ACEOF |
6786 if ac_fn_cxx_try_link "$LINENO"; then : | 9585 rm -f conftest.$ac_objext conftest$ac_exeext |
9586 if { (ac_try="$ac_link" | |
9587 case "(($ac_try" in | |
9588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9589 *) ac_try_echo=$ac_try;; | |
9590 esac | |
9591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9592 (eval "$ac_link") 2>conftest.er1 | |
9593 ac_status=$? | |
9594 grep -v '^ *+' conftest.er1 >conftest.err | |
9595 rm -f conftest.er1 | |
9596 cat conftest.err >&5 | |
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9598 (exit $ac_status); } && { | |
9599 test -z "$ac_cxx_werror_flag" || | |
9600 test ! -s conftest.err | |
9601 } && test -s conftest$ac_exeext && | |
9602 $as_test_x conftest$ac_exeext; then | |
6787 eval "$as_ac_Lib=yes" | 9603 eval "$as_ac_Lib=yes" |
6788 else | 9604 else |
6789 eval "$as_ac_Lib=no" | 9605 echo "$as_me: failed program was:" >&5 |
6790 fi | 9606 sed 's/^/| /' conftest.$ac_ext >&5 |
6791 rm -f core conftest.err conftest.$ac_objext \ | 9607 |
6792 conftest$ac_exeext conftest.$ac_ext | 9608 eval "$as_ac_Lib=no" |
9609 fi | |
9610 | |
9611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
9612 conftest$ac_exeext conftest.$ac_ext | |
6793 LIBS=$ac_check_lib_save_LIBS | 9613 LIBS=$ac_check_lib_save_LIBS |
6794 fi | 9614 fi |
6795 eval ac_res=\$$as_ac_Lib | 9615 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 9616 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6797 $as_echo "$ac_res" >&6; } | 9617 echo "${ECHO_T}$ac_res" >&6; } |
6798 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 9618 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6799 LIBS="$LIBS -l$SV_MODULE_LIB" | 9619 LIBS="$LIBS -l$SV_MODULE_LIB" |
6800 else | 9620 else |
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 9621 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6802 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 9622 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6803 fi | 9623 fi |
6804 | 9624 |
6805 fi | 9625 fi |
6806 fi | 9626 fi |
6807 fi | 9627 fi |
6813 SV_MODULE_LIB=fishsound | 9633 SV_MODULE_LIB=fishsound |
6814 SV_MODULE_FUNC=fish_sound_new | 9634 SV_MODULE_FUNC=fish_sound_new |
6815 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') | 9635 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') |
6816 SV_MODULE_FAILED=1 | 9636 SV_MODULE_FAILED=1 |
6817 if test -n "$fishsound_LIBS" ; then | 9637 if test -n "$fishsound_LIBS" ; then |
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 9638 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6819 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 9639 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6820 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" | 9640 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" |
6821 LIBS="$LIBS $fishsound_LIBS" | 9641 LIBS="$LIBS $fishsound_LIBS" |
6822 SV_MODULE_FAILED="" | 9642 SV_MODULE_FAILED="" |
6823 fi | 9643 fi |
6824 if test -z "$SV_MODULE_VERSION_TEST" ; then | 9644 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6825 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 9645 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6826 fi | 9646 fi |
6827 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 9647 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6828 | 9648 |
6829 pkg_failed=no | 9649 pkg_failed=no |
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 | 9650 { echo "$as_me:$LINENO: checking for fishsound" >&5 |
6831 $as_echo_n "checking for fishsound... " >&6; } | 9651 echo $ECHO_N "checking for fishsound... $ECHO_C" >&6; } |
6832 | 9652 |
6833 if test -n "$fishsound_CFLAGS"; then | 9653 if test -n "$fishsound_CFLAGS"; then |
6834 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" | 9654 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" |
6835 elif test -n "$PKG_CONFIG"; then | 9655 elif test -n "$PKG_CONFIG"; then |
6836 if test -n "$PKG_CONFIG" && \ | 9656 if test -n "$PKG_CONFIG" && \ |
6837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6838 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9658 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6839 ac_status=$? | 9659 ac_status=$? |
6840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6841 test $ac_status = 0; }; then | 9661 (exit $ac_status); }; then |
6842 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9662 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6843 else | 9663 else |
6844 pkg_failed=yes | 9664 pkg_failed=yes |
6845 fi | 9665 fi |
6846 else | 9666 else |
6848 fi | 9668 fi |
6849 if test -n "$fishsound_LIBS"; then | 9669 if test -n "$fishsound_LIBS"; then |
6850 pkg_cv_fishsound_LIBS="$fishsound_LIBS" | 9670 pkg_cv_fishsound_LIBS="$fishsound_LIBS" |
6851 elif test -n "$PKG_CONFIG"; then | 9671 elif test -n "$PKG_CONFIG"; then |
6852 if test -n "$PKG_CONFIG" && \ | 9672 if test -n "$PKG_CONFIG" && \ |
6853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9673 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6854 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9674 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6855 ac_status=$? | 9675 ac_status=$? |
6856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6857 test $ac_status = 0; }; then | 9677 (exit $ac_status); }; then |
6858 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9678 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6859 else | 9679 else |
6860 pkg_failed=yes | 9680 pkg_failed=yes |
6861 fi | 9681 fi |
6862 else | 9682 else |
6864 fi | 9684 fi |
6865 | 9685 |
6866 | 9686 |
6867 | 9687 |
6868 if test $pkg_failed = yes; then | 9688 if test $pkg_failed = yes; then |
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9689 { echo "$as_me:$LINENO: result: no" >&5 |
6870 $as_echo "no" >&6; } | 9690 echo "${ECHO_T}no" >&6; } |
6871 | 9691 |
6872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 9692 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6873 _pkg_short_errors_supported=yes | 9693 _pkg_short_errors_supported=yes |
6874 else | 9694 else |
6875 _pkg_short_errors_supported=no | 9695 _pkg_short_errors_supported=no |
6880 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 9700 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
6881 fi | 9701 fi |
6882 # Put the nasty error message in config.log where it belongs | 9702 # Put the nasty error message in config.log where it belongs |
6883 echo "$fishsound_PKG_ERRORS" >&5 | 9703 echo "$fishsound_PKG_ERRORS" >&5 |
6884 | 9704 |
6885 { $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 | 9705 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6886 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 9706 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6887 elif test $pkg_failed = untried; then | 9707 elif test $pkg_failed = untried; then |
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9708 { echo "$as_me:$LINENO: result: no" >&5 |
6889 $as_echo "no" >&6; } | 9709 echo "${ECHO_T}no" >&6; } |
6890 { $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 | 9710 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6891 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 9711 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6892 else | 9712 else |
6893 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS | 9713 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS |
6894 fishsound_LIBS=$pkg_cv_fishsound_LIBS | 9714 fishsound_LIBS=$pkg_cv_fishsound_LIBS |
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9715 { echo "$as_me:$LINENO: result: yes" >&5 |
6896 $as_echo "yes" >&6; } | 9716 echo "${ECHO_T}yes" >&6; } |
6897 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" | 9717 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" |
6898 fi | 9718 fi |
6899 fi | 9719 fi |
6900 if test -n "$SV_MODULE_FAILED"; then | 9720 if test -n "$SV_MODULE_FAILED"; then |
6901 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 9721 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6902 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 9722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6903 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 9723 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
9724 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
9725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
9726 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9727 fi | |
9728 ac_res=`eval echo '${'$as_ac_Header'}'` | |
9729 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9730 echo "${ECHO_T}$ac_res" >&6; } | |
9731 else | |
9732 # Is the header compilable? | |
9733 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
9734 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
9735 cat >conftest.$ac_ext <<_ACEOF | |
9736 /* confdefs.h. */ | |
9737 _ACEOF | |
9738 cat confdefs.h >>conftest.$ac_ext | |
9739 cat >>conftest.$ac_ext <<_ACEOF | |
9740 /* end confdefs.h. */ | |
9741 $ac_includes_default | |
9742 #include <$SV_MODULE_HEADER> | |
9743 _ACEOF | |
9744 rm -f conftest.$ac_objext | |
9745 if { (ac_try="$ac_compile" | |
9746 case "(($ac_try" in | |
9747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9748 *) ac_try_echo=$ac_try;; | |
9749 esac | |
9750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9751 (eval "$ac_compile") 2>conftest.er1 | |
9752 ac_status=$? | |
9753 grep -v '^ *+' conftest.er1 >conftest.err | |
9754 rm -f conftest.er1 | |
9755 cat conftest.err >&5 | |
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9757 (exit $ac_status); } && { | |
9758 test -z "$ac_cxx_werror_flag" || | |
9759 test ! -s conftest.err | |
9760 } && test -s conftest.$ac_objext; then | |
9761 ac_header_compiler=yes | |
9762 else | |
9763 echo "$as_me: failed program was:" >&5 | |
9764 sed 's/^/| /' conftest.$ac_ext >&5 | |
9765 | |
9766 ac_header_compiler=no | |
9767 fi | |
9768 | |
9769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
9770 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
9771 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
9772 | |
9773 # Is the header present? | |
9774 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
9775 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
9776 cat >conftest.$ac_ext <<_ACEOF | |
9777 /* confdefs.h. */ | |
9778 _ACEOF | |
9779 cat confdefs.h >>conftest.$ac_ext | |
9780 cat >>conftest.$ac_ext <<_ACEOF | |
9781 /* end confdefs.h. */ | |
9782 #include <$SV_MODULE_HEADER> | |
9783 _ACEOF | |
9784 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
9785 case "(($ac_try" in | |
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9787 *) ac_try_echo=$ac_try;; | |
9788 esac | |
9789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9791 ac_status=$? | |
9792 grep -v '^ *+' conftest.er1 >conftest.err | |
9793 rm -f conftest.er1 | |
9794 cat conftest.err >&5 | |
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9796 (exit $ac_status); } >/dev/null && { | |
9797 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
9798 test ! -s conftest.err | |
9799 }; then | |
9800 ac_header_preproc=yes | |
9801 else | |
9802 echo "$as_me: failed program was:" >&5 | |
9803 sed 's/^/| /' conftest.$ac_ext >&5 | |
9804 | |
9805 ac_header_preproc=no | |
9806 fi | |
9807 | |
9808 rm -f conftest.err conftest.$ac_ext | |
9809 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
9810 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
9811 | |
9812 # So? What about this header? | |
9813 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
9814 yes:no: ) | |
9815 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
9816 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
9817 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
9818 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
9819 ac_header_preproc=yes | |
9820 ;; | |
9821 no:yes:* ) | |
9822 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
9823 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
9824 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
9825 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
9826 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
9827 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
9828 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
9829 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
9830 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
9831 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
9832 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
9833 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
9834 ( cat <<\_ASBOX | |
9835 ## ------------------------------------------- ## | |
9836 ## Report this to cannam@all-day-breakfast.com ## | |
9837 ## ------------------------------------------- ## | |
9838 _ASBOX | |
9839 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
9840 ;; | |
9841 esac | |
9842 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
9843 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
9844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
9845 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9846 else | |
9847 eval "$as_ac_Header=\$ac_header_preproc" | |
9848 fi | |
9849 ac_res=`eval echo '${'$as_ac_Header'}'` | |
9850 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9851 echo "${ECHO_T}$ac_res" >&6; } | |
9852 | |
9853 fi | |
9854 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
6904 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 9855 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6905 else | 9856 else |
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 9857 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6907 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 9858 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6908 fi | 9859 fi |
6909 | 9860 |
6910 | 9861 |
6911 if test -z "$SV_MODULE_FAILED"; then | 9862 if test -z "$SV_MODULE_FAILED"; then |
6912 if test -n "$SV_MODULE_LIB"; then | 9863 if test -n "$SV_MODULE_LIB"; then |
6913 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 9864 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 9865 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6915 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 9866 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
6916 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 9867 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
6917 $as_echo_n "(cached) " >&6 | 9868 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6918 else | 9869 else |
6919 ac_check_lib_save_LIBS=$LIBS | 9870 ac_check_lib_save_LIBS=$LIBS |
6920 LIBS="-l$SV_MODULE_LIB $LIBS" | 9871 LIBS="-l$SV_MODULE_LIB $LIBS" |
6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9872 cat >conftest.$ac_ext <<_ACEOF |
9873 /* confdefs.h. */ | |
9874 _ACEOF | |
9875 cat confdefs.h >>conftest.$ac_ext | |
9876 cat >>conftest.$ac_ext <<_ACEOF | |
6922 /* end confdefs.h. */ | 9877 /* end confdefs.h. */ |
6923 | 9878 |
6924 /* Override any GCC internal prototype to avoid an error. | 9879 /* Override any GCC internal prototype to avoid an error. |
6925 Use char because int might match the return type of a GCC | 9880 Use char because int might match the return type of a GCC |
6926 builtin and then its argument prototype would still apply. */ | 9881 builtin and then its argument prototype would still apply. */ |
6934 return $SV_MODULE_FUNC (); | 9889 return $SV_MODULE_FUNC (); |
6935 ; | 9890 ; |
6936 return 0; | 9891 return 0; |
6937 } | 9892 } |
6938 _ACEOF | 9893 _ACEOF |
6939 if ac_fn_cxx_try_link "$LINENO"; then : | 9894 rm -f conftest.$ac_objext conftest$ac_exeext |
9895 if { (ac_try="$ac_link" | |
9896 case "(($ac_try" in | |
9897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9898 *) ac_try_echo=$ac_try;; | |
9899 esac | |
9900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9901 (eval "$ac_link") 2>conftest.er1 | |
9902 ac_status=$? | |
9903 grep -v '^ *+' conftest.er1 >conftest.err | |
9904 rm -f conftest.er1 | |
9905 cat conftest.err >&5 | |
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9907 (exit $ac_status); } && { | |
9908 test -z "$ac_cxx_werror_flag" || | |
9909 test ! -s conftest.err | |
9910 } && test -s conftest$ac_exeext && | |
9911 $as_test_x conftest$ac_exeext; then | |
6940 eval "$as_ac_Lib=yes" | 9912 eval "$as_ac_Lib=yes" |
6941 else | 9913 else |
6942 eval "$as_ac_Lib=no" | 9914 echo "$as_me: failed program was:" >&5 |
6943 fi | 9915 sed 's/^/| /' conftest.$ac_ext >&5 |
6944 rm -f core conftest.err conftest.$ac_objext \ | 9916 |
6945 conftest$ac_exeext conftest.$ac_ext | 9917 eval "$as_ac_Lib=no" |
9918 fi | |
9919 | |
9920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
9921 conftest$ac_exeext conftest.$ac_ext | |
6946 LIBS=$ac_check_lib_save_LIBS | 9922 LIBS=$ac_check_lib_save_LIBS |
6947 fi | 9923 fi |
6948 eval ac_res=\$$as_ac_Lib | 9924 ac_res=`eval echo '${'$as_ac_Lib'}'` |
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 9925 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6950 $as_echo "$ac_res" >&6; } | 9926 echo "${ECHO_T}$ac_res" >&6; } |
6951 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 9927 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
6952 LIBS="$LIBS -l$SV_MODULE_LIB" | 9928 LIBS="$LIBS -l$SV_MODULE_LIB" |
6953 else | 9929 else |
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 9930 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6955 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 9931 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6956 fi | 9932 fi |
6957 | 9933 |
6958 fi | 9934 fi |
6959 fi | 9935 fi |
6960 fi | 9936 fi |
6966 SV_MODULE_LIB=mad | 9942 SV_MODULE_LIB=mad |
6967 SV_MODULE_FUNC=mad_decoder_init | 9943 SV_MODULE_FUNC=mad_decoder_init |
6968 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') | 9944 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') |
6969 SV_MODULE_FAILED=1 | 9945 SV_MODULE_FAILED=1 |
6970 if test -n "$mad_LIBS" ; then | 9946 if test -n "$mad_LIBS" ; then |
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 9947 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6972 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 9948 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6973 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" | 9949 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" |
6974 LIBS="$LIBS $mad_LIBS" | 9950 LIBS="$LIBS $mad_LIBS" |
6975 SV_MODULE_FAILED="" | 9951 SV_MODULE_FAILED="" |
6976 fi | 9952 fi |
6977 if test -z "$SV_MODULE_VERSION_TEST" ; then | 9953 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6978 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 9954 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6979 fi | 9955 fi |
6980 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 9956 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6981 | 9957 |
6982 pkg_failed=no | 9958 pkg_failed=no |
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 | 9959 { echo "$as_me:$LINENO: checking for mad" >&5 |
6984 $as_echo_n "checking for mad... " >&6; } | 9960 echo $ECHO_N "checking for mad... $ECHO_C" >&6; } |
6985 | 9961 |
6986 if test -n "$mad_CFLAGS"; then | 9962 if test -n "$mad_CFLAGS"; then |
6987 pkg_cv_mad_CFLAGS="$mad_CFLAGS" | 9963 pkg_cv_mad_CFLAGS="$mad_CFLAGS" |
6988 elif test -n "$PKG_CONFIG"; then | 9964 elif test -n "$PKG_CONFIG"; then |
6989 if test -n "$PKG_CONFIG" && \ | 9965 if test -n "$PKG_CONFIG" && \ |
6990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9966 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
6991 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9967 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6992 ac_status=$? | 9968 ac_status=$? |
6993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6994 test $ac_status = 0; }; then | 9970 (exit $ac_status); }; then |
6995 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9971 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6996 else | 9972 else |
6997 pkg_failed=yes | 9973 pkg_failed=yes |
6998 fi | 9974 fi |
6999 else | 9975 else |
7001 fi | 9977 fi |
7002 if test -n "$mad_LIBS"; then | 9978 if test -n "$mad_LIBS"; then |
7003 pkg_cv_mad_LIBS="$mad_LIBS" | 9979 pkg_cv_mad_LIBS="$mad_LIBS" |
7004 elif test -n "$PKG_CONFIG"; then | 9980 elif test -n "$PKG_CONFIG"; then |
7005 if test -n "$PKG_CONFIG" && \ | 9981 if test -n "$PKG_CONFIG" && \ |
7006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 9982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
7007 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 9983 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
7008 ac_status=$? | 9984 ac_status=$? |
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7010 test $ac_status = 0; }; then | 9986 (exit $ac_status); }; then |
7011 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 9987 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
7012 else | 9988 else |
7013 pkg_failed=yes | 9989 pkg_failed=yes |
7014 fi | 9990 fi |
7015 else | 9991 else |
7017 fi | 9993 fi |
7018 | 9994 |
7019 | 9995 |
7020 | 9996 |
7021 if test $pkg_failed = yes; then | 9997 if test $pkg_failed = yes; then |
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9998 { echo "$as_me:$LINENO: result: no" >&5 |
7023 $as_echo "no" >&6; } | 9999 echo "${ECHO_T}no" >&6; } |
7024 | 10000 |
7025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 10001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
7026 _pkg_short_errors_supported=yes | 10002 _pkg_short_errors_supported=yes |
7027 else | 10003 else |
7028 _pkg_short_errors_supported=no | 10004 _pkg_short_errors_supported=no |
7033 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 10009 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
7034 fi | 10010 fi |
7035 # Put the nasty error message in config.log where it belongs | 10011 # Put the nasty error message in config.log where it belongs |
7036 echo "$mad_PKG_ERRORS" >&5 | 10012 echo "$mad_PKG_ERRORS" >&5 |
7037 | 10013 |
7038 { $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 | 10014 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
7039 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 10015 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
7040 elif test $pkg_failed = untried; then | 10016 elif test $pkg_failed = untried; then |
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 10017 { echo "$as_me:$LINENO: result: no" >&5 |
7042 $as_echo "no" >&6; } | 10018 echo "${ECHO_T}no" >&6; } |
7043 { $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 | 10019 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
7044 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 10020 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
7045 else | 10021 else |
7046 mad_CFLAGS=$pkg_cv_mad_CFLAGS | 10022 mad_CFLAGS=$pkg_cv_mad_CFLAGS |
7047 mad_LIBS=$pkg_cv_mad_LIBS | 10023 mad_LIBS=$pkg_cv_mad_LIBS |
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 10024 { echo "$as_me:$LINENO: result: yes" >&5 |
7049 $as_echo "yes" >&6; } | 10025 echo "${ECHO_T}yes" >&6; } |
7050 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" | 10026 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" |
7051 fi | 10027 fi |
7052 fi | 10028 fi |
7053 if test -n "$SV_MODULE_FAILED"; then | 10029 if test -n "$SV_MODULE_FAILED"; then |
7054 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 10030 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
7055 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 10031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 10032 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
10033 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
10034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
10035 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10036 fi | |
10037 ac_res=`eval echo '${'$as_ac_Header'}'` | |
10038 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10039 echo "${ECHO_T}$ac_res" >&6; } | |
10040 else | |
10041 # Is the header compilable? | |
10042 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
10043 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
10044 cat >conftest.$ac_ext <<_ACEOF | |
10045 /* confdefs.h. */ | |
10046 _ACEOF | |
10047 cat confdefs.h >>conftest.$ac_ext | |
10048 cat >>conftest.$ac_ext <<_ACEOF | |
10049 /* end confdefs.h. */ | |
10050 $ac_includes_default | |
10051 #include <$SV_MODULE_HEADER> | |
10052 _ACEOF | |
10053 rm -f conftest.$ac_objext | |
10054 if { (ac_try="$ac_compile" | |
10055 case "(($ac_try" in | |
10056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10057 *) ac_try_echo=$ac_try;; | |
10058 esac | |
10059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10060 (eval "$ac_compile") 2>conftest.er1 | |
10061 ac_status=$? | |
10062 grep -v '^ *+' conftest.er1 >conftest.err | |
10063 rm -f conftest.er1 | |
10064 cat conftest.err >&5 | |
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10066 (exit $ac_status); } && { | |
10067 test -z "$ac_cxx_werror_flag" || | |
10068 test ! -s conftest.err | |
10069 } && test -s conftest.$ac_objext; then | |
10070 ac_header_compiler=yes | |
10071 else | |
10072 echo "$as_me: failed program was:" >&5 | |
10073 sed 's/^/| /' conftest.$ac_ext >&5 | |
10074 | |
10075 ac_header_compiler=no | |
10076 fi | |
10077 | |
10078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
10079 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10080 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
10081 | |
10082 # Is the header present? | |
10083 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
10084 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
10085 cat >conftest.$ac_ext <<_ACEOF | |
10086 /* confdefs.h. */ | |
10087 _ACEOF | |
10088 cat confdefs.h >>conftest.$ac_ext | |
10089 cat >>conftest.$ac_ext <<_ACEOF | |
10090 /* end confdefs.h. */ | |
10091 #include <$SV_MODULE_HEADER> | |
10092 _ACEOF | |
10093 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
10094 case "(($ac_try" in | |
10095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10096 *) ac_try_echo=$ac_try;; | |
10097 esac | |
10098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10100 ac_status=$? | |
10101 grep -v '^ *+' conftest.er1 >conftest.err | |
10102 rm -f conftest.er1 | |
10103 cat conftest.err >&5 | |
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10105 (exit $ac_status); } >/dev/null && { | |
10106 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
10107 test ! -s conftest.err | |
10108 }; then | |
10109 ac_header_preproc=yes | |
10110 else | |
10111 echo "$as_me: failed program was:" >&5 | |
10112 sed 's/^/| /' conftest.$ac_ext >&5 | |
10113 | |
10114 ac_header_preproc=no | |
10115 fi | |
10116 | |
10117 rm -f conftest.err conftest.$ac_ext | |
10118 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
10119 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
10120 | |
10121 # So? What about this header? | |
10122 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
10123 yes:no: ) | |
10124 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10125 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10126 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
10127 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
10128 ac_header_preproc=yes | |
10129 ;; | |
10130 no:yes:* ) | |
10131 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
10132 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
10133 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
10134 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
10135 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
10136 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
10137 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
10138 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
10139 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
10140 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
10141 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
10142 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
10143 ( cat <<\_ASBOX | |
10144 ## ------------------------------------------- ## | |
10145 ## Report this to cannam@all-day-breakfast.com ## | |
10146 ## ------------------------------------------- ## | |
10147 _ASBOX | |
10148 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
10149 ;; | |
10150 esac | |
10151 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
10152 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
10153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
10154 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10155 else | |
10156 eval "$as_ac_Header=\$ac_header_preproc" | |
10157 fi | |
10158 ac_res=`eval echo '${'$as_ac_Header'}'` | |
10159 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10160 echo "${ECHO_T}$ac_res" >&6; } | |
10161 | |
10162 fi | |
10163 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
7057 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 10164 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
7058 else | 10165 else |
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 10166 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
7060 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 10167 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
7061 fi | 10168 fi |
7062 | 10169 |
7063 | 10170 |
7064 if test -z "$SV_MODULE_FAILED"; then | 10171 if test -z "$SV_MODULE_FAILED"; then |
7065 if test -n "$SV_MODULE_LIB"; then | 10172 if test -n "$SV_MODULE_LIB"; then |
7066 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 10173 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 10174 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
7068 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 10175 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
7069 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 10176 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
7070 $as_echo_n "(cached) " >&6 | 10177 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7071 else | 10178 else |
7072 ac_check_lib_save_LIBS=$LIBS | 10179 ac_check_lib_save_LIBS=$LIBS |
7073 LIBS="-l$SV_MODULE_LIB $LIBS" | 10180 LIBS="-l$SV_MODULE_LIB $LIBS" |
7074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10181 cat >conftest.$ac_ext <<_ACEOF |
10182 /* confdefs.h. */ | |
10183 _ACEOF | |
10184 cat confdefs.h >>conftest.$ac_ext | |
10185 cat >>conftest.$ac_ext <<_ACEOF | |
7075 /* end confdefs.h. */ | 10186 /* end confdefs.h. */ |
7076 | 10187 |
7077 /* Override any GCC internal prototype to avoid an error. | 10188 /* Override any GCC internal prototype to avoid an error. |
7078 Use char because int might match the return type of a GCC | 10189 Use char because int might match the return type of a GCC |
7079 builtin and then its argument prototype would still apply. */ | 10190 builtin and then its argument prototype would still apply. */ |
7087 return $SV_MODULE_FUNC (); | 10198 return $SV_MODULE_FUNC (); |
7088 ; | 10199 ; |
7089 return 0; | 10200 return 0; |
7090 } | 10201 } |
7091 _ACEOF | 10202 _ACEOF |
7092 if ac_fn_cxx_try_link "$LINENO"; then : | 10203 rm -f conftest.$ac_objext conftest$ac_exeext |
10204 if { (ac_try="$ac_link" | |
10205 case "(($ac_try" in | |
10206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10207 *) ac_try_echo=$ac_try;; | |
10208 esac | |
10209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10210 (eval "$ac_link") 2>conftest.er1 | |
10211 ac_status=$? | |
10212 grep -v '^ *+' conftest.er1 >conftest.err | |
10213 rm -f conftest.er1 | |
10214 cat conftest.err >&5 | |
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10216 (exit $ac_status); } && { | |
10217 test -z "$ac_cxx_werror_flag" || | |
10218 test ! -s conftest.err | |
10219 } && test -s conftest$ac_exeext && | |
10220 $as_test_x conftest$ac_exeext; then | |
7093 eval "$as_ac_Lib=yes" | 10221 eval "$as_ac_Lib=yes" |
7094 else | 10222 else |
7095 eval "$as_ac_Lib=no" | 10223 echo "$as_me: failed program was:" >&5 |
7096 fi | 10224 sed 's/^/| /' conftest.$ac_ext >&5 |
7097 rm -f core conftest.err conftest.$ac_objext \ | 10225 |
7098 conftest$ac_exeext conftest.$ac_ext | 10226 eval "$as_ac_Lib=no" |
10227 fi | |
10228 | |
10229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10230 conftest$ac_exeext conftest.$ac_ext | |
7099 LIBS=$ac_check_lib_save_LIBS | 10231 LIBS=$ac_check_lib_save_LIBS |
7100 fi | 10232 fi |
7101 eval ac_res=\$$as_ac_Lib | 10233 ac_res=`eval echo '${'$as_ac_Lib'}'` |
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 10234 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7103 $as_echo "$ac_res" >&6; } | 10235 echo "${ECHO_T}$ac_res" >&6; } |
7104 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 10236 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
7105 LIBS="$LIBS -l$SV_MODULE_LIB" | 10237 LIBS="$LIBS -l$SV_MODULE_LIB" |
7106 else | 10238 else |
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 10239 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
7108 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 10240 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
7109 fi | 10241 fi |
7110 | 10242 |
7111 fi | 10243 fi |
7112 fi | 10244 fi |
7113 fi | 10245 fi |
7119 SV_MODULE_LIB=id3tag | 10251 SV_MODULE_LIB=id3tag |
7120 SV_MODULE_FUNC=id3_tag_new | 10252 SV_MODULE_FUNC=id3_tag_new |
7121 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') | 10253 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') |
7122 SV_MODULE_FAILED=1 | 10254 SV_MODULE_FAILED=1 |
7123 if test -n "$id3tag_LIBS" ; then | 10255 if test -n "$id3tag_LIBS" ; then |
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 10256 { echo "$as_me:$LINENO: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
7125 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 10257 echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
7126 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" | 10258 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" |
7127 LIBS="$LIBS $id3tag_LIBS" | 10259 LIBS="$LIBS $id3tag_LIBS" |
7128 SV_MODULE_FAILED="" | 10260 SV_MODULE_FAILED="" |
7129 fi | 10261 fi |
7130 if test -z "$SV_MODULE_VERSION_TEST" ; then | 10262 if test -z "$SV_MODULE_VERSION_TEST" ; then |
7131 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 10263 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
7132 fi | 10264 fi |
7133 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 10265 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
7134 | 10266 |
7135 pkg_failed=no | 10267 pkg_failed=no |
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 | 10268 { echo "$as_me:$LINENO: checking for id3tag" >&5 |
7137 $as_echo_n "checking for id3tag... " >&6; } | 10269 echo $ECHO_N "checking for id3tag... $ECHO_C" >&6; } |
7138 | 10270 |
7139 if test -n "$id3tag_CFLAGS"; then | 10271 if test -n "$id3tag_CFLAGS"; then |
7140 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" | 10272 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" |
7141 elif test -n "$PKG_CONFIG"; then | 10273 elif test -n "$PKG_CONFIG"; then |
7142 if test -n "$PKG_CONFIG" && \ | 10274 if test -n "$PKG_CONFIG" && \ |
7143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 10275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
7144 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 10276 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
7145 ac_status=$? | 10277 ac_status=$? |
7146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7147 test $ac_status = 0; }; then | 10279 (exit $ac_status); }; then |
7148 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 10280 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
7149 else | 10281 else |
7150 pkg_failed=yes | 10282 pkg_failed=yes |
7151 fi | 10283 fi |
7152 else | 10284 else |
7154 fi | 10286 fi |
7155 if test -n "$id3tag_LIBS"; then | 10287 if test -n "$id3tag_LIBS"; then |
7156 pkg_cv_id3tag_LIBS="$id3tag_LIBS" | 10288 pkg_cv_id3tag_LIBS="$id3tag_LIBS" |
7157 elif test -n "$PKG_CONFIG"; then | 10289 elif test -n "$PKG_CONFIG"; then |
7158 if test -n "$PKG_CONFIG" && \ | 10290 if test -n "$PKG_CONFIG" && \ |
7159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 10291 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\"") >&5 |
7160 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 10292 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
7161 ac_status=$? | 10293 ac_status=$? |
7162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7163 test $ac_status = 0; }; then | 10295 (exit $ac_status); }; then |
7164 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 10296 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
7165 else | 10297 else |
7166 pkg_failed=yes | 10298 pkg_failed=yes |
7167 fi | 10299 fi |
7168 else | 10300 else |
7170 fi | 10302 fi |
7171 | 10303 |
7172 | 10304 |
7173 | 10305 |
7174 if test $pkg_failed = yes; then | 10306 if test $pkg_failed = yes; then |
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 10307 { echo "$as_me:$LINENO: result: no" >&5 |
7176 $as_echo "no" >&6; } | 10308 echo "${ECHO_T}no" >&6; } |
7177 | 10309 |
7178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 10310 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
7179 _pkg_short_errors_supported=yes | 10311 _pkg_short_errors_supported=yes |
7180 else | 10312 else |
7181 _pkg_short_errors_supported=no | 10313 _pkg_short_errors_supported=no |
7186 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` | 10318 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SV_MODULE_VERSION_TEST" 2>&1` |
7187 fi | 10319 fi |
7188 # Put the nasty error message in config.log where it belongs | 10320 # Put the nasty error message in config.log where it belongs |
7189 echo "$id3tag_PKG_ERRORS" >&5 | 10321 echo "$id3tag_PKG_ERRORS" >&5 |
7190 | 10322 |
7191 { $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 | 10323 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
7192 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 10324 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
7193 elif test $pkg_failed = untried; then | 10325 elif test $pkg_failed = untried; then |
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 10326 { echo "$as_me:$LINENO: result: no" >&5 |
7195 $as_echo "no" >&6; } | 10327 echo "${ECHO_T}no" >&6; } |
7196 { $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 | 10328 { echo "$as_me:$LINENO: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
7197 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 10329 echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
7198 else | 10330 else |
7199 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | 10331 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS |
7200 id3tag_LIBS=$pkg_cv_id3tag_LIBS | 10332 id3tag_LIBS=$pkg_cv_id3tag_LIBS |
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 10333 { echo "$as_me:$LINENO: result: yes" >&5 |
7202 $as_echo "yes" >&6; } | 10334 echo "${ECHO_T}yes" >&6; } |
7203 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | 10335 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" |
7204 fi | 10336 fi |
7205 fi | 10337 fi |
7206 if test -n "$SV_MODULE_FAILED"; then | 10338 if test -n "$SV_MODULE_FAILED"; then |
7207 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 10339 as_ac_Header=`echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
7208 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 10340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7209 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 10341 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 |
10342 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
10343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
10344 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10345 fi | |
10346 ac_res=`eval echo '${'$as_ac_Header'}'` | |
10347 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10348 echo "${ECHO_T}$ac_res" >&6; } | |
10349 else | |
10350 # Is the header compilable? | |
10351 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER usability" >&5 | |
10352 echo $ECHO_N "checking $SV_MODULE_HEADER usability... $ECHO_C" >&6; } | |
10353 cat >conftest.$ac_ext <<_ACEOF | |
10354 /* confdefs.h. */ | |
10355 _ACEOF | |
10356 cat confdefs.h >>conftest.$ac_ext | |
10357 cat >>conftest.$ac_ext <<_ACEOF | |
10358 /* end confdefs.h. */ | |
10359 $ac_includes_default | |
10360 #include <$SV_MODULE_HEADER> | |
10361 _ACEOF | |
10362 rm -f conftest.$ac_objext | |
10363 if { (ac_try="$ac_compile" | |
10364 case "(($ac_try" in | |
10365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10366 *) ac_try_echo=$ac_try;; | |
10367 esac | |
10368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10369 (eval "$ac_compile") 2>conftest.er1 | |
10370 ac_status=$? | |
10371 grep -v '^ *+' conftest.er1 >conftest.err | |
10372 rm -f conftest.er1 | |
10373 cat conftest.err >&5 | |
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10375 (exit $ac_status); } && { | |
10376 test -z "$ac_cxx_werror_flag" || | |
10377 test ! -s conftest.err | |
10378 } && test -s conftest.$ac_objext; then | |
10379 ac_header_compiler=yes | |
10380 else | |
10381 echo "$as_me: failed program was:" >&5 | |
10382 sed 's/^/| /' conftest.$ac_ext >&5 | |
10383 | |
10384 ac_header_compiler=no | |
10385 fi | |
10386 | |
10387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
10388 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
10389 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
10390 | |
10391 # Is the header present? | |
10392 { echo "$as_me:$LINENO: checking $SV_MODULE_HEADER presence" >&5 | |
10393 echo $ECHO_N "checking $SV_MODULE_HEADER presence... $ECHO_C" >&6; } | |
10394 cat >conftest.$ac_ext <<_ACEOF | |
10395 /* confdefs.h. */ | |
10396 _ACEOF | |
10397 cat confdefs.h >>conftest.$ac_ext | |
10398 cat >>conftest.$ac_ext <<_ACEOF | |
10399 /* end confdefs.h. */ | |
10400 #include <$SV_MODULE_HEADER> | |
10401 _ACEOF | |
10402 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
10403 case "(($ac_try" in | |
10404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10405 *) ac_try_echo=$ac_try;; | |
10406 esac | |
10407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10409 ac_status=$? | |
10410 grep -v '^ *+' conftest.er1 >conftest.err | |
10411 rm -f conftest.er1 | |
10412 cat conftest.err >&5 | |
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10414 (exit $ac_status); } >/dev/null && { | |
10415 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | |
10416 test ! -s conftest.err | |
10417 }; then | |
10418 ac_header_preproc=yes | |
10419 else | |
10420 echo "$as_me: failed program was:" >&5 | |
10421 sed 's/^/| /' conftest.$ac_ext >&5 | |
10422 | |
10423 ac_header_preproc=no | |
10424 fi | |
10425 | |
10426 rm -f conftest.err conftest.$ac_ext | |
10427 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
10428 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
10429 | |
10430 # So? What about this header? | |
10431 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
10432 yes:no: ) | |
10433 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&5 | |
10434 echo "$as_me: WARNING: $SV_MODULE_HEADER: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
10435 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&5 | |
10436 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the compiler's result" >&2;} | |
10437 ac_header_preproc=yes | |
10438 ;; | |
10439 no:yes:* ) | |
10440 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&5 | |
10441 echo "$as_me: WARNING: $SV_MODULE_HEADER: present but cannot be compiled" >&2;} | |
10442 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&5 | |
10443 echo "$as_me: WARNING: $SV_MODULE_HEADER: check for missing prerequisite headers?" >&2;} | |
10444 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&5 | |
10445 echo "$as_me: WARNING: $SV_MODULE_HEADER: see the Autoconf documentation" >&2;} | |
10446 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&5 | |
10447 echo "$as_me: WARNING: $SV_MODULE_HEADER: section \"Present But Cannot Be Compiled\"" >&2;} | |
10448 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&5 | |
10449 echo "$as_me: WARNING: $SV_MODULE_HEADER: proceeding with the preprocessor's result" >&2;} | |
10450 { echo "$as_me:$LINENO: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&5 | |
10451 echo "$as_me: WARNING: $SV_MODULE_HEADER: in the future, the compiler will take precedence" >&2;} | |
10452 ( cat <<\_ASBOX | |
10453 ## ------------------------------------------- ## | |
10454 ## Report this to cannam@all-day-breakfast.com ## | |
10455 ## ------------------------------------------- ## | |
10456 _ASBOX | |
10457 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
10458 ;; | |
10459 esac | |
10460 { echo "$as_me:$LINENO: checking for $SV_MODULE_HEADER" >&5 | |
10461 echo $ECHO_N "checking for $SV_MODULE_HEADER... $ECHO_C" >&6; } | |
10462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
10463 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10464 else | |
10465 eval "$as_ac_Header=\$ac_header_preproc" | |
10466 fi | |
10467 ac_res=`eval echo '${'$as_ac_Header'}'` | |
10468 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10469 echo "${ECHO_T}$ac_res" >&6; } | |
10470 | |
10471 fi | |
10472 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
7210 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 10473 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
7211 else | 10474 else |
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 10475 { echo "$as_me:$LINENO: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
7213 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 10476 echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
7214 fi | 10477 fi |
7215 | 10478 |
7216 | 10479 |
7217 if test -z "$SV_MODULE_FAILED"; then | 10480 if test -z "$SV_MODULE_FAILED"; then |
7218 if test -n "$SV_MODULE_LIB"; then | 10481 if test -n "$SV_MODULE_LIB"; then |
7219 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 10482 as_ac_Lib=`echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 10483 { echo "$as_me:$LINENO: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
7221 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 10484 echo $ECHO_N "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... $ECHO_C" >&6; } |
7222 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : | 10485 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
7223 $as_echo_n "(cached) " >&6 | 10486 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7224 else | 10487 else |
7225 ac_check_lib_save_LIBS=$LIBS | 10488 ac_check_lib_save_LIBS=$LIBS |
7226 LIBS="-l$SV_MODULE_LIB $LIBS" | 10489 LIBS="-l$SV_MODULE_LIB $LIBS" |
7227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10490 cat >conftest.$ac_ext <<_ACEOF |
10491 /* confdefs.h. */ | |
10492 _ACEOF | |
10493 cat confdefs.h >>conftest.$ac_ext | |
10494 cat >>conftest.$ac_ext <<_ACEOF | |
7228 /* end confdefs.h. */ | 10495 /* end confdefs.h. */ |
7229 | 10496 |
7230 /* Override any GCC internal prototype to avoid an error. | 10497 /* Override any GCC internal prototype to avoid an error. |
7231 Use char because int might match the return type of a GCC | 10498 Use char because int might match the return type of a GCC |
7232 builtin and then its argument prototype would still apply. */ | 10499 builtin and then its argument prototype would still apply. */ |
7240 return $SV_MODULE_FUNC (); | 10507 return $SV_MODULE_FUNC (); |
7241 ; | 10508 ; |
7242 return 0; | 10509 return 0; |
7243 } | 10510 } |
7244 _ACEOF | 10511 _ACEOF |
7245 if ac_fn_cxx_try_link "$LINENO"; then : | 10512 rm -f conftest.$ac_objext conftest$ac_exeext |
10513 if { (ac_try="$ac_link" | |
10514 case "(($ac_try" in | |
10515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10516 *) ac_try_echo=$ac_try;; | |
10517 esac | |
10518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10519 (eval "$ac_link") 2>conftest.er1 | |
10520 ac_status=$? | |
10521 grep -v '^ *+' conftest.er1 >conftest.err | |
10522 rm -f conftest.er1 | |
10523 cat conftest.err >&5 | |
10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10525 (exit $ac_status); } && { | |
10526 test -z "$ac_cxx_werror_flag" || | |
10527 test ! -s conftest.err | |
10528 } && test -s conftest$ac_exeext && | |
10529 $as_test_x conftest$ac_exeext; then | |
7246 eval "$as_ac_Lib=yes" | 10530 eval "$as_ac_Lib=yes" |
7247 else | 10531 else |
7248 eval "$as_ac_Lib=no" | 10532 echo "$as_me: failed program was:" >&5 |
7249 fi | 10533 sed 's/^/| /' conftest.$ac_ext >&5 |
7250 rm -f core conftest.err conftest.$ac_objext \ | 10534 |
7251 conftest$ac_exeext conftest.$ac_ext | 10535 eval "$as_ac_Lib=no" |
10536 fi | |
10537 | |
10538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
10539 conftest$ac_exeext conftest.$ac_ext | |
7252 LIBS=$ac_check_lib_save_LIBS | 10540 LIBS=$ac_check_lib_save_LIBS |
7253 fi | 10541 fi |
7254 eval ac_res=\$$as_ac_Lib | 10542 ac_res=`eval echo '${'$as_ac_Lib'}'` |
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 10543 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7256 $as_echo "$ac_res" >&6; } | 10544 echo "${ECHO_T}$ac_res" >&6; } |
7257 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 10545 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
7258 LIBS="$LIBS -l$SV_MODULE_LIB" | 10546 LIBS="$LIBS -l$SV_MODULE_LIB" |
7259 else | 10547 else |
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 10548 { echo "$as_me:$LINENO: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
7261 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 10549 echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
7262 fi | 10550 fi |
7263 | 10551 |
7264 fi | 10552 fi |
7265 fi | 10553 fi |
7266 fi | 10554 fi |
7312 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 10600 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
7313 eval ac_val=\$$ac_var | 10601 eval ac_val=\$$ac_var |
7314 case $ac_val in #( | 10602 case $ac_val in #( |
7315 *${as_nl}*) | 10603 *${as_nl}*) |
7316 case $ac_var in #( | 10604 case $ac_var in #( |
7317 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 10605 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
7318 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 10606 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
7319 esac | 10607 esac |
7320 case $ac_var in #( | 10608 case $ac_var in #( |
7321 _ | IFS | as_nl) ;; #( | 10609 _ | IFS | as_nl) ;; #( |
7322 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 10610 *) $as_unset $ac_var ;; |
7323 *) { eval $ac_var=; unset $ac_var;} ;; | |
7324 esac ;; | 10611 esac ;; |
7325 esac | 10612 esac |
7326 done | 10613 done |
7327 | 10614 |
7328 (set) 2>&1 | | 10615 (set) 2>&1 | |
7329 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 10616 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
7330 *${as_nl}ac_space=\ *) | 10617 *${as_nl}ac_space=\ *) |
7331 # `set' does not quote correctly, so add quotes: double-quote | 10618 # `set' does not quote correctly, so add quotes (double-quote |
7332 # substitution turns \\\\ into \\, and sed turns \\ into \. | 10619 # substitution turns \\\\ into \\, and sed turns \\ into \). |
7333 sed -n \ | 10620 sed -n \ |
7334 "s/'/'\\\\''/g; | 10621 "s/'/'\\\\''/g; |
7335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 10622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7336 ;; #( | 10623 ;; #( |
7337 *) | 10624 *) |
7350 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 10637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7351 :end' >>confcache | 10638 :end' >>confcache |
7352 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 10639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7353 if test -w "$cache_file"; then | 10640 if test -w "$cache_file"; then |
7354 test "x$cache_file" != "x/dev/null" && | 10641 test "x$cache_file" != "x/dev/null" && |
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 10642 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
7356 $as_echo "$as_me: updating cache $cache_file" >&6;} | 10643 echo "$as_me: updating cache $cache_file" >&6;} |
7357 cat confcache >$cache_file | 10644 cat confcache >$cache_file |
7358 else | 10645 else |
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 10646 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
7360 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 10647 echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7361 fi | 10648 fi |
7362 fi | 10649 fi |
7363 rm -f confcache | 10650 rm -f confcache |
7364 | 10651 |
7365 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 10652 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
7372 # | 10659 # |
7373 # If the first sed substitution is executed (which looks for macros that | 10660 # If the first sed substitution is executed (which looks for macros that |
7374 # take arguments), then branch to the quote section. Otherwise, | 10661 # take arguments), then branch to the quote section. Otherwise, |
7375 # look for a macro that doesn't take arguments. | 10662 # look for a macro that doesn't take arguments. |
7376 ac_script=' | 10663 ac_script=' |
7377 :mline | |
7378 /\\$/{ | |
7379 N | |
7380 s,\\\n,, | |
7381 b mline | |
7382 } | |
7383 t clear | 10664 t clear |
7384 :clear | 10665 :clear |
7385 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | 10666 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
7386 t quote | 10667 t quote |
7387 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | 10668 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
7404 DEFS=`sed -n "$ac_script" confdefs.h` | 10685 DEFS=`sed -n "$ac_script" confdefs.h` |
7405 | 10686 |
7406 | 10687 |
7407 ac_libobjs= | 10688 ac_libobjs= |
7408 ac_ltlibobjs= | 10689 ac_ltlibobjs= |
7409 U= | |
7410 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 10690 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
7411 # 1. Remove the extension, and $U if already installed. | 10691 # 1. Remove the extension, and $U if already installed. |
7412 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 10692 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
7413 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 10693 ac_i=`echo "$ac_i" | sed "$ac_script"` |
7414 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 10694 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
7415 # will be set to the directory where LIBOBJS objects are built. | 10695 # will be set to the directory where LIBOBJS objects are built. |
7416 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 10696 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
7417 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 10697 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
7418 done | 10698 done |
7419 LIBOBJS=$ac_libobjs | 10699 LIBOBJS=$ac_libobjs |
7420 | 10700 |
7421 LTLIBOBJS=$ac_ltlibobjs | 10701 LTLIBOBJS=$ac_ltlibobjs |
7422 | 10702 |
7423 | 10703 |
7424 | 10704 |
7425 : ${CONFIG_STATUS=./config.status} | 10705 : ${CONFIG_STATUS=./config.status} |
7426 ac_write_fail=0 | |
7427 ac_clean_files_save=$ac_clean_files | 10706 ac_clean_files_save=$ac_clean_files |
7428 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 10707 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 10708 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
7430 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 10709 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
7431 as_write_fail=0 | 10710 cat >$CONFIG_STATUS <<_ACEOF |
7432 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
7433 #! $SHELL | 10711 #! $SHELL |
7434 # Generated by $as_me. | 10712 # Generated by $as_me. |
7435 # Run this file to recreate the current configuration. | 10713 # Run this file to recreate the current configuration. |
7436 # Compiler output produced by configure, useful for debugging | 10714 # Compiler output produced by configure, useful for debugging |
7437 # configure, is in config.log if it exists. | 10715 # configure, is in config.log if it exists. |
7438 | 10716 |
7439 debug=false | 10717 debug=false |
7440 ac_cs_recheck=false | 10718 ac_cs_recheck=false |
7441 ac_cs_silent=false | 10719 ac_cs_silent=false |
7442 | |
7443 SHELL=\${CONFIG_SHELL-$SHELL} | 10720 SHELL=\${CONFIG_SHELL-$SHELL} |
7444 export SHELL | 10721 _ACEOF |
7445 _ASEOF | 10722 |
7446 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 10723 cat >>$CONFIG_STATUS <<\_ACEOF |
7447 ## -------------------- ## | 10724 ## --------------------- ## |
7448 ## M4sh Initialization. ## | 10725 ## M4sh Initialization. ## |
7449 ## -------------------- ## | 10726 ## --------------------- ## |
7450 | 10727 |
7451 # Be more Bourne compatible | 10728 # Be more Bourne compatible |
7452 DUALCASE=1; export DUALCASE # for MKS sh | 10729 DUALCASE=1; export DUALCASE # for MKS sh |
7453 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 10730 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
7454 emulate sh | 10731 emulate sh |
7455 NULLCMD=: | 10732 NULLCMD=: |
7456 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 10733 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
7457 # is contrary to our usage. Disable this feature. | 10734 # is contrary to our usage. Disable this feature. |
7458 alias -g '${1+"$@"}'='"$@"' | 10735 alias -g '${1+"$@"}'='"$@"' |
7459 setopt NO_GLOB_SUBST | 10736 setopt NO_GLOB_SUBST |
7460 else | 10737 else |
7461 case `(set -o) 2>/dev/null` in #( | 10738 case `(set -o) 2>/dev/null` in |
7462 *posix*) : | 10739 *posix*) set -o posix ;; |
7463 set -o posix ;; #( | 10740 esac |
7464 *) : | 10741 |
7465 ;; | 10742 fi |
7466 esac | 10743 |
7467 fi | 10744 |
7468 | 10745 |
7469 | 10746 |
7470 as_nl=' | 10747 # PATH needs CR |
7471 ' | 10748 # Avoid depending upon Character Ranges. |
7472 export as_nl | 10749 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
7473 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 10750 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
7474 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 10751 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
7475 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 10752 as_cr_digits='0123456789' |
7476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 10753 as_cr_alnum=$as_cr_Letters$as_cr_digits |
7477 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
7478 # but without wasting forks for bash or zsh. | |
7479 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
7480 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
7481 as_echo='print -r --' | |
7482 as_echo_n='print -rn --' | |
7483 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
7484 as_echo='printf %s\n' | |
7485 as_echo_n='printf %s' | |
7486 else | |
7487 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
7488 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
7489 as_echo_n='/usr/ucb/echo -n' | |
7490 else | |
7491 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
7492 as_echo_n_body='eval | |
7493 arg=$1; | |
7494 case $arg in #( | |
7495 *"$as_nl"*) | |
7496 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
7497 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
7498 esac; | |
7499 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
7500 ' | |
7501 export as_echo_n_body | |
7502 as_echo_n='sh -c $as_echo_n_body as_echo' | |
7503 fi | |
7504 export as_echo_body | |
7505 as_echo='sh -c $as_echo_body as_echo' | |
7506 fi | |
7507 | 10754 |
7508 # The user is always right. | 10755 # The user is always right. |
7509 if test "${PATH_SEPARATOR+set}" != set; then | 10756 if test "${PATH_SEPARATOR+set}" != set; then |
7510 PATH_SEPARATOR=: | 10757 echo "#! /bin/sh" >conf$$.sh |
7511 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 10758 echo "exit 0" >>conf$$.sh |
7512 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 10759 chmod +x conf$$.sh |
7513 PATH_SEPARATOR=';' | 10760 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
7514 } | 10761 PATH_SEPARATOR=';' |
10762 else | |
10763 PATH_SEPARATOR=: | |
10764 fi | |
10765 rm -f conf$$.sh | |
10766 fi | |
10767 | |
10768 # Support unset when possible. | |
10769 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
10770 as_unset=unset | |
10771 else | |
10772 as_unset=false | |
7515 fi | 10773 fi |
7516 | 10774 |
7517 | 10775 |
7518 # IFS | 10776 # IFS |
7519 # We need space, tab and new line, in precisely that order. Quoting is | 10777 # We need space, tab and new line, in precisely that order. Quoting is |
7520 # there to prevent editors from complaining about space-tab. | 10778 # there to prevent editors from complaining about space-tab. |
7521 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 10779 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
7522 # splitting by setting IFS to empty value.) | 10780 # splitting by setting IFS to empty value.) |
10781 as_nl=' | |
10782 ' | |
7523 IFS=" "" $as_nl" | 10783 IFS=" "" $as_nl" |
7524 | 10784 |
7525 # Find who we are. Look in the path if we contain no directory separator. | 10785 # Find who we are. Look in the path if we contain no directory separator. |
7526 case $0 in #(( | 10786 case $0 in |
7527 *[\\/]* ) as_myself=$0 ;; | 10787 *[\\/]* ) as_myself=$0 ;; |
7528 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 10788 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7529 for as_dir in $PATH | 10789 for as_dir in $PATH |
7530 do | 10790 do |
7531 IFS=$as_save_IFS | 10791 IFS=$as_save_IFS |
7532 test -z "$as_dir" && as_dir=. | 10792 test -z "$as_dir" && as_dir=. |
7533 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 10793 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
7534 done | 10794 done |
7535 IFS=$as_save_IFS | 10795 IFS=$as_save_IFS |
7536 | 10796 |
7537 ;; | 10797 ;; |
7538 esac | 10798 esac |
7539 # We did not find ourselves, most probably we were run as `sh COMMAND' | 10799 # We did not find ourselves, most probably we were run as `sh COMMAND' |
7540 # in which case we are not to be found in the path. | 10800 # in which case we are not to be found in the path. |
7541 if test "x$as_myself" = x; then | 10801 if test "x$as_myself" = x; then |
7542 as_myself=$0 | 10802 as_myself=$0 |
7543 fi | 10803 fi |
7544 if test ! -f "$as_myself"; then | 10804 if test ! -f "$as_myself"; then |
7545 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 10805 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
7546 exit 1 | 10806 { (exit 1); exit 1; } |
7547 fi | 10807 fi |
7548 | 10808 |
7549 # Unset variables that we do not need and which cause bugs (e.g. in | 10809 # Work around bugs in pre-3.0 UWIN ksh. |
7550 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 10810 for as_var in ENV MAIL MAILPATH |
7551 # suppresses any "Segmentation fault" message there. '((' could | 10811 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
7552 # trigger a bug in pdksh 5.2.14. | |
7553 for as_var in BASH_ENV ENV MAIL MAILPATH | |
7554 do eval test x\${$as_var+set} = xset \ | |
7555 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
7556 done | 10812 done |
7557 PS1='$ ' | 10813 PS1='$ ' |
7558 PS2='> ' | 10814 PS2='> ' |
7559 PS4='+ ' | 10815 PS4='+ ' |
7560 | 10816 |
7561 # NLS nuisances. | 10817 # NLS nuisances. |
7562 LC_ALL=C | 10818 for as_var in \ |
7563 export LC_ALL | 10819 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
7564 LANGUAGE=C | 10820 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
7565 export LANGUAGE | 10821 LC_TELEPHONE LC_TIME |
7566 | 10822 do |
7567 # CDPATH. | 10823 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
7568 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 10824 eval $as_var=C; export $as_var |
7569 | 10825 else |
7570 | 10826 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
7571 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
7572 # ---------------------------------------- | |
7573 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
7574 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
7575 # script with STATUS, using 1 if that was 0. | |
7576 as_fn_error () | |
7577 { | |
7578 as_status=$1; test $as_status -eq 0 && as_status=1 | |
7579 if test "$4"; then | |
7580 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
7581 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
7582 fi | 10827 fi |
7583 $as_echo "$as_me: error: $2" >&2 | 10828 done |
7584 as_fn_exit $as_status | 10829 |
7585 } # as_fn_error | 10830 # Required to use basename. |
7586 | |
7587 | |
7588 # as_fn_set_status STATUS | |
7589 # ----------------------- | |
7590 # Set $? to STATUS, without forking. | |
7591 as_fn_set_status () | |
7592 { | |
7593 return $1 | |
7594 } # as_fn_set_status | |
7595 | |
7596 # as_fn_exit STATUS | |
7597 # ----------------- | |
7598 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
7599 as_fn_exit () | |
7600 { | |
7601 set +e | |
7602 as_fn_set_status $1 | |
7603 exit $1 | |
7604 } # as_fn_exit | |
7605 | |
7606 # as_fn_unset VAR | |
7607 # --------------- | |
7608 # Portably unset VAR. | |
7609 as_fn_unset () | |
7610 { | |
7611 { eval $1=; unset $1;} | |
7612 } | |
7613 as_unset=as_fn_unset | |
7614 # as_fn_append VAR VALUE | |
7615 # ---------------------- | |
7616 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
7617 # advantage of any shell optimizations that allow amortized linear growth over | |
7618 # repeated appends, instead of the typical quadratic growth present in naive | |
7619 # implementations. | |
7620 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
7621 eval 'as_fn_append () | |
7622 { | |
7623 eval $1+=\$2 | |
7624 }' | |
7625 else | |
7626 as_fn_append () | |
7627 { | |
7628 eval $1=\$$1\$2 | |
7629 } | |
7630 fi # as_fn_append | |
7631 | |
7632 # as_fn_arith ARG... | |
7633 # ------------------ | |
7634 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
7635 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
7636 # must be portable across $(()) and expr. | |
7637 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
7638 eval 'as_fn_arith () | |
7639 { | |
7640 as_val=$(( $* )) | |
7641 }' | |
7642 else | |
7643 as_fn_arith () | |
7644 { | |
7645 as_val=`expr "$@" || test $? -eq 1` | |
7646 } | |
7647 fi # as_fn_arith | |
7648 | |
7649 | |
7650 if expr a : '\(a\)' >/dev/null 2>&1 && | 10831 if expr a : '\(a\)' >/dev/null 2>&1 && |
7651 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 10832 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
7652 as_expr=expr | 10833 as_expr=expr |
7653 else | 10834 else |
7654 as_expr=false | 10835 as_expr=false |
7658 as_basename=basename | 10839 as_basename=basename |
7659 else | 10840 else |
7660 as_basename=false | 10841 as_basename=false |
7661 fi | 10842 fi |
7662 | 10843 |
7663 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 10844 |
7664 as_dirname=dirname | 10845 # Name of the executable. |
7665 else | |
7666 as_dirname=false | |
7667 fi | |
7668 | |
7669 as_me=`$as_basename -- "$0" || | 10846 as_me=`$as_basename -- "$0" || |
7670 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 10847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
7671 X"$0" : 'X\(//\)$' \| \ | 10848 X"$0" : 'X\(//\)$' \| \ |
7672 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 10849 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
7673 $as_echo X/"$0" | | 10850 echo X/"$0" | |
7674 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 10851 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
7675 s//\1/ | 10852 s//\1/ |
7676 q | 10853 q |
7677 } | 10854 } |
7678 /^X\/\(\/\/\)$/{ | 10855 /^X\/\(\/\/\)$/{ |
7683 s//\1/ | 10860 s//\1/ |
7684 q | 10861 q |
7685 } | 10862 } |
7686 s/.*/./; q'` | 10863 s/.*/./; q'` |
7687 | 10864 |
7688 # Avoid depending upon Character Ranges. | 10865 # CDPATH. |
7689 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 10866 $as_unset CDPATH |
7690 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 10867 |
7691 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 10868 |
7692 as_cr_digits='0123456789' | 10869 |
7693 as_cr_alnum=$as_cr_Letters$as_cr_digits | 10870 as_lineno_1=$LINENO |
10871 as_lineno_2=$LINENO | |
10872 test "x$as_lineno_1" != "x$as_lineno_2" && | |
10873 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
10874 | |
10875 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
10876 # uniformly replaced by the line number. The first 'sed' inserts a | |
10877 # line-number line after each line using $LINENO; the second 'sed' | |
10878 # does the real work. The second script uses 'N' to pair each | |
10879 # line-number line with the line containing $LINENO, and appends | |
10880 # trailing '-' during substitution so that $LINENO is not a special | |
10881 # case at line end. | |
10882 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
10883 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
10884 # E. McMahon (1931-1989) for sed's syntax. :-) | |
10885 sed -n ' | |
10886 p | |
10887 /[$]LINENO/= | |
10888 ' <$as_myself | | |
10889 sed ' | |
10890 s/[$]LINENO.*/&-/ | |
10891 t lineno | |
10892 b | |
10893 :lineno | |
10894 N | |
10895 :loop | |
10896 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
10897 t loop | |
10898 s/-\n.*// | |
10899 ' >$as_me.lineno && | |
10900 chmod +x "$as_me.lineno" || | |
10901 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
10902 { (exit 1); exit 1; }; } | |
10903 | |
10904 # Don't try to exec as it changes $[0], causing all sort of problems | |
10905 # (the dirname of $[0] is not the place where we might find the | |
10906 # original and so on. Autoconf is especially sensitive to this). | |
10907 . "./$as_me.lineno" | |
10908 # Exit status is that of the last command. | |
10909 exit | |
10910 } | |
10911 | |
10912 | |
10913 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
10914 as_dirname=dirname | |
10915 else | |
10916 as_dirname=false | |
10917 fi | |
7694 | 10918 |
7695 ECHO_C= ECHO_N= ECHO_T= | 10919 ECHO_C= ECHO_N= ECHO_T= |
7696 case `echo -n x` in #((((( | 10920 case `echo -n x` in |
7697 -n*) | 10921 -n*) |
7698 case `echo 'xy\c'` in | 10922 case `echo 'x\c'` in |
7699 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 10923 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
7700 xy) ECHO_C='\c';; | 10924 *) ECHO_C='\c';; |
7701 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
7702 ECHO_T=' ';; | |
7703 esac;; | 10925 esac;; |
7704 *) | 10926 *) |
7705 ECHO_N='-n';; | 10927 ECHO_N='-n';; |
7706 esac | 10928 esac |
7707 | 10929 |
10930 if expr a : '\(a\)' >/dev/null 2>&1 && | |
10931 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
10932 as_expr=expr | |
10933 else | |
10934 as_expr=false | |
10935 fi | |
10936 | |
7708 rm -f conf$$ conf$$.exe conf$$.file | 10937 rm -f conf$$ conf$$.exe conf$$.file |
7709 if test -d conf$$.dir; then | 10938 if test -d conf$$.dir; then |
7710 rm -f conf$$.dir/conf$$.file | 10939 rm -f conf$$.dir/conf$$.file |
7711 else | 10940 else |
7712 rm -f conf$$.dir | 10941 rm -f conf$$.dir |
7713 mkdir conf$$.dir 2>/dev/null | 10942 mkdir conf$$.dir |
7714 fi | 10943 fi |
7715 if (echo >conf$$.file) 2>/dev/null; then | 10944 echo >conf$$.file |
7716 if ln -s conf$$.file conf$$ 2>/dev/null; then | 10945 if ln -s conf$$.file conf$$ 2>/dev/null; then |
7717 as_ln_s='ln -s' | 10946 as_ln_s='ln -s' |
7718 # ... but there are two gotchas: | 10947 # ... but there are two gotchas: |
7719 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 10948 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
7720 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 10949 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
7721 # In both cases, we have to default to `cp -p'. | 10950 # In both cases, we have to default to `cp -p'. |
7722 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 10951 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
7723 as_ln_s='cp -p' | |
7724 elif ln conf$$.file conf$$ 2>/dev/null; then | |
7725 as_ln_s=ln | |
7726 else | |
7727 as_ln_s='cp -p' | 10952 as_ln_s='cp -p' |
7728 fi | 10953 elif ln conf$$.file conf$$ 2>/dev/null; then |
10954 as_ln_s=ln | |
7729 else | 10955 else |
7730 as_ln_s='cp -p' | 10956 as_ln_s='cp -p' |
7731 fi | 10957 fi |
7732 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 10958 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
7733 rmdir conf$$.dir 2>/dev/null | 10959 rmdir conf$$.dir 2>/dev/null |
7734 | 10960 |
7735 | 10961 if mkdir -p . 2>/dev/null; then |
7736 # as_fn_mkdir_p | 10962 as_mkdir_p=: |
7737 # ------------- | 10963 else |
7738 # Create "$as_dir" as a directory, including parents if necessary. | 10964 test -d ./-p && rmdir ./-p |
7739 as_fn_mkdir_p () | 10965 as_mkdir_p=false |
10966 fi | |
10967 | |
10968 if test -x / >/dev/null 2>&1; then | |
10969 as_test_x='test -x' | |
10970 else | |
10971 if ls -dL / >/dev/null 2>&1; then | |
10972 as_ls_L_option=L | |
10973 else | |
10974 as_ls_L_option= | |
10975 fi | |
10976 as_test_x=' | |
10977 eval sh -c '\'' | |
10978 if test -d "$1"; then | |
10979 test -d "$1/."; | |
10980 else | |
10981 case $1 in | |
10982 -*)set "./$1";; | |
10983 esac; | |
10984 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
10985 ???[sx]*):;;*)false;;esac;fi | |
10986 '\'' sh | |
10987 ' | |
10988 fi | |
10989 as_executable_p=$as_test_x | |
10990 | |
10991 # Sed expression to map a string onto a valid CPP name. | |
10992 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
10993 | |
10994 # Sed expression to map a string onto a valid variable name. | |
10995 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
10996 | |
10997 | |
10998 exec 6>&1 | |
10999 | |
11000 # Save the log message, to keep $[0] and so on meaningful, and to | |
11001 # report actual input values of CONFIG_FILES etc. instead of their | |
11002 # values after options handling. | |
11003 ac_log=" | |
11004 This file was extended by Sonic Visualiser $as_me 1.9-kiosk-hg, which was | |
11005 generated by GNU Autoconf 2.61. Invocation command line was | |
11006 | |
11007 CONFIG_FILES = $CONFIG_FILES | |
11008 CONFIG_HEADERS = $CONFIG_HEADERS | |
11009 CONFIG_LINKS = $CONFIG_LINKS | |
11010 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
11011 $ $0 $@ | |
11012 | |
11013 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
11014 " | |
11015 | |
11016 _ACEOF | |
11017 | |
11018 cat >>$CONFIG_STATUS <<_ACEOF | |
11019 # Files that config.status was made for. | |
11020 config_files="$ac_config_files" | |
11021 | |
11022 _ACEOF | |
11023 | |
11024 cat >>$CONFIG_STATUS <<\_ACEOF | |
11025 ac_cs_usage="\ | |
11026 \`$as_me' instantiates files from templates according to the | |
11027 current configuration. | |
11028 | |
11029 Usage: $0 [OPTIONS] [FILE]... | |
11030 | |
11031 -h, --help print this help, then exit | |
11032 -V, --version print version number and configuration settings, then exit | |
11033 -q, --quiet do not print progress messages | |
11034 -d, --debug don't remove temporary files | |
11035 --recheck update $as_me by reconfiguring in the same conditions | |
11036 --file=FILE[:TEMPLATE] | |
11037 instantiate the configuration file FILE | |
11038 | |
11039 Configuration files: | |
11040 $config_files | |
11041 | |
11042 Report bugs to <bug-autoconf@gnu.org>." | |
11043 | |
11044 _ACEOF | |
11045 cat >>$CONFIG_STATUS <<_ACEOF | |
11046 ac_cs_version="\\ | |
11047 Sonic Visualiser config.status 1.9-kiosk-hg | |
11048 configured by $0, generated by GNU Autoconf 2.61, | |
11049 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
11050 | |
11051 Copyright (C) 2006 Free Software Foundation, Inc. | |
11052 This config.status script is free software; the Free Software Foundation | |
11053 gives unlimited permission to copy, distribute and modify it." | |
11054 | |
11055 ac_pwd='$ac_pwd' | |
11056 srcdir='$srcdir' | |
11057 INSTALL='$INSTALL' | |
11058 MKDIR_P='$MKDIR_P' | |
11059 _ACEOF | |
11060 | |
11061 cat >>$CONFIG_STATUS <<\_ACEOF | |
11062 # If no file are specified by the user, then we need to provide default | |
11063 # value. By we need to know if files were specified by the user. | |
11064 ac_need_defaults=: | |
11065 while test $# != 0 | |
11066 do | |
11067 case $1 in | |
11068 --*=*) | |
11069 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
11070 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
11071 ac_shift=: | |
11072 ;; | |
11073 *) | |
11074 ac_option=$1 | |
11075 ac_optarg=$2 | |
11076 ac_shift=shift | |
11077 ;; | |
11078 esac | |
11079 | |
11080 case $ac_option in | |
11081 # Handling of the options. | |
11082 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
11083 ac_cs_recheck=: ;; | |
11084 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
11085 echo "$ac_cs_version"; exit ;; | |
11086 --debug | --debu | --deb | --de | --d | -d ) | |
11087 debug=: ;; | |
11088 --file | --fil | --fi | --f ) | |
11089 $ac_shift | |
11090 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
11091 ac_need_defaults=false;; | |
11092 --he | --h | --help | --hel | -h ) | |
11093 echo "$ac_cs_usage"; exit ;; | |
11094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
11095 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
11096 ac_cs_silent=: ;; | |
11097 | |
11098 # This is an error. | |
11099 -*) { echo "$as_me: error: unrecognized option: $1 | |
11100 Try \`$0 --help' for more information." >&2 | |
11101 { (exit 1); exit 1; }; } ;; | |
11102 | |
11103 *) ac_config_targets="$ac_config_targets $1" | |
11104 ac_need_defaults=false ;; | |
11105 | |
11106 esac | |
11107 shift | |
11108 done | |
11109 | |
11110 ac_configure_extra_args= | |
11111 | |
11112 if $ac_cs_silent; then | |
11113 exec 6>/dev/null | |
11114 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
11115 fi | |
11116 | |
11117 _ACEOF | |
11118 cat >>$CONFIG_STATUS <<_ACEOF | |
11119 if \$ac_cs_recheck; then | |
11120 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
11121 CONFIG_SHELL=$SHELL | |
11122 export CONFIG_SHELL | |
11123 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
11124 fi | |
11125 | |
11126 _ACEOF | |
11127 cat >>$CONFIG_STATUS <<\_ACEOF | |
11128 exec 5>>config.log | |
7740 { | 11129 { |
7741 | 11130 echo |
11131 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
11132 ## Running $as_me. ## | |
11133 _ASBOX | |
11134 echo "$ac_log" | |
11135 } >&5 | |
11136 | |
11137 _ACEOF | |
11138 cat >>$CONFIG_STATUS <<_ACEOF | |
11139 _ACEOF | |
11140 | |
11141 cat >>$CONFIG_STATUS <<\_ACEOF | |
11142 | |
11143 # Handling of arguments. | |
11144 for ac_config_target in $ac_config_targets | |
11145 do | |
11146 case $ac_config_target in | |
11147 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; | |
11148 | |
11149 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
11150 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
11151 { (exit 1); exit 1; }; };; | |
11152 esac | |
11153 done | |
11154 | |
11155 | |
11156 # If the user did not use the arguments to specify the items to instantiate, | |
11157 # then the envvar interface is used. Set only those that are not. | |
11158 # We use the long form for the default assignment because of an extremely | |
11159 # bizarre bug on SunOS 4.1.3. | |
11160 if $ac_need_defaults; then | |
11161 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
11162 fi | |
11163 | |
11164 # Have a temporary directory for convenience. Make it in the build tree | |
11165 # simply because there is no reason against having it here, and in addition, | |
11166 # creating and moving files from /tmp can sometimes cause problems. | |
11167 # Hook for its removal unless debugging. | |
11168 # Note that there is a small window in which the directory will not be cleaned: | |
11169 # after its creation but before its name has been assigned to `$tmp'. | |
11170 $debug || | |
11171 { | |
11172 tmp= | |
11173 trap 'exit_status=$? | |
11174 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
11175 ' 0 | |
11176 trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
11177 } | |
11178 # Create a (secure) tmp directory for tmp files. | |
11179 | |
11180 { | |
11181 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
11182 test -n "$tmp" && test -d "$tmp" | |
11183 } || | |
11184 { | |
11185 tmp=./conf$$-$RANDOM | |
11186 (umask 077 && mkdir "$tmp") | |
11187 } || | |
11188 { | |
11189 echo "$me: cannot create a temporary directory in ." >&2 | |
11190 { (exit 1); exit 1; } | |
11191 } | |
11192 | |
11193 # | |
11194 # Set up the sed scripts for CONFIG_FILES section. | |
11195 # | |
11196 | |
11197 # No need to generate the scripts if there are no CONFIG_FILES. | |
11198 # This happens for instance when ./config.status config.h | |
11199 if test -n "$CONFIG_FILES"; then | |
11200 | |
11201 _ACEOF | |
11202 | |
11203 | |
11204 | |
11205 ac_delim='%!_!# ' | |
11206 for ac_last_try in false false false false false :; do | |
11207 cat >conf$$subs.sed <<_ACEOF | |
11208 SHELL!$SHELL$ac_delim | |
11209 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
11210 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
11211 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
11212 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
11213 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
11214 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
11215 exec_prefix!$exec_prefix$ac_delim | |
11216 prefix!$prefix$ac_delim | |
11217 program_transform_name!$program_transform_name$ac_delim | |
11218 bindir!$bindir$ac_delim | |
11219 sbindir!$sbindir$ac_delim | |
11220 libexecdir!$libexecdir$ac_delim | |
11221 datarootdir!$datarootdir$ac_delim | |
11222 datadir!$datadir$ac_delim | |
11223 sysconfdir!$sysconfdir$ac_delim | |
11224 sharedstatedir!$sharedstatedir$ac_delim | |
11225 localstatedir!$localstatedir$ac_delim | |
11226 includedir!$includedir$ac_delim | |
11227 oldincludedir!$oldincludedir$ac_delim | |
11228 docdir!$docdir$ac_delim | |
11229 infodir!$infodir$ac_delim | |
11230 htmldir!$htmldir$ac_delim | |
11231 dvidir!$dvidir$ac_delim | |
11232 pdfdir!$pdfdir$ac_delim | |
11233 psdir!$psdir$ac_delim | |
11234 libdir!$libdir$ac_delim | |
11235 localedir!$localedir$ac_delim | |
11236 mandir!$mandir$ac_delim | |
11237 DEFS!$DEFS$ac_delim | |
11238 ECHO_C!$ECHO_C$ac_delim | |
11239 ECHO_N!$ECHO_N$ac_delim | |
11240 ECHO_T!$ECHO_T$ac_delim | |
11241 LIBS!$LIBS$ac_delim | |
11242 build_alias!$build_alias$ac_delim | |
11243 host_alias!$host_alias$ac_delim | |
11244 target_alias!$target_alias$ac_delim | |
11245 CC!$CC$ac_delim | |
11246 CFLAGS!$CFLAGS$ac_delim | |
11247 LDFLAGS!$LDFLAGS$ac_delim | |
11248 CPPFLAGS!$CPPFLAGS$ac_delim | |
11249 ac_ct_CC!$ac_ct_CC$ac_delim | |
11250 EXEEXT!$EXEEXT$ac_delim | |
11251 OBJEXT!$OBJEXT$ac_delim | |
11252 CXX!$CXX$ac_delim | |
11253 CXXFLAGS!$CXXFLAGS$ac_delim | |
11254 ac_ct_CXX!$ac_ct_CXX$ac_delim | |
11255 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
11256 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
11257 INSTALL_DATA!$INSTALL_DATA$ac_delim | |
11258 CXXCPP!$CXXCPP$ac_delim | |
11259 GREP!$GREP$ac_delim | |
11260 EGREP!$EGREP$ac_delim | |
11261 PKG_CONFIG!$PKG_CONFIG$ac_delim | |
11262 PKG_CONFIG_PATH!$PKG_CONFIG_PATH$ac_delim | |
11263 PKG_CONFIG_LIBDIR!$PKG_CONFIG_LIBDIR$ac_delim | |
11264 QMAKE!$QMAKE$ac_delim | |
11265 bz2_CFLAGS!$bz2_CFLAGS$ac_delim | |
11266 bz2_LIBS!$bz2_LIBS$ac_delim | |
11267 fftw3_CFLAGS!$fftw3_CFLAGS$ac_delim | |
11268 fftw3_LIBS!$fftw3_LIBS$ac_delim | |
11269 fftw3f_CFLAGS!$fftw3f_CFLAGS$ac_delim | |
11270 fftw3f_LIBS!$fftw3f_LIBS$ac_delim | |
11271 sndfile_CFLAGS!$sndfile_CFLAGS$ac_delim | |
11272 sndfile_LIBS!$sndfile_LIBS$ac_delim | |
11273 samplerate_CFLAGS!$samplerate_CFLAGS$ac_delim | |
11274 samplerate_LIBS!$samplerate_LIBS$ac_delim | |
11275 vamp_CFLAGS!$vamp_CFLAGS$ac_delim | |
11276 vamp_LIBS!$vamp_LIBS$ac_delim | |
11277 vamphostsdk_CFLAGS!$vamphostsdk_CFLAGS$ac_delim | |
11278 vamphostsdk_LIBS!$vamphostsdk_LIBS$ac_delim | |
11279 rubberband_CFLAGS!$rubberband_CFLAGS$ac_delim | |
11280 rubberband_LIBS!$rubberband_LIBS$ac_delim | |
11281 raptor_CFLAGS!$raptor_CFLAGS$ac_delim | |
11282 raptor_LIBS!$raptor_LIBS$ac_delim | |
11283 rasqal_CFLAGS!$rasqal_CFLAGS$ac_delim | |
11284 rasqal_LIBS!$rasqal_LIBS$ac_delim | |
11285 redland_CFLAGS!$redland_CFLAGS$ac_delim | |
11286 redland_LIBS!$redland_LIBS$ac_delim | |
11287 liblo_CFLAGS!$liblo_CFLAGS$ac_delim | |
11288 liblo_LIBS!$liblo_LIBS$ac_delim | |
11289 portaudio_2_0_CFLAGS!$portaudio_2_0_CFLAGS$ac_delim | |
11290 portaudio_2_0_LIBS!$portaudio_2_0_LIBS$ac_delim | |
11291 JACK_CFLAGS!$JACK_CFLAGS$ac_delim | |
11292 JACK_LIBS!$JACK_LIBS$ac_delim | |
11293 libpulse_CFLAGS!$libpulse_CFLAGS$ac_delim | |
11294 libpulse_LIBS!$libpulse_LIBS$ac_delim | |
11295 lrdf_CFLAGS!$lrdf_CFLAGS$ac_delim | |
11296 lrdf_LIBS!$lrdf_LIBS$ac_delim | |
11297 oggz_CFLAGS!$oggz_CFLAGS$ac_delim | |
11298 oggz_LIBS!$oggz_LIBS$ac_delim | |
11299 fishsound_CFLAGS!$fishsound_CFLAGS$ac_delim | |
11300 fishsound_LIBS!$fishsound_LIBS$ac_delim | |
11301 mad_CFLAGS!$mad_CFLAGS$ac_delim | |
11302 mad_LIBS!$mad_LIBS$ac_delim | |
11303 id3tag_CFLAGS!$id3tag_CFLAGS$ac_delim | |
11304 id3tag_LIBS!$id3tag_LIBS$ac_delim | |
11305 _ACEOF | |
11306 | |
11307 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | |
11308 break | |
11309 elif $ac_last_try; then | |
11310 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
11311 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
11312 { (exit 1); exit 1; }; } | |
11313 else | |
11314 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
11315 fi | |
11316 done | |
11317 | |
11318 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
11319 if test -n "$ac_eof"; then | |
11320 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
11321 ac_eof=`expr $ac_eof + 1` | |
11322 fi | |
11323 | |
11324 cat >>$CONFIG_STATUS <<_ACEOF | |
11325 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
11326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
11327 _ACEOF | |
11328 sed ' | |
11329 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
11330 s/^/s,@/; s/!/@,|#_!!_#|/ | |
11331 :n | |
11332 t n | |
11333 s/'"$ac_delim"'$/,g/; t | |
11334 s/$/\\/; p | |
11335 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
11336 ' >>$CONFIG_STATUS <conf$$subs.sed | |
11337 rm -f conf$$subs.sed | |
11338 cat >>$CONFIG_STATUS <<_ACEOF | |
11339 CEOF$ac_eof | |
11340 _ACEOF | |
11341 | |
11342 | |
11343 ac_delim='%!_!# ' | |
11344 for ac_last_try in false false false false false :; do | |
11345 cat >conf$$subs.sed <<_ACEOF | |
11346 PERL!$PERL$ac_delim | |
11347 XARGS!$XARGS$ac_delim | |
11348 MAKEDEPEND!$MAKEDEPEND$ac_delim | |
11349 SHA1SUM!$SHA1SUM$ac_delim | |
11350 CUT!$CUT$ac_delim | |
11351 CXXFLAGS_MINIMAL!$CXXFLAGS_MINIMAL$ac_delim | |
11352 HAVES!$HAVES$ac_delim | |
11353 QMAKE_CONFIG!$QMAKE_CONFIG$ac_delim | |
11354 CODENAME!$CODENAME$ac_delim | |
11355 LIBOBJS!$LIBOBJS$ac_delim | |
11356 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
11357 _ACEOF | |
11358 | |
11359 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then | |
11360 break | |
11361 elif $ac_last_try; then | |
11362 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
11363 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
11364 { (exit 1); exit 1; }; } | |
11365 else | |
11366 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
11367 fi | |
11368 done | |
11369 | |
11370 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
11371 if test -n "$ac_eof"; then | |
11372 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
11373 ac_eof=`expr $ac_eof + 1` | |
11374 fi | |
11375 | |
11376 cat >>$CONFIG_STATUS <<_ACEOF | |
11377 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | |
11378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
11379 _ACEOF | |
11380 sed ' | |
11381 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
11382 s/^/s,@/; s/!/@,|#_!!_#|/ | |
11383 :n | |
11384 t n | |
11385 s/'"$ac_delim"'$/,g/; t | |
11386 s/$/\\/; p | |
11387 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
11388 ' >>$CONFIG_STATUS <conf$$subs.sed | |
11389 rm -f conf$$subs.sed | |
11390 cat >>$CONFIG_STATUS <<_ACEOF | |
11391 :end | |
11392 s/|#_!!_#|//g | |
11393 CEOF$ac_eof | |
11394 _ACEOF | |
11395 | |
11396 | |
11397 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
11398 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
11399 # trailing colons and then remove the whole line if VPATH becomes empty | |
11400 # (actually we leave an empty line to preserve line numbers). | |
11401 if test "x$srcdir" = x.; then | |
11402 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
11403 s/:*\$(srcdir):*/:/ | |
11404 s/:*\${srcdir}:*/:/ | |
11405 s/:*@srcdir@:*/:/ | |
11406 s/^\([^=]*=[ ]*\):*/\1/ | |
11407 s/:*$// | |
11408 s/^[^=]*=[ ]*$// | |
11409 }' | |
11410 fi | |
11411 | |
11412 cat >>$CONFIG_STATUS <<\_ACEOF | |
11413 fi # test -n "$CONFIG_FILES" | |
11414 | |
11415 | |
11416 for ac_tag in :F $CONFIG_FILES | |
11417 do | |
11418 case $ac_tag in | |
11419 :[FHLC]) ac_mode=$ac_tag; continue;; | |
11420 esac | |
11421 case $ac_mode$ac_tag in | |
11422 :[FHL]*:*);; | |
11423 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
11424 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
11425 { (exit 1); exit 1; }; };; | |
11426 :[FH]-) ac_tag=-:-;; | |
11427 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
11428 esac | |
11429 ac_save_IFS=$IFS | |
11430 IFS=: | |
11431 set x $ac_tag | |
11432 IFS=$ac_save_IFS | |
11433 shift | |
11434 ac_file=$1 | |
11435 shift | |
11436 | |
11437 case $ac_mode in | |
11438 :L) ac_source=$1;; | |
11439 :[FH]) | |
11440 ac_file_inputs= | |
11441 for ac_f | |
11442 do | |
11443 case $ac_f in | |
11444 -) ac_f="$tmp/stdin";; | |
11445 *) # Look for the file first in the build tree, then in the source tree | |
11446 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
11447 # because $ac_f cannot contain `:'. | |
11448 test -f "$ac_f" || | |
11449 case $ac_f in | |
11450 [\\/$]*) false;; | |
11451 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
11452 esac || | |
11453 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
11454 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
11455 { (exit 1); exit 1; }; };; | |
11456 esac | |
11457 ac_file_inputs="$ac_file_inputs $ac_f" | |
11458 done | |
11459 | |
11460 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
11461 # use $as_me), people would be surprised to read: | |
11462 # /* config.h. Generated by config.status. */ | |
11463 configure_input="Generated from "`IFS=: | |
11464 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
11465 if test x"$ac_file" != x-; then | |
11466 configure_input="$ac_file. $configure_input" | |
11467 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
11468 echo "$as_me: creating $ac_file" >&6;} | |
11469 fi | |
11470 | |
11471 case $ac_tag in | |
11472 *:-:* | *:-) cat >"$tmp/stdin";; | |
11473 esac | |
11474 ;; | |
11475 esac | |
11476 | |
11477 ac_dir=`$as_dirname -- "$ac_file" || | |
11478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
11479 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
11480 X"$ac_file" : 'X\(//\)$' \| \ | |
11481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
11482 echo X"$ac_file" | | |
11483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
11484 s//\1/ | |
11485 q | |
11486 } | |
11487 /^X\(\/\/\)[^/].*/{ | |
11488 s//\1/ | |
11489 q | |
11490 } | |
11491 /^X\(\/\/\)$/{ | |
11492 s//\1/ | |
11493 q | |
11494 } | |
11495 /^X\(\/\).*/{ | |
11496 s//\1/ | |
11497 q | |
11498 } | |
11499 s/.*/./; q'` | |
11500 { as_dir="$ac_dir" | |
7742 case $as_dir in #( | 11501 case $as_dir in #( |
7743 -*) as_dir=./$as_dir;; | 11502 -*) as_dir=./$as_dir;; |
7744 esac | 11503 esac |
7745 test -d "$as_dir" || eval $as_mkdir_p || { | 11504 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
7746 as_dirs= | 11505 as_dirs= |
7747 while :; do | 11506 while :; do |
7748 case $as_dir in #( | 11507 case $as_dir in #( |
7749 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 11508 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
7750 *) as_qdir=$as_dir;; | 11509 *) as_qdir=$as_dir;; |
7751 esac | 11510 esac |
7752 as_dirs="'$as_qdir' $as_dirs" | 11511 as_dirs="'$as_qdir' $as_dirs" |
7753 as_dir=`$as_dirname -- "$as_dir" || | 11512 as_dir=`$as_dirname -- "$as_dir" || |
7754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 11513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7755 X"$as_dir" : 'X\(//\)[^/]' \| \ | 11514 X"$as_dir" : 'X\(//\)[^/]' \| \ |
7756 X"$as_dir" : 'X\(//\)$' \| \ | 11515 X"$as_dir" : 'X\(//\)$' \| \ |
7757 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 11516 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
7758 $as_echo X"$as_dir" | | 11517 echo X"$as_dir" | |
7759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 11518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7760 s//\1/ | 11519 s//\1/ |
7761 q | 11520 q |
7762 } | 11521 } |
7763 /^X\(\/\/\)[^/].*/{ | 11522 /^X\(\/\/\)[^/].*/{ |
7774 } | 11533 } |
7775 s/.*/./; q'` | 11534 s/.*/./; q'` |
7776 test -d "$as_dir" && break | 11535 test -d "$as_dir" && break |
7777 done | 11536 done |
7778 test -z "$as_dirs" || eval "mkdir $as_dirs" | 11537 test -z "$as_dirs" || eval "mkdir $as_dirs" |
7779 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 11538 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
7780 | 11539 echo "$as_me: error: cannot create directory $as_dir" >&2;} |
7781 | 11540 { (exit 1); exit 1; }; }; } |
7782 } # as_fn_mkdir_p | |
7783 if mkdir -p . 2>/dev/null; then | |
7784 as_mkdir_p='mkdir -p "$as_dir"' | |
7785 else | |
7786 test -d ./-p && rmdir ./-p | |
7787 as_mkdir_p=false | |
7788 fi | |
7789 | |
7790 if test -x / >/dev/null 2>&1; then | |
7791 as_test_x='test -x' | |
7792 else | |
7793 if ls -dL / >/dev/null 2>&1; then | |
7794 as_ls_L_option=L | |
7795 else | |
7796 as_ls_L_option= | |
7797 fi | |
7798 as_test_x=' | |
7799 eval sh -c '\'' | |
7800 if test -d "$1"; then | |
7801 test -d "$1/."; | |
7802 else | |
7803 case $1 in #( | |
7804 -*)set "./$1";; | |
7805 esac; | |
7806 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
7807 ???[sx]*):;;*)false;;esac;fi | |
7808 '\'' sh | |
7809 ' | |
7810 fi | |
7811 as_executable_p=$as_test_x | |
7812 | |
7813 # Sed expression to map a string onto a valid CPP name. | |
7814 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
7815 | |
7816 # Sed expression to map a string onto a valid variable name. | |
7817 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
7818 | |
7819 | |
7820 exec 6>&1 | |
7821 ## ----------------------------------- ## | |
7822 ## Main body of $CONFIG_STATUS script. ## | |
7823 ## ----------------------------------- ## | |
7824 _ASEOF | |
7825 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
7826 | |
7827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7828 # Save the log message, to keep $0 and so on meaningful, and to | |
7829 # report actual input values of CONFIG_FILES etc. instead of their | |
7830 # values after options handling. | |
7831 ac_log=" | |
7832 This file was extended by Sonic Visualiser $as_me 1.9-hg, which was | |
7833 generated by GNU Autoconf 2.67. Invocation command line was | |
7834 | |
7835 CONFIG_FILES = $CONFIG_FILES | |
7836 CONFIG_HEADERS = $CONFIG_HEADERS | |
7837 CONFIG_LINKS = $CONFIG_LINKS | |
7838 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
7839 $ $0 $@ | |
7840 | |
7841 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
7842 " | |
7843 | |
7844 _ACEOF | |
7845 | |
7846 case $ac_config_files in *" | |
7847 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
7848 esac | |
7849 | |
7850 | |
7851 | |
7852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7853 # Files that config.status was made for. | |
7854 config_files="$ac_config_files" | |
7855 | |
7856 _ACEOF | |
7857 | |
7858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7859 ac_cs_usage="\ | |
7860 \`$as_me' instantiates files and other configuration actions | |
7861 from templates according to the current configuration. Unless the files | |
7862 and actions are specified as TAGs, all are instantiated by default. | |
7863 | |
7864 Usage: $0 [OPTION]... [TAG]... | |
7865 | |
7866 -h, --help print this help, then exit | |
7867 -V, --version print version number and configuration settings, then exit | |
7868 --config print configuration, then exit | |
7869 -q, --quiet, --silent | |
7870 do not print progress messages | |
7871 -d, --debug don't remove temporary files | |
7872 --recheck update $as_me by reconfiguring in the same conditions | |
7873 --file=FILE[:TEMPLATE] | |
7874 instantiate the configuration file FILE | |
7875 | |
7876 Configuration files: | |
7877 $config_files | |
7878 | |
7879 Report bugs to <cannam@all-day-breakfast.com>." | |
7880 | |
7881 _ACEOF | |
7882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7883 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
7884 ac_cs_version="\\ | |
7885 Sonic Visualiser config.status 1.9-hg | |
7886 configured by $0, generated by GNU Autoconf 2.67, | |
7887 with options \\"\$ac_cs_config\\" | |
7888 | |
7889 Copyright (C) 2010 Free Software Foundation, Inc. | |
7890 This config.status script is free software; the Free Software Foundation | |
7891 gives unlimited permission to copy, distribute and modify it." | |
7892 | |
7893 ac_pwd='$ac_pwd' | |
7894 srcdir='$srcdir' | |
7895 INSTALL='$INSTALL' | |
7896 MKDIR_P='$MKDIR_P' | |
7897 test -n "\$AWK" || AWK=awk | |
7898 _ACEOF | |
7899 | |
7900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7901 # The default lists apply if the user does not specify any file. | |
7902 ac_need_defaults=: | |
7903 while test $# != 0 | |
7904 do | |
7905 case $1 in | |
7906 --*=?*) | |
7907 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
7908 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
7909 ac_shift=: | |
7910 ;; | |
7911 --*=) | |
7912 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
7913 ac_optarg= | |
7914 ac_shift=: | |
7915 ;; | |
7916 *) | |
7917 ac_option=$1 | |
7918 ac_optarg=$2 | |
7919 ac_shift=shift | |
7920 ;; | |
7921 esac | |
7922 | |
7923 case $ac_option in | |
7924 # Handling of the options. | |
7925 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
7926 ac_cs_recheck=: ;; | |
7927 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
7928 $as_echo "$ac_cs_version"; exit ;; | |
7929 --config | --confi | --conf | --con | --co | --c ) | |
7930 $as_echo "$ac_cs_config"; exit ;; | |
7931 --debug | --debu | --deb | --de | --d | -d ) | |
7932 debug=: ;; | |
7933 --file | --fil | --fi | --f ) | |
7934 $ac_shift | |
7935 case $ac_optarg in | |
7936 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
7937 '') as_fn_error $? "missing file argument" ;; | |
7938 esac | |
7939 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
7940 ac_need_defaults=false;; | |
7941 --he | --h | --help | --hel | -h ) | |
7942 $as_echo "$ac_cs_usage"; exit ;; | |
7943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
7944 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
7945 ac_cs_silent=: ;; | |
7946 | |
7947 # This is an error. | |
7948 -*) as_fn_error $? "unrecognized option: \`$1' | |
7949 Try \`$0 --help' for more information." ;; | |
7950 | |
7951 *) as_fn_append ac_config_targets " $1" | |
7952 ac_need_defaults=false ;; | |
7953 | |
7954 esac | |
7955 shift | |
7956 done | |
7957 | |
7958 ac_configure_extra_args= | |
7959 | |
7960 if $ac_cs_silent; then | |
7961 exec 6>/dev/null | |
7962 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
7963 fi | |
7964 | |
7965 _ACEOF | |
7966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7967 if \$ac_cs_recheck; then | |
7968 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
7969 shift | |
7970 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
7971 CONFIG_SHELL='$SHELL' | |
7972 export CONFIG_SHELL | |
7973 exec "\$@" | |
7974 fi | |
7975 | |
7976 _ACEOF | |
7977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7978 exec 5>>config.log | |
7979 { | |
7980 echo | |
7981 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
7982 ## Running $as_me. ## | |
7983 _ASBOX | |
7984 $as_echo "$ac_log" | |
7985 } >&5 | |
7986 | |
7987 _ACEOF | |
7988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
7989 _ACEOF | |
7990 | |
7991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
7992 | |
7993 # Handling of arguments. | |
7994 for ac_config_target in $ac_config_targets | |
7995 do | |
7996 case $ac_config_target in | |
7997 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; | |
7998 | |
7999 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; | |
8000 esac | |
8001 done | |
8002 | |
8003 | |
8004 # If the user did not use the arguments to specify the items to instantiate, | |
8005 # then the envvar interface is used. Set only those that are not. | |
8006 # We use the long form for the default assignment because of an extremely | |
8007 # bizarre bug on SunOS 4.1.3. | |
8008 if $ac_need_defaults; then | |
8009 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
8010 fi | |
8011 | |
8012 # Have a temporary directory for convenience. Make it in the build tree | |
8013 # simply because there is no reason against having it here, and in addition, | |
8014 # creating and moving files from /tmp can sometimes cause problems. | |
8015 # Hook for its removal unless debugging. | |
8016 # Note that there is a small window in which the directory will not be cleaned: | |
8017 # after its creation but before its name has been assigned to `$tmp'. | |
8018 $debug || | |
8019 { | |
8020 tmp= | |
8021 trap 'exit_status=$? | |
8022 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
8023 ' 0 | |
8024 trap 'as_fn_exit 1' 1 2 13 15 | |
8025 } | |
8026 # Create a (secure) tmp directory for tmp files. | |
8027 | |
8028 { | |
8029 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
8030 test -n "$tmp" && test -d "$tmp" | |
8031 } || | |
8032 { | |
8033 tmp=./conf$$-$RANDOM | |
8034 (umask 077 && mkdir "$tmp") | |
8035 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
8036 | |
8037 # Set up the scripts for CONFIG_FILES section. | |
8038 # No need to generate them if there are no CONFIG_FILES. | |
8039 # This happens for instance with `./config.status config.h'. | |
8040 if test -n "$CONFIG_FILES"; then | |
8041 | |
8042 | |
8043 ac_cr=`echo X | tr X '\015'` | |
8044 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
8045 # But we know of no other shell where ac_cr would be empty at this | |
8046 # point, so we can use a bashism as a fallback. | |
8047 if test "x$ac_cr" = x; then | |
8048 eval ac_cr=\$\'\\r\' | |
8049 fi | |
8050 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
8051 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
8052 ac_cs_awk_cr='\\r' | |
8053 else | |
8054 ac_cs_awk_cr=$ac_cr | |
8055 fi | |
8056 | |
8057 echo 'BEGIN {' >"$tmp/subs1.awk" && | |
8058 _ACEOF | |
8059 | |
8060 | |
8061 { | |
8062 echo "cat >conf$$subs.awk <<_ACEOF" && | |
8063 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
8064 echo "_ACEOF" | |
8065 } >conf$$subs.sh || | |
8066 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
8067 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
8068 ac_delim='%!_!# ' | |
8069 for ac_last_try in false false false false false :; do | |
8070 . ./conf$$subs.sh || | |
8071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
8072 | |
8073 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
8074 if test $ac_delim_n = $ac_delim_num; then | |
8075 break | |
8076 elif $ac_last_try; then | |
8077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
8078 else | |
8079 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
8080 fi | |
8081 done | |
8082 rm -f conf$$subs.sh | |
8083 | |
8084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
8085 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
8086 _ACEOF | |
8087 sed -n ' | |
8088 h | |
8089 s/^/S["/; s/!.*/"]=/ | |
8090 p | |
8091 g | |
8092 s/^[^!]*!// | |
8093 :repl | |
8094 t repl | |
8095 s/'"$ac_delim"'$// | |
8096 t delim | |
8097 :nl | |
8098 h | |
8099 s/\(.\{148\}\)..*/\1/ | |
8100 t more1 | |
8101 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
8102 p | |
8103 n | |
8104 b repl | |
8105 :more1 | |
8106 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
8107 p | |
8108 g | |
8109 s/.\{148\}// | |
8110 t nl | |
8111 :delim | |
8112 h | |
8113 s/\(.\{148\}\)..*/\1/ | |
8114 t more2 | |
8115 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
8116 p | |
8117 b | |
8118 :more2 | |
8119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
8120 p | |
8121 g | |
8122 s/.\{148\}// | |
8123 t delim | |
8124 ' <conf$$subs.awk | sed ' | |
8125 /^[^""]/{ | |
8126 N | |
8127 s/\n// | |
8128 } | |
8129 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
8130 rm -f conf$$subs.awk | |
8131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
8132 _ACAWK | |
8133 cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
8134 for (key in S) S_is_set[key] = 1 | |
8135 FS = "" | |
8136 | |
8137 } | |
8138 { | |
8139 line = $ 0 | |
8140 nfields = split(line, field, "@") | |
8141 substed = 0 | |
8142 len = length(field[1]) | |
8143 for (i = 2; i < nfields; i++) { | |
8144 key = field[i] | |
8145 keylen = length(key) | |
8146 if (S_is_set[key]) { | |
8147 value = S[key] | |
8148 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
8149 len += length(value) + length(field[++i]) | |
8150 substed = 1 | |
8151 } else | |
8152 len += 1 + keylen | |
8153 } | |
8154 | |
8155 print line | |
8156 } | |
8157 | |
8158 _ACAWK | |
8159 _ACEOF | |
8160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
8161 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
8162 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
8163 else | |
8164 cat | |
8165 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
8166 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
8167 _ACEOF | |
8168 | |
8169 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
8170 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
8171 # trailing colons and then remove the whole line if VPATH becomes empty | |
8172 # (actually we leave an empty line to preserve line numbers). | |
8173 if test "x$srcdir" = x.; then | |
8174 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
8175 h | |
8176 s/// | |
8177 s/^/:/ | |
8178 s/[ ]*$/:/ | |
8179 s/:\$(srcdir):/:/g | |
8180 s/:\${srcdir}:/:/g | |
8181 s/:@srcdir@:/:/g | |
8182 s/^:*// | |
8183 s/:*$// | |
8184 x | |
8185 s/\(=[ ]*\).*/\1/ | |
8186 G | |
8187 s/\n// | |
8188 s/^[^=]*=[ ]*$// | |
8189 }' | |
8190 fi | |
8191 | |
8192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
8193 fi # test -n "$CONFIG_FILES" | |
8194 | |
8195 | |
8196 eval set X " :F $CONFIG_FILES " | |
8197 shift | |
8198 for ac_tag | |
8199 do | |
8200 case $ac_tag in | |
8201 :[FHLC]) ac_mode=$ac_tag; continue;; | |
8202 esac | |
8203 case $ac_mode$ac_tag in | |
8204 :[FHL]*:*);; | |
8205 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; | |
8206 :[FH]-) ac_tag=-:-;; | |
8207 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
8208 esac | |
8209 ac_save_IFS=$IFS | |
8210 IFS=: | |
8211 set x $ac_tag | |
8212 IFS=$ac_save_IFS | |
8213 shift | |
8214 ac_file=$1 | |
8215 shift | |
8216 | |
8217 case $ac_mode in | |
8218 :L) ac_source=$1;; | |
8219 :[FH]) | |
8220 ac_file_inputs= | |
8221 for ac_f | |
8222 do | |
8223 case $ac_f in | |
8224 -) ac_f="$tmp/stdin";; | |
8225 *) # Look for the file first in the build tree, then in the source tree | |
8226 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
8227 # because $ac_f cannot contain `:'. | |
8228 test -f "$ac_f" || | |
8229 case $ac_f in | |
8230 [\\/$]*) false;; | |
8231 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
8232 esac || | |
8233 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; | |
8234 esac | |
8235 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
8236 as_fn_append ac_file_inputs " '$ac_f'" | |
8237 done | |
8238 | |
8239 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
8240 # use $as_me), people would be surprised to read: | |
8241 # /* config.h. Generated by config.status. */ | |
8242 configure_input='Generated from '` | |
8243 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
8244 `' by configure.' | |
8245 if test x"$ac_file" != x-; then | |
8246 configure_input="$ac_file. $configure_input" | |
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
8248 $as_echo "$as_me: creating $ac_file" >&6;} | |
8249 fi | |
8250 # Neutralize special characters interpreted by sed in replacement strings. | |
8251 case $configure_input in #( | |
8252 *\&* | *\|* | *\\* ) | |
8253 ac_sed_conf_input=`$as_echo "$configure_input" | | |
8254 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
8255 *) ac_sed_conf_input=$configure_input;; | |
8256 esac | |
8257 | |
8258 case $ac_tag in | |
8259 *:-:* | *:-) cat >"$tmp/stdin" \ | |
8260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
8261 esac | |
8262 ;; | |
8263 esac | |
8264 | |
8265 ac_dir=`$as_dirname -- "$ac_file" || | |
8266 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
8267 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
8268 X"$ac_file" : 'X\(//\)$' \| \ | |
8269 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
8270 $as_echo X"$ac_file" | | |
8271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
8272 s//\1/ | |
8273 q | |
8274 } | |
8275 /^X\(\/\/\)[^/].*/{ | |
8276 s//\1/ | |
8277 q | |
8278 } | |
8279 /^X\(\/\/\)$/{ | |
8280 s//\1/ | |
8281 q | |
8282 } | |
8283 /^X\(\/\).*/{ | |
8284 s//\1/ | |
8285 q | |
8286 } | |
8287 s/.*/./; q'` | |
8288 as_dir="$ac_dir"; as_fn_mkdir_p | |
8289 ac_builddir=. | 11541 ac_builddir=. |
8290 | 11542 |
8291 case "$ac_dir" in | 11543 case "$ac_dir" in |
8292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 11544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
8293 *) | 11545 *) |
8294 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 11546 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
8295 # A ".." for each directory in $ac_dir_suffix. | 11547 # A ".." for each directory in $ac_dir_suffix. |
8296 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 11548 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
8297 case $ac_top_builddir_sub in | 11549 case $ac_top_builddir_sub in |
8298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 11550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
8299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 11551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
8300 esac ;; | 11552 esac ;; |
8301 esac | 11553 esac |
8336 [\\/$]* | ?:[\\/]* ) ;; | 11588 [\\/$]* | ?:[\\/]* ) ;; |
8337 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | 11589 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
8338 esac | 11590 esac |
8339 _ACEOF | 11591 _ACEOF |
8340 | 11592 |
8341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 11593 cat >>$CONFIG_STATUS <<\_ACEOF |
8342 # If the template does not know about datarootdir, expand it. | 11594 # If the template does not know about datarootdir, expand it. |
8343 # FIXME: This hack should be removed a few years after 2.60. | 11595 # FIXME: This hack should be removed a few years after 2.60. |
8344 ac_datarootdir_hack=; ac_datarootdir_seen= | 11596 ac_datarootdir_hack=; ac_datarootdir_seen= |
8345 ac_sed_dataroot=' | 11597 |
8346 /datarootdir/ { | 11598 case `sed -n '/datarootdir/ { |
8347 p | 11599 p |
8348 q | 11600 q |
8349 } | 11601 } |
8350 /@datadir@/p | 11602 /@datadir@/p |
8351 /@docdir@/p | 11603 /@docdir@/p |
8352 /@infodir@/p | 11604 /@infodir@/p |
8353 /@localedir@/p | 11605 /@localedir@/p |
8354 /@mandir@/p' | 11606 /@mandir@/p |
8355 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 11607 ' $ac_file_inputs` in |
8356 *datarootdir*) ac_datarootdir_seen=yes;; | 11608 *datarootdir*) ac_datarootdir_seen=yes;; |
8357 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 11609 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 11610 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
8359 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 11611 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
8360 _ACEOF | 11612 _ACEOF |
8361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 11613 cat >>$CONFIG_STATUS <<_ACEOF |
8362 ac_datarootdir_hack=' | 11614 ac_datarootdir_hack=' |
8363 s&@datadir@&$datadir&g | 11615 s&@datadir@&$datadir&g |
8364 s&@docdir@&$docdir&g | 11616 s&@docdir@&$docdir&g |
8365 s&@infodir@&$infodir&g | 11617 s&@infodir@&$infodir&g |
8366 s&@localedir@&$localedir&g | 11618 s&@localedir@&$localedir&g |
8367 s&@mandir@&$mandir&g | 11619 s&@mandir@&$mandir&g |
8368 s&\\\${datarootdir}&$datarootdir&g' ;; | 11620 s&\\\${datarootdir}&$datarootdir&g' ;; |
8369 esac | 11621 esac |
8370 _ACEOF | 11622 _ACEOF |
8371 | 11623 |
8372 # Neutralize VPATH when `$srcdir' = `.'. | 11624 # Neutralize VPATH when `$srcdir' = `.'. |
8373 # Shell code in configure.ac might set extrasub. | 11625 # Shell code in configure.ac might set extrasub. |
8374 # FIXME: do we really want to maintain this feature? | 11626 # FIXME: do we really want to maintain this feature? |
8375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 11627 cat >>$CONFIG_STATUS <<_ACEOF |
8376 ac_sed_extra="$ac_vpsub | 11628 sed "$ac_vpsub |
8377 $extrasub | 11629 $extrasub |
8378 _ACEOF | 11630 _ACEOF |
8379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 11631 cat >>$CONFIG_STATUS <<\_ACEOF |
8380 :t | 11632 :t |
8381 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 11633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
8382 s|@configure_input@|$ac_sed_conf_input|;t t | 11634 s&@configure_input@&$configure_input&;t t |
8383 s&@top_builddir@&$ac_top_builddir_sub&;t t | 11635 s&@top_builddir@&$ac_top_builddir_sub&;t t |
8384 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
8385 s&@srcdir@&$ac_srcdir&;t t | 11636 s&@srcdir@&$ac_srcdir&;t t |
8386 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 11637 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
8387 s&@top_srcdir@&$ac_top_srcdir&;t t | 11638 s&@top_srcdir@&$ac_top_srcdir&;t t |
8388 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 11639 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
8389 s&@builddir@&$ac_builddir&;t t | 11640 s&@builddir@&$ac_builddir&;t t |
8390 s&@abs_builddir@&$ac_abs_builddir&;t t | 11641 s&@abs_builddir@&$ac_abs_builddir&;t t |
8391 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 11642 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
8392 s&@INSTALL@&$ac_INSTALL&;t t | 11643 s&@INSTALL@&$ac_INSTALL&;t t |
8393 s&@MKDIR_P@&$ac_MKDIR_P&;t t | 11644 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
8394 $ac_datarootdir_hack | 11645 $ac_datarootdir_hack |
8395 " | 11646 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
8396 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
8397 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
8398 | 11647 |
8399 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 11648 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
8400 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 11649 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
8401 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 11650 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 11651 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
8403 which seems to be undefined. Please make sure it is defined" >&5 | 11652 which seems to be undefined. Please make sure it is defined." >&5 |
8404 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 11653 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
8405 which seems to be undefined. Please make sure it is defined" >&2;} | 11654 which seems to be undefined. Please make sure it is defined." >&2;} |
8406 | 11655 |
8407 rm -f "$tmp/stdin" | 11656 rm -f "$tmp/stdin" |
8408 case $ac_file in | 11657 case $ac_file in |
8409 -) cat "$tmp/out" && rm -f "$tmp/out";; | 11658 -) cat "$tmp/out"; rm -f "$tmp/out";; |
8410 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 11659 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
8411 esac \ | 11660 esac |
8412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
8413 ;; | 11661 ;; |
8414 | 11662 |
8415 | 11663 |
8416 | 11664 |
8417 esac | 11665 esac |
8418 | 11666 |
8419 done # for ac_tag | 11667 done # for ac_tag |
8420 | 11668 |
8421 | 11669 |
8422 as_fn_exit 0 | 11670 { (exit 0); exit 0; } |
8423 _ACEOF | 11671 _ACEOF |
11672 chmod +x $CONFIG_STATUS | |
8424 ac_clean_files=$ac_clean_files_save | 11673 ac_clean_files=$ac_clean_files_save |
8425 | |
8426 test $ac_write_fail = 0 || | |
8427 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
8428 | 11674 |
8429 | 11675 |
8430 # configure is writing to config.log, and then calls config.status. | 11676 # configure is writing to config.log, and then calls config.status. |
8431 # config.status does its own redirection, appending to config.log. | 11677 # config.status does its own redirection, appending to config.log. |
8432 # Unfortunately, on DOS this fails, as config.log is still kept open | 11678 # Unfortunately, on DOS this fails, as config.log is still kept open |
8443 exec 5>/dev/null | 11689 exec 5>/dev/null |
8444 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 11690 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
8445 exec 5>>config.log | 11691 exec 5>>config.log |
8446 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 11692 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
8447 # would make configure fail if this is the last instruction. | 11693 # would make configure fail if this is the last instruction. |
8448 $ac_cs_success || as_fn_exit 1 | 11694 $ac_cs_success || { (exit 1); exit 1; } |
8449 fi | |
8450 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
8452 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
8453 fi | 11695 fi |
8454 | 11696 |
8455 ac_config_files="$ac_config_files version.h" | 11697 ac_config_files="$ac_config_files version.h" |
8456 | 11698 |
8457 cat >confcache <<\_ACEOF | 11699 cat >confcache <<\_ACEOF |
8479 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 11721 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
8480 eval ac_val=\$$ac_var | 11722 eval ac_val=\$$ac_var |
8481 case $ac_val in #( | 11723 case $ac_val in #( |
8482 *${as_nl}*) | 11724 *${as_nl}*) |
8483 case $ac_var in #( | 11725 case $ac_var in #( |
8484 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 11726 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
8485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 11727 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
8486 esac | 11728 esac |
8487 case $ac_var in #( | 11729 case $ac_var in #( |
8488 _ | IFS | as_nl) ;; #( | 11730 _ | IFS | as_nl) ;; #( |
8489 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 11731 *) $as_unset $ac_var ;; |
8490 *) { eval $ac_var=; unset $ac_var;} ;; | |
8491 esac ;; | 11732 esac ;; |
8492 esac | 11733 esac |
8493 done | 11734 done |
8494 | 11735 |
8495 (set) 2>&1 | | 11736 (set) 2>&1 | |
8496 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 11737 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
8497 *${as_nl}ac_space=\ *) | 11738 *${as_nl}ac_space=\ *) |
8498 # `set' does not quote correctly, so add quotes: double-quote | 11739 # `set' does not quote correctly, so add quotes (double-quote |
8499 # substitution turns \\\\ into \\, and sed turns \\ into \. | 11740 # substitution turns \\\\ into \\, and sed turns \\ into \). |
8500 sed -n \ | 11741 sed -n \ |
8501 "s/'/'\\\\''/g; | 11742 "s/'/'\\\\''/g; |
8502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 11743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
8503 ;; #( | 11744 ;; #( |
8504 *) | 11745 *) |
8517 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 11758 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8518 :end' >>confcache | 11759 :end' >>confcache |
8519 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 11760 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8520 if test -w "$cache_file"; then | 11761 if test -w "$cache_file"; then |
8521 test "x$cache_file" != "x/dev/null" && | 11762 test "x$cache_file" != "x/dev/null" && |
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 11763 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
8523 $as_echo "$as_me: updating cache $cache_file" >&6;} | 11764 echo "$as_me: updating cache $cache_file" >&6;} |
8524 cat confcache >$cache_file | 11765 cat confcache >$cache_file |
8525 else | 11766 else |
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 11767 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
8527 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 11768 echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8528 fi | 11769 fi |
8529 fi | 11770 fi |
8530 rm -f confcache | 11771 rm -f confcache |
8531 | 11772 |
8532 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 11773 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
8539 # | 11780 # |
8540 # If the first sed substitution is executed (which looks for macros that | 11781 # If the first sed substitution is executed (which looks for macros that |
8541 # take arguments), then branch to the quote section. Otherwise, | 11782 # take arguments), then branch to the quote section. Otherwise, |
8542 # look for a macro that doesn't take arguments. | 11783 # look for a macro that doesn't take arguments. |
8543 ac_script=' | 11784 ac_script=' |
8544 :mline | |
8545 /\\$/{ | |
8546 N | |
8547 s,\\\n,, | |
8548 b mline | |
8549 } | |
8550 t clear | 11785 t clear |
8551 :clear | 11786 :clear |
8552 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | 11787 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
8553 t quote | 11788 t quote |
8554 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | 11789 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
8571 DEFS=`sed -n "$ac_script" confdefs.h` | 11806 DEFS=`sed -n "$ac_script" confdefs.h` |
8572 | 11807 |
8573 | 11808 |
8574 ac_libobjs= | 11809 ac_libobjs= |
8575 ac_ltlibobjs= | 11810 ac_ltlibobjs= |
8576 U= | |
8577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 11811 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
8578 # 1. Remove the extension, and $U if already installed. | 11812 # 1. Remove the extension, and $U if already installed. |
8579 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 11813 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
8580 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 11814 ac_i=`echo "$ac_i" | sed "$ac_script"` |
8581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 11815 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
8582 # will be set to the directory where LIBOBJS objects are built. | 11816 # will be set to the directory where LIBOBJS objects are built. |
8583 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 11817 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
8584 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 11818 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
8585 done | 11819 done |
8586 LIBOBJS=$ac_libobjs | 11820 LIBOBJS=$ac_libobjs |
8587 | 11821 |
8588 LTLIBOBJS=$ac_ltlibobjs | 11822 LTLIBOBJS=$ac_ltlibobjs |
8589 | 11823 |
8590 | 11824 |
8591 | 11825 |
8592 : ${CONFIG_STATUS=./config.status} | 11826 : ${CONFIG_STATUS=./config.status} |
8593 ac_write_fail=0 | |
8594 ac_clean_files_save=$ac_clean_files | 11827 ac_clean_files_save=$ac_clean_files |
8595 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 11828 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 11829 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
8597 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 11830 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8598 as_write_fail=0 | 11831 cat >$CONFIG_STATUS <<_ACEOF |
8599 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
8600 #! $SHELL | 11832 #! $SHELL |
8601 # Generated by $as_me. | 11833 # Generated by $as_me. |
8602 # Run this file to recreate the current configuration. | 11834 # Run this file to recreate the current configuration. |
8603 # Compiler output produced by configure, useful for debugging | 11835 # Compiler output produced by configure, useful for debugging |
8604 # configure, is in config.log if it exists. | 11836 # configure, is in config.log if it exists. |
8605 | 11837 |
8606 debug=false | 11838 debug=false |
8607 ac_cs_recheck=false | 11839 ac_cs_recheck=false |
8608 ac_cs_silent=false | 11840 ac_cs_silent=false |
8609 | |
8610 SHELL=\${CONFIG_SHELL-$SHELL} | 11841 SHELL=\${CONFIG_SHELL-$SHELL} |
8611 export SHELL | 11842 _ACEOF |
8612 _ASEOF | 11843 |
8613 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 11844 cat >>$CONFIG_STATUS <<\_ACEOF |
8614 ## -------------------- ## | 11845 ## --------------------- ## |
8615 ## M4sh Initialization. ## | 11846 ## M4sh Initialization. ## |
8616 ## -------------------- ## | 11847 ## --------------------- ## |
8617 | 11848 |
8618 # Be more Bourne compatible | 11849 # Be more Bourne compatible |
8619 DUALCASE=1; export DUALCASE # for MKS sh | 11850 DUALCASE=1; export DUALCASE # for MKS sh |
8620 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 11851 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
8621 emulate sh | 11852 emulate sh |
8622 NULLCMD=: | 11853 NULLCMD=: |
8623 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 11854 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
8624 # is contrary to our usage. Disable this feature. | 11855 # is contrary to our usage. Disable this feature. |
8625 alias -g '${1+"$@"}'='"$@"' | 11856 alias -g '${1+"$@"}'='"$@"' |
8626 setopt NO_GLOB_SUBST | 11857 setopt NO_GLOB_SUBST |
8627 else | 11858 else |
8628 case `(set -o) 2>/dev/null` in #( | 11859 case `(set -o) 2>/dev/null` in |
8629 *posix*) : | 11860 *posix*) set -o posix ;; |
8630 set -o posix ;; #( | 11861 esac |
8631 *) : | 11862 |
8632 ;; | 11863 fi |
8633 esac | 11864 |
8634 fi | 11865 |
8635 | 11866 |
8636 | 11867 |
8637 as_nl=' | 11868 # PATH needs CR |
8638 ' | 11869 # Avoid depending upon Character Ranges. |
8639 export as_nl | 11870 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
8640 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 11871 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
8641 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 11872 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
8642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 11873 as_cr_digits='0123456789' |
8643 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 11874 as_cr_alnum=$as_cr_Letters$as_cr_digits |
8644 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
8645 # but without wasting forks for bash or zsh. | |
8646 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
8647 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
8648 as_echo='print -r --' | |
8649 as_echo_n='print -rn --' | |
8650 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
8651 as_echo='printf %s\n' | |
8652 as_echo_n='printf %s' | |
8653 else | |
8654 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
8655 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
8656 as_echo_n='/usr/ucb/echo -n' | |
8657 else | |
8658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
8659 as_echo_n_body='eval | |
8660 arg=$1; | |
8661 case $arg in #( | |
8662 *"$as_nl"*) | |
8663 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
8664 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
8665 esac; | |
8666 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
8667 ' | |
8668 export as_echo_n_body | |
8669 as_echo_n='sh -c $as_echo_n_body as_echo' | |
8670 fi | |
8671 export as_echo_body | |
8672 as_echo='sh -c $as_echo_body as_echo' | |
8673 fi | |
8674 | 11875 |
8675 # The user is always right. | 11876 # The user is always right. |
8676 if test "${PATH_SEPARATOR+set}" != set; then | 11877 if test "${PATH_SEPARATOR+set}" != set; then |
8677 PATH_SEPARATOR=: | 11878 echo "#! /bin/sh" >conf$$.sh |
8678 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 11879 echo "exit 0" >>conf$$.sh |
8679 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 11880 chmod +x conf$$.sh |
8680 PATH_SEPARATOR=';' | 11881 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
8681 } | 11882 PATH_SEPARATOR=';' |
11883 else | |
11884 PATH_SEPARATOR=: | |
11885 fi | |
11886 rm -f conf$$.sh | |
11887 fi | |
11888 | |
11889 # Support unset when possible. | |
11890 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
11891 as_unset=unset | |
11892 else | |
11893 as_unset=false | |
8682 fi | 11894 fi |
8683 | 11895 |
8684 | 11896 |
8685 # IFS | 11897 # IFS |
8686 # We need space, tab and new line, in precisely that order. Quoting is | 11898 # We need space, tab and new line, in precisely that order. Quoting is |
8687 # there to prevent editors from complaining about space-tab. | 11899 # there to prevent editors from complaining about space-tab. |
8688 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 11900 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8689 # splitting by setting IFS to empty value.) | 11901 # splitting by setting IFS to empty value.) |
11902 as_nl=' | |
11903 ' | |
8690 IFS=" "" $as_nl" | 11904 IFS=" "" $as_nl" |
8691 | 11905 |
8692 # Find who we are. Look in the path if we contain no directory separator. | 11906 # Find who we are. Look in the path if we contain no directory separator. |
8693 case $0 in #(( | 11907 case $0 in |
8694 *[\\/]* ) as_myself=$0 ;; | 11908 *[\\/]* ) as_myself=$0 ;; |
8695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 11909 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8696 for as_dir in $PATH | 11910 for as_dir in $PATH |
8697 do | 11911 do |
8698 IFS=$as_save_IFS | 11912 IFS=$as_save_IFS |
8699 test -z "$as_dir" && as_dir=. | 11913 test -z "$as_dir" && as_dir=. |
8700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 11914 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
8701 done | 11915 done |
8702 IFS=$as_save_IFS | 11916 IFS=$as_save_IFS |
8703 | 11917 |
8704 ;; | 11918 ;; |
8705 esac | 11919 esac |
8706 # We did not find ourselves, most probably we were run as `sh COMMAND' | 11920 # We did not find ourselves, most probably we were run as `sh COMMAND' |
8707 # in which case we are not to be found in the path. | 11921 # in which case we are not to be found in the path. |
8708 if test "x$as_myself" = x; then | 11922 if test "x$as_myself" = x; then |
8709 as_myself=$0 | 11923 as_myself=$0 |
8710 fi | 11924 fi |
8711 if test ! -f "$as_myself"; then | 11925 if test ! -f "$as_myself"; then |
8712 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 11926 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
8713 exit 1 | 11927 { (exit 1); exit 1; } |
8714 fi | 11928 fi |
8715 | 11929 |
8716 # Unset variables that we do not need and which cause bugs (e.g. in | 11930 # Work around bugs in pre-3.0 UWIN ksh. |
8717 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 11931 for as_var in ENV MAIL MAILPATH |
8718 # suppresses any "Segmentation fault" message there. '((' could | 11932 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
8719 # trigger a bug in pdksh 5.2.14. | |
8720 for as_var in BASH_ENV ENV MAIL MAILPATH | |
8721 do eval test x\${$as_var+set} = xset \ | |
8722 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
8723 done | 11933 done |
8724 PS1='$ ' | 11934 PS1='$ ' |
8725 PS2='> ' | 11935 PS2='> ' |
8726 PS4='+ ' | 11936 PS4='+ ' |
8727 | 11937 |
8728 # NLS nuisances. | 11938 # NLS nuisances. |
8729 LC_ALL=C | 11939 for as_var in \ |
8730 export LC_ALL | 11940 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
8731 LANGUAGE=C | 11941 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
8732 export LANGUAGE | 11942 LC_TELEPHONE LC_TIME |
8733 | 11943 do |
8734 # CDPATH. | 11944 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
8735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 11945 eval $as_var=C; export $as_var |
8736 | 11946 else |
8737 | 11947 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
8738 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
8739 # ---------------------------------------- | |
8740 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
8741 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
8742 # script with STATUS, using 1 if that was 0. | |
8743 as_fn_error () | |
8744 { | |
8745 as_status=$1; test $as_status -eq 0 && as_status=1 | |
8746 if test "$4"; then | |
8747 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
8748 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
8749 fi | 11948 fi |
8750 $as_echo "$as_me: error: $2" >&2 | 11949 done |
8751 as_fn_exit $as_status | 11950 |
8752 } # as_fn_error | 11951 # Required to use basename. |
8753 | |
8754 | |
8755 # as_fn_set_status STATUS | |
8756 # ----------------------- | |
8757 # Set $? to STATUS, without forking. | |
8758 as_fn_set_status () | |
8759 { | |
8760 return $1 | |
8761 } # as_fn_set_status | |
8762 | |
8763 # as_fn_exit STATUS | |
8764 # ----------------- | |
8765 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
8766 as_fn_exit () | |
8767 { | |
8768 set +e | |
8769 as_fn_set_status $1 | |
8770 exit $1 | |
8771 } # as_fn_exit | |
8772 | |
8773 # as_fn_unset VAR | |
8774 # --------------- | |
8775 # Portably unset VAR. | |
8776 as_fn_unset () | |
8777 { | |
8778 { eval $1=; unset $1;} | |
8779 } | |
8780 as_unset=as_fn_unset | |
8781 # as_fn_append VAR VALUE | |
8782 # ---------------------- | |
8783 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
8784 # advantage of any shell optimizations that allow amortized linear growth over | |
8785 # repeated appends, instead of the typical quadratic growth present in naive | |
8786 # implementations. | |
8787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
8788 eval 'as_fn_append () | |
8789 { | |
8790 eval $1+=\$2 | |
8791 }' | |
8792 else | |
8793 as_fn_append () | |
8794 { | |
8795 eval $1=\$$1\$2 | |
8796 } | |
8797 fi # as_fn_append | |
8798 | |
8799 # as_fn_arith ARG... | |
8800 # ------------------ | |
8801 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
8802 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
8803 # must be portable across $(()) and expr. | |
8804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
8805 eval 'as_fn_arith () | |
8806 { | |
8807 as_val=$(( $* )) | |
8808 }' | |
8809 else | |
8810 as_fn_arith () | |
8811 { | |
8812 as_val=`expr "$@" || test $? -eq 1` | |
8813 } | |
8814 fi # as_fn_arith | |
8815 | |
8816 | |
8817 if expr a : '\(a\)' >/dev/null 2>&1 && | 11952 if expr a : '\(a\)' >/dev/null 2>&1 && |
8818 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 11953 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
8819 as_expr=expr | 11954 as_expr=expr |
8820 else | 11955 else |
8821 as_expr=false | 11956 as_expr=false |
8825 as_basename=basename | 11960 as_basename=basename |
8826 else | 11961 else |
8827 as_basename=false | 11962 as_basename=false |
8828 fi | 11963 fi |
8829 | 11964 |
8830 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 11965 |
8831 as_dirname=dirname | 11966 # Name of the executable. |
8832 else | |
8833 as_dirname=false | |
8834 fi | |
8835 | |
8836 as_me=`$as_basename -- "$0" || | 11967 as_me=`$as_basename -- "$0" || |
8837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 11968 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
8838 X"$0" : 'X\(//\)$' \| \ | 11969 X"$0" : 'X\(//\)$' \| \ |
8839 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 11970 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
8840 $as_echo X/"$0" | | 11971 echo X/"$0" | |
8841 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 11972 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
8842 s//\1/ | 11973 s//\1/ |
8843 q | 11974 q |
8844 } | 11975 } |
8845 /^X\/\(\/\/\)$/{ | 11976 /^X\/\(\/\/\)$/{ |
8850 s//\1/ | 11981 s//\1/ |
8851 q | 11982 q |
8852 } | 11983 } |
8853 s/.*/./; q'` | 11984 s/.*/./; q'` |
8854 | 11985 |
8855 # Avoid depending upon Character Ranges. | 11986 # CDPATH. |
8856 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 11987 $as_unset CDPATH |
8857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 11988 |
8858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 11989 |
8859 as_cr_digits='0123456789' | 11990 |
8860 as_cr_alnum=$as_cr_Letters$as_cr_digits | 11991 as_lineno_1=$LINENO |
11992 as_lineno_2=$LINENO | |
11993 test "x$as_lineno_1" != "x$as_lineno_2" && | |
11994 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
11995 | |
11996 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
11997 # uniformly replaced by the line number. The first 'sed' inserts a | |
11998 # line-number line after each line using $LINENO; the second 'sed' | |
11999 # does the real work. The second script uses 'N' to pair each | |
12000 # line-number line with the line containing $LINENO, and appends | |
12001 # trailing '-' during substitution so that $LINENO is not a special | |
12002 # case at line end. | |
12003 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
12004 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
12005 # E. McMahon (1931-1989) for sed's syntax. :-) | |
12006 sed -n ' | |
12007 p | |
12008 /[$]LINENO/= | |
12009 ' <$as_myself | | |
12010 sed ' | |
12011 s/[$]LINENO.*/&-/ | |
12012 t lineno | |
12013 b | |
12014 :lineno | |
12015 N | |
12016 :loop | |
12017 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
12018 t loop | |
12019 s/-\n.*// | |
12020 ' >$as_me.lineno && | |
12021 chmod +x "$as_me.lineno" || | |
12022 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
12023 { (exit 1); exit 1; }; } | |
12024 | |
12025 # Don't try to exec as it changes $[0], causing all sort of problems | |
12026 # (the dirname of $[0] is not the place where we might find the | |
12027 # original and so on. Autoconf is especially sensitive to this). | |
12028 . "./$as_me.lineno" | |
12029 # Exit status is that of the last command. | |
12030 exit | |
12031 } | |
12032 | |
12033 | |
12034 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
12035 as_dirname=dirname | |
12036 else | |
12037 as_dirname=false | |
12038 fi | |
8861 | 12039 |
8862 ECHO_C= ECHO_N= ECHO_T= | 12040 ECHO_C= ECHO_N= ECHO_T= |
8863 case `echo -n x` in #((((( | 12041 case `echo -n x` in |
8864 -n*) | 12042 -n*) |
8865 case `echo 'xy\c'` in | 12043 case `echo 'x\c'` in |
8866 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 12044 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
8867 xy) ECHO_C='\c';; | 12045 *) ECHO_C='\c';; |
8868 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
8869 ECHO_T=' ';; | |
8870 esac;; | 12046 esac;; |
8871 *) | 12047 *) |
8872 ECHO_N='-n';; | 12048 ECHO_N='-n';; |
8873 esac | 12049 esac |
8874 | 12050 |
12051 if expr a : '\(a\)' >/dev/null 2>&1 && | |
12052 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
12053 as_expr=expr | |
12054 else | |
12055 as_expr=false | |
12056 fi | |
12057 | |
8875 rm -f conf$$ conf$$.exe conf$$.file | 12058 rm -f conf$$ conf$$.exe conf$$.file |
8876 if test -d conf$$.dir; then | 12059 if test -d conf$$.dir; then |
8877 rm -f conf$$.dir/conf$$.file | 12060 rm -f conf$$.dir/conf$$.file |
8878 else | 12061 else |
8879 rm -f conf$$.dir | 12062 rm -f conf$$.dir |
8880 mkdir conf$$.dir 2>/dev/null | 12063 mkdir conf$$.dir |
8881 fi | 12064 fi |
8882 if (echo >conf$$.file) 2>/dev/null; then | 12065 echo >conf$$.file |
8883 if ln -s conf$$.file conf$$ 2>/dev/null; then | 12066 if ln -s conf$$.file conf$$ 2>/dev/null; then |
8884 as_ln_s='ln -s' | 12067 as_ln_s='ln -s' |
8885 # ... but there are two gotchas: | 12068 # ... but there are two gotchas: |
8886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 12069 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
8887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 12070 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
8888 # In both cases, we have to default to `cp -p'. | 12071 # In both cases, we have to default to `cp -p'. |
8889 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 12072 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
8890 as_ln_s='cp -p' | |
8891 elif ln conf$$.file conf$$ 2>/dev/null; then | |
8892 as_ln_s=ln | |
8893 else | |
8894 as_ln_s='cp -p' | 12073 as_ln_s='cp -p' |
8895 fi | 12074 elif ln conf$$.file conf$$ 2>/dev/null; then |
12075 as_ln_s=ln | |
8896 else | 12076 else |
8897 as_ln_s='cp -p' | 12077 as_ln_s='cp -p' |
8898 fi | 12078 fi |
8899 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 12079 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
8900 rmdir conf$$.dir 2>/dev/null | 12080 rmdir conf$$.dir 2>/dev/null |
8901 | 12081 |
8902 | 12082 if mkdir -p . 2>/dev/null; then |
8903 # as_fn_mkdir_p | 12083 as_mkdir_p=: |
8904 # ------------- | 12084 else |
8905 # Create "$as_dir" as a directory, including parents if necessary. | 12085 test -d ./-p && rmdir ./-p |
8906 as_fn_mkdir_p () | 12086 as_mkdir_p=false |
12087 fi | |
12088 | |
12089 if test -x / >/dev/null 2>&1; then | |
12090 as_test_x='test -x' | |
12091 else | |
12092 if ls -dL / >/dev/null 2>&1; then | |
12093 as_ls_L_option=L | |
12094 else | |
12095 as_ls_L_option= | |
12096 fi | |
12097 as_test_x=' | |
12098 eval sh -c '\'' | |
12099 if test -d "$1"; then | |
12100 test -d "$1/."; | |
12101 else | |
12102 case $1 in | |
12103 -*)set "./$1";; | |
12104 esac; | |
12105 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
12106 ???[sx]*):;;*)false;;esac;fi | |
12107 '\'' sh | |
12108 ' | |
12109 fi | |
12110 as_executable_p=$as_test_x | |
12111 | |
12112 # Sed expression to map a string onto a valid CPP name. | |
12113 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
12114 | |
12115 # Sed expression to map a string onto a valid variable name. | |
12116 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
12117 | |
12118 | |
12119 exec 6>&1 | |
12120 | |
12121 # Save the log message, to keep $[0] and so on meaningful, and to | |
12122 # report actual input values of CONFIG_FILES etc. instead of their | |
12123 # values after options handling. | |
12124 ac_log=" | |
12125 This file was extended by Sonic Visualiser $as_me 1.9-kiosk-hg, which was | |
12126 generated by GNU Autoconf 2.61. Invocation command line was | |
12127 | |
12128 CONFIG_FILES = $CONFIG_FILES | |
12129 CONFIG_HEADERS = $CONFIG_HEADERS | |
12130 CONFIG_LINKS = $CONFIG_LINKS | |
12131 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
12132 $ $0 $@ | |
12133 | |
12134 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
12135 " | |
12136 | |
12137 _ACEOF | |
12138 | |
12139 cat >>$CONFIG_STATUS <<_ACEOF | |
12140 # Files that config.status was made for. | |
12141 config_files="$ac_config_files" | |
12142 | |
12143 _ACEOF | |
12144 | |
12145 cat >>$CONFIG_STATUS <<\_ACEOF | |
12146 ac_cs_usage="\ | |
12147 \`$as_me' instantiates files from templates according to the | |
12148 current configuration. | |
12149 | |
12150 Usage: $0 [OPTIONS] [FILE]... | |
12151 | |
12152 -h, --help print this help, then exit | |
12153 -V, --version print version number and configuration settings, then exit | |
12154 -q, --quiet do not print progress messages | |
12155 -d, --debug don't remove temporary files | |
12156 --recheck update $as_me by reconfiguring in the same conditions | |
12157 --file=FILE[:TEMPLATE] | |
12158 instantiate the configuration file FILE | |
12159 | |
12160 Configuration files: | |
12161 $config_files | |
12162 | |
12163 Report bugs to <bug-autoconf@gnu.org>." | |
12164 | |
12165 _ACEOF | |
12166 cat >>$CONFIG_STATUS <<_ACEOF | |
12167 ac_cs_version="\\ | |
12168 Sonic Visualiser config.status 1.9-kiosk-hg | |
12169 configured by $0, generated by GNU Autoconf 2.61, | |
12170 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
12171 | |
12172 Copyright (C) 2006 Free Software Foundation, Inc. | |
12173 This config.status script is free software; the Free Software Foundation | |
12174 gives unlimited permission to copy, distribute and modify it." | |
12175 | |
12176 ac_pwd='$ac_pwd' | |
12177 srcdir='$srcdir' | |
12178 INSTALL='$INSTALL' | |
12179 MKDIR_P='$MKDIR_P' | |
12180 _ACEOF | |
12181 | |
12182 cat >>$CONFIG_STATUS <<\_ACEOF | |
12183 # If no file are specified by the user, then we need to provide default | |
12184 # value. By we need to know if files were specified by the user. | |
12185 ac_need_defaults=: | |
12186 while test $# != 0 | |
12187 do | |
12188 case $1 in | |
12189 --*=*) | |
12190 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
12191 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
12192 ac_shift=: | |
12193 ;; | |
12194 *) | |
12195 ac_option=$1 | |
12196 ac_optarg=$2 | |
12197 ac_shift=shift | |
12198 ;; | |
12199 esac | |
12200 | |
12201 case $ac_option in | |
12202 # Handling of the options. | |
12203 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
12204 ac_cs_recheck=: ;; | |
12205 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
12206 echo "$ac_cs_version"; exit ;; | |
12207 --debug | --debu | --deb | --de | --d | -d ) | |
12208 debug=: ;; | |
12209 --file | --fil | --fi | --f ) | |
12210 $ac_shift | |
12211 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
12212 ac_need_defaults=false;; | |
12213 --he | --h | --help | --hel | -h ) | |
12214 echo "$ac_cs_usage"; exit ;; | |
12215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
12216 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
12217 ac_cs_silent=: ;; | |
12218 | |
12219 # This is an error. | |
12220 -*) { echo "$as_me: error: unrecognized option: $1 | |
12221 Try \`$0 --help' for more information." >&2 | |
12222 { (exit 1); exit 1; }; } ;; | |
12223 | |
12224 *) ac_config_targets="$ac_config_targets $1" | |
12225 ac_need_defaults=false ;; | |
12226 | |
12227 esac | |
12228 shift | |
12229 done | |
12230 | |
12231 ac_configure_extra_args= | |
12232 | |
12233 if $ac_cs_silent; then | |
12234 exec 6>/dev/null | |
12235 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
12236 fi | |
12237 | |
12238 _ACEOF | |
12239 cat >>$CONFIG_STATUS <<_ACEOF | |
12240 if \$ac_cs_recheck; then | |
12241 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
12242 CONFIG_SHELL=$SHELL | |
12243 export CONFIG_SHELL | |
12244 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
12245 fi | |
12246 | |
12247 _ACEOF | |
12248 cat >>$CONFIG_STATUS <<\_ACEOF | |
12249 exec 5>>config.log | |
8907 { | 12250 { |
8908 | 12251 echo |
12252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
12253 ## Running $as_me. ## | |
12254 _ASBOX | |
12255 echo "$ac_log" | |
12256 } >&5 | |
12257 | |
12258 _ACEOF | |
12259 cat >>$CONFIG_STATUS <<_ACEOF | |
12260 _ACEOF | |
12261 | |
12262 cat >>$CONFIG_STATUS <<\_ACEOF | |
12263 | |
12264 # Handling of arguments. | |
12265 for ac_config_target in $ac_config_targets | |
12266 do | |
12267 case $ac_config_target in | |
12268 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; | |
12269 "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;; | |
12270 | |
12271 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
12272 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
12273 { (exit 1); exit 1; }; };; | |
12274 esac | |
12275 done | |
12276 | |
12277 | |
12278 # If the user did not use the arguments to specify the items to instantiate, | |
12279 # then the envvar interface is used. Set only those that are not. | |
12280 # We use the long form for the default assignment because of an extremely | |
12281 # bizarre bug on SunOS 4.1.3. | |
12282 if $ac_need_defaults; then | |
12283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
12284 fi | |
12285 | |
12286 # Have a temporary directory for convenience. Make it in the build tree | |
12287 # simply because there is no reason against having it here, and in addition, | |
12288 # creating and moving files from /tmp can sometimes cause problems. | |
12289 # Hook for its removal unless debugging. | |
12290 # Note that there is a small window in which the directory will not be cleaned: | |
12291 # after its creation but before its name has been assigned to `$tmp'. | |
12292 $debug || | |
12293 { | |
12294 tmp= | |
12295 trap 'exit_status=$? | |
12296 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
12297 ' 0 | |
12298 trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
12299 } | |
12300 # Create a (secure) tmp directory for tmp files. | |
12301 | |
12302 { | |
12303 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
12304 test -n "$tmp" && test -d "$tmp" | |
12305 } || | |
12306 { | |
12307 tmp=./conf$$-$RANDOM | |
12308 (umask 077 && mkdir "$tmp") | |
12309 } || | |
12310 { | |
12311 echo "$me: cannot create a temporary directory in ." >&2 | |
12312 { (exit 1); exit 1; } | |
12313 } | |
12314 | |
12315 # | |
12316 # Set up the sed scripts for CONFIG_FILES section. | |
12317 # | |
12318 | |
12319 # No need to generate the scripts if there are no CONFIG_FILES. | |
12320 # This happens for instance when ./config.status config.h | |
12321 if test -n "$CONFIG_FILES"; then | |
12322 | |
12323 _ACEOF | |
12324 | |
12325 | |
12326 | |
12327 ac_delim='%!_!# ' | |
12328 for ac_last_try in false false false false false :; do | |
12329 cat >conf$$subs.sed <<_ACEOF | |
12330 SHELL!$SHELL$ac_delim | |
12331 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
12332 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
12333 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
12334 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
12335 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
12336 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
12337 exec_prefix!$exec_prefix$ac_delim | |
12338 prefix!$prefix$ac_delim | |
12339 program_transform_name!$program_transform_name$ac_delim | |
12340 bindir!$bindir$ac_delim | |
12341 sbindir!$sbindir$ac_delim | |
12342 libexecdir!$libexecdir$ac_delim | |
12343 datarootdir!$datarootdir$ac_delim | |
12344 datadir!$datadir$ac_delim | |
12345 sysconfdir!$sysconfdir$ac_delim | |
12346 sharedstatedir!$sharedstatedir$ac_delim | |
12347 localstatedir!$localstatedir$ac_delim | |
12348 includedir!$includedir$ac_delim | |
12349 oldincludedir!$oldincludedir$ac_delim | |
12350 docdir!$docdir$ac_delim | |
12351 infodir!$infodir$ac_delim | |
12352 htmldir!$htmldir$ac_delim | |
12353 dvidir!$dvidir$ac_delim | |
12354 pdfdir!$pdfdir$ac_delim | |
12355 psdir!$psdir$ac_delim | |
12356 libdir!$libdir$ac_delim | |
12357 localedir!$localedir$ac_delim | |
12358 mandir!$mandir$ac_delim | |
12359 DEFS!$DEFS$ac_delim | |
12360 ECHO_C!$ECHO_C$ac_delim | |
12361 ECHO_N!$ECHO_N$ac_delim | |
12362 ECHO_T!$ECHO_T$ac_delim | |
12363 LIBS!$LIBS$ac_delim | |
12364 build_alias!$build_alias$ac_delim | |
12365 host_alias!$host_alias$ac_delim | |
12366 target_alias!$target_alias$ac_delim | |
12367 CC!$CC$ac_delim | |
12368 CFLAGS!$CFLAGS$ac_delim | |
12369 LDFLAGS!$LDFLAGS$ac_delim | |
12370 CPPFLAGS!$CPPFLAGS$ac_delim | |
12371 ac_ct_CC!$ac_ct_CC$ac_delim | |
12372 EXEEXT!$EXEEXT$ac_delim | |
12373 OBJEXT!$OBJEXT$ac_delim | |
12374 CXX!$CXX$ac_delim | |
12375 CXXFLAGS!$CXXFLAGS$ac_delim | |
12376 ac_ct_CXX!$ac_ct_CXX$ac_delim | |
12377 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
12378 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
12379 INSTALL_DATA!$INSTALL_DATA$ac_delim | |
12380 CXXCPP!$CXXCPP$ac_delim | |
12381 GREP!$GREP$ac_delim | |
12382 EGREP!$EGREP$ac_delim | |
12383 PKG_CONFIG!$PKG_CONFIG$ac_delim | |
12384 PKG_CONFIG_PATH!$PKG_CONFIG_PATH$ac_delim | |
12385 PKG_CONFIG_LIBDIR!$PKG_CONFIG_LIBDIR$ac_delim | |
12386 QMAKE!$QMAKE$ac_delim | |
12387 bz2_CFLAGS!$bz2_CFLAGS$ac_delim | |
12388 bz2_LIBS!$bz2_LIBS$ac_delim | |
12389 fftw3_CFLAGS!$fftw3_CFLAGS$ac_delim | |
12390 fftw3_LIBS!$fftw3_LIBS$ac_delim | |
12391 fftw3f_CFLAGS!$fftw3f_CFLAGS$ac_delim | |
12392 fftw3f_LIBS!$fftw3f_LIBS$ac_delim | |
12393 sndfile_CFLAGS!$sndfile_CFLAGS$ac_delim | |
12394 sndfile_LIBS!$sndfile_LIBS$ac_delim | |
12395 samplerate_CFLAGS!$samplerate_CFLAGS$ac_delim | |
12396 samplerate_LIBS!$samplerate_LIBS$ac_delim | |
12397 vamp_CFLAGS!$vamp_CFLAGS$ac_delim | |
12398 vamp_LIBS!$vamp_LIBS$ac_delim | |
12399 vamphostsdk_CFLAGS!$vamphostsdk_CFLAGS$ac_delim | |
12400 vamphostsdk_LIBS!$vamphostsdk_LIBS$ac_delim | |
12401 rubberband_CFLAGS!$rubberband_CFLAGS$ac_delim | |
12402 rubberband_LIBS!$rubberband_LIBS$ac_delim | |
12403 raptor_CFLAGS!$raptor_CFLAGS$ac_delim | |
12404 raptor_LIBS!$raptor_LIBS$ac_delim | |
12405 rasqal_CFLAGS!$rasqal_CFLAGS$ac_delim | |
12406 rasqal_LIBS!$rasqal_LIBS$ac_delim | |
12407 redland_CFLAGS!$redland_CFLAGS$ac_delim | |
12408 redland_LIBS!$redland_LIBS$ac_delim | |
12409 liblo_CFLAGS!$liblo_CFLAGS$ac_delim | |
12410 liblo_LIBS!$liblo_LIBS$ac_delim | |
12411 portaudio_2_0_CFLAGS!$portaudio_2_0_CFLAGS$ac_delim | |
12412 portaudio_2_0_LIBS!$portaudio_2_0_LIBS$ac_delim | |
12413 JACK_CFLAGS!$JACK_CFLAGS$ac_delim | |
12414 JACK_LIBS!$JACK_LIBS$ac_delim | |
12415 libpulse_CFLAGS!$libpulse_CFLAGS$ac_delim | |
12416 libpulse_LIBS!$libpulse_LIBS$ac_delim | |
12417 lrdf_CFLAGS!$lrdf_CFLAGS$ac_delim | |
12418 lrdf_LIBS!$lrdf_LIBS$ac_delim | |
12419 oggz_CFLAGS!$oggz_CFLAGS$ac_delim | |
12420 oggz_LIBS!$oggz_LIBS$ac_delim | |
12421 fishsound_CFLAGS!$fishsound_CFLAGS$ac_delim | |
12422 fishsound_LIBS!$fishsound_LIBS$ac_delim | |
12423 mad_CFLAGS!$mad_CFLAGS$ac_delim | |
12424 mad_LIBS!$mad_LIBS$ac_delim | |
12425 id3tag_CFLAGS!$id3tag_CFLAGS$ac_delim | |
12426 id3tag_LIBS!$id3tag_LIBS$ac_delim | |
12427 _ACEOF | |
12428 | |
12429 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | |
12430 break | |
12431 elif $ac_last_try; then | |
12432 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
12433 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
12434 { (exit 1); exit 1; }; } | |
12435 else | |
12436 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
12437 fi | |
12438 done | |
12439 | |
12440 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
12441 if test -n "$ac_eof"; then | |
12442 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
12443 ac_eof=`expr $ac_eof + 1` | |
12444 fi | |
12445 | |
12446 cat >>$CONFIG_STATUS <<_ACEOF | |
12447 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
12448 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
12449 _ACEOF | |
12450 sed ' | |
12451 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
12452 s/^/s,@/; s/!/@,|#_!!_#|/ | |
12453 :n | |
12454 t n | |
12455 s/'"$ac_delim"'$/,g/; t | |
12456 s/$/\\/; p | |
12457 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
12458 ' >>$CONFIG_STATUS <conf$$subs.sed | |
12459 rm -f conf$$subs.sed | |
12460 cat >>$CONFIG_STATUS <<_ACEOF | |
12461 CEOF$ac_eof | |
12462 _ACEOF | |
12463 | |
12464 | |
12465 ac_delim='%!_!# ' | |
12466 for ac_last_try in false false false false false :; do | |
12467 cat >conf$$subs.sed <<_ACEOF | |
12468 PERL!$PERL$ac_delim | |
12469 XARGS!$XARGS$ac_delim | |
12470 MAKEDEPEND!$MAKEDEPEND$ac_delim | |
12471 SHA1SUM!$SHA1SUM$ac_delim | |
12472 CUT!$CUT$ac_delim | |
12473 CXXFLAGS_MINIMAL!$CXXFLAGS_MINIMAL$ac_delim | |
12474 HAVES!$HAVES$ac_delim | |
12475 QMAKE_CONFIG!$QMAKE_CONFIG$ac_delim | |
12476 CODENAME!$CODENAME$ac_delim | |
12477 LIBOBJS!$LIBOBJS$ac_delim | |
12478 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
12479 _ACEOF | |
12480 | |
12481 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then | |
12482 break | |
12483 elif $ac_last_try; then | |
12484 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
12485 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
12486 { (exit 1); exit 1; }; } | |
12487 else | |
12488 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
12489 fi | |
12490 done | |
12491 | |
12492 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
12493 if test -n "$ac_eof"; then | |
12494 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
12495 ac_eof=`expr $ac_eof + 1` | |
12496 fi | |
12497 | |
12498 cat >>$CONFIG_STATUS <<_ACEOF | |
12499 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | |
12500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
12501 _ACEOF | |
12502 sed ' | |
12503 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
12504 s/^/s,@/; s/!/@,|#_!!_#|/ | |
12505 :n | |
12506 t n | |
12507 s/'"$ac_delim"'$/,g/; t | |
12508 s/$/\\/; p | |
12509 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
12510 ' >>$CONFIG_STATUS <conf$$subs.sed | |
12511 rm -f conf$$subs.sed | |
12512 cat >>$CONFIG_STATUS <<_ACEOF | |
12513 :end | |
12514 s/|#_!!_#|//g | |
12515 CEOF$ac_eof | |
12516 _ACEOF | |
12517 | |
12518 | |
12519 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
12520 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
12521 # trailing colons and then remove the whole line if VPATH becomes empty | |
12522 # (actually we leave an empty line to preserve line numbers). | |
12523 if test "x$srcdir" = x.; then | |
12524 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
12525 s/:*\$(srcdir):*/:/ | |
12526 s/:*\${srcdir}:*/:/ | |
12527 s/:*@srcdir@:*/:/ | |
12528 s/^\([^=]*=[ ]*\):*/\1/ | |
12529 s/:*$// | |
12530 s/^[^=]*=[ ]*$// | |
12531 }' | |
12532 fi | |
12533 | |
12534 cat >>$CONFIG_STATUS <<\_ACEOF | |
12535 fi # test -n "$CONFIG_FILES" | |
12536 | |
12537 | |
12538 for ac_tag in :F $CONFIG_FILES | |
12539 do | |
12540 case $ac_tag in | |
12541 :[FHLC]) ac_mode=$ac_tag; continue;; | |
12542 esac | |
12543 case $ac_mode$ac_tag in | |
12544 :[FHL]*:*);; | |
12545 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
12546 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
12547 { (exit 1); exit 1; }; };; | |
12548 :[FH]-) ac_tag=-:-;; | |
12549 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
12550 esac | |
12551 ac_save_IFS=$IFS | |
12552 IFS=: | |
12553 set x $ac_tag | |
12554 IFS=$ac_save_IFS | |
12555 shift | |
12556 ac_file=$1 | |
12557 shift | |
12558 | |
12559 case $ac_mode in | |
12560 :L) ac_source=$1;; | |
12561 :[FH]) | |
12562 ac_file_inputs= | |
12563 for ac_f | |
12564 do | |
12565 case $ac_f in | |
12566 -) ac_f="$tmp/stdin";; | |
12567 *) # Look for the file first in the build tree, then in the source tree | |
12568 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
12569 # because $ac_f cannot contain `:'. | |
12570 test -f "$ac_f" || | |
12571 case $ac_f in | |
12572 [\\/$]*) false;; | |
12573 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
12574 esac || | |
12575 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
12576 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
12577 { (exit 1); exit 1; }; };; | |
12578 esac | |
12579 ac_file_inputs="$ac_file_inputs $ac_f" | |
12580 done | |
12581 | |
12582 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
12583 # use $as_me), people would be surprised to read: | |
12584 # /* config.h. Generated by config.status. */ | |
12585 configure_input="Generated from "`IFS=: | |
12586 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
12587 if test x"$ac_file" != x-; then | |
12588 configure_input="$ac_file. $configure_input" | |
12589 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
12590 echo "$as_me: creating $ac_file" >&6;} | |
12591 fi | |
12592 | |
12593 case $ac_tag in | |
12594 *:-:* | *:-) cat >"$tmp/stdin";; | |
12595 esac | |
12596 ;; | |
12597 esac | |
12598 | |
12599 ac_dir=`$as_dirname -- "$ac_file" || | |
12600 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
12601 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
12602 X"$ac_file" : 'X\(//\)$' \| \ | |
12603 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
12604 echo X"$ac_file" | | |
12605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
12606 s//\1/ | |
12607 q | |
12608 } | |
12609 /^X\(\/\/\)[^/].*/{ | |
12610 s//\1/ | |
12611 q | |
12612 } | |
12613 /^X\(\/\/\)$/{ | |
12614 s//\1/ | |
12615 q | |
12616 } | |
12617 /^X\(\/\).*/{ | |
12618 s//\1/ | |
12619 q | |
12620 } | |
12621 s/.*/./; q'` | |
12622 { as_dir="$ac_dir" | |
8909 case $as_dir in #( | 12623 case $as_dir in #( |
8910 -*) as_dir=./$as_dir;; | 12624 -*) as_dir=./$as_dir;; |
8911 esac | 12625 esac |
8912 test -d "$as_dir" || eval $as_mkdir_p || { | 12626 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
8913 as_dirs= | 12627 as_dirs= |
8914 while :; do | 12628 while :; do |
8915 case $as_dir in #( | 12629 case $as_dir in #( |
8916 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 12630 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
8917 *) as_qdir=$as_dir;; | 12631 *) as_qdir=$as_dir;; |
8918 esac | 12632 esac |
8919 as_dirs="'$as_qdir' $as_dirs" | 12633 as_dirs="'$as_qdir' $as_dirs" |
8920 as_dir=`$as_dirname -- "$as_dir" || | 12634 as_dir=`$as_dirname -- "$as_dir" || |
8921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 12635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8922 X"$as_dir" : 'X\(//\)[^/]' \| \ | 12636 X"$as_dir" : 'X\(//\)[^/]' \| \ |
8923 X"$as_dir" : 'X\(//\)$' \| \ | 12637 X"$as_dir" : 'X\(//\)$' \| \ |
8924 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 12638 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
8925 $as_echo X"$as_dir" | | 12639 echo X"$as_dir" | |
8926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 12640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
8927 s//\1/ | 12641 s//\1/ |
8928 q | 12642 q |
8929 } | 12643 } |
8930 /^X\(\/\/\)[^/].*/{ | 12644 /^X\(\/\/\)[^/].*/{ |
8941 } | 12655 } |
8942 s/.*/./; q'` | 12656 s/.*/./; q'` |
8943 test -d "$as_dir" && break | 12657 test -d "$as_dir" && break |
8944 done | 12658 done |
8945 test -z "$as_dirs" || eval "mkdir $as_dirs" | 12659 test -z "$as_dirs" || eval "mkdir $as_dirs" |
8946 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 12660 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
8947 | 12661 echo "$as_me: error: cannot create directory $as_dir" >&2;} |
8948 | 12662 { (exit 1); exit 1; }; }; } |
8949 } # as_fn_mkdir_p | |
8950 if mkdir -p . 2>/dev/null; then | |
8951 as_mkdir_p='mkdir -p "$as_dir"' | |
8952 else | |
8953 test -d ./-p && rmdir ./-p | |
8954 as_mkdir_p=false | |
8955 fi | |
8956 | |
8957 if test -x / >/dev/null 2>&1; then | |
8958 as_test_x='test -x' | |
8959 else | |
8960 if ls -dL / >/dev/null 2>&1; then | |
8961 as_ls_L_option=L | |
8962 else | |
8963 as_ls_L_option= | |
8964 fi | |
8965 as_test_x=' | |
8966 eval sh -c '\'' | |
8967 if test -d "$1"; then | |
8968 test -d "$1/."; | |
8969 else | |
8970 case $1 in #( | |
8971 -*)set "./$1";; | |
8972 esac; | |
8973 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
8974 ???[sx]*):;;*)false;;esac;fi | |
8975 '\'' sh | |
8976 ' | |
8977 fi | |
8978 as_executable_p=$as_test_x | |
8979 | |
8980 # Sed expression to map a string onto a valid CPP name. | |
8981 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
8982 | |
8983 # Sed expression to map a string onto a valid variable name. | |
8984 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
8985 | |
8986 | |
8987 exec 6>&1 | |
8988 ## ----------------------------------- ## | |
8989 ## Main body of $CONFIG_STATUS script. ## | |
8990 ## ----------------------------------- ## | |
8991 _ASEOF | |
8992 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
8993 | |
8994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
8995 # Save the log message, to keep $0 and so on meaningful, and to | |
8996 # report actual input values of CONFIG_FILES etc. instead of their | |
8997 # values after options handling. | |
8998 ac_log=" | |
8999 This file was extended by Sonic Visualiser $as_me 1.9-hg, which was | |
9000 generated by GNU Autoconf 2.67. Invocation command line was | |
9001 | |
9002 CONFIG_FILES = $CONFIG_FILES | |
9003 CONFIG_HEADERS = $CONFIG_HEADERS | |
9004 CONFIG_LINKS = $CONFIG_LINKS | |
9005 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
9006 $ $0 $@ | |
9007 | |
9008 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
9009 " | |
9010 | |
9011 _ACEOF | |
9012 | |
9013 case $ac_config_files in *" | |
9014 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
9015 esac | |
9016 | |
9017 | |
9018 | |
9019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
9020 # Files that config.status was made for. | |
9021 config_files="$ac_config_files" | |
9022 | |
9023 _ACEOF | |
9024 | |
9025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
9026 ac_cs_usage="\ | |
9027 \`$as_me' instantiates files and other configuration actions | |
9028 from templates according to the current configuration. Unless the files | |
9029 and actions are specified as TAGs, all are instantiated by default. | |
9030 | |
9031 Usage: $0 [OPTION]... [TAG]... | |
9032 | |
9033 -h, --help print this help, then exit | |
9034 -V, --version print version number and configuration settings, then exit | |
9035 --config print configuration, then exit | |
9036 -q, --quiet, --silent | |
9037 do not print progress messages | |
9038 -d, --debug don't remove temporary files | |
9039 --recheck update $as_me by reconfiguring in the same conditions | |
9040 --file=FILE[:TEMPLATE] | |
9041 instantiate the configuration file FILE | |
9042 | |
9043 Configuration files: | |
9044 $config_files | |
9045 | |
9046 Report bugs to <cannam@all-day-breakfast.com>." | |
9047 | |
9048 _ACEOF | |
9049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
9050 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
9051 ac_cs_version="\\ | |
9052 Sonic Visualiser config.status 1.9-hg | |
9053 configured by $0, generated by GNU Autoconf 2.67, | |
9054 with options \\"\$ac_cs_config\\" | |
9055 | |
9056 Copyright (C) 2010 Free Software Foundation, Inc. | |
9057 This config.status script is free software; the Free Software Foundation | |
9058 gives unlimited permission to copy, distribute and modify it." | |
9059 | |
9060 ac_pwd='$ac_pwd' | |
9061 srcdir='$srcdir' | |
9062 INSTALL='$INSTALL' | |
9063 MKDIR_P='$MKDIR_P' | |
9064 test -n "\$AWK" || AWK=awk | |
9065 _ACEOF | |
9066 | |
9067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
9068 # The default lists apply if the user does not specify any file. | |
9069 ac_need_defaults=: | |
9070 while test $# != 0 | |
9071 do | |
9072 case $1 in | |
9073 --*=?*) | |
9074 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
9075 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
9076 ac_shift=: | |
9077 ;; | |
9078 --*=) | |
9079 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
9080 ac_optarg= | |
9081 ac_shift=: | |
9082 ;; | |
9083 *) | |
9084 ac_option=$1 | |
9085 ac_optarg=$2 | |
9086 ac_shift=shift | |
9087 ;; | |
9088 esac | |
9089 | |
9090 case $ac_option in | |
9091 # Handling of the options. | |
9092 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
9093 ac_cs_recheck=: ;; | |
9094 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
9095 $as_echo "$ac_cs_version"; exit ;; | |
9096 --config | --confi | --conf | --con | --co | --c ) | |
9097 $as_echo "$ac_cs_config"; exit ;; | |
9098 --debug | --debu | --deb | --de | --d | -d ) | |
9099 debug=: ;; | |
9100 --file | --fil | --fi | --f ) | |
9101 $ac_shift | |
9102 case $ac_optarg in | |
9103 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
9104 '') as_fn_error $? "missing file argument" ;; | |
9105 esac | |
9106 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
9107 ac_need_defaults=false;; | |
9108 --he | --h | --help | --hel | -h ) | |
9109 $as_echo "$ac_cs_usage"; exit ;; | |
9110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
9111 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
9112 ac_cs_silent=: ;; | |
9113 | |
9114 # This is an error. | |
9115 -*) as_fn_error $? "unrecognized option: \`$1' | |
9116 Try \`$0 --help' for more information." ;; | |
9117 | |
9118 *) as_fn_append ac_config_targets " $1" | |
9119 ac_need_defaults=false ;; | |
9120 | |
9121 esac | |
9122 shift | |
9123 done | |
9124 | |
9125 ac_configure_extra_args= | |
9126 | |
9127 if $ac_cs_silent; then | |
9128 exec 6>/dev/null | |
9129 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
9130 fi | |
9131 | |
9132 _ACEOF | |
9133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
9134 if \$ac_cs_recheck; then | |
9135 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
9136 shift | |
9137 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
9138 CONFIG_SHELL='$SHELL' | |
9139 export CONFIG_SHELL | |
9140 exec "\$@" | |
9141 fi | |
9142 | |
9143 _ACEOF | |
9144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
9145 exec 5>>config.log | |
9146 { | |
9147 echo | |
9148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
9149 ## Running $as_me. ## | |
9150 _ASBOX | |
9151 $as_echo "$ac_log" | |
9152 } >&5 | |
9153 | |
9154 _ACEOF | |
9155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
9156 _ACEOF | |
9157 | |
9158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
9159 | |
9160 # Handling of arguments. | |
9161 for ac_config_target in $ac_config_targets | |
9162 do | |
9163 case $ac_config_target in | |
9164 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; | |
9165 "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;; | |
9166 | |
9167 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; | |
9168 esac | |
9169 done | |
9170 | |
9171 | |
9172 # If the user did not use the arguments to specify the items to instantiate, | |
9173 # then the envvar interface is used. Set only those that are not. | |
9174 # We use the long form for the default assignment because of an extremely | |
9175 # bizarre bug on SunOS 4.1.3. | |
9176 if $ac_need_defaults; then | |
9177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
9178 fi | |
9179 | |
9180 # Have a temporary directory for convenience. Make it in the build tree | |
9181 # simply because there is no reason against having it here, and in addition, | |
9182 # creating and moving files from /tmp can sometimes cause problems. | |
9183 # Hook for its removal unless debugging. | |
9184 # Note that there is a small window in which the directory will not be cleaned: | |
9185 # after its creation but before its name has been assigned to `$tmp'. | |
9186 $debug || | |
9187 { | |
9188 tmp= | |
9189 trap 'exit_status=$? | |
9190 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
9191 ' 0 | |
9192 trap 'as_fn_exit 1' 1 2 13 15 | |
9193 } | |
9194 # Create a (secure) tmp directory for tmp files. | |
9195 | |
9196 { | |
9197 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
9198 test -n "$tmp" && test -d "$tmp" | |
9199 } || | |
9200 { | |
9201 tmp=./conf$$-$RANDOM | |
9202 (umask 077 && mkdir "$tmp") | |
9203 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
9204 | |
9205 # Set up the scripts for CONFIG_FILES section. | |
9206 # No need to generate them if there are no CONFIG_FILES. | |
9207 # This happens for instance with `./config.status config.h'. | |
9208 if test -n "$CONFIG_FILES"; then | |
9209 | |
9210 | |
9211 ac_cr=`echo X | tr X '\015'` | |
9212 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
9213 # But we know of no other shell where ac_cr would be empty at this | |
9214 # point, so we can use a bashism as a fallback. | |
9215 if test "x$ac_cr" = x; then | |
9216 eval ac_cr=\$\'\\r\' | |
9217 fi | |
9218 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
9219 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
9220 ac_cs_awk_cr='\\r' | |
9221 else | |
9222 ac_cs_awk_cr=$ac_cr | |
9223 fi | |
9224 | |
9225 echo 'BEGIN {' >"$tmp/subs1.awk" && | |
9226 _ACEOF | |
9227 | |
9228 | |
9229 { | |
9230 echo "cat >conf$$subs.awk <<_ACEOF" && | |
9231 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
9232 echo "_ACEOF" | |
9233 } >conf$$subs.sh || | |
9234 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
9235 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
9236 ac_delim='%!_!# ' | |
9237 for ac_last_try in false false false false false :; do | |
9238 . ./conf$$subs.sh || | |
9239 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
9240 | |
9241 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
9242 if test $ac_delim_n = $ac_delim_num; then | |
9243 break | |
9244 elif $ac_last_try; then | |
9245 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
9246 else | |
9247 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
9248 fi | |
9249 done | |
9250 rm -f conf$$subs.sh | |
9251 | |
9252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
9253 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
9254 _ACEOF | |
9255 sed -n ' | |
9256 h | |
9257 s/^/S["/; s/!.*/"]=/ | |
9258 p | |
9259 g | |
9260 s/^[^!]*!// | |
9261 :repl | |
9262 t repl | |
9263 s/'"$ac_delim"'$// | |
9264 t delim | |
9265 :nl | |
9266 h | |
9267 s/\(.\{148\}\)..*/\1/ | |
9268 t more1 | |
9269 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
9270 p | |
9271 n | |
9272 b repl | |
9273 :more1 | |
9274 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
9275 p | |
9276 g | |
9277 s/.\{148\}// | |
9278 t nl | |
9279 :delim | |
9280 h | |
9281 s/\(.\{148\}\)..*/\1/ | |
9282 t more2 | |
9283 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
9284 p | |
9285 b | |
9286 :more2 | |
9287 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
9288 p | |
9289 g | |
9290 s/.\{148\}// | |
9291 t delim | |
9292 ' <conf$$subs.awk | sed ' | |
9293 /^[^""]/{ | |
9294 N | |
9295 s/\n// | |
9296 } | |
9297 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
9298 rm -f conf$$subs.awk | |
9299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
9300 _ACAWK | |
9301 cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
9302 for (key in S) S_is_set[key] = 1 | |
9303 FS = "" | |
9304 | |
9305 } | |
9306 { | |
9307 line = $ 0 | |
9308 nfields = split(line, field, "@") | |
9309 substed = 0 | |
9310 len = length(field[1]) | |
9311 for (i = 2; i < nfields; i++) { | |
9312 key = field[i] | |
9313 keylen = length(key) | |
9314 if (S_is_set[key]) { | |
9315 value = S[key] | |
9316 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
9317 len += length(value) + length(field[++i]) | |
9318 substed = 1 | |
9319 } else | |
9320 len += 1 + keylen | |
9321 } | |
9322 | |
9323 print line | |
9324 } | |
9325 | |
9326 _ACAWK | |
9327 _ACEOF | |
9328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
9329 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
9330 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
9331 else | |
9332 cat | |
9333 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
9334 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
9335 _ACEOF | |
9336 | |
9337 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
9338 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
9339 # trailing colons and then remove the whole line if VPATH becomes empty | |
9340 # (actually we leave an empty line to preserve line numbers). | |
9341 if test "x$srcdir" = x.; then | |
9342 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
9343 h | |
9344 s/// | |
9345 s/^/:/ | |
9346 s/[ ]*$/:/ | |
9347 s/:\$(srcdir):/:/g | |
9348 s/:\${srcdir}:/:/g | |
9349 s/:@srcdir@:/:/g | |
9350 s/^:*// | |
9351 s/:*$// | |
9352 x | |
9353 s/\(=[ ]*\).*/\1/ | |
9354 G | |
9355 s/\n// | |
9356 s/^[^=]*=[ ]*$// | |
9357 }' | |
9358 fi | |
9359 | |
9360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
9361 fi # test -n "$CONFIG_FILES" | |
9362 | |
9363 | |
9364 eval set X " :F $CONFIG_FILES " | |
9365 shift | |
9366 for ac_tag | |
9367 do | |
9368 case $ac_tag in | |
9369 :[FHLC]) ac_mode=$ac_tag; continue;; | |
9370 esac | |
9371 case $ac_mode$ac_tag in | |
9372 :[FHL]*:*);; | |
9373 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; | |
9374 :[FH]-) ac_tag=-:-;; | |
9375 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
9376 esac | |
9377 ac_save_IFS=$IFS | |
9378 IFS=: | |
9379 set x $ac_tag | |
9380 IFS=$ac_save_IFS | |
9381 shift | |
9382 ac_file=$1 | |
9383 shift | |
9384 | |
9385 case $ac_mode in | |
9386 :L) ac_source=$1;; | |
9387 :[FH]) | |
9388 ac_file_inputs= | |
9389 for ac_f | |
9390 do | |
9391 case $ac_f in | |
9392 -) ac_f="$tmp/stdin";; | |
9393 *) # Look for the file first in the build tree, then in the source tree | |
9394 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
9395 # because $ac_f cannot contain `:'. | |
9396 test -f "$ac_f" || | |
9397 case $ac_f in | |
9398 [\\/$]*) false;; | |
9399 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
9400 esac || | |
9401 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; | |
9402 esac | |
9403 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
9404 as_fn_append ac_file_inputs " '$ac_f'" | |
9405 done | |
9406 | |
9407 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
9408 # use $as_me), people would be surprised to read: | |
9409 # /* config.h. Generated by config.status. */ | |
9410 configure_input='Generated from '` | |
9411 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
9412 `' by configure.' | |
9413 if test x"$ac_file" != x-; then | |
9414 configure_input="$ac_file. $configure_input" | |
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
9416 $as_echo "$as_me: creating $ac_file" >&6;} | |
9417 fi | |
9418 # Neutralize special characters interpreted by sed in replacement strings. | |
9419 case $configure_input in #( | |
9420 *\&* | *\|* | *\\* ) | |
9421 ac_sed_conf_input=`$as_echo "$configure_input" | | |
9422 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
9423 *) ac_sed_conf_input=$configure_input;; | |
9424 esac | |
9425 | |
9426 case $ac_tag in | |
9427 *:-:* | *:-) cat >"$tmp/stdin" \ | |
9428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
9429 esac | |
9430 ;; | |
9431 esac | |
9432 | |
9433 ac_dir=`$as_dirname -- "$ac_file" || | |
9434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
9435 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
9436 X"$ac_file" : 'X\(//\)$' \| \ | |
9437 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
9438 $as_echo X"$ac_file" | | |
9439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
9440 s//\1/ | |
9441 q | |
9442 } | |
9443 /^X\(\/\/\)[^/].*/{ | |
9444 s//\1/ | |
9445 q | |
9446 } | |
9447 /^X\(\/\/\)$/{ | |
9448 s//\1/ | |
9449 q | |
9450 } | |
9451 /^X\(\/\).*/{ | |
9452 s//\1/ | |
9453 q | |
9454 } | |
9455 s/.*/./; q'` | |
9456 as_dir="$ac_dir"; as_fn_mkdir_p | |
9457 ac_builddir=. | 12663 ac_builddir=. |
9458 | 12664 |
9459 case "$ac_dir" in | 12665 case "$ac_dir" in |
9460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 12666 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
9461 *) | 12667 *) |
9462 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 12668 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
9463 # A ".." for each directory in $ac_dir_suffix. | 12669 # A ".." for each directory in $ac_dir_suffix. |
9464 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 12670 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
9465 case $ac_top_builddir_sub in | 12671 case $ac_top_builddir_sub in |
9466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 12672 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
9467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 12673 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
9468 esac ;; | 12674 esac ;; |
9469 esac | 12675 esac |
9504 [\\/$]* | ?:[\\/]* ) ;; | 12710 [\\/$]* | ?:[\\/]* ) ;; |
9505 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | 12711 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
9506 esac | 12712 esac |
9507 _ACEOF | 12713 _ACEOF |
9508 | 12714 |
9509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 12715 cat >>$CONFIG_STATUS <<\_ACEOF |
9510 # If the template does not know about datarootdir, expand it. | 12716 # If the template does not know about datarootdir, expand it. |
9511 # FIXME: This hack should be removed a few years after 2.60. | 12717 # FIXME: This hack should be removed a few years after 2.60. |
9512 ac_datarootdir_hack=; ac_datarootdir_seen= | 12718 ac_datarootdir_hack=; ac_datarootdir_seen= |
9513 ac_sed_dataroot=' | 12719 |
9514 /datarootdir/ { | 12720 case `sed -n '/datarootdir/ { |
9515 p | 12721 p |
9516 q | 12722 q |
9517 } | 12723 } |
9518 /@datadir@/p | 12724 /@datadir@/p |
9519 /@docdir@/p | 12725 /@docdir@/p |
9520 /@infodir@/p | 12726 /@infodir@/p |
9521 /@localedir@/p | 12727 /@localedir@/p |
9522 /@mandir@/p' | 12728 /@mandir@/p |
9523 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 12729 ' $ac_file_inputs` in |
9524 *datarootdir*) ac_datarootdir_seen=yes;; | 12730 *datarootdir*) ac_datarootdir_seen=yes;; |
9525 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 12731 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 12732 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
9527 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 12733 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
9528 _ACEOF | 12734 _ACEOF |
9529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 12735 cat >>$CONFIG_STATUS <<_ACEOF |
9530 ac_datarootdir_hack=' | 12736 ac_datarootdir_hack=' |
9531 s&@datadir@&$datadir&g | 12737 s&@datadir@&$datadir&g |
9532 s&@docdir@&$docdir&g | 12738 s&@docdir@&$docdir&g |
9533 s&@infodir@&$infodir&g | 12739 s&@infodir@&$infodir&g |
9534 s&@localedir@&$localedir&g | 12740 s&@localedir@&$localedir&g |
9535 s&@mandir@&$mandir&g | 12741 s&@mandir@&$mandir&g |
9536 s&\\\${datarootdir}&$datarootdir&g' ;; | 12742 s&\\\${datarootdir}&$datarootdir&g' ;; |
9537 esac | 12743 esac |
9538 _ACEOF | 12744 _ACEOF |
9539 | 12745 |
9540 # Neutralize VPATH when `$srcdir' = `.'. | 12746 # Neutralize VPATH when `$srcdir' = `.'. |
9541 # Shell code in configure.ac might set extrasub. | 12747 # Shell code in configure.ac might set extrasub. |
9542 # FIXME: do we really want to maintain this feature? | 12748 # FIXME: do we really want to maintain this feature? |
9543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 12749 cat >>$CONFIG_STATUS <<_ACEOF |
9544 ac_sed_extra="$ac_vpsub | 12750 sed "$ac_vpsub |
9545 $extrasub | 12751 $extrasub |
9546 _ACEOF | 12752 _ACEOF |
9547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 12753 cat >>$CONFIG_STATUS <<\_ACEOF |
9548 :t | 12754 :t |
9549 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 12755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
9550 s|@configure_input@|$ac_sed_conf_input|;t t | 12756 s&@configure_input@&$configure_input&;t t |
9551 s&@top_builddir@&$ac_top_builddir_sub&;t t | 12757 s&@top_builddir@&$ac_top_builddir_sub&;t t |
9552 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
9553 s&@srcdir@&$ac_srcdir&;t t | 12758 s&@srcdir@&$ac_srcdir&;t t |
9554 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 12759 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
9555 s&@top_srcdir@&$ac_top_srcdir&;t t | 12760 s&@top_srcdir@&$ac_top_srcdir&;t t |
9556 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 12761 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
9557 s&@builddir@&$ac_builddir&;t t | 12762 s&@builddir@&$ac_builddir&;t t |
9558 s&@abs_builddir@&$ac_abs_builddir&;t t | 12763 s&@abs_builddir@&$ac_abs_builddir&;t t |
9559 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 12764 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9560 s&@INSTALL@&$ac_INSTALL&;t t | 12765 s&@INSTALL@&$ac_INSTALL&;t t |
9561 s&@MKDIR_P@&$ac_MKDIR_P&;t t | 12766 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
9562 $ac_datarootdir_hack | 12767 $ac_datarootdir_hack |
9563 " | 12768 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
9564 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
9565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
9566 | 12769 |
9567 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 12770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9568 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 12771 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9569 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 12772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 12773 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9571 which seems to be undefined. Please make sure it is defined" >&5 | 12774 which seems to be undefined. Please make sure it is defined." >&5 |
9572 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 12775 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9573 which seems to be undefined. Please make sure it is defined" >&2;} | 12776 which seems to be undefined. Please make sure it is defined." >&2;} |
9574 | 12777 |
9575 rm -f "$tmp/stdin" | 12778 rm -f "$tmp/stdin" |
9576 case $ac_file in | 12779 case $ac_file in |
9577 -) cat "$tmp/out" && rm -f "$tmp/out";; | 12780 -) cat "$tmp/out"; rm -f "$tmp/out";; |
9578 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 12781 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
9579 esac \ | 12782 esac |
9580 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
9581 ;; | 12783 ;; |
9582 | 12784 |
9583 | 12785 |
9584 | 12786 |
9585 esac | 12787 esac |
9586 | 12788 |
9587 done # for ac_tag | 12789 done # for ac_tag |
9588 | 12790 |
9589 | 12791 |
9590 as_fn_exit 0 | 12792 { (exit 0); exit 0; } |
9591 _ACEOF | 12793 _ACEOF |
12794 chmod +x $CONFIG_STATUS | |
9592 ac_clean_files=$ac_clean_files_save | 12795 ac_clean_files=$ac_clean_files_save |
9593 | |
9594 test $ac_write_fail = 0 || | |
9595 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
9596 | 12796 |
9597 | 12797 |
9598 # configure is writing to config.log, and then calls config.status. | 12798 # configure is writing to config.log, and then calls config.status. |
9599 # config.status does its own redirection, appending to config.log. | 12799 # config.status does its own redirection, appending to config.log. |
9600 # Unfortunately, on DOS this fails, as config.log is still kept open | 12800 # Unfortunately, on DOS this fails, as config.log is still kept open |
9611 exec 5>/dev/null | 12811 exec 5>/dev/null |
9612 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 12812 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
9613 exec 5>>config.log | 12813 exec 5>>config.log |
9614 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 12814 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
9615 # would make configure fail if this is the last instruction. | 12815 # would make configure fail if this is the last instruction. |
9616 $ac_cs_success || as_fn_exit 1 | 12816 $ac_cs_success || { (exit 1); exit 1; } |
9617 fi | |
9618 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
9620 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
9621 fi | 12817 fi |
9622 | 12818 |
9623 | 12819 |
9624 if ! $QMAKE -r; then | 12820 if ! $QMAKE -r; then |
9625 as_fn_error $? "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5 | 12821 { { echo "$as_me:$LINENO: error: qmake failed: Command was \"$QMAKE -r\"" >&5 |
9626 fi | 12822 echo "$as_me: error: qmake failed: Command was \"$QMAKE -r\"" >&2;} |
9627 | 12823 { (exit 1); exit 1; }; } |
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: | 12824 fi |
12825 | |
12826 { echo "$as_me:$LINENO: | |
9629 | 12827 |
9630 Configuration complete. | 12828 Configuration complete. |
9631 Please check the above messages for any warnings that you | 12829 Please check the above messages for any warnings that you |
9632 might care about, and then run \"make\". | 12830 might care about, and then run \"make\". |
9633 | 12831 |
9634 The file config.pri contains the configuration settings for | 12832 The file config.pri contains the configuration settings for |
9635 qmake. If you want to adjust these by hand, edit config.pri | 12833 qmake. If you want to adjust these by hand, edit config.pri |
9636 and run \"qmake -r\" again to regenerate the Makefile. | 12834 and run \"qmake -r\" again to regenerate the Makefile. |
9637 " >&5 | 12835 " >&5 |
9638 $as_echo "$as_me: | 12836 echo "$as_me: |
9639 | 12837 |
9640 Configuration complete. | 12838 Configuration complete. |
9641 Please check the above messages for any warnings that you | 12839 Please check the above messages for any warnings that you |
9642 might care about, and then run \"make\". | 12840 might care about, and then run \"make\". |
9643 | 12841 |