Mercurial > hg > sv-dependency-builds
comparison src/vamp-plugin-sdk-2.4/configure @ 97:efb4b8187266
Add Vamp SDK source
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 20 Mar 2013 15:58:35 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
96:39797f8363b6 | 97:efb4b8187266 |
---|---|
1 #! /bin/sh | |
2 # Guess values for system-dependent variables and create Makefiles. | |
3 # Generated by GNU Autoconf 2.68 for vamp-plugin-sdk 2.3.0. | |
4 # | |
5 # Report bugs to <cannam@all-day-breakfast.com>. | |
6 # | |
7 # | |
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
10 # Foundation, Inc. | |
11 # | |
12 # | |
13 # This configure script is free software; the Free Software Foundation | |
14 # gives unlimited permission to copy, distribute and modify it. | |
15 ## -------------------- ## | |
16 ## M4sh Initialization. ## | |
17 ## -------------------- ## | |
18 | |
19 # Be more Bourne compatible | |
20 DUALCASE=1; export DUALCASE # for MKS sh | |
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
22 emulate sh | |
23 NULLCMD=: | |
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
25 # is contrary to our usage. Disable this feature. | |
26 alias -g '${1+"$@"}'='"$@"' | |
27 setopt NO_GLOB_SUBST | |
28 else | |
29 case `(set -o) 2>/dev/null` in #( | |
30 *posix*) : | |
31 set -o posix ;; #( | |
32 *) : | |
33 ;; | |
34 esac | |
35 fi | |
36 | |
37 | |
38 as_nl=' | |
39 ' | |
40 export as_nl | |
41 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
45 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
46 # but without wasting forks for bash or zsh. | |
47 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 as_echo='print -r --' | |
50 as_echo_n='print -rn --' | |
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
52 as_echo='printf %s\n' | |
53 as_echo_n='printf %s' | |
54 else | |
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
57 as_echo_n='/usr/ucb/echo -n' | |
58 else | |
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
60 as_echo_n_body='eval | |
61 arg=$1; | |
62 case $arg in #( | |
63 *"$as_nl"*) | |
64 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
66 esac; | |
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
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 | |
76 # The user is always right. | |
77 if test "${PATH_SEPARATOR+set}" != set; then | |
78 PATH_SEPARATOR=: | |
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
81 PATH_SEPARATOR=';' | |
82 } | |
83 fi | |
84 | |
85 | |
86 # IFS | |
87 # We need space, tab and new line, in precisely that order. Quoting is | |
88 # there to prevent editors from complaining about space-tab. | |
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
90 # splitting by setting IFS to empty value.) | |
91 IFS=" "" $as_nl" | |
92 | |
93 # Find who we are. Look in the path if we contain no directory separator. | |
94 as_myself= | |
95 case $0 in #(( | |
96 *[\\/]* ) as_myself=$0 ;; | |
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
98 for as_dir in $PATH | |
99 do | |
100 IFS=$as_save_IFS | |
101 test -z "$as_dir" && as_dir=. | |
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
103 done | |
104 IFS=$as_save_IFS | |
105 | |
106 ;; | |
107 esac | |
108 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
109 # in which case we are not to be found in the path. | |
110 if test "x$as_myself" = x; then | |
111 as_myself=$0 | |
112 fi | |
113 if test ! -f "$as_myself"; then | |
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
115 exit 1 | |
116 fi | |
117 | |
118 # Unset variables that we do not need and which cause bugs (e.g. in | |
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
120 # suppresses any "Segmentation fault" message there. '((' could | |
121 # trigger a bug in pdksh 5.2.14. | |
122 for as_var in BASH_ENV ENV MAIL MAILPATH | |
123 do eval test x\${$as_var+set} = xset \ | |
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
125 done | |
126 PS1='$ ' | |
127 PS2='> ' | |
128 PS4='+ ' | |
129 | |
130 # NLS nuisances. | |
131 LC_ALL=C | |
132 export LC_ALL | |
133 LANGUAGE=C | |
134 export LANGUAGE | |
135 | |
136 # CDPATH. | |
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
138 | |
139 if test "x$CONFIG_SHELL" = x; then | |
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
141 emulate sh | |
142 NULLCMD=: | |
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
144 # is contrary to our usage. Disable this feature. | |
145 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
146 setopt NO_GLOB_SUBST | |
147 else | |
148 case \`(set -o) 2>/dev/null\` in #( | |
149 *posix*) : | |
150 set -o posix ;; #( | |
151 *) : | |
152 ;; | |
153 esac | |
154 fi | |
155 " | |
156 as_required="as_fn_return () { (exit \$1); } | |
157 as_fn_success () { as_fn_return 0; } | |
158 as_fn_failure () { as_fn_return 1; } | |
159 as_fn_ret_success () { return 0; } | |
160 as_fn_ret_failure () { return 1; } | |
161 | |
162 exitcode=0 | |
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
168 | |
169 else | |
170 exitcode=1; echo positional parameters were not saved. | |
171 fi | |
172 test x\$exitcode = x0 || exit 1" | |
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
177 test \$(( 1 + 1 )) = 2 || exit 1" | |
178 if (eval "$as_required") 2>/dev/null; then : | |
179 as_have_required=yes | |
180 else | |
181 as_have_required=no | |
182 fi | |
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
184 | |
185 else | |
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
187 as_found=false | |
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
189 do | |
190 IFS=$as_save_IFS | |
191 test -z "$as_dir" && as_dir=. | |
192 as_found=: | |
193 case $as_dir in #( | |
194 /*) | |
195 for as_base in sh bash ksh sh5; do | |
196 # Try only shells that exist, to save several forks. | |
197 as_shell=$as_dir/$as_base | |
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
200 CONFIG_SHELL=$as_shell as_have_required=yes | |
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
202 break 2 | |
203 fi | |
204 fi | |
205 done;; | |
206 esac | |
207 as_found=false | |
208 done | |
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
211 CONFIG_SHELL=$SHELL as_have_required=yes | |
212 fi; } | |
213 IFS=$as_save_IFS | |
214 | |
215 | |
216 if test "x$CONFIG_SHELL" != x; then : | |
217 # We cannot yet assume a decent shell, so we have to provide a | |
218 # neutralization value for shells without unset; and this also | |
219 # works around shells that cannot unset nonexistent variables. | |
220 # Preserve -v and -x to the replacement shell. | |
221 BASH_ENV=/dev/null | |
222 ENV=/dev/null | |
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
224 export CONFIG_SHELL | |
225 case $- in # (((( | |
226 *v*x* | *x*v* ) as_opts=-vx ;; | |
227 *v* ) as_opts=-v ;; | |
228 *x* ) as_opts=-x ;; | |
229 * ) as_opts= ;; | |
230 esac | |
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
232 fi | |
233 | |
234 if test x$as_have_required = xno; then : | |
235 $as_echo "$0: This script requires a shell more modern than all" | |
236 $as_echo "$0: the shells that I found on your system." | |
237 if test x${ZSH_VERSION+set} = xset ; then | |
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
240 else | |
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and | |
242 $0: cannam@all-day-breakfast.com about your system, | |
243 $0: including any error possibly output before this | |
244 $0: message. Then install a modern shell, or manually run | |
245 $0: the script under such a shell if you do have one." | |
246 fi | |
247 exit 1 | |
248 fi | |
249 fi | |
250 fi | |
251 SHELL=${CONFIG_SHELL-/bin/sh} | |
252 export SHELL | |
253 # Unset more variables known to interfere with behavior of common tools. | |
254 CLICOLOR_FORCE= GREP_OPTIONS= | |
255 unset CLICOLOR_FORCE GREP_OPTIONS | |
256 | |
257 ## --------------------- ## | |
258 ## M4sh Shell Functions. ## | |
259 ## --------------------- ## | |
260 # as_fn_unset VAR | |
261 # --------------- | |
262 # Portably unset VAR. | |
263 as_fn_unset () | |
264 { | |
265 { eval $1=; unset $1;} | |
266 } | |
267 as_unset=as_fn_unset | |
268 | |
269 # as_fn_set_status STATUS | |
270 # ----------------------- | |
271 # Set $? to STATUS, without forking. | |
272 as_fn_set_status () | |
273 { | |
274 return $1 | |
275 } # as_fn_set_status | |
276 | |
277 # as_fn_exit STATUS | |
278 # ----------------- | |
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
280 as_fn_exit () | |
281 { | |
282 set +e | |
283 as_fn_set_status $1 | |
284 exit $1 | |
285 } # as_fn_exit | |
286 | |
287 # as_fn_mkdir_p | |
288 # ------------- | |
289 # Create "$as_dir" as a directory, including parents if necessary. | |
290 as_fn_mkdir_p () | |
291 { | |
292 | |
293 case $as_dir in #( | |
294 -*) as_dir=./$as_dir;; | |
295 esac | |
296 test -d "$as_dir" || eval $as_mkdir_p || { | |
297 as_dirs= | |
298 while :; do | |
299 case $as_dir in #( | |
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
301 *) as_qdir=$as_dir;; | |
302 esac | |
303 as_dirs="'$as_qdir' $as_dirs" | |
304 as_dir=`$as_dirname -- "$as_dir" || | |
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
306 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
307 X"$as_dir" : 'X\(//\)$' \| \ | |
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
309 $as_echo X"$as_dir" | | |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
311 s//\1/ | |
312 q | |
313 } | |
314 /^X\(\/\/\)[^/].*/{ | |
315 s//\1/ | |
316 q | |
317 } | |
318 /^X\(\/\/\)$/{ | |
319 s//\1/ | |
320 q | |
321 } | |
322 /^X\(\/\).*/{ | |
323 s//\1/ | |
324 q | |
325 } | |
326 s/.*/./; q'` | |
327 test -d "$as_dir" && break | |
328 done | |
329 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
331 | |
332 | |
333 } # as_fn_mkdir_p | |
334 # as_fn_append VAR VALUE | |
335 # ---------------------- | |
336 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
337 # advantage of any shell optimizations that allow amortized linear growth over | |
338 # repeated appends, instead of the typical quadratic growth present in naive | |
339 # implementations. | |
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
341 eval 'as_fn_append () | |
342 { | |
343 eval $1+=\$2 | |
344 }' | |
345 else | |
346 as_fn_append () | |
347 { | |
348 eval $1=\$$1\$2 | |
349 } | |
350 fi # as_fn_append | |
351 | |
352 # as_fn_arith ARG... | |
353 # ------------------ | |
354 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
356 # must be portable across $(()) and expr. | |
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
358 eval 'as_fn_arith () | |
359 { | |
360 as_val=$(( $* )) | |
361 }' | |
362 else | |
363 as_fn_arith () | |
364 { | |
365 as_val=`expr "$@" || test $? -eq 1` | |
366 } | |
367 fi # as_fn_arith | |
368 | |
369 | |
370 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
371 # ---------------------------------------- | |
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
374 # script with STATUS, using 1 if that was 0. | |
375 as_fn_error () | |
376 { | |
377 as_status=$1; test $as_status -eq 0 && as_status=1 | |
378 if test "$4"; then | |
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
381 fi | |
382 $as_echo "$as_me: error: $2" >&2 | |
383 as_fn_exit $as_status | |
384 } # as_fn_error | |
385 | |
386 if expr a : '\(a\)' >/dev/null 2>&1 && | |
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
388 as_expr=expr | |
389 else | |
390 as_expr=false | |
391 fi | |
392 | |
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
394 as_basename=basename | |
395 else | |
396 as_basename=false | |
397 fi | |
398 | |
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
400 as_dirname=dirname | |
401 else | |
402 as_dirname=false | |
403 fi | |
404 | |
405 as_me=`$as_basename -- "$0" || | |
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
407 X"$0" : 'X\(//\)$' \| \ | |
408 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
409 $as_echo X/"$0" | | |
410 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
411 s//\1/ | |
412 q | |
413 } | |
414 /^X\/\(\/\/\)$/{ | |
415 s//\1/ | |
416 q | |
417 } | |
418 /^X\/\(\/\).*/{ | |
419 s//\1/ | |
420 q | |
421 } | |
422 s/.*/./; q'` | |
423 | |
424 # Avoid depending upon Character Ranges. | |
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
428 as_cr_digits='0123456789' | |
429 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
430 | |
431 | |
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
437 sed -n ' | |
438 p | |
439 /[$]LINENO/= | |
440 ' <$as_myself | | |
441 sed ' | |
442 s/[$]LINENO.*/&-/ | |
443 t lineno | |
444 b | |
445 :lineno | |
446 N | |
447 :loop | |
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
449 t loop | |
450 s/-\n.*// | |
451 ' >$as_me.lineno && | |
452 chmod +x "$as_me.lineno" || | |
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
454 | |
455 # Don't try to exec as it changes $[0], causing all sort of problems | |
456 # (the dirname of $[0] is not the place where we might find the | |
457 # original and so on. Autoconf is especially sensitive to this). | |
458 . "./$as_me.lineno" | |
459 # Exit status is that of the last command. | |
460 exit | |
461 } | |
462 | |
463 ECHO_C= ECHO_N= ECHO_T= | |
464 case `echo -n x` in #((((( | |
465 -n*) | |
466 case `echo 'xy\c'` in | |
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
468 xy) ECHO_C='\c';; | |
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
470 ECHO_T=' ';; | |
471 esac;; | |
472 *) | |
473 ECHO_N='-n';; | |
474 esac | |
475 | |
476 rm -f conf$$ conf$$.exe conf$$.file | |
477 if test -d conf$$.dir; then | |
478 rm -f conf$$.dir/conf$$.file | |
479 else | |
480 rm -f conf$$.dir | |
481 mkdir conf$$.dir 2>/dev/null | |
482 fi | |
483 if (echo >conf$$.file) 2>/dev/null; then | |
484 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
485 as_ln_s='ln -s' | |
486 # ... but there are two gotchas: | |
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
489 # In both cases, we have to default to `cp -p'. | |
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
491 as_ln_s='cp -p' | |
492 elif ln conf$$.file conf$$ 2>/dev/null; then | |
493 as_ln_s=ln | |
494 else | |
495 as_ln_s='cp -p' | |
496 fi | |
497 else | |
498 as_ln_s='cp -p' | |
499 fi | |
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
501 rmdir conf$$.dir 2>/dev/null | |
502 | |
503 if mkdir -p . 2>/dev/null; then | |
504 as_mkdir_p='mkdir -p "$as_dir"' | |
505 else | |
506 test -d ./-p && rmdir ./-p | |
507 as_mkdir_p=false | |
508 fi | |
509 | |
510 if test -x / >/dev/null 2>&1; then | |
511 as_test_x='test -x' | |
512 else | |
513 if ls -dL / >/dev/null 2>&1; then | |
514 as_ls_L_option=L | |
515 else | |
516 as_ls_L_option= | |
517 fi | |
518 as_test_x=' | |
519 eval sh -c '\'' | |
520 if test -d "$1"; then | |
521 test -d "$1/."; | |
522 else | |
523 case $1 in #( | |
524 -*)set "./$1";; | |
525 esac; | |
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
527 ???[sx]*):;;*)false;;esac;fi | |
528 '\'' sh | |
529 ' | |
530 fi | |
531 as_executable_p=$as_test_x | |
532 | |
533 # Sed expression to map a string onto a valid CPP name. | |
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
535 | |
536 # Sed expression to map a string onto a valid variable name. | |
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
538 | |
539 | |
540 test -n "$DJDIR" || exec 7<&0 </dev/null | |
541 exec 6>&1 | |
542 | |
543 # Name of the host. | |
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
545 # so uname gets run too. | |
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
547 | |
548 # | |
549 # Initializations. | |
550 # | |
551 ac_default_prefix=/usr/local | |
552 ac_clean_files= | |
553 ac_config_libobj_dir=. | |
554 LIBOBJS= | |
555 cross_compiling=no | |
556 subdirs= | |
557 MFLAGS= | |
558 MAKEFLAGS= | |
559 | |
560 # Identity of this package. | |
561 PACKAGE_NAME='vamp-plugin-sdk' | |
562 PACKAGE_TARNAME='vamp-plugin-sdk' | |
563 PACKAGE_VERSION='2.3.0' | |
564 PACKAGE_STRING='vamp-plugin-sdk 2.3.0' | |
565 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' | |
566 PACKAGE_URL='' | |
567 | |
568 ac_unique_file="vamp/vamp.h" | |
569 # Factoring default headers for most tests. | |
570 ac_includes_default="\ | |
571 #include <stdio.h> | |
572 #ifdef HAVE_SYS_TYPES_H | |
573 # include <sys/types.h> | |
574 #endif | |
575 #ifdef HAVE_SYS_STAT_H | |
576 # include <sys/stat.h> | |
577 #endif | |
578 #ifdef STDC_HEADERS | |
579 # include <stdlib.h> | |
580 # include <stddef.h> | |
581 #else | |
582 # ifdef HAVE_STDLIB_H | |
583 # include <stdlib.h> | |
584 # endif | |
585 #endif | |
586 #ifdef HAVE_STRING_H | |
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
588 # include <memory.h> | |
589 # endif | |
590 # include <string.h> | |
591 #endif | |
592 #ifdef HAVE_STRINGS_H | |
593 # include <strings.h> | |
594 #endif | |
595 #ifdef HAVE_INTTYPES_H | |
596 # include <inttypes.h> | |
597 #endif | |
598 #ifdef HAVE_STDINT_H | |
599 # include <stdint.h> | |
600 #endif | |
601 #ifdef HAVE_UNISTD_H | |
602 # include <unistd.h> | |
603 #endif" | |
604 | |
605 ac_subst_vars='LTLIBOBJS | |
606 LIBOBJS | |
607 TARGETS | |
608 SNDFILE_LIBS | |
609 SNDFILE_CFLAGS | |
610 PKG_CONFIG_LIBDIR | |
611 PKG_CONFIG_PATH | |
612 PKG_CONFIG | |
613 EGREP | |
614 GREP | |
615 CPP | |
616 ac_ct_CC | |
617 CFLAGS | |
618 CC | |
619 OBJEXT | |
620 EXEEXT | |
621 ac_ct_CXX | |
622 CPPFLAGS | |
623 LDFLAGS | |
624 CXXFLAGS | |
625 CXX | |
626 target_alias | |
627 host_alias | |
628 build_alias | |
629 LIBS | |
630 ECHO_T | |
631 ECHO_N | |
632 ECHO_C | |
633 DEFS | |
634 mandir | |
635 localedir | |
636 libdir | |
637 psdir | |
638 pdfdir | |
639 dvidir | |
640 htmldir | |
641 infodir | |
642 docdir | |
643 oldincludedir | |
644 includedir | |
645 localstatedir | |
646 sharedstatedir | |
647 sysconfdir | |
648 datadir | |
649 datarootdir | |
650 libexecdir | |
651 sbindir | |
652 bindir | |
653 program_transform_name | |
654 prefix | |
655 exec_prefix | |
656 PACKAGE_URL | |
657 PACKAGE_BUGREPORT | |
658 PACKAGE_STRING | |
659 PACKAGE_VERSION | |
660 PACKAGE_TARNAME | |
661 PACKAGE_NAME | |
662 PATH_SEPARATOR | |
663 SHELL' | |
664 ac_subst_files='' | |
665 ac_user_opts=' | |
666 enable_option_checking | |
667 enable_programs | |
668 ' | |
669 ac_precious_vars='build_alias | |
670 host_alias | |
671 target_alias | |
672 CXX | |
673 CXXFLAGS | |
674 LDFLAGS | |
675 LIBS | |
676 CPPFLAGS | |
677 CCC | |
678 CC | |
679 CFLAGS | |
680 CPP | |
681 PKG_CONFIG | |
682 PKG_CONFIG_PATH | |
683 PKG_CONFIG_LIBDIR | |
684 SNDFILE_CFLAGS | |
685 SNDFILE_LIBS' | |
686 | |
687 | |
688 # Initialize some variables set by options. | |
689 ac_init_help= | |
690 ac_init_version=false | |
691 ac_unrecognized_opts= | |
692 ac_unrecognized_sep= | |
693 # The variables have the same names as the options, with | |
694 # dashes changed to underlines. | |
695 cache_file=/dev/null | |
696 exec_prefix=NONE | |
697 no_create= | |
698 no_recursion= | |
699 prefix=NONE | |
700 program_prefix=NONE | |
701 program_suffix=NONE | |
702 program_transform_name=s,x,x, | |
703 silent= | |
704 site= | |
705 srcdir= | |
706 verbose= | |
707 x_includes=NONE | |
708 x_libraries=NONE | |
709 | |
710 # Installation directory options. | |
711 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
712 # and all the variables that are supposed to be based on exec_prefix | |
713 # by default will actually change. | |
714 # Use braces instead of parens because sh, perl, etc. also accept them. | |
715 # (The list follows the same order as the GNU Coding Standards.) | |
716 bindir='${exec_prefix}/bin' | |
717 sbindir='${exec_prefix}/sbin' | |
718 libexecdir='${exec_prefix}/libexec' | |
719 datarootdir='${prefix}/share' | |
720 datadir='${datarootdir}' | |
721 sysconfdir='${prefix}/etc' | |
722 sharedstatedir='${prefix}/com' | |
723 localstatedir='${prefix}/var' | |
724 includedir='${prefix}/include' | |
725 oldincludedir='/usr/include' | |
726 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
727 infodir='${datarootdir}/info' | |
728 htmldir='${docdir}' | |
729 dvidir='${docdir}' | |
730 pdfdir='${docdir}' | |
731 psdir='${docdir}' | |
732 libdir='${exec_prefix}/lib' | |
733 localedir='${datarootdir}/locale' | |
734 mandir='${datarootdir}/man' | |
735 | |
736 ac_prev= | |
737 ac_dashdash= | |
738 for ac_option | |
739 do | |
740 # If the previous option needs an argument, assign it. | |
741 if test -n "$ac_prev"; then | |
742 eval $ac_prev=\$ac_option | |
743 ac_prev= | |
744 continue | |
745 fi | |
746 | |
747 case $ac_option in | |
748 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
749 *=) ac_optarg= ;; | |
750 *) ac_optarg=yes ;; | |
751 esac | |
752 | |
753 # Accept the important Cygnus configure options, so we can diagnose typos. | |
754 | |
755 case $ac_dashdash$ac_option in | |
756 --) | |
757 ac_dashdash=yes ;; | |
758 | |
759 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
760 ac_prev=bindir ;; | |
761 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
762 bindir=$ac_optarg ;; | |
763 | |
764 -build | --build | --buil | --bui | --bu) | |
765 ac_prev=build_alias ;; | |
766 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
767 build_alias=$ac_optarg ;; | |
768 | |
769 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
770 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
771 ac_prev=cache_file ;; | |
772 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
773 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
774 cache_file=$ac_optarg ;; | |
775 | |
776 --config-cache | -C) | |
777 cache_file=config.cache ;; | |
778 | |
779 -datadir | --datadir | --datadi | --datad) | |
780 ac_prev=datadir ;; | |
781 -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
782 datadir=$ac_optarg ;; | |
783 | |
784 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
785 | --dataroo | --dataro | --datar) | |
786 ac_prev=datarootdir ;; | |
787 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
788 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
789 datarootdir=$ac_optarg ;; | |
790 | |
791 -disable-* | --disable-*) | |
792 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
793 # Reject names that are not valid shell variable names. | |
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
795 as_fn_error $? "invalid feature name: $ac_useropt" | |
796 ac_useropt_orig=$ac_useropt | |
797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
798 case $ac_user_opts in | |
799 *" | |
800 "enable_$ac_useropt" | |
801 "*) ;; | |
802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
803 ac_unrecognized_sep=', ';; | |
804 esac | |
805 eval enable_$ac_useropt=no ;; | |
806 | |
807 -docdir | --docdir | --docdi | --doc | --do) | |
808 ac_prev=docdir ;; | |
809 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
810 docdir=$ac_optarg ;; | |
811 | |
812 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
813 ac_prev=dvidir ;; | |
814 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
815 dvidir=$ac_optarg ;; | |
816 | |
817 -enable-* | --enable-*) | |
818 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
819 # Reject names that are not valid shell variable names. | |
820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
821 as_fn_error $? "invalid feature name: $ac_useropt" | |
822 ac_useropt_orig=$ac_useropt | |
823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
824 case $ac_user_opts in | |
825 *" | |
826 "enable_$ac_useropt" | |
827 "*) ;; | |
828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
829 ac_unrecognized_sep=', ';; | |
830 esac | |
831 eval enable_$ac_useropt=\$ac_optarg ;; | |
832 | |
833 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
834 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
835 | --exec | --exe | --ex) | |
836 ac_prev=exec_prefix ;; | |
837 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
838 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
839 | --exec=* | --exe=* | --ex=*) | |
840 exec_prefix=$ac_optarg ;; | |
841 | |
842 -gas | --gas | --ga | --g) | |
843 # Obsolete; use --with-gas. | |
844 with_gas=yes ;; | |
845 | |
846 -help | --help | --hel | --he | -h) | |
847 ac_init_help=long ;; | |
848 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
849 ac_init_help=recursive ;; | |
850 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
851 ac_init_help=short ;; | |
852 | |
853 -host | --host | --hos | --ho) | |
854 ac_prev=host_alias ;; | |
855 -host=* | --host=* | --hos=* | --ho=*) | |
856 host_alias=$ac_optarg ;; | |
857 | |
858 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
859 ac_prev=htmldir ;; | |
860 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
861 | --ht=*) | |
862 htmldir=$ac_optarg ;; | |
863 | |
864 -includedir | --includedir | --includedi | --included | --include \ | |
865 | --includ | --inclu | --incl | --inc) | |
866 ac_prev=includedir ;; | |
867 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
868 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
869 includedir=$ac_optarg ;; | |
870 | |
871 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
872 ac_prev=infodir ;; | |
873 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
874 infodir=$ac_optarg ;; | |
875 | |
876 -libdir | --libdir | --libdi | --libd) | |
877 ac_prev=libdir ;; | |
878 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
879 libdir=$ac_optarg ;; | |
880 | |
881 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
882 | --libexe | --libex | --libe) | |
883 ac_prev=libexecdir ;; | |
884 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
885 | --libexe=* | --libex=* | --libe=*) | |
886 libexecdir=$ac_optarg ;; | |
887 | |
888 -localedir | --localedir | --localedi | --localed | --locale) | |
889 ac_prev=localedir ;; | |
890 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
891 localedir=$ac_optarg ;; | |
892 | |
893 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
894 | --localstate | --localstat | --localsta | --localst | --locals) | |
895 ac_prev=localstatedir ;; | |
896 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
897 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
898 localstatedir=$ac_optarg ;; | |
899 | |
900 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
901 ac_prev=mandir ;; | |
902 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
903 mandir=$ac_optarg ;; | |
904 | |
905 -nfp | --nfp | --nf) | |
906 # Obsolete; use --without-fp. | |
907 with_fp=no ;; | |
908 | |
909 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
910 | --no-cr | --no-c | -n) | |
911 no_create=yes ;; | |
912 | |
913 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
914 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
915 no_recursion=yes ;; | |
916 | |
917 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
918 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
919 | --oldin | --oldi | --old | --ol | --o) | |
920 ac_prev=oldincludedir ;; | |
921 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
922 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
923 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
924 oldincludedir=$ac_optarg ;; | |
925 | |
926 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
927 ac_prev=prefix ;; | |
928 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
929 prefix=$ac_optarg ;; | |
930 | |
931 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
932 | --program-pre | --program-pr | --program-p) | |
933 ac_prev=program_prefix ;; | |
934 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
935 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
936 program_prefix=$ac_optarg ;; | |
937 | |
938 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
939 | --program-suf | --program-su | --program-s) | |
940 ac_prev=program_suffix ;; | |
941 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
942 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
943 program_suffix=$ac_optarg ;; | |
944 | |
945 -program-transform-name | --program-transform-name \ | |
946 | --program-transform-nam | --program-transform-na \ | |
947 | --program-transform-n | --program-transform- \ | |
948 | --program-transform | --program-transfor \ | |
949 | --program-transfo | --program-transf \ | |
950 | --program-trans | --program-tran \ | |
951 | --progr-tra | --program-tr | --program-t) | |
952 ac_prev=program_transform_name ;; | |
953 -program-transform-name=* | --program-transform-name=* \ | |
954 | --program-transform-nam=* | --program-transform-na=* \ | |
955 | --program-transform-n=* | --program-transform-=* \ | |
956 | --program-transform=* | --program-transfor=* \ | |
957 | --program-transfo=* | --program-transf=* \ | |
958 | --program-trans=* | --program-tran=* \ | |
959 | --progr-tra=* | --program-tr=* | --program-t=*) | |
960 program_transform_name=$ac_optarg ;; | |
961 | |
962 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
963 ac_prev=pdfdir ;; | |
964 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
965 pdfdir=$ac_optarg ;; | |
966 | |
967 -psdir | --psdir | --psdi | --psd | --ps) | |
968 ac_prev=psdir ;; | |
969 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
970 psdir=$ac_optarg ;; | |
971 | |
972 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
973 | -silent | --silent | --silen | --sile | --sil) | |
974 silent=yes ;; | |
975 | |
976 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
977 ac_prev=sbindir ;; | |
978 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
979 | --sbi=* | --sb=*) | |
980 sbindir=$ac_optarg ;; | |
981 | |
982 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
983 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
984 | --sharedst | --shareds | --shared | --share | --shar \ | |
985 | --sha | --sh) | |
986 ac_prev=sharedstatedir ;; | |
987 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
988 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
989 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
990 | --sha=* | --sh=*) | |
991 sharedstatedir=$ac_optarg ;; | |
992 | |
993 -site | --site | --sit) | |
994 ac_prev=site ;; | |
995 -site=* | --site=* | --sit=*) | |
996 site=$ac_optarg ;; | |
997 | |
998 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
999 ac_prev=srcdir ;; | |
1000 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1001 srcdir=$ac_optarg ;; | |
1002 | |
1003 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1004 | --syscon | --sysco | --sysc | --sys | --sy) | |
1005 ac_prev=sysconfdir ;; | |
1006 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1007 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1008 sysconfdir=$ac_optarg ;; | |
1009 | |
1010 -target | --target | --targe | --targ | --tar | --ta | --t) | |
1011 ac_prev=target_alias ;; | |
1012 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1013 target_alias=$ac_optarg ;; | |
1014 | |
1015 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1016 verbose=yes ;; | |
1017 | |
1018 -version | --version | --versio | --versi | --vers | -V) | |
1019 ac_init_version=: ;; | |
1020 | |
1021 -with-* | --with-*) | |
1022 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1023 # Reject names that are not valid shell variable names. | |
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1025 as_fn_error $? "invalid package name: $ac_useropt" | |
1026 ac_useropt_orig=$ac_useropt | |
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1028 case $ac_user_opts in | |
1029 *" | |
1030 "with_$ac_useropt" | |
1031 "*) ;; | |
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1033 ac_unrecognized_sep=', ';; | |
1034 esac | |
1035 eval with_$ac_useropt=\$ac_optarg ;; | |
1036 | |
1037 -without-* | --without-*) | |
1038 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1039 # Reject names that are not valid shell variable names. | |
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1041 as_fn_error $? "invalid package name: $ac_useropt" | |
1042 ac_useropt_orig=$ac_useropt | |
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1044 case $ac_user_opts in | |
1045 *" | |
1046 "with_$ac_useropt" | |
1047 "*) ;; | |
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1049 ac_unrecognized_sep=', ';; | |
1050 esac | |
1051 eval with_$ac_useropt=no ;; | |
1052 | |
1053 --x) | |
1054 # Obsolete; use --with-x. | |
1055 with_x=yes ;; | |
1056 | |
1057 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1058 | --x-incl | --x-inc | --x-in | --x-i) | |
1059 ac_prev=x_includes ;; | |
1060 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1061 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1062 x_includes=$ac_optarg ;; | |
1063 | |
1064 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1065 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1066 ac_prev=x_libraries ;; | |
1067 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1068 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1069 x_libraries=$ac_optarg ;; | |
1070 | |
1071 -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1072 Try \`$0 --help' for more information" | |
1073 ;; | |
1074 | |
1075 *=*) | |
1076 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1077 # Reject names that are not valid shell variable names. | |
1078 case $ac_envvar in #( | |
1079 '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1080 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1081 esac | |
1082 eval $ac_envvar=\$ac_optarg | |
1083 export $ac_envvar ;; | |
1084 | |
1085 *) | |
1086 # FIXME: should be removed in autoconf 3.0. | |
1087 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1089 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1090 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1091 ;; | |
1092 | |
1093 esac | |
1094 done | |
1095 | |
1096 if test -n "$ac_prev"; then | |
1097 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1098 as_fn_error $? "missing argument to $ac_option" | |
1099 fi | |
1100 | |
1101 if test -n "$ac_unrecognized_opts"; then | |
1102 case $enable_option_checking in | |
1103 no) ;; | |
1104 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1105 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1106 esac | |
1107 fi | |
1108 | |
1109 # Check all directory arguments for consistency. | |
1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1111 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1113 libdir localedir mandir | |
1114 do | |
1115 eval ac_val=\$$ac_var | |
1116 # Remove trailing slashes. | |
1117 case $ac_val in | |
1118 */ ) | |
1119 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1120 eval $ac_var=\$ac_val;; | |
1121 esac | |
1122 # Be sure to have absolute directory names. | |
1123 case $ac_val in | |
1124 [\\/$]* | ?:[\\/]* ) continue;; | |
1125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1126 esac | |
1127 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1128 done | |
1129 | |
1130 # There might be people who depend on the old broken behavior: `$host' | |
1131 # used to hold the argument of --host etc. | |
1132 # FIXME: To remove some day. | |
1133 build=$build_alias | |
1134 host=$host_alias | |
1135 target=$target_alias | |
1136 | |
1137 # FIXME: To remove some day. | |
1138 if test "x$host_alias" != x; then | |
1139 if test "x$build_alias" = x; then | |
1140 cross_compiling=maybe | |
1141 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
1142 If a cross compiler is detected then cross compile mode will be used" >&2 | |
1143 elif test "x$build_alias" != "x$host_alias"; then | |
1144 cross_compiling=yes | |
1145 fi | |
1146 fi | |
1147 | |
1148 ac_tool_prefix= | |
1149 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1150 | |
1151 test "$silent" = yes && exec 6>/dev/null | |
1152 | |
1153 | |
1154 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1155 ac_ls_di=`ls -di .` && | |
1156 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1157 as_fn_error $? "working directory cannot be determined" | |
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1159 as_fn_error $? "pwd does not report name of working directory" | |
1160 | |
1161 | |
1162 # Find the source files, if location was not specified. | |
1163 if test -z "$srcdir"; then | |
1164 ac_srcdir_defaulted=yes | |
1165 # Try the directory containing this script, then the parent directory. | |
1166 ac_confdir=`$as_dirname -- "$as_myself" || | |
1167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1168 X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1169 X"$as_myself" : 'X\(//\)$' \| \ | |
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1171 $as_echo X"$as_myself" | | |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1173 s//\1/ | |
1174 q | |
1175 } | |
1176 /^X\(\/\/\)[^/].*/{ | |
1177 s//\1/ | |
1178 q | |
1179 } | |
1180 /^X\(\/\/\)$/{ | |
1181 s//\1/ | |
1182 q | |
1183 } | |
1184 /^X\(\/\).*/{ | |
1185 s//\1/ | |
1186 q | |
1187 } | |
1188 s/.*/./; q'` | |
1189 srcdir=$ac_confdir | |
1190 if test ! -r "$srcdir/$ac_unique_file"; then | |
1191 srcdir=.. | |
1192 fi | |
1193 else | |
1194 ac_srcdir_defaulted=no | |
1195 fi | |
1196 if test ! -r "$srcdir/$ac_unique_file"; then | |
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1199 fi | |
1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1201 ac_abs_confdir=`( | |
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1203 pwd)` | |
1204 # When building in place, set srcdir=. | |
1205 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1206 srcdir=. | |
1207 fi | |
1208 # Remove unnecessary trailing slashes from srcdir. | |
1209 # Double slashes in file names in object file debugging info | |
1210 # mess up M-x gdb in Emacs. | |
1211 case $srcdir in | |
1212 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1213 esac | |
1214 for ac_var in $ac_precious_vars; do | |
1215 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1216 eval ac_env_${ac_var}_value=\$${ac_var} | |
1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1218 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1219 done | |
1220 | |
1221 # | |
1222 # Report the --help message. | |
1223 # | |
1224 if test "$ac_init_help" = "long"; then | |
1225 # Omit some internal or obsolete options to make the list less imposing. | |
1226 # This message is too long to be a string in the A/UX 3.1 sh. | |
1227 cat <<_ACEOF | |
1228 \`configure' configures vamp-plugin-sdk 2.3.0 to adapt to many kinds of systems. | |
1229 | |
1230 Usage: $0 [OPTION]... [VAR=VALUE]... | |
1231 | |
1232 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1233 VAR=VALUE. See below for descriptions of some of the useful variables. | |
1234 | |
1235 Defaults for the options are specified in brackets. | |
1236 | |
1237 Configuration: | |
1238 -h, --help display this help and exit | |
1239 --help=short display options specific to this package | |
1240 --help=recursive display the short help of all the included packages | |
1241 -V, --version display version information and exit | |
1242 -q, --quiet, --silent do not print \`checking ...' messages | |
1243 --cache-file=FILE cache test results in FILE [disabled] | |
1244 -C, --config-cache alias for \`--cache-file=config.cache' | |
1245 -n, --no-create do not create output files | |
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1247 | |
1248 Installation directories: | |
1249 --prefix=PREFIX install architecture-independent files in PREFIX | |
1250 [$ac_default_prefix] | |
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1252 [PREFIX] | |
1253 | |
1254 By default, \`make install' will install all the files in | |
1255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1256 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1257 for instance \`--prefix=\$HOME'. | |
1258 | |
1259 For better control, use the options below. | |
1260 | |
1261 Fine tuning of the installation directories: | |
1262 --bindir=DIR user executables [EPREFIX/bin] | |
1263 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1264 --libexecdir=DIR program executables [EPREFIX/libexec] | |
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1268 --libdir=DIR object code libraries [EPREFIX/lib] | |
1269 --includedir=DIR C header files [PREFIX/include] | |
1270 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1273 --infodir=DIR info documentation [DATAROOTDIR/info] | |
1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1275 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1276 --docdir=DIR documentation root [DATAROOTDIR/doc/vamp-plugin-sdk] | |
1277 --htmldir=DIR html documentation [DOCDIR] | |
1278 --dvidir=DIR dvi documentation [DOCDIR] | |
1279 --pdfdir=DIR pdf documentation [DOCDIR] | |
1280 --psdir=DIR ps documentation [DOCDIR] | |
1281 _ACEOF | |
1282 | |
1283 cat <<\_ACEOF | |
1284 _ACEOF | |
1285 fi | |
1286 | |
1287 if test -n "$ac_init_help"; then | |
1288 case $ac_init_help in | |
1289 short | recursive ) echo "Configuration of vamp-plugin-sdk 2.3.0:";; | |
1290 esac | |
1291 cat <<\_ACEOF | |
1292 | |
1293 Optional Features: | |
1294 --disable-option-checking ignore unrecognized --enable/--with options | |
1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1297 --enable-programs enable building of example host and RDF generator | |
1298 [default=yes] | |
1299 | |
1300 Some influential environment variables: | |
1301 CXX C++ compiler command | |
1302 CXXFLAGS C++ compiler flags | |
1303 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1304 nonstandard directory <lib dir> | |
1305 LIBS libraries to pass to the linker, e.g. -l<library> | |
1306 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
1307 you have headers in a nonstandard directory <include dir> | |
1308 CC C compiler command | |
1309 CFLAGS C compiler flags | |
1310 CPP C preprocessor | |
1311 PKG_CONFIG path to pkg-config utility | |
1312 PKG_CONFIG_PATH | |
1313 directories to add to pkg-config's search path | |
1314 PKG_CONFIG_LIBDIR | |
1315 path overriding pkg-config's built-in search path | |
1316 SNDFILE_CFLAGS | |
1317 C compiler flags for SNDFILE, overriding pkg-config | |
1318 SNDFILE_LIBS | |
1319 linker flags for SNDFILE, overriding pkg-config | |
1320 | |
1321 Use these variables to override the choices made by `configure' or to help | |
1322 it to find libraries and programs with nonstandard names/locations. | |
1323 | |
1324 Report bugs to <cannam@all-day-breakfast.com>. | |
1325 _ACEOF | |
1326 ac_status=$? | |
1327 fi | |
1328 | |
1329 if test "$ac_init_help" = "recursive"; then | |
1330 # If there are subdirs, report their specific --help. | |
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1332 test -d "$ac_dir" || | |
1333 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1334 continue | |
1335 ac_builddir=. | |
1336 | |
1337 case "$ac_dir" in | |
1338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1339 *) | |
1340 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1341 # A ".." for each directory in $ac_dir_suffix. | |
1342 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1343 case $ac_top_builddir_sub in | |
1344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1346 esac ;; | |
1347 esac | |
1348 ac_abs_top_builddir=$ac_pwd | |
1349 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1350 # for backward compatibility: | |
1351 ac_top_builddir=$ac_top_build_prefix | |
1352 | |
1353 case $srcdir in | |
1354 .) # We are building in place. | |
1355 ac_srcdir=. | |
1356 ac_top_srcdir=$ac_top_builddir_sub | |
1357 ac_abs_top_srcdir=$ac_pwd ;; | |
1358 [\\/]* | ?:[\\/]* ) # Absolute name. | |
1359 ac_srcdir=$srcdir$ac_dir_suffix; | |
1360 ac_top_srcdir=$srcdir | |
1361 ac_abs_top_srcdir=$srcdir ;; | |
1362 *) # Relative name. | |
1363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1364 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1366 esac | |
1367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1368 | |
1369 cd "$ac_dir" || { ac_status=$?; continue; } | |
1370 # Check for guested configure. | |
1371 if test -f "$ac_srcdir/configure.gnu"; then | |
1372 echo && | |
1373 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1374 elif test -f "$ac_srcdir/configure"; then | |
1375 echo && | |
1376 $SHELL "$ac_srcdir/configure" --help=recursive | |
1377 else | |
1378 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1379 fi || ac_status=$? | |
1380 cd "$ac_pwd" || { ac_status=$?; break; } | |
1381 done | |
1382 fi | |
1383 | |
1384 test -n "$ac_init_help" && exit $ac_status | |
1385 if $ac_init_version; then | |
1386 cat <<\_ACEOF | |
1387 vamp-plugin-sdk configure 2.3.0 | |
1388 generated by GNU Autoconf 2.68 | |
1389 | |
1390 Copyright (C) 2010 Free Software Foundation, Inc. | |
1391 This configure script is free software; the Free Software Foundation | |
1392 gives unlimited permission to copy, distribute and modify it. | |
1393 _ACEOF | |
1394 exit | |
1395 fi | |
1396 | |
1397 ## ------------------------ ## | |
1398 ## Autoconf initialization. ## | |
1399 ## ------------------------ ## | |
1400 | |
1401 # ac_fn_cxx_try_compile LINENO | |
1402 # ---------------------------- | |
1403 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1404 ac_fn_cxx_try_compile () | |
1405 { | |
1406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1407 rm -f conftest.$ac_objext | |
1408 if { { ac_try="$ac_compile" | |
1409 case "(($ac_try" in | |
1410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1411 *) ac_try_echo=$ac_try;; | |
1412 esac | |
1413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1414 $as_echo "$ac_try_echo"; } >&5 | |
1415 (eval "$ac_compile") 2>conftest.err | |
1416 ac_status=$? | |
1417 if test -s conftest.err; then | |
1418 grep -v '^ *+' conftest.err >conftest.er1 | |
1419 cat conftest.er1 >&5 | |
1420 mv -f conftest.er1 conftest.err | |
1421 fi | |
1422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1423 test $ac_status = 0; } && { | |
1424 test -z "$ac_cxx_werror_flag" || | |
1425 test ! -s conftest.err | |
1426 } && test -s conftest.$ac_objext; then : | |
1427 ac_retval=0 | |
1428 else | |
1429 $as_echo "$as_me: failed program was:" >&5 | |
1430 sed 's/^/| /' conftest.$ac_ext >&5 | |
1431 | |
1432 ac_retval=1 | |
1433 fi | |
1434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1435 as_fn_set_status $ac_retval | |
1436 | |
1437 } # ac_fn_cxx_try_compile | |
1438 | |
1439 # ac_fn_c_try_compile LINENO | |
1440 # -------------------------- | |
1441 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1442 ac_fn_c_try_compile () | |
1443 { | |
1444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1445 rm -f conftest.$ac_objext | |
1446 if { { ac_try="$ac_compile" | |
1447 case "(($ac_try" in | |
1448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1449 *) ac_try_echo=$ac_try;; | |
1450 esac | |
1451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1452 $as_echo "$ac_try_echo"; } >&5 | |
1453 (eval "$ac_compile") 2>conftest.err | |
1454 ac_status=$? | |
1455 if test -s conftest.err; then | |
1456 grep -v '^ *+' conftest.err >conftest.er1 | |
1457 cat conftest.er1 >&5 | |
1458 mv -f conftest.er1 conftest.err | |
1459 fi | |
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1461 test $ac_status = 0; } && { | |
1462 test -z "$ac_c_werror_flag" || | |
1463 test ! -s conftest.err | |
1464 } && test -s conftest.$ac_objext; then : | |
1465 ac_retval=0 | |
1466 else | |
1467 $as_echo "$as_me: failed program was:" >&5 | |
1468 sed 's/^/| /' conftest.$ac_ext >&5 | |
1469 | |
1470 ac_retval=1 | |
1471 fi | |
1472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1473 as_fn_set_status $ac_retval | |
1474 | |
1475 } # ac_fn_c_try_compile | |
1476 | |
1477 # ac_fn_c_try_cpp LINENO | |
1478 # ---------------------- | |
1479 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1480 ac_fn_c_try_cpp () | |
1481 { | |
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1483 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1484 case "(($ac_try" in | |
1485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1486 *) ac_try_echo=$ac_try;; | |
1487 esac | |
1488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1489 $as_echo "$ac_try_echo"; } >&5 | |
1490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1491 ac_status=$? | |
1492 if test -s conftest.err; then | |
1493 grep -v '^ *+' conftest.err >conftest.er1 | |
1494 cat conftest.er1 >&5 | |
1495 mv -f conftest.er1 conftest.err | |
1496 fi | |
1497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1498 test $ac_status = 0; } > conftest.i && { | |
1499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1500 test ! -s conftest.err | |
1501 }; then : | |
1502 ac_retval=0 | |
1503 else | |
1504 $as_echo "$as_me: failed program was:" >&5 | |
1505 sed 's/^/| /' conftest.$ac_ext >&5 | |
1506 | |
1507 ac_retval=1 | |
1508 fi | |
1509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1510 as_fn_set_status $ac_retval | |
1511 | |
1512 } # ac_fn_c_try_cpp | |
1513 | |
1514 # ac_fn_c_try_run LINENO | |
1515 # ---------------------- | |
1516 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1517 # that executables *can* be run. | |
1518 ac_fn_c_try_run () | |
1519 { | |
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1521 if { { ac_try="$ac_link" | |
1522 case "(($ac_try" in | |
1523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1524 *) ac_try_echo=$ac_try;; | |
1525 esac | |
1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1527 $as_echo "$ac_try_echo"; } >&5 | |
1528 (eval "$ac_link") 2>&5 | |
1529 ac_status=$? | |
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1531 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1532 { { case "(($ac_try" in | |
1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1534 *) ac_try_echo=$ac_try;; | |
1535 esac | |
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1537 $as_echo "$ac_try_echo"; } >&5 | |
1538 (eval "$ac_try") 2>&5 | |
1539 ac_status=$? | |
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1541 test $ac_status = 0; }; }; then : | |
1542 ac_retval=0 | |
1543 else | |
1544 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1545 $as_echo "$as_me: failed program was:" >&5 | |
1546 sed 's/^/| /' conftest.$ac_ext >&5 | |
1547 | |
1548 ac_retval=$ac_status | |
1549 fi | |
1550 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1552 as_fn_set_status $ac_retval | |
1553 | |
1554 } # ac_fn_c_try_run | |
1555 | |
1556 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1557 # ------------------------------------------------------- | |
1558 # Tests whether HEADER exists and can be compiled using the include files in | |
1559 # INCLUDES, setting the cache variable VAR accordingly. | |
1560 ac_fn_c_check_header_compile () | |
1561 { | |
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1564 $as_echo_n "checking for $2... " >&6; } | |
1565 if eval \${$3+:} false; then : | |
1566 $as_echo_n "(cached) " >&6 | |
1567 else | |
1568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1569 /* end confdefs.h. */ | |
1570 $4 | |
1571 #include <$2> | |
1572 _ACEOF | |
1573 if ac_fn_c_try_compile "$LINENO"; then : | |
1574 eval "$3=yes" | |
1575 else | |
1576 eval "$3=no" | |
1577 fi | |
1578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1579 fi | |
1580 eval ac_res=\$$3 | |
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1582 $as_echo "$ac_res" >&6; } | |
1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1584 | |
1585 } # ac_fn_c_check_header_compile | |
1586 | |
1587 # ac_fn_c_try_link LINENO | |
1588 # ----------------------- | |
1589 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1590 ac_fn_c_try_link () | |
1591 { | |
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1593 rm -f conftest.$ac_objext conftest$ac_exeext | |
1594 if { { ac_try="$ac_link" | |
1595 case "(($ac_try" in | |
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1597 *) ac_try_echo=$ac_try;; | |
1598 esac | |
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1600 $as_echo "$ac_try_echo"; } >&5 | |
1601 (eval "$ac_link") 2>conftest.err | |
1602 ac_status=$? | |
1603 if test -s conftest.err; then | |
1604 grep -v '^ *+' conftest.err >conftest.er1 | |
1605 cat conftest.er1 >&5 | |
1606 mv -f conftest.er1 conftest.err | |
1607 fi | |
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1609 test $ac_status = 0; } && { | |
1610 test -z "$ac_c_werror_flag" || | |
1611 test ! -s conftest.err | |
1612 } && test -s conftest$ac_exeext && { | |
1613 test "$cross_compiling" = yes || | |
1614 $as_test_x conftest$ac_exeext | |
1615 }; then : | |
1616 ac_retval=0 | |
1617 else | |
1618 $as_echo "$as_me: failed program was:" >&5 | |
1619 sed 's/^/| /' conftest.$ac_ext >&5 | |
1620 | |
1621 ac_retval=1 | |
1622 fi | |
1623 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1624 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1625 # interfere with the next link command; also delete a directory that is | |
1626 # left behind by Apple's compiler. We do this before executing the actions. | |
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1629 as_fn_set_status $ac_retval | |
1630 | |
1631 } # ac_fn_c_try_link | |
1632 cat >config.log <<_ACEOF | |
1633 This file contains any messages produced by compilers while | |
1634 running configure, to aid debugging if configure makes a mistake. | |
1635 | |
1636 It was created by vamp-plugin-sdk $as_me 2.3.0, which was | |
1637 generated by GNU Autoconf 2.68. Invocation command line was | |
1638 | |
1639 $ $0 $@ | |
1640 | |
1641 _ACEOF | |
1642 exec 5>>config.log | |
1643 { | |
1644 cat <<_ASUNAME | |
1645 ## --------- ## | |
1646 ## Platform. ## | |
1647 ## --------- ## | |
1648 | |
1649 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1650 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1651 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1652 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1653 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1654 | |
1655 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1656 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1657 | |
1658 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1659 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1660 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1661 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
1662 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1663 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1664 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1665 | |
1666 _ASUNAME | |
1667 | |
1668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1669 for as_dir in $PATH | |
1670 do | |
1671 IFS=$as_save_IFS | |
1672 test -z "$as_dir" && as_dir=. | |
1673 $as_echo "PATH: $as_dir" | |
1674 done | |
1675 IFS=$as_save_IFS | |
1676 | |
1677 } >&5 | |
1678 | |
1679 cat >&5 <<_ACEOF | |
1680 | |
1681 | |
1682 ## ----------- ## | |
1683 ## Core tests. ## | |
1684 ## ----------- ## | |
1685 | |
1686 _ACEOF | |
1687 | |
1688 | |
1689 # Keep a trace of the command line. | |
1690 # Strip out --no-create and --no-recursion so they do not pile up. | |
1691 # Strip out --silent because we don't want to record it for future runs. | |
1692 # Also quote any args containing shell meta-characters. | |
1693 # Make two passes to allow for proper duplicate-argument suppression. | |
1694 ac_configure_args= | |
1695 ac_configure_args0= | |
1696 ac_configure_args1= | |
1697 ac_must_keep_next=false | |
1698 for ac_pass in 1 2 | |
1699 do | |
1700 for ac_arg | |
1701 do | |
1702 case $ac_arg in | |
1703 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1704 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1705 | -silent | --silent | --silen | --sile | --sil) | |
1706 continue ;; | |
1707 *\'*) | |
1708 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1709 esac | |
1710 case $ac_pass in | |
1711 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
1712 2) | |
1713 as_fn_append ac_configure_args1 " '$ac_arg'" | |
1714 if test $ac_must_keep_next = true; then | |
1715 ac_must_keep_next=false # Got value, back to normal. | |
1716 else | |
1717 case $ac_arg in | |
1718 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1719 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1720 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1721 | -with-* | --with-* | -without-* | --without-* | --x) | |
1722 case "$ac_configure_args0 " in | |
1723 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1724 esac | |
1725 ;; | |
1726 -* ) ac_must_keep_next=true ;; | |
1727 esac | |
1728 fi | |
1729 as_fn_append ac_configure_args " '$ac_arg'" | |
1730 ;; | |
1731 esac | |
1732 done | |
1733 done | |
1734 { ac_configure_args0=; unset ac_configure_args0;} | |
1735 { ac_configure_args1=; unset ac_configure_args1;} | |
1736 | |
1737 # When interrupted or exit'd, cleanup temporary files, and complete | |
1738 # config.log. We remove comments because anyway the quotes in there | |
1739 # would cause problems or look ugly. | |
1740 # WARNING: Use '\'' to represent an apostrophe within the trap. | |
1741 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
1742 trap 'exit_status=$? | |
1743 # Save into config.log some information that might help in debugging. | |
1744 { | |
1745 echo | |
1746 | |
1747 $as_echo "## ---------------- ## | |
1748 ## Cache variables. ## | |
1749 ## ---------------- ##" | |
1750 echo | |
1751 # The following way of writing the cache mishandles newlines in values, | |
1752 ( | |
1753 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1754 eval ac_val=\$$ac_var | |
1755 case $ac_val in #( | |
1756 *${as_nl}*) | |
1757 case $ac_var in #( | |
1758 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
1759 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1760 esac | |
1761 case $ac_var in #( | |
1762 _ | IFS | as_nl) ;; #( | |
1763 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1764 *) { eval $ac_var=; unset $ac_var;} ;; | |
1765 esac ;; | |
1766 esac | |
1767 done | |
1768 (set) 2>&1 | | |
1769 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
1770 *${as_nl}ac_space=\ *) | |
1771 sed -n \ | |
1772 "s/'\''/'\''\\\\'\'''\''/g; | |
1773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
1774 ;; #( | |
1775 *) | |
1776 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1777 ;; | |
1778 esac | | |
1779 sort | |
1780 ) | |
1781 echo | |
1782 | |
1783 $as_echo "## ----------------- ## | |
1784 ## Output variables. ## | |
1785 ## ----------------- ##" | |
1786 echo | |
1787 for ac_var in $ac_subst_vars | |
1788 do | |
1789 eval ac_val=\$$ac_var | |
1790 case $ac_val in | |
1791 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1792 esac | |
1793 $as_echo "$ac_var='\''$ac_val'\''" | |
1794 done | sort | |
1795 echo | |
1796 | |
1797 if test -n "$ac_subst_files"; then | |
1798 $as_echo "## ------------------- ## | |
1799 ## File substitutions. ## | |
1800 ## ------------------- ##" | |
1801 echo | |
1802 for ac_var in $ac_subst_files | |
1803 do | |
1804 eval ac_val=\$$ac_var | |
1805 case $ac_val in | |
1806 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1807 esac | |
1808 $as_echo "$ac_var='\''$ac_val'\''" | |
1809 done | sort | |
1810 echo | |
1811 fi | |
1812 | |
1813 if test -s confdefs.h; then | |
1814 $as_echo "## ----------- ## | |
1815 ## confdefs.h. ## | |
1816 ## ----------- ##" | |
1817 echo | |
1818 cat confdefs.h | |
1819 echo | |
1820 fi | |
1821 test "$ac_signal" != 0 && | |
1822 $as_echo "$as_me: caught signal $ac_signal" | |
1823 $as_echo "$as_me: exit $exit_status" | |
1824 } >&5 | |
1825 rm -f core *.core core.conftest.* && | |
1826 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
1827 exit $exit_status | |
1828 ' 0 | |
1829 for ac_signal in 1 2 13 15; do | |
1830 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
1831 done | |
1832 ac_signal=0 | |
1833 | |
1834 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
1835 rm -f -r conftest* confdefs.h | |
1836 | |
1837 $as_echo "/* confdefs.h */" > confdefs.h | |
1838 | |
1839 # Predefined preprocessor variables. | |
1840 | |
1841 cat >>confdefs.h <<_ACEOF | |
1842 #define PACKAGE_NAME "$PACKAGE_NAME" | |
1843 _ACEOF | |
1844 | |
1845 cat >>confdefs.h <<_ACEOF | |
1846 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1847 _ACEOF | |
1848 | |
1849 cat >>confdefs.h <<_ACEOF | |
1850 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1851 _ACEOF | |
1852 | |
1853 cat >>confdefs.h <<_ACEOF | |
1854 #define PACKAGE_STRING "$PACKAGE_STRING" | |
1855 _ACEOF | |
1856 | |
1857 cat >>confdefs.h <<_ACEOF | |
1858 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1859 _ACEOF | |
1860 | |
1861 cat >>confdefs.h <<_ACEOF | |
1862 #define PACKAGE_URL "$PACKAGE_URL" | |
1863 _ACEOF | |
1864 | |
1865 | |
1866 # Let the site file select an alternate cache file if it wants to. | |
1867 # Prefer an explicitly selected file to automatically selected ones. | |
1868 ac_site_file1=NONE | |
1869 ac_site_file2=NONE | |
1870 if test -n "$CONFIG_SITE"; then | |
1871 # We do not want a PATH search for config.site. | |
1872 case $CONFIG_SITE in #(( | |
1873 -*) ac_site_file1=./$CONFIG_SITE;; | |
1874 */*) ac_site_file1=$CONFIG_SITE;; | |
1875 *) ac_site_file1=./$CONFIG_SITE;; | |
1876 esac | |
1877 elif test "x$prefix" != xNONE; then | |
1878 ac_site_file1=$prefix/share/config.site | |
1879 ac_site_file2=$prefix/etc/config.site | |
1880 else | |
1881 ac_site_file1=$ac_default_prefix/share/config.site | |
1882 ac_site_file2=$ac_default_prefix/etc/config.site | |
1883 fi | |
1884 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1885 do | |
1886 test "x$ac_site_file" = xNONE && continue | |
1887 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
1889 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1890 sed 's/^/| /' "$ac_site_file" >&5 | |
1891 . "$ac_site_file" \ | |
1892 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1894 as_fn_error $? "failed to load site script $ac_site_file | |
1895 See \`config.log' for more details" "$LINENO" 5; } | |
1896 fi | |
1897 done | |
1898 | |
1899 if test -r "$cache_file"; then | |
1900 # Some versions of bash will fail to source /dev/null (special files | |
1901 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
1902 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
1904 $as_echo "$as_me: loading cache $cache_file" >&6;} | |
1905 case $cache_file in | |
1906 [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
1907 *) . "./$cache_file";; | |
1908 esac | |
1909 fi | |
1910 else | |
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
1912 $as_echo "$as_me: creating cache $cache_file" >&6;} | |
1913 >$cache_file | |
1914 fi | |
1915 | |
1916 # Check that the precious variables saved in the cache have kept the same | |
1917 # value. | |
1918 ac_cache_corrupted=false | |
1919 for ac_var in $ac_precious_vars; do | |
1920 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
1921 eval ac_new_set=\$ac_env_${ac_var}_set | |
1922 eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
1923 eval ac_new_val=\$ac_env_${ac_var}_value | |
1924 case $ac_old_set,$ac_new_set in | |
1925 set,) | |
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
1927 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
1928 ac_cache_corrupted=: ;; | |
1929 ,set) | |
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
1931 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
1932 ac_cache_corrupted=: ;; | |
1933 ,);; | |
1934 *) | |
1935 if test "x$ac_old_val" != "x$ac_new_val"; then | |
1936 # differences in whitespace do not lead to failure. | |
1937 ac_old_val_w=`echo x $ac_old_val` | |
1938 ac_new_val_w=`echo x $ac_new_val` | |
1939 if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
1941 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1942 ac_cache_corrupted=: | |
1943 else | |
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1945 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1946 eval $ac_var=\$ac_old_val | |
1947 fi | |
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
1949 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
1951 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1952 fi;; | |
1953 esac | |
1954 # Pass precious variables to config.status. | |
1955 if test "$ac_new_set" = set; then | |
1956 case $ac_new_val in | |
1957 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1958 *) ac_arg=$ac_var=$ac_new_val ;; | |
1959 esac | |
1960 case " $ac_configure_args " in | |
1961 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1962 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
1963 esac | |
1964 fi | |
1965 done | |
1966 if $ac_cache_corrupted; then | |
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
1970 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1971 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
1972 fi | |
1973 ## -------------------- ## | |
1974 ## Main body of script. ## | |
1975 ## -------------------- ## | |
1976 | |
1977 ac_ext=c | |
1978 ac_cpp='$CPP $CPPFLAGS' | |
1979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1981 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1982 | |
1983 | |
1984 | |
1985 | |
1986 ac_ext=cpp | |
1987 ac_cpp='$CXXCPP $CPPFLAGS' | |
1988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
1991 if test -z "$CXX"; then | |
1992 if test -n "$CCC"; then | |
1993 CXX=$CCC | |
1994 else | |
1995 if test -n "$ac_tool_prefix"; then | |
1996 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
1997 do | |
1998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
1999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2001 $as_echo_n "checking for $ac_word... " >&6; } | |
2002 if ${ac_cv_prog_CXX+:} false; then : | |
2003 $as_echo_n "(cached) " >&6 | |
2004 else | |
2005 if test -n "$CXX"; then | |
2006 ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
2007 else | |
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2009 for as_dir in $PATH | |
2010 do | |
2011 IFS=$as_save_IFS | |
2012 test -z "$as_dir" && as_dir=. | |
2013 for ac_exec_ext in '' $ac_executable_extensions; do | |
2014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2015 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |
2016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2017 break 2 | |
2018 fi | |
2019 done | |
2020 done | |
2021 IFS=$as_save_IFS | |
2022 | |
2023 fi | |
2024 fi | |
2025 CXX=$ac_cv_prog_CXX | |
2026 if test -n "$CXX"; then | |
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | |
2028 $as_echo "$CXX" >&6; } | |
2029 else | |
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2031 $as_echo "no" >&6; } | |
2032 fi | |
2033 | |
2034 | |
2035 test -n "$CXX" && break | |
2036 done | |
2037 fi | |
2038 if test -z "$CXX"; then | |
2039 ac_ct_CXX=$CXX | |
2040 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
2041 do | |
2042 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2043 set dummy $ac_prog; ac_word=$2 | |
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2045 $as_echo_n "checking for $ac_word... " >&6; } | |
2046 if ${ac_cv_prog_ac_ct_CXX+:} false; then : | |
2047 $as_echo_n "(cached) " >&6 | |
2048 else | |
2049 if test -n "$ac_ct_CXX"; then | |
2050 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
2051 else | |
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2053 for as_dir in $PATH | |
2054 do | |
2055 IFS=$as_save_IFS | |
2056 test -z "$as_dir" && as_dir=. | |
2057 for ac_exec_ext in '' $ac_executable_extensions; do | |
2058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2059 ac_cv_prog_ac_ct_CXX="$ac_prog" | |
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2061 break 2 | |
2062 fi | |
2063 done | |
2064 done | |
2065 IFS=$as_save_IFS | |
2066 | |
2067 fi | |
2068 fi | |
2069 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
2070 if test -n "$ac_ct_CXX"; then | |
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | |
2072 $as_echo "$ac_ct_CXX" >&6; } | |
2073 else | |
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2075 $as_echo "no" >&6; } | |
2076 fi | |
2077 | |
2078 | |
2079 test -n "$ac_ct_CXX" && break | |
2080 done | |
2081 | |
2082 if test "x$ac_ct_CXX" = x; then | |
2083 CXX="g++" | |
2084 else | |
2085 case $cross_compiling:$ac_tool_warned in | |
2086 yes:) | |
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2089 ac_tool_warned=yes ;; | |
2090 esac | |
2091 CXX=$ac_ct_CXX | |
2092 fi | |
2093 fi | |
2094 | |
2095 fi | |
2096 fi | |
2097 # Provide some information about the compiler. | |
2098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | |
2099 set X $ac_compile | |
2100 ac_compiler=$2 | |
2101 for ac_option in --version -v -V -qversion; do | |
2102 { { ac_try="$ac_compiler $ac_option >&5" | |
2103 case "(($ac_try" in | |
2104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2105 *) ac_try_echo=$ac_try;; | |
2106 esac | |
2107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2108 $as_echo "$ac_try_echo"; } >&5 | |
2109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2110 ac_status=$? | |
2111 if test -s conftest.err; then | |
2112 sed '10a\ | |
2113 ... rest of stderr output deleted ... | |
2114 10q' conftest.err >conftest.er1 | |
2115 cat conftest.er1 >&5 | |
2116 fi | |
2117 rm -f conftest.er1 conftest.err | |
2118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2119 test $ac_status = 0; } | |
2120 done | |
2121 | |
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2123 /* end confdefs.h. */ | |
2124 | |
2125 int | |
2126 main () | |
2127 { | |
2128 | |
2129 ; | |
2130 return 0; | |
2131 } | |
2132 _ACEOF | |
2133 ac_clean_files_save=$ac_clean_files | |
2134 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
2135 # Try to create an executable without -o first, disregard a.out. | |
2136 # It will help us diagnose broken compilers, and finding out an intuition | |
2137 # of exeext. | |
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 | |
2139 $as_echo_n "checking whether the C++ compiler works... " >&6; } | |
2140 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2141 | |
2142 # The possible output files: | |
2143 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2144 | |
2145 ac_rmfiles= | |
2146 for ac_file in $ac_files | |
2147 do | |
2148 case $ac_file in | |
2149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2150 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2151 esac | |
2152 done | |
2153 rm -f $ac_rmfiles | |
2154 | |
2155 if { { ac_try="$ac_link_default" | |
2156 case "(($ac_try" in | |
2157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2158 *) ac_try_echo=$ac_try;; | |
2159 esac | |
2160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2161 $as_echo "$ac_try_echo"; } >&5 | |
2162 (eval "$ac_link_default") 2>&5 | |
2163 ac_status=$? | |
2164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2165 test $ac_status = 0; }; then : | |
2166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
2167 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
2168 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
2169 # so that the user can short-circuit this test for compilers unknown to | |
2170 # Autoconf. | |
2171 for ac_file in $ac_files '' | |
2172 do | |
2173 test -f "$ac_file" || continue | |
2174 case $ac_file in | |
2175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
2176 ;; | |
2177 [ab].out ) | |
2178 # We found the default executable, but exeext='' is most | |
2179 # certainly right. | |
2180 break;; | |
2181 *.* ) | |
2182 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
2183 then :; else | |
2184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2185 fi | |
2186 # We set ac_cv_exeext here because the later test for it is not | |
2187 # safe: cross compilers may not add the suffix if given an `-o' | |
2188 # argument, so we may need to know it at that point already. | |
2189 # Even if this section looks crufty: it has the advantage of | |
2190 # actually working. | |
2191 break;; | |
2192 * ) | |
2193 break;; | |
2194 esac | |
2195 done | |
2196 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
2197 | |
2198 else | |
2199 ac_file='' | |
2200 fi | |
2201 if test -z "$ac_file"; then : | |
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2203 $as_echo "no" >&6; } | |
2204 $as_echo "$as_me: failed program was:" >&5 | |
2205 sed 's/^/| /' conftest.$ac_ext >&5 | |
2206 | |
2207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2209 as_fn_error 77 "C++ compiler cannot create executables | |
2210 See \`config.log' for more details" "$LINENO" 5; } | |
2211 else | |
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2213 $as_echo "yes" >&6; } | |
2214 fi | |
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 | |
2216 $as_echo_n "checking for C++ compiler default output file name... " >&6; } | |
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
2218 $as_echo "$ac_file" >&6; } | |
2219 ac_exeext=$ac_cv_exeext | |
2220 | |
2221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
2222 ac_clean_files=$ac_clean_files_save | |
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
2224 $as_echo_n "checking for suffix of executables... " >&6; } | |
2225 if { { ac_try="$ac_link" | |
2226 case "(($ac_try" in | |
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2228 *) ac_try_echo=$ac_try;; | |
2229 esac | |
2230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2231 $as_echo "$ac_try_echo"; } >&5 | |
2232 (eval "$ac_link") 2>&5 | |
2233 ac_status=$? | |
2234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2235 test $ac_status = 0; }; then : | |
2236 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
2237 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
2238 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
2239 # `rm'. | |
2240 for ac_file in conftest.exe conftest conftest.*; do | |
2241 test -f "$ac_file" || continue | |
2242 case $ac_file in | |
2243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2244 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2245 break;; | |
2246 * ) break;; | |
2247 esac | |
2248 done | |
2249 else | |
2250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2252 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
2253 See \`config.log' for more details" "$LINENO" 5; } | |
2254 fi | |
2255 rm -f conftest conftest$ac_cv_exeext | |
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
2257 $as_echo "$ac_cv_exeext" >&6; } | |
2258 | |
2259 rm -f conftest.$ac_ext | |
2260 EXEEXT=$ac_cv_exeext | |
2261 ac_exeext=$EXEEXT | |
2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2263 /* end confdefs.h. */ | |
2264 #include <stdio.h> | |
2265 int | |
2266 main () | |
2267 { | |
2268 FILE *f = fopen ("conftest.out", "w"); | |
2269 return ferror (f) || fclose (f) != 0; | |
2270 | |
2271 ; | |
2272 return 0; | |
2273 } | |
2274 _ACEOF | |
2275 ac_clean_files="$ac_clean_files conftest.out" | |
2276 # Check that the compiler produces executables we can run. If not, either | |
2277 # the compiler is broken, or we cross compile. | |
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
2279 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
2280 if test "$cross_compiling" != yes; then | |
2281 { { ac_try="$ac_link" | |
2282 case "(($ac_try" in | |
2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2284 *) ac_try_echo=$ac_try;; | |
2285 esac | |
2286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2287 $as_echo "$ac_try_echo"; } >&5 | |
2288 (eval "$ac_link") 2>&5 | |
2289 ac_status=$? | |
2290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2291 test $ac_status = 0; } | |
2292 if { ac_try='./conftest$ac_cv_exeext' | |
2293 { { case "(($ac_try" in | |
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2295 *) ac_try_echo=$ac_try;; | |
2296 esac | |
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2298 $as_echo "$ac_try_echo"; } >&5 | |
2299 (eval "$ac_try") 2>&5 | |
2300 ac_status=$? | |
2301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2302 test $ac_status = 0; }; }; then | |
2303 cross_compiling=no | |
2304 else | |
2305 if test "$cross_compiling" = maybe; then | |
2306 cross_compiling=yes | |
2307 else | |
2308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2310 as_fn_error $? "cannot run C++ compiled programs. | |
2311 If you meant to cross compile, use \`--host'. | |
2312 See \`config.log' for more details" "$LINENO" 5; } | |
2313 fi | |
2314 fi | |
2315 fi | |
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
2317 $as_echo "$cross_compiling" >&6; } | |
2318 | |
2319 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
2320 ac_clean_files=$ac_clean_files_save | |
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
2322 $as_echo_n "checking for suffix of object files... " >&6; } | |
2323 if ${ac_cv_objext+:} false; then : | |
2324 $as_echo_n "(cached) " >&6 | |
2325 else | |
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2327 /* end confdefs.h. */ | |
2328 | |
2329 int | |
2330 main () | |
2331 { | |
2332 | |
2333 ; | |
2334 return 0; | |
2335 } | |
2336 _ACEOF | |
2337 rm -f conftest.o conftest.obj | |
2338 if { { ac_try="$ac_compile" | |
2339 case "(($ac_try" in | |
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2341 *) ac_try_echo=$ac_try;; | |
2342 esac | |
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2344 $as_echo "$ac_try_echo"; } >&5 | |
2345 (eval "$ac_compile") 2>&5 | |
2346 ac_status=$? | |
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2348 test $ac_status = 0; }; then : | |
2349 for ac_file in conftest.o conftest.obj conftest.*; do | |
2350 test -f "$ac_file" || continue; | |
2351 case $ac_file in | |
2352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
2353 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
2354 break;; | |
2355 esac | |
2356 done | |
2357 else | |
2358 $as_echo "$as_me: failed program was:" >&5 | |
2359 sed 's/^/| /' conftest.$ac_ext >&5 | |
2360 | |
2361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2363 as_fn_error $? "cannot compute suffix of object files: cannot compile | |
2364 See \`config.log' for more details" "$LINENO" 5; } | |
2365 fi | |
2366 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
2367 fi | |
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
2369 $as_echo "$ac_cv_objext" >&6; } | |
2370 OBJEXT=$ac_cv_objext | |
2371 ac_objext=$OBJEXT | |
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | |
2373 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | |
2374 if ${ac_cv_cxx_compiler_gnu+:} false; then : | |
2375 $as_echo_n "(cached) " >&6 | |
2376 else | |
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2378 /* end confdefs.h. */ | |
2379 | |
2380 int | |
2381 main () | |
2382 { | |
2383 #ifndef __GNUC__ | |
2384 choke me | |
2385 #endif | |
2386 | |
2387 ; | |
2388 return 0; | |
2389 } | |
2390 _ACEOF | |
2391 if ac_fn_cxx_try_compile "$LINENO"; then : | |
2392 ac_compiler_gnu=yes | |
2393 else | |
2394 ac_compiler_gnu=no | |
2395 fi | |
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2397 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
2398 | |
2399 fi | |
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | |
2401 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | |
2402 if test $ac_compiler_gnu = yes; then | |
2403 GXX=yes | |
2404 else | |
2405 GXX= | |
2406 fi | |
2407 ac_test_CXXFLAGS=${CXXFLAGS+set} | |
2408 ac_save_CXXFLAGS=$CXXFLAGS | |
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | |
2410 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | |
2411 if ${ac_cv_prog_cxx_g+:} false; then : | |
2412 $as_echo_n "(cached) " >&6 | |
2413 else | |
2414 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | |
2415 ac_cxx_werror_flag=yes | |
2416 ac_cv_prog_cxx_g=no | |
2417 CXXFLAGS="-g" | |
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2419 /* end confdefs.h. */ | |
2420 | |
2421 int | |
2422 main () | |
2423 { | |
2424 | |
2425 ; | |
2426 return 0; | |
2427 } | |
2428 _ACEOF | |
2429 if ac_fn_cxx_try_compile "$LINENO"; then : | |
2430 ac_cv_prog_cxx_g=yes | |
2431 else | |
2432 CXXFLAGS="" | |
2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2434 /* end confdefs.h. */ | |
2435 | |
2436 int | |
2437 main () | |
2438 { | |
2439 | |
2440 ; | |
2441 return 0; | |
2442 } | |
2443 _ACEOF | |
2444 if ac_fn_cxx_try_compile "$LINENO"; then : | |
2445 | |
2446 else | |
2447 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
2448 CXXFLAGS="-g" | |
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2450 /* end confdefs.h. */ | |
2451 | |
2452 int | |
2453 main () | |
2454 { | |
2455 | |
2456 ; | |
2457 return 0; | |
2458 } | |
2459 _ACEOF | |
2460 if ac_fn_cxx_try_compile "$LINENO"; then : | |
2461 ac_cv_prog_cxx_g=yes | |
2462 fi | |
2463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2464 fi | |
2465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2466 fi | |
2467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2468 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
2469 fi | |
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | |
2471 $as_echo "$ac_cv_prog_cxx_g" >&6; } | |
2472 if test "$ac_test_CXXFLAGS" = set; then | |
2473 CXXFLAGS=$ac_save_CXXFLAGS | |
2474 elif test $ac_cv_prog_cxx_g = yes; then | |
2475 if test "$GXX" = yes; then | |
2476 CXXFLAGS="-g -O2" | |
2477 else | |
2478 CXXFLAGS="-g" | |
2479 fi | |
2480 else | |
2481 if test "$GXX" = yes; then | |
2482 CXXFLAGS="-O2" | |
2483 else | |
2484 CXXFLAGS= | |
2485 fi | |
2486 fi | |
2487 ac_ext=c | |
2488 ac_cpp='$CPP $CPPFLAGS' | |
2489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2491 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2492 | |
2493 ac_ext=c | |
2494 ac_cpp='$CPP $CPPFLAGS' | |
2495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2497 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2498 if test -n "$ac_tool_prefix"; then | |
2499 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
2500 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2502 $as_echo_n "checking for $ac_word... " >&6; } | |
2503 if ${ac_cv_prog_CC+:} false; then : | |
2504 $as_echo_n "(cached) " >&6 | |
2505 else | |
2506 if test -n "$CC"; then | |
2507 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2508 else | |
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2510 for as_dir in $PATH | |
2511 do | |
2512 IFS=$as_save_IFS | |
2513 test -z "$as_dir" && as_dir=. | |
2514 for ac_exec_ext in '' $ac_executable_extensions; do | |
2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2516 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2518 break 2 | |
2519 fi | |
2520 done | |
2521 done | |
2522 IFS=$as_save_IFS | |
2523 | |
2524 fi | |
2525 fi | |
2526 CC=$ac_cv_prog_CC | |
2527 if test -n "$CC"; then | |
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2529 $as_echo "$CC" >&6; } | |
2530 else | |
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2532 $as_echo "no" >&6; } | |
2533 fi | |
2534 | |
2535 | |
2536 fi | |
2537 if test -z "$ac_cv_prog_CC"; then | |
2538 ac_ct_CC=$CC | |
2539 # Extract the first word of "gcc", so it can be a program name with args. | |
2540 set dummy gcc; ac_word=$2 | |
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2542 $as_echo_n "checking for $ac_word... " >&6; } | |
2543 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
2544 $as_echo_n "(cached) " >&6 | |
2545 else | |
2546 if test -n "$ac_ct_CC"; then | |
2547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2548 else | |
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2550 for as_dir in $PATH | |
2551 do | |
2552 IFS=$as_save_IFS | |
2553 test -z "$as_dir" && as_dir=. | |
2554 for ac_exec_ext in '' $ac_executable_extensions; do | |
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2556 ac_cv_prog_ac_ct_CC="gcc" | |
2557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2558 break 2 | |
2559 fi | |
2560 done | |
2561 done | |
2562 IFS=$as_save_IFS | |
2563 | |
2564 fi | |
2565 fi | |
2566 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2567 if test -n "$ac_ct_CC"; then | |
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
2569 $as_echo "$ac_ct_CC" >&6; } | |
2570 else | |
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2572 $as_echo "no" >&6; } | |
2573 fi | |
2574 | |
2575 if test "x$ac_ct_CC" = x; then | |
2576 CC="" | |
2577 else | |
2578 case $cross_compiling:$ac_tool_warned in | |
2579 yes:) | |
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2582 ac_tool_warned=yes ;; | |
2583 esac | |
2584 CC=$ac_ct_CC | |
2585 fi | |
2586 else | |
2587 CC="$ac_cv_prog_CC" | |
2588 fi | |
2589 | |
2590 if test -z "$CC"; then | |
2591 if test -n "$ac_tool_prefix"; then | |
2592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
2593 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2595 $as_echo_n "checking for $ac_word... " >&6; } | |
2596 if ${ac_cv_prog_CC+:} false; then : | |
2597 $as_echo_n "(cached) " >&6 | |
2598 else | |
2599 if test -n "$CC"; then | |
2600 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2601 else | |
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2603 for as_dir in $PATH | |
2604 do | |
2605 IFS=$as_save_IFS | |
2606 test -z "$as_dir" && as_dir=. | |
2607 for ac_exec_ext in '' $ac_executable_extensions; do | |
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2609 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2611 break 2 | |
2612 fi | |
2613 done | |
2614 done | |
2615 IFS=$as_save_IFS | |
2616 | |
2617 fi | |
2618 fi | |
2619 CC=$ac_cv_prog_CC | |
2620 if test -n "$CC"; then | |
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2622 $as_echo "$CC" >&6; } | |
2623 else | |
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2625 $as_echo "no" >&6; } | |
2626 fi | |
2627 | |
2628 | |
2629 fi | |
2630 fi | |
2631 if test -z "$CC"; then | |
2632 # Extract the first word of "cc", so it can be a program name with args. | |
2633 set dummy cc; ac_word=$2 | |
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2635 $as_echo_n "checking for $ac_word... " >&6; } | |
2636 if ${ac_cv_prog_CC+:} false; then : | |
2637 $as_echo_n "(cached) " >&6 | |
2638 else | |
2639 if test -n "$CC"; then | |
2640 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2641 else | |
2642 ac_prog_rejected=no | |
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2644 for as_dir in $PATH | |
2645 do | |
2646 IFS=$as_save_IFS | |
2647 test -z "$as_dir" && as_dir=. | |
2648 for ac_exec_ext in '' $ac_executable_extensions; do | |
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2650 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
2651 ac_prog_rejected=yes | |
2652 continue | |
2653 fi | |
2654 ac_cv_prog_CC="cc" | |
2655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2656 break 2 | |
2657 fi | |
2658 done | |
2659 done | |
2660 IFS=$as_save_IFS | |
2661 | |
2662 if test $ac_prog_rejected = yes; then | |
2663 # We found a bogon in the path, so make sure we never use it. | |
2664 set dummy $ac_cv_prog_CC | |
2665 shift | |
2666 if test $# != 0; then | |
2667 # We chose a different compiler from the bogus one. | |
2668 # However, it has the same basename, so the bogon will be chosen | |
2669 # first if we set CC to just the basename; use the full file name. | |
2670 shift | |
2671 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
2672 fi | |
2673 fi | |
2674 fi | |
2675 fi | |
2676 CC=$ac_cv_prog_CC | |
2677 if test -n "$CC"; then | |
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2679 $as_echo "$CC" >&6; } | |
2680 else | |
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2682 $as_echo "no" >&6; } | |
2683 fi | |
2684 | |
2685 | |
2686 fi | |
2687 if test -z "$CC"; then | |
2688 if test -n "$ac_tool_prefix"; then | |
2689 for ac_prog in cl.exe | |
2690 do | |
2691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
2692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2694 $as_echo_n "checking for $ac_word... " >&6; } | |
2695 if ${ac_cv_prog_CC+:} false; then : | |
2696 $as_echo_n "(cached) " >&6 | |
2697 else | |
2698 if test -n "$CC"; then | |
2699 ac_cv_prog_CC="$CC" # Let the user override the test. | |
2700 else | |
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2702 for as_dir in $PATH | |
2703 do | |
2704 IFS=$as_save_IFS | |
2705 test -z "$as_dir" && as_dir=. | |
2706 for ac_exec_ext in '' $ac_executable_extensions; do | |
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2708 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2710 break 2 | |
2711 fi | |
2712 done | |
2713 done | |
2714 IFS=$as_save_IFS | |
2715 | |
2716 fi | |
2717 fi | |
2718 CC=$ac_cv_prog_CC | |
2719 if test -n "$CC"; then | |
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2721 $as_echo "$CC" >&6; } | |
2722 else | |
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2724 $as_echo "no" >&6; } | |
2725 fi | |
2726 | |
2727 | |
2728 test -n "$CC" && break | |
2729 done | |
2730 fi | |
2731 if test -z "$CC"; then | |
2732 ac_ct_CC=$CC | |
2733 for ac_prog in cl.exe | |
2734 do | |
2735 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2736 set dummy $ac_prog; ac_word=$2 | |
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2738 $as_echo_n "checking for $ac_word... " >&6; } | |
2739 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
2740 $as_echo_n "(cached) " >&6 | |
2741 else | |
2742 if test -n "$ac_ct_CC"; then | |
2743 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2744 else | |
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2746 for as_dir in $PATH | |
2747 do | |
2748 IFS=$as_save_IFS | |
2749 test -z "$as_dir" && as_dir=. | |
2750 for ac_exec_ext in '' $ac_executable_extensions; do | |
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2752 ac_cv_prog_ac_ct_CC="$ac_prog" | |
2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2754 break 2 | |
2755 fi | |
2756 done | |
2757 done | |
2758 IFS=$as_save_IFS | |
2759 | |
2760 fi | |
2761 fi | |
2762 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2763 if test -n "$ac_ct_CC"; then | |
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
2765 $as_echo "$ac_ct_CC" >&6; } | |
2766 else | |
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2768 $as_echo "no" >&6; } | |
2769 fi | |
2770 | |
2771 | |
2772 test -n "$ac_ct_CC" && break | |
2773 done | |
2774 | |
2775 if test "x$ac_ct_CC" = x; then | |
2776 CC="" | |
2777 else | |
2778 case $cross_compiling:$ac_tool_warned in | |
2779 yes:) | |
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2782 ac_tool_warned=yes ;; | |
2783 esac | |
2784 CC=$ac_ct_CC | |
2785 fi | |
2786 fi | |
2787 | |
2788 fi | |
2789 | |
2790 | |
2791 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2793 as_fn_error $? "no acceptable C compiler found in \$PATH | |
2794 See \`config.log' for more details" "$LINENO" 5; } | |
2795 | |
2796 # Provide some information about the compiler. | |
2797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
2798 set X $ac_compile | |
2799 ac_compiler=$2 | |
2800 for ac_option in --version -v -V -qversion; do | |
2801 { { ac_try="$ac_compiler $ac_option >&5" | |
2802 case "(($ac_try" in | |
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2804 *) ac_try_echo=$ac_try;; | |
2805 esac | |
2806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2807 $as_echo "$ac_try_echo"; } >&5 | |
2808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2809 ac_status=$? | |
2810 if test -s conftest.err; then | |
2811 sed '10a\ | |
2812 ... rest of stderr output deleted ... | |
2813 10q' conftest.err >conftest.er1 | |
2814 cat conftest.er1 >&5 | |
2815 fi | |
2816 rm -f conftest.er1 conftest.err | |
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2818 test $ac_status = 0; } | |
2819 done | |
2820 | |
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
2822 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
2823 if ${ac_cv_c_compiler_gnu+:} false; then : | |
2824 $as_echo_n "(cached) " >&6 | |
2825 else | |
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2827 /* end confdefs.h. */ | |
2828 | |
2829 int | |
2830 main () | |
2831 { | |
2832 #ifndef __GNUC__ | |
2833 choke me | |
2834 #endif | |
2835 | |
2836 ; | |
2837 return 0; | |
2838 } | |
2839 _ACEOF | |
2840 if ac_fn_c_try_compile "$LINENO"; then : | |
2841 ac_compiler_gnu=yes | |
2842 else | |
2843 ac_compiler_gnu=no | |
2844 fi | |
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2846 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
2847 | |
2848 fi | |
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
2850 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
2851 if test $ac_compiler_gnu = yes; then | |
2852 GCC=yes | |
2853 else | |
2854 GCC= | |
2855 fi | |
2856 ac_test_CFLAGS=${CFLAGS+set} | |
2857 ac_save_CFLAGS=$CFLAGS | |
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
2859 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
2860 if ${ac_cv_prog_cc_g+:} false; then : | |
2861 $as_echo_n "(cached) " >&6 | |
2862 else | |
2863 ac_save_c_werror_flag=$ac_c_werror_flag | |
2864 ac_c_werror_flag=yes | |
2865 ac_cv_prog_cc_g=no | |
2866 CFLAGS="-g" | |
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2868 /* end confdefs.h. */ | |
2869 | |
2870 int | |
2871 main () | |
2872 { | |
2873 | |
2874 ; | |
2875 return 0; | |
2876 } | |
2877 _ACEOF | |
2878 if ac_fn_c_try_compile "$LINENO"; then : | |
2879 ac_cv_prog_cc_g=yes | |
2880 else | |
2881 CFLAGS="" | |
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2883 /* end confdefs.h. */ | |
2884 | |
2885 int | |
2886 main () | |
2887 { | |
2888 | |
2889 ; | |
2890 return 0; | |
2891 } | |
2892 _ACEOF | |
2893 if ac_fn_c_try_compile "$LINENO"; then : | |
2894 | |
2895 else | |
2896 ac_c_werror_flag=$ac_save_c_werror_flag | |
2897 CFLAGS="-g" | |
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2899 /* end confdefs.h. */ | |
2900 | |
2901 int | |
2902 main () | |
2903 { | |
2904 | |
2905 ; | |
2906 return 0; | |
2907 } | |
2908 _ACEOF | |
2909 if ac_fn_c_try_compile "$LINENO"; then : | |
2910 ac_cv_prog_cc_g=yes | |
2911 fi | |
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2913 fi | |
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2915 fi | |
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2917 ac_c_werror_flag=$ac_save_c_werror_flag | |
2918 fi | |
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
2920 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
2921 if test "$ac_test_CFLAGS" = set; then | |
2922 CFLAGS=$ac_save_CFLAGS | |
2923 elif test $ac_cv_prog_cc_g = yes; then | |
2924 if test "$GCC" = yes; then | |
2925 CFLAGS="-g -O2" | |
2926 else | |
2927 CFLAGS="-g" | |
2928 fi | |
2929 else | |
2930 if test "$GCC" = yes; then | |
2931 CFLAGS="-O2" | |
2932 else | |
2933 CFLAGS= | |
2934 fi | |
2935 fi | |
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
2937 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
2938 if ${ac_cv_prog_cc_c89+:} false; then : | |
2939 $as_echo_n "(cached) " >&6 | |
2940 else | |
2941 ac_cv_prog_cc_c89=no | |
2942 ac_save_CC=$CC | |
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2944 /* end confdefs.h. */ | |
2945 #include <stdarg.h> | |
2946 #include <stdio.h> | |
2947 #include <sys/types.h> | |
2948 #include <sys/stat.h> | |
2949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
2950 struct buf { int x; }; | |
2951 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
2952 static char *e (p, i) | |
2953 char **p; | |
2954 int i; | |
2955 { | |
2956 return p[i]; | |
2957 } | |
2958 static char *f (char * (*g) (char **, int), char **p, ...) | |
2959 { | |
2960 char *s; | |
2961 va_list v; | |
2962 va_start (v,p); | |
2963 s = g (p, va_arg (v,int)); | |
2964 va_end (v); | |
2965 return s; | |
2966 } | |
2967 | |
2968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
2969 function prototypes and stuff, but not '\xHH' hex character constants. | |
2970 These don't provoke an error unfortunately, instead are silently treated | |
2971 as 'x'. The following induces an error, until -std is added to get | |
2972 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
2973 array size at least. It's necessary to write '\x00'==0 to get something | |
2974 that's true only with -std. */ | |
2975 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
2976 | |
2977 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
2978 inside strings and character constants. */ | |
2979 #define FOO(x) 'x' | |
2980 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
2981 | |
2982 int test (int i, double x); | |
2983 struct s1 {int (*f) (int a);}; | |
2984 struct s2 {int (*f) (double a);}; | |
2985 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
2986 int argc; | |
2987 char **argv; | |
2988 int | |
2989 main () | |
2990 { | |
2991 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
2992 ; | |
2993 return 0; | |
2994 } | |
2995 _ACEOF | |
2996 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
2997 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
2998 do | |
2999 CC="$ac_save_CC $ac_arg" | |
3000 if ac_fn_c_try_compile "$LINENO"; then : | |
3001 ac_cv_prog_cc_c89=$ac_arg | |
3002 fi | |
3003 rm -f core conftest.err conftest.$ac_objext | |
3004 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3005 done | |
3006 rm -f conftest.$ac_ext | |
3007 CC=$ac_save_CC | |
3008 | |
3009 fi | |
3010 # AC_CACHE_VAL | |
3011 case "x$ac_cv_prog_cc_c89" in | |
3012 x) | |
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
3014 $as_echo "none needed" >&6; } ;; | |
3015 xno) | |
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
3017 $as_echo "unsupported" >&6; } ;; | |
3018 *) | |
3019 CC="$CC $ac_cv_prog_cc_c89" | |
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
3021 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
3022 esac | |
3023 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
3024 | |
3025 fi | |
3026 | |
3027 ac_ext=c | |
3028 ac_cpp='$CPP $CPPFLAGS' | |
3029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3031 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3032 | |
3033 | |
3034 ac_ext=c | |
3035 ac_cpp='$CPP $CPPFLAGS' | |
3036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3038 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
3040 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
3041 # On Suns, sometimes $CPP names a directory. | |
3042 if test -n "$CPP" && test -d "$CPP"; then | |
3043 CPP= | |
3044 fi | |
3045 if test -z "$CPP"; then | |
3046 if ${ac_cv_prog_CPP+:} false; then : | |
3047 $as_echo_n "(cached) " >&6 | |
3048 else | |
3049 # Double quotes because CPP needs to be expanded | |
3050 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3051 do | |
3052 ac_preproc_ok=false | |
3053 for ac_c_preproc_warn_flag in '' yes | |
3054 do | |
3055 # Use a header file that comes with gcc, so configuring glibc | |
3056 # with a fresh cross-compiler works. | |
3057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3058 # <limits.h> exists even on freestanding compilers. | |
3059 # On the NeXT, cc -E runs the code through the compiler's parser, | |
3060 # not just through cpp. "Syntax error" is here to catch this case. | |
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3062 /* end confdefs.h. */ | |
3063 #ifdef __STDC__ | |
3064 # include <limits.h> | |
3065 #else | |
3066 # include <assert.h> | |
3067 #endif | |
3068 Syntax error | |
3069 _ACEOF | |
3070 if ac_fn_c_try_cpp "$LINENO"; then : | |
3071 | |
3072 else | |
3073 # Broken: fails on valid input. | |
3074 continue | |
3075 fi | |
3076 rm -f conftest.err conftest.i conftest.$ac_ext | |
3077 | |
3078 # OK, works on sane cases. Now check whether nonexistent headers | |
3079 # can be detected and how. | |
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3081 /* end confdefs.h. */ | |
3082 #include <ac_nonexistent.h> | |
3083 _ACEOF | |
3084 if ac_fn_c_try_cpp "$LINENO"; then : | |
3085 # Broken: success on invalid input. | |
3086 continue | |
3087 else | |
3088 # Passes both tests. | |
3089 ac_preproc_ok=: | |
3090 break | |
3091 fi | |
3092 rm -f conftest.err conftest.i conftest.$ac_ext | |
3093 | |
3094 done | |
3095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3096 rm -f conftest.i conftest.err conftest.$ac_ext | |
3097 if $ac_preproc_ok; then : | |
3098 break | |
3099 fi | |
3100 | |
3101 done | |
3102 ac_cv_prog_CPP=$CPP | |
3103 | |
3104 fi | |
3105 CPP=$ac_cv_prog_CPP | |
3106 else | |
3107 ac_cv_prog_CPP=$CPP | |
3108 fi | |
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
3110 $as_echo "$CPP" >&6; } | |
3111 ac_preproc_ok=false | |
3112 for ac_c_preproc_warn_flag in '' yes | |
3113 do | |
3114 # Use a header file that comes with gcc, so configuring glibc | |
3115 # with a fresh cross-compiler works. | |
3116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3117 # <limits.h> exists even on freestanding compilers. | |
3118 # On the NeXT, cc -E runs the code through the compiler's parser, | |
3119 # not just through cpp. "Syntax error" is here to catch this case. | |
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3121 /* end confdefs.h. */ | |
3122 #ifdef __STDC__ | |
3123 # include <limits.h> | |
3124 #else | |
3125 # include <assert.h> | |
3126 #endif | |
3127 Syntax error | |
3128 _ACEOF | |
3129 if ac_fn_c_try_cpp "$LINENO"; then : | |
3130 | |
3131 else | |
3132 # Broken: fails on valid input. | |
3133 continue | |
3134 fi | |
3135 rm -f conftest.err conftest.i conftest.$ac_ext | |
3136 | |
3137 # OK, works on sane cases. Now check whether nonexistent headers | |
3138 # can be detected and how. | |
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3140 /* end confdefs.h. */ | |
3141 #include <ac_nonexistent.h> | |
3142 _ACEOF | |
3143 if ac_fn_c_try_cpp "$LINENO"; then : | |
3144 # Broken: success on invalid input. | |
3145 continue | |
3146 else | |
3147 # Passes both tests. | |
3148 ac_preproc_ok=: | |
3149 break | |
3150 fi | |
3151 rm -f conftest.err conftest.i conftest.$ac_ext | |
3152 | |
3153 done | |
3154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3155 rm -f conftest.i conftest.err conftest.$ac_ext | |
3156 if $ac_preproc_ok; then : | |
3157 | |
3158 else | |
3159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3161 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
3162 See \`config.log' for more details" "$LINENO" 5; } | |
3163 fi | |
3164 | |
3165 ac_ext=c | |
3166 ac_cpp='$CPP $CPPFLAGS' | |
3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3170 | |
3171 | |
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
3173 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
3174 if ${ac_cv_path_GREP+:} false; then : | |
3175 $as_echo_n "(cached) " >&6 | |
3176 else | |
3177 if test -z "$GREP"; then | |
3178 ac_path_GREP_found=false | |
3179 # Loop through the user's path and test for each of PROGNAME-LIST | |
3180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3181 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3182 do | |
3183 IFS=$as_save_IFS | |
3184 test -z "$as_dir" && as_dir=. | |
3185 for ac_prog in grep ggrep; do | |
3186 for ac_exec_ext in '' $ac_executable_extensions; do | |
3187 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3188 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
3189 # Check for GNU ac_path_GREP and select it if it is found. | |
3190 # Check for GNU $ac_path_GREP | |
3191 case `"$ac_path_GREP" --version 2>&1` in | |
3192 *GNU*) | |
3193 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3194 *) | |
3195 ac_count=0 | |
3196 $as_echo_n 0123456789 >"conftest.in" | |
3197 while : | |
3198 do | |
3199 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3200 mv "conftest.tmp" "conftest.in" | |
3201 cp "conftest.in" "conftest.nl" | |
3202 $as_echo 'GREP' >> "conftest.nl" | |
3203 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3204 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3205 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
3206 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3207 # Best one so far, save it but keep looking for a better one | |
3208 ac_cv_path_GREP="$ac_path_GREP" | |
3209 ac_path_GREP_max=$ac_count | |
3210 fi | |
3211 # 10*(2^10) chars as input seems more than enough | |
3212 test $ac_count -gt 10 && break | |
3213 done | |
3214 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3215 esac | |
3216 | |
3217 $ac_path_GREP_found && break 3 | |
3218 done | |
3219 done | |
3220 done | |
3221 IFS=$as_save_IFS | |
3222 if test -z "$ac_cv_path_GREP"; then | |
3223 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
3224 fi | |
3225 else | |
3226 ac_cv_path_GREP=$GREP | |
3227 fi | |
3228 | |
3229 fi | |
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
3231 $as_echo "$ac_cv_path_GREP" >&6; } | |
3232 GREP="$ac_cv_path_GREP" | |
3233 | |
3234 | |
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
3236 $as_echo_n "checking for egrep... " >&6; } | |
3237 if ${ac_cv_path_EGREP+:} false; then : | |
3238 $as_echo_n "(cached) " >&6 | |
3239 else | |
3240 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
3241 then ac_cv_path_EGREP="$GREP -E" | |
3242 else | |
3243 if test -z "$EGREP"; then | |
3244 ac_path_EGREP_found=false | |
3245 # Loop through the user's path and test for each of PROGNAME-LIST | |
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3248 do | |
3249 IFS=$as_save_IFS | |
3250 test -z "$as_dir" && as_dir=. | |
3251 for ac_prog in egrep; do | |
3252 for ac_exec_ext in '' $ac_executable_extensions; do | |
3253 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
3254 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
3255 # Check for GNU ac_path_EGREP and select it if it is found. | |
3256 # Check for GNU $ac_path_EGREP | |
3257 case `"$ac_path_EGREP" --version 2>&1` in | |
3258 *GNU*) | |
3259 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
3260 *) | |
3261 ac_count=0 | |
3262 $as_echo_n 0123456789 >"conftest.in" | |
3263 while : | |
3264 do | |
3265 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3266 mv "conftest.tmp" "conftest.in" | |
3267 cp "conftest.in" "conftest.nl" | |
3268 $as_echo 'EGREP' >> "conftest.nl" | |
3269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3271 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
3272 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
3273 # Best one so far, save it but keep looking for a better one | |
3274 ac_cv_path_EGREP="$ac_path_EGREP" | |
3275 ac_path_EGREP_max=$ac_count | |
3276 fi | |
3277 # 10*(2^10) chars as input seems more than enough | |
3278 test $ac_count -gt 10 && break | |
3279 done | |
3280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3281 esac | |
3282 | |
3283 $ac_path_EGREP_found && break 3 | |
3284 done | |
3285 done | |
3286 done | |
3287 IFS=$as_save_IFS | |
3288 if test -z "$ac_cv_path_EGREP"; then | |
3289 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
3290 fi | |
3291 else | |
3292 ac_cv_path_EGREP=$EGREP | |
3293 fi | |
3294 | |
3295 fi | |
3296 fi | |
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
3298 $as_echo "$ac_cv_path_EGREP" >&6; } | |
3299 EGREP="$ac_cv_path_EGREP" | |
3300 | |
3301 | |
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
3303 $as_echo_n "checking for ANSI C header files... " >&6; } | |
3304 if ${ac_cv_header_stdc+:} false; then : | |
3305 $as_echo_n "(cached) " >&6 | |
3306 else | |
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3308 /* end confdefs.h. */ | |
3309 #include <stdlib.h> | |
3310 #include <stdarg.h> | |
3311 #include <string.h> | |
3312 #include <float.h> | |
3313 | |
3314 int | |
3315 main () | |
3316 { | |
3317 | |
3318 ; | |
3319 return 0; | |
3320 } | |
3321 _ACEOF | |
3322 if ac_fn_c_try_compile "$LINENO"; then : | |
3323 ac_cv_header_stdc=yes | |
3324 else | |
3325 ac_cv_header_stdc=no | |
3326 fi | |
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3328 | |
3329 if test $ac_cv_header_stdc = yes; then | |
3330 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3332 /* end confdefs.h. */ | |
3333 #include <string.h> | |
3334 | |
3335 _ACEOF | |
3336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
3337 $EGREP "memchr" >/dev/null 2>&1; then : | |
3338 | |
3339 else | |
3340 ac_cv_header_stdc=no | |
3341 fi | |
3342 rm -f conftest* | |
3343 | |
3344 fi | |
3345 | |
3346 if test $ac_cv_header_stdc = yes; then | |
3347 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3349 /* end confdefs.h. */ | |
3350 #include <stdlib.h> | |
3351 | |
3352 _ACEOF | |
3353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
3354 $EGREP "free" >/dev/null 2>&1; then : | |
3355 | |
3356 else | |
3357 ac_cv_header_stdc=no | |
3358 fi | |
3359 rm -f conftest* | |
3360 | |
3361 fi | |
3362 | |
3363 if test $ac_cv_header_stdc = yes; then | |
3364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
3365 if test "$cross_compiling" = yes; then : | |
3366 : | |
3367 else | |
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3369 /* end confdefs.h. */ | |
3370 #include <ctype.h> | |
3371 #include <stdlib.h> | |
3372 #if ((' ' & 0x0FF) == 0x020) | |
3373 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
3374 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
3375 #else | |
3376 # define ISLOWER(c) \ | |
3377 (('a' <= (c) && (c) <= 'i') \ | |
3378 || ('j' <= (c) && (c) <= 'r') \ | |
3379 || ('s' <= (c) && (c) <= 'z')) | |
3380 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
3381 #endif | |
3382 | |
3383 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
3384 int | |
3385 main () | |
3386 { | |
3387 int i; | |
3388 for (i = 0; i < 256; i++) | |
3389 if (XOR (islower (i), ISLOWER (i)) | |
3390 || toupper (i) != TOUPPER (i)) | |
3391 return 2; | |
3392 return 0; | |
3393 } | |
3394 _ACEOF | |
3395 if ac_fn_c_try_run "$LINENO"; then : | |
3396 | |
3397 else | |
3398 ac_cv_header_stdc=no | |
3399 fi | |
3400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
3401 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
3402 fi | |
3403 | |
3404 fi | |
3405 fi | |
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
3407 $as_echo "$ac_cv_header_stdc" >&6; } | |
3408 if test $ac_cv_header_stdc = yes; then | |
3409 | |
3410 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
3411 | |
3412 fi | |
3413 | |
3414 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
3415 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
3416 inttypes.h stdint.h unistd.h | |
3417 do : | |
3418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
3419 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | |
3420 " | |
3421 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
3422 cat >>confdefs.h <<_ACEOF | |
3423 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
3424 _ACEOF | |
3425 | |
3426 fi | |
3427 | |
3428 done | |
3429 | |
3430 | |
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | |
3432 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | |
3433 if ${ac_cv_c_bigendian+:} false; then : | |
3434 $as_echo_n "(cached) " >&6 | |
3435 else | |
3436 ac_cv_c_bigendian=unknown | |
3437 # See if we're dealing with a universal compiler. | |
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3439 /* end confdefs.h. */ | |
3440 #ifndef __APPLE_CC__ | |
3441 not a universal capable compiler | |
3442 #endif | |
3443 typedef int dummy; | |
3444 | |
3445 _ACEOF | |
3446 if ac_fn_c_try_compile "$LINENO"; then : | |
3447 | |
3448 # Check for potential -arch flags. It is not universal unless | |
3449 # there are at least two -arch flags with different values. | |
3450 ac_arch= | |
3451 ac_prev= | |
3452 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | |
3453 if test -n "$ac_prev"; then | |
3454 case $ac_word in | |
3455 i?86 | x86_64 | ppc | ppc64) | |
3456 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | |
3457 ac_arch=$ac_word | |
3458 else | |
3459 ac_cv_c_bigendian=universal | |
3460 break | |
3461 fi | |
3462 ;; | |
3463 esac | |
3464 ac_prev= | |
3465 elif test "x$ac_word" = "x-arch"; then | |
3466 ac_prev=arch | |
3467 fi | |
3468 done | |
3469 fi | |
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3471 if test $ac_cv_c_bigendian = unknown; then | |
3472 # See if sys/param.h defines the BYTE_ORDER macro. | |
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3474 /* end confdefs.h. */ | |
3475 #include <sys/types.h> | |
3476 #include <sys/param.h> | |
3477 | |
3478 int | |
3479 main () | |
3480 { | |
3481 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ | |
3482 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ | |
3483 && LITTLE_ENDIAN) | |
3484 bogus endian macros | |
3485 #endif | |
3486 | |
3487 ; | |
3488 return 0; | |
3489 } | |
3490 _ACEOF | |
3491 if ac_fn_c_try_compile "$LINENO"; then : | |
3492 # It does; now see whether it defined to BIG_ENDIAN or not. | |
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3494 /* end confdefs.h. */ | |
3495 #include <sys/types.h> | |
3496 #include <sys/param.h> | |
3497 | |
3498 int | |
3499 main () | |
3500 { | |
3501 #if BYTE_ORDER != BIG_ENDIAN | |
3502 not big endian | |
3503 #endif | |
3504 | |
3505 ; | |
3506 return 0; | |
3507 } | |
3508 _ACEOF | |
3509 if ac_fn_c_try_compile "$LINENO"; then : | |
3510 ac_cv_c_bigendian=yes | |
3511 else | |
3512 ac_cv_c_bigendian=no | |
3513 fi | |
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3515 fi | |
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3517 fi | |
3518 if test $ac_cv_c_bigendian = unknown; then | |
3519 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | |
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3521 /* end confdefs.h. */ | |
3522 #include <limits.h> | |
3523 | |
3524 int | |
3525 main () | |
3526 { | |
3527 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) | |
3528 bogus endian macros | |
3529 #endif | |
3530 | |
3531 ; | |
3532 return 0; | |
3533 } | |
3534 _ACEOF | |
3535 if ac_fn_c_try_compile "$LINENO"; then : | |
3536 # It does; now see whether it defined to _BIG_ENDIAN or not. | |
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3538 /* end confdefs.h. */ | |
3539 #include <limits.h> | |
3540 | |
3541 int | |
3542 main () | |
3543 { | |
3544 #ifndef _BIG_ENDIAN | |
3545 not big endian | |
3546 #endif | |
3547 | |
3548 ; | |
3549 return 0; | |
3550 } | |
3551 _ACEOF | |
3552 if ac_fn_c_try_compile "$LINENO"; then : | |
3553 ac_cv_c_bigendian=yes | |
3554 else | |
3555 ac_cv_c_bigendian=no | |
3556 fi | |
3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3558 fi | |
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3560 fi | |
3561 if test $ac_cv_c_bigendian = unknown; then | |
3562 # Compile a test program. | |
3563 if test "$cross_compiling" = yes; then : | |
3564 # Try to guess by grepping values from an object file. | |
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3566 /* end confdefs.h. */ | |
3567 short int ascii_mm[] = | |
3568 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | |
3569 short int ascii_ii[] = | |
3570 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
3571 int use_ascii (int i) { | |
3572 return ascii_mm[i] + ascii_ii[i]; | |
3573 } | |
3574 short int ebcdic_ii[] = | |
3575 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
3576 short int ebcdic_mm[] = | |
3577 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
3578 int use_ebcdic (int i) { | |
3579 return ebcdic_mm[i] + ebcdic_ii[i]; | |
3580 } | |
3581 extern int foo; | |
3582 | |
3583 int | |
3584 main () | |
3585 { | |
3586 return use_ascii (foo) == use_ebcdic (foo); | |
3587 ; | |
3588 return 0; | |
3589 } | |
3590 _ACEOF | |
3591 if ac_fn_c_try_compile "$LINENO"; then : | |
3592 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | |
3593 ac_cv_c_bigendian=yes | |
3594 fi | |
3595 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | |
3596 if test "$ac_cv_c_bigendian" = unknown; then | |
3597 ac_cv_c_bigendian=no | |
3598 else | |
3599 # finding both strings is unlikely to happen, but who knows? | |
3600 ac_cv_c_bigendian=unknown | |
3601 fi | |
3602 fi | |
3603 fi | |
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3605 else | |
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3607 /* end confdefs.h. */ | |
3608 $ac_includes_default | |
3609 int | |
3610 main () | |
3611 { | |
3612 | |
3613 /* Are we little or big endian? From Harbison&Steele. */ | |
3614 union | |
3615 { | |
3616 long int l; | |
3617 char c[sizeof (long int)]; | |
3618 } u; | |
3619 u.l = 1; | |
3620 return u.c[sizeof (long int) - 1] == 1; | |
3621 | |
3622 ; | |
3623 return 0; | |
3624 } | |
3625 _ACEOF | |
3626 if ac_fn_c_try_run "$LINENO"; then : | |
3627 ac_cv_c_bigendian=no | |
3628 else | |
3629 ac_cv_c_bigendian=yes | |
3630 fi | |
3631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
3632 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
3633 fi | |
3634 | |
3635 fi | |
3636 fi | |
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | |
3638 $as_echo "$ac_cv_c_bigendian" >&6; } | |
3639 case $ac_cv_c_bigendian in #( | |
3640 yes) | |
3641 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | |
3642 ;; #( | |
3643 no) | |
3644 ;; #( | |
3645 universal) | |
3646 | |
3647 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | |
3648 | |
3649 ;; #( | |
3650 *) | |
3651 as_fn_error $? "unknown endianness | |
3652 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | |
3653 esac | |
3654 | |
3655 | |
3656 if pkg-config --modversion vamp-sdk >/dev/null 2>&1; then | |
3657 echo "WARNING: A version of the Vamp plugin SDK is already installed." | |
3658 echo " Expect worries and sorrows if you install a new version" | |
3659 echo " without removing the old one first. (Continuing)" | |
3660 fi | |
3661 | |
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 | |
3663 $as_echo_n "checking for library containing dlopen... " >&6; } | |
3664 if ${ac_cv_search_dlopen+:} false; then : | |
3665 $as_echo_n "(cached) " >&6 | |
3666 else | |
3667 ac_func_search_save_LIBS=$LIBS | |
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3669 /* end confdefs.h. */ | |
3670 | |
3671 /* Override any GCC internal prototype to avoid an error. | |
3672 Use char because int might match the return type of a GCC | |
3673 builtin and then its argument prototype would still apply. */ | |
3674 #ifdef __cplusplus | |
3675 extern "C" | |
3676 #endif | |
3677 char dlopen (); | |
3678 int | |
3679 main () | |
3680 { | |
3681 return dlopen (); | |
3682 ; | |
3683 return 0; | |
3684 } | |
3685 _ACEOF | |
3686 for ac_lib in '' dl; do | |
3687 if test -z "$ac_lib"; then | |
3688 ac_res="none required" | |
3689 else | |
3690 ac_res=-l$ac_lib | |
3691 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
3692 fi | |
3693 if ac_fn_c_try_link "$LINENO"; then : | |
3694 ac_cv_search_dlopen=$ac_res | |
3695 fi | |
3696 rm -f core conftest.err conftest.$ac_objext \ | |
3697 conftest$ac_exeext | |
3698 if ${ac_cv_search_dlopen+:} false; then : | |
3699 break | |
3700 fi | |
3701 done | |
3702 if ${ac_cv_search_dlopen+:} false; then : | |
3703 | |
3704 else | |
3705 ac_cv_search_dlopen=no | |
3706 fi | |
3707 rm conftest.$ac_ext | |
3708 LIBS=$ac_func_search_save_LIBS | |
3709 fi | |
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 | |
3711 $as_echo "$ac_cv_search_dlopen" >&6; } | |
3712 ac_res=$ac_cv_search_dlopen | |
3713 if test "$ac_res" != no; then : | |
3714 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
3715 | |
3716 fi | |
3717 | |
3718 | |
3719 # Check whether --enable-programs was given. | |
3720 if test "${enable_programs+set}" = set; then : | |
3721 enableval=$enable_programs; PROGS_ARGUMENT=$enableval | |
3722 else | |
3723 PROGS_ARGUMENT="yes" | |
3724 fi | |
3725 | |
3726 | |
3727 if test "x$PROGS_ARGUMENT" = "xyes" ; then | |
3728 | |
3729 | |
3730 | |
3731 | |
3732 | |
3733 | |
3734 | |
3735 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | |
3736 if test -n "$ac_tool_prefix"; then | |
3737 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | |
3738 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | |
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3740 $as_echo_n "checking for $ac_word... " >&6; } | |
3741 if ${ac_cv_path_PKG_CONFIG+:} false; then : | |
3742 $as_echo_n "(cached) " >&6 | |
3743 else | |
3744 case $PKG_CONFIG in | |
3745 [\\/]* | ?:[\\/]*) | |
3746 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
3747 ;; | |
3748 *) | |
3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3750 for as_dir in $PATH | |
3751 do | |
3752 IFS=$as_save_IFS | |
3753 test -z "$as_dir" && as_dir=. | |
3754 for ac_exec_ext in '' $ac_executable_extensions; do | |
3755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3756 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3758 break 2 | |
3759 fi | |
3760 done | |
3761 done | |
3762 IFS=$as_save_IFS | |
3763 | |
3764 ;; | |
3765 esac | |
3766 fi | |
3767 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
3768 if test -n "$PKG_CONFIG"; then | |
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | |
3770 $as_echo "$PKG_CONFIG" >&6; } | |
3771 else | |
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3773 $as_echo "no" >&6; } | |
3774 fi | |
3775 | |
3776 | |
3777 fi | |
3778 if test -z "$ac_cv_path_PKG_CONFIG"; then | |
3779 ac_pt_PKG_CONFIG=$PKG_CONFIG | |
3780 # Extract the first word of "pkg-config", so it can be a program name with args. | |
3781 set dummy pkg-config; ac_word=$2 | |
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3783 $as_echo_n "checking for $ac_word... " >&6; } | |
3784 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : | |
3785 $as_echo_n "(cached) " >&6 | |
3786 else | |
3787 case $ac_pt_PKG_CONFIG in | |
3788 [\\/]* | ?:[\\/]*) | |
3789 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | |
3790 ;; | |
3791 *) | |
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3793 for as_dir in $PATH | |
3794 do | |
3795 IFS=$as_save_IFS | |
3796 test -z "$as_dir" && as_dir=. | |
3797 for ac_exec_ext in '' $ac_executable_extensions; do | |
3798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3799 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3801 break 2 | |
3802 fi | |
3803 done | |
3804 done | |
3805 IFS=$as_save_IFS | |
3806 | |
3807 ;; | |
3808 esac | |
3809 fi | |
3810 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | |
3811 if test -n "$ac_pt_PKG_CONFIG"; then | |
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 | |
3813 $as_echo "$ac_pt_PKG_CONFIG" >&6; } | |
3814 else | |
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3816 $as_echo "no" >&6; } | |
3817 fi | |
3818 | |
3819 if test "x$ac_pt_PKG_CONFIG" = x; then | |
3820 PKG_CONFIG="" | |
3821 else | |
3822 case $cross_compiling:$ac_tool_warned in | |
3823 yes:) | |
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
3826 ac_tool_warned=yes ;; | |
3827 esac | |
3828 PKG_CONFIG=$ac_pt_PKG_CONFIG | |
3829 fi | |
3830 else | |
3831 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | |
3832 fi | |
3833 | |
3834 fi | |
3835 if test -n "$PKG_CONFIG"; then | |
3836 _pkg_min_version=0.9.0 | |
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 | |
3838 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } | |
3839 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | |
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3841 $as_echo "yes" >&6; } | |
3842 else | |
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3844 $as_echo "no" >&6; } | |
3845 PKG_CONFIG="" | |
3846 fi | |
3847 fi | |
3848 | |
3849 pkg_failed=no | |
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5 | |
3851 $as_echo_n "checking for SNDFILE... " >&6; } | |
3852 | |
3853 if test -n "$SNDFILE_CFLAGS"; then | |
3854 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS" | |
3855 elif test -n "$PKG_CONFIG"; then | |
3856 if test -n "$PKG_CONFIG" && \ | |
3857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 | |
3858 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 | |
3859 ac_status=$? | |
3860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3861 test $ac_status = 0; }; then | |
3862 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null` | |
3863 test "x$?" != "x0" && pkg_failed=yes | |
3864 else | |
3865 pkg_failed=yes | |
3866 fi | |
3867 else | |
3868 pkg_failed=untried | |
3869 fi | |
3870 if test -n "$SNDFILE_LIBS"; then | |
3871 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS" | |
3872 elif test -n "$PKG_CONFIG"; then | |
3873 if test -n "$PKG_CONFIG" && \ | |
3874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 | |
3875 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 | |
3876 ac_status=$? | |
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3878 test $ac_status = 0; }; then | |
3879 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null` | |
3880 test "x$?" != "x0" && pkg_failed=yes | |
3881 else | |
3882 pkg_failed=yes | |
3883 fi | |
3884 else | |
3885 pkg_failed=untried | |
3886 fi | |
3887 | |
3888 | |
3889 | |
3890 if test $pkg_failed = yes; then | |
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3892 $as_echo "no" >&6; } | |
3893 | |
3894 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
3895 _pkg_short_errors_supported=yes | |
3896 else | |
3897 _pkg_short_errors_supported=no | |
3898 fi | |
3899 if test $_pkg_short_errors_supported = yes; then | |
3900 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1` | |
3901 else | |
3902 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1` | |
3903 fi | |
3904 # Put the nasty error message in config.log where it belongs | |
3905 echo "$SNDFILE_PKG_ERRORS" >&5 | |
3906 | |
3907 have_sndfile="no" | |
3908 elif test $pkg_failed = untried; then | |
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3910 $as_echo "no" >&6; } | |
3911 have_sndfile="no" | |
3912 else | |
3913 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS | |
3914 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS | |
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3916 $as_echo "yes" >&6; } | |
3917 have_sndfile="yes" | |
3918 fi | |
3919 if test "x$have_sndfile" = "xyes" ; then | |
3920 TARGETS="sdk plugins host rdfgen test" | |
3921 else | |
3922 as_fn_error $? "libsndfile not found - cannot build example Vamp host! | |
3923 If you don't want to build the host, configure with --disable-programs." "$LINENO" 5 | |
3924 fi | |
3925 else | |
3926 TARGETS="sdk plugins" | |
3927 fi | |
3928 | |
3929 | |
3930 | |
3931 | |
3932 | |
3933 if test "x$GCC" = "xyes"; then | |
3934 case " $CXXFLAGS " in | |
3935 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; | |
3936 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;; | |
3937 esac | |
3938 fi | |
3939 | |
3940 | |
3941 ac_config_files="$ac_config_files Makefile" | |
3942 | |
3943 cat >confcache <<\_ACEOF | |
3944 # This file is a shell script that caches the results of configure | |
3945 # tests run on this system so they can be shared between configure | |
3946 # scripts and configure runs, see configure's option --config-cache. | |
3947 # It is not useful on other systems. If it contains results you don't | |
3948 # want to keep, you may remove or edit it. | |
3949 # | |
3950 # config.status only pays attention to the cache file if you give it | |
3951 # the --recheck option to rerun configure. | |
3952 # | |
3953 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
3954 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
3955 # following values. | |
3956 | |
3957 _ACEOF | |
3958 | |
3959 # The following way of writing the cache mishandles newlines in values, | |
3960 # but we know of no workaround that is simple, portable, and efficient. | |
3961 # So, we kill variables containing newlines. | |
3962 # Ultrix sh set writes to stderr and can't be redirected directly, | |
3963 # and sets the high bit in the cache file unless we assign to the vars. | |
3964 ( | |
3965 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
3966 eval ac_val=\$$ac_var | |
3967 case $ac_val in #( | |
3968 *${as_nl}*) | |
3969 case $ac_var in #( | |
3970 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
3971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
3972 esac | |
3973 case $ac_var in #( | |
3974 _ | IFS | as_nl) ;; #( | |
3975 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
3976 *) { eval $ac_var=; unset $ac_var;} ;; | |
3977 esac ;; | |
3978 esac | |
3979 done | |
3980 | |
3981 (set) 2>&1 | | |
3982 case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
3983 *${as_nl}ac_space=\ *) | |
3984 # `set' does not quote correctly, so add quotes: double-quote | |
3985 # substitution turns \\\\ into \\, and sed turns \\ into \. | |
3986 sed -n \ | |
3987 "s/'/'\\\\''/g; | |
3988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
3989 ;; #( | |
3990 *) | |
3991 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
3992 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
3993 ;; | |
3994 esac | | |
3995 sort | |
3996 ) | | |
3997 sed ' | |
3998 /^ac_cv_env_/b end | |
3999 t clear | |
4000 :clear | |
4001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
4002 t end | |
4003 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
4004 :end' >>confcache | |
4005 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
4006 if test -w "$cache_file"; then | |
4007 if test "x$cache_file" != "x/dev/null"; then | |
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
4009 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
4010 if test ! -f "$cache_file" || test -h "$cache_file"; then | |
4011 cat confcache >"$cache_file" | |
4012 else | |
4013 case $cache_file in #( | |
4014 */* | ?:*) | |
4015 mv -f confcache "$cache_file"$$ && | |
4016 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
4017 *) | |
4018 mv -f confcache "$cache_file" ;; | |
4019 esac | |
4020 fi | |
4021 fi | |
4022 else | |
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
4024 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4025 fi | |
4026 fi | |
4027 rm -f confcache | |
4028 | |
4029 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
4030 # Let make expand exec_prefix. | |
4031 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
4032 | |
4033 # Transform confdefs.h into DEFS. | |
4034 # Protect against shell expansion while executing Makefile rules. | |
4035 # Protect against Makefile macro expansion. | |
4036 # | |
4037 # If the first sed substitution is executed (which looks for macros that | |
4038 # take arguments), then branch to the quote section. Otherwise, | |
4039 # look for a macro that doesn't take arguments. | |
4040 ac_script=' | |
4041 :mline | |
4042 /\\$/{ | |
4043 N | |
4044 s,\\\n,, | |
4045 b mline | |
4046 } | |
4047 t clear | |
4048 :clear | |
4049 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | |
4050 t quote | |
4051 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | |
4052 t quote | |
4053 b any | |
4054 :quote | |
4055 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
4056 s/\[/\\&/g | |
4057 s/\]/\\&/g | |
4058 s/\$/$$/g | |
4059 H | |
4060 :any | |
4061 ${ | |
4062 g | |
4063 s/^\n// | |
4064 s/\n/ /g | |
4065 p | |
4066 } | |
4067 ' | |
4068 DEFS=`sed -n "$ac_script" confdefs.h` | |
4069 | |
4070 | |
4071 ac_libobjs= | |
4072 ac_ltlibobjs= | |
4073 U= | |
4074 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
4075 # 1. Remove the extension, and $U if already installed. | |
4076 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
4077 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
4078 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
4079 # will be set to the directory where LIBOBJS objects are built. | |
4080 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
4081 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
4082 done | |
4083 LIBOBJS=$ac_libobjs | |
4084 | |
4085 LTLIBOBJS=$ac_ltlibobjs | |
4086 | |
4087 | |
4088 | |
4089 | |
4090 : "${CONFIG_STATUS=./config.status}" | |
4091 ac_write_fail=0 | |
4092 ac_clean_files_save=$ac_clean_files | |
4093 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
4095 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
4096 as_write_fail=0 | |
4097 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
4098 #! $SHELL | |
4099 # Generated by $as_me. | |
4100 # Run this file to recreate the current configuration. | |
4101 # Compiler output produced by configure, useful for debugging | |
4102 # configure, is in config.log if it exists. | |
4103 | |
4104 debug=false | |
4105 ac_cs_recheck=false | |
4106 ac_cs_silent=false | |
4107 | |
4108 SHELL=\${CONFIG_SHELL-$SHELL} | |
4109 export SHELL | |
4110 _ASEOF | |
4111 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
4112 ## -------------------- ## | |
4113 ## M4sh Initialization. ## | |
4114 ## -------------------- ## | |
4115 | |
4116 # Be more Bourne compatible | |
4117 DUALCASE=1; export DUALCASE # for MKS sh | |
4118 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
4119 emulate sh | |
4120 NULLCMD=: | |
4121 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
4122 # is contrary to our usage. Disable this feature. | |
4123 alias -g '${1+"$@"}'='"$@"' | |
4124 setopt NO_GLOB_SUBST | |
4125 else | |
4126 case `(set -o) 2>/dev/null` in #( | |
4127 *posix*) : | |
4128 set -o posix ;; #( | |
4129 *) : | |
4130 ;; | |
4131 esac | |
4132 fi | |
4133 | |
4134 | |
4135 as_nl=' | |
4136 ' | |
4137 export as_nl | |
4138 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
4139 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
4140 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
4141 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
4142 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
4143 # but without wasting forks for bash or zsh. | |
4144 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
4145 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4146 as_echo='print -r --' | |
4147 as_echo_n='print -rn --' | |
4148 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4149 as_echo='printf %s\n' | |
4150 as_echo_n='printf %s' | |
4151 else | |
4152 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
4153 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
4154 as_echo_n='/usr/ucb/echo -n' | |
4155 else | |
4156 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
4157 as_echo_n_body='eval | |
4158 arg=$1; | |
4159 case $arg in #( | |
4160 *"$as_nl"*) | |
4161 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
4162 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
4163 esac; | |
4164 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
4165 ' | |
4166 export as_echo_n_body | |
4167 as_echo_n='sh -c $as_echo_n_body as_echo' | |
4168 fi | |
4169 export as_echo_body | |
4170 as_echo='sh -c $as_echo_body as_echo' | |
4171 fi | |
4172 | |
4173 # The user is always right. | |
4174 if test "${PATH_SEPARATOR+set}" != set; then | |
4175 PATH_SEPARATOR=: | |
4176 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
4177 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
4178 PATH_SEPARATOR=';' | |
4179 } | |
4180 fi | |
4181 | |
4182 | |
4183 # IFS | |
4184 # We need space, tab and new line, in precisely that order. Quoting is | |
4185 # there to prevent editors from complaining about space-tab. | |
4186 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
4187 # splitting by setting IFS to empty value.) | |
4188 IFS=" "" $as_nl" | |
4189 | |
4190 # Find who we are. Look in the path if we contain no directory separator. | |
4191 as_myself= | |
4192 case $0 in #(( | |
4193 *[\\/]* ) as_myself=$0 ;; | |
4194 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4195 for as_dir in $PATH | |
4196 do | |
4197 IFS=$as_save_IFS | |
4198 test -z "$as_dir" && as_dir=. | |
4199 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
4200 done | |
4201 IFS=$as_save_IFS | |
4202 | |
4203 ;; | |
4204 esac | |
4205 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
4206 # in which case we are not to be found in the path. | |
4207 if test "x$as_myself" = x; then | |
4208 as_myself=$0 | |
4209 fi | |
4210 if test ! -f "$as_myself"; then | |
4211 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
4212 exit 1 | |
4213 fi | |
4214 | |
4215 # Unset variables that we do not need and which cause bugs (e.g. in | |
4216 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
4217 # suppresses any "Segmentation fault" message there. '((' could | |
4218 # trigger a bug in pdksh 5.2.14. | |
4219 for as_var in BASH_ENV ENV MAIL MAILPATH | |
4220 do eval test x\${$as_var+set} = xset \ | |
4221 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
4222 done | |
4223 PS1='$ ' | |
4224 PS2='> ' | |
4225 PS4='+ ' | |
4226 | |
4227 # NLS nuisances. | |
4228 LC_ALL=C | |
4229 export LC_ALL | |
4230 LANGUAGE=C | |
4231 export LANGUAGE | |
4232 | |
4233 # CDPATH. | |
4234 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
4235 | |
4236 | |
4237 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
4238 # ---------------------------------------- | |
4239 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
4240 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
4241 # script with STATUS, using 1 if that was 0. | |
4242 as_fn_error () | |
4243 { | |
4244 as_status=$1; test $as_status -eq 0 && as_status=1 | |
4245 if test "$4"; then | |
4246 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
4247 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
4248 fi | |
4249 $as_echo "$as_me: error: $2" >&2 | |
4250 as_fn_exit $as_status | |
4251 } # as_fn_error | |
4252 | |
4253 | |
4254 # as_fn_set_status STATUS | |
4255 # ----------------------- | |
4256 # Set $? to STATUS, without forking. | |
4257 as_fn_set_status () | |
4258 { | |
4259 return $1 | |
4260 } # as_fn_set_status | |
4261 | |
4262 # as_fn_exit STATUS | |
4263 # ----------------- | |
4264 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
4265 as_fn_exit () | |
4266 { | |
4267 set +e | |
4268 as_fn_set_status $1 | |
4269 exit $1 | |
4270 } # as_fn_exit | |
4271 | |
4272 # as_fn_unset VAR | |
4273 # --------------- | |
4274 # Portably unset VAR. | |
4275 as_fn_unset () | |
4276 { | |
4277 { eval $1=; unset $1;} | |
4278 } | |
4279 as_unset=as_fn_unset | |
4280 # as_fn_append VAR VALUE | |
4281 # ---------------------- | |
4282 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
4283 # advantage of any shell optimizations that allow amortized linear growth over | |
4284 # repeated appends, instead of the typical quadratic growth present in naive | |
4285 # implementations. | |
4286 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
4287 eval 'as_fn_append () | |
4288 { | |
4289 eval $1+=\$2 | |
4290 }' | |
4291 else | |
4292 as_fn_append () | |
4293 { | |
4294 eval $1=\$$1\$2 | |
4295 } | |
4296 fi # as_fn_append | |
4297 | |
4298 # as_fn_arith ARG... | |
4299 # ------------------ | |
4300 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
4301 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
4302 # must be portable across $(()) and expr. | |
4303 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
4304 eval 'as_fn_arith () | |
4305 { | |
4306 as_val=$(( $* )) | |
4307 }' | |
4308 else | |
4309 as_fn_arith () | |
4310 { | |
4311 as_val=`expr "$@" || test $? -eq 1` | |
4312 } | |
4313 fi # as_fn_arith | |
4314 | |
4315 | |
4316 if expr a : '\(a\)' >/dev/null 2>&1 && | |
4317 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
4318 as_expr=expr | |
4319 else | |
4320 as_expr=false | |
4321 fi | |
4322 | |
4323 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
4324 as_basename=basename | |
4325 else | |
4326 as_basename=false | |
4327 fi | |
4328 | |
4329 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
4330 as_dirname=dirname | |
4331 else | |
4332 as_dirname=false | |
4333 fi | |
4334 | |
4335 as_me=`$as_basename -- "$0" || | |
4336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
4337 X"$0" : 'X\(//\)$' \| \ | |
4338 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
4339 $as_echo X/"$0" | | |
4340 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
4341 s//\1/ | |
4342 q | |
4343 } | |
4344 /^X\/\(\/\/\)$/{ | |
4345 s//\1/ | |
4346 q | |
4347 } | |
4348 /^X\/\(\/\).*/{ | |
4349 s//\1/ | |
4350 q | |
4351 } | |
4352 s/.*/./; q'` | |
4353 | |
4354 # Avoid depending upon Character Ranges. | |
4355 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
4356 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
4357 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
4358 as_cr_digits='0123456789' | |
4359 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
4360 | |
4361 ECHO_C= ECHO_N= ECHO_T= | |
4362 case `echo -n x` in #((((( | |
4363 -n*) | |
4364 case `echo 'xy\c'` in | |
4365 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
4366 xy) ECHO_C='\c';; | |
4367 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
4368 ECHO_T=' ';; | |
4369 esac;; | |
4370 *) | |
4371 ECHO_N='-n';; | |
4372 esac | |
4373 | |
4374 rm -f conf$$ conf$$.exe conf$$.file | |
4375 if test -d conf$$.dir; then | |
4376 rm -f conf$$.dir/conf$$.file | |
4377 else | |
4378 rm -f conf$$.dir | |
4379 mkdir conf$$.dir 2>/dev/null | |
4380 fi | |
4381 if (echo >conf$$.file) 2>/dev/null; then | |
4382 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
4383 as_ln_s='ln -s' | |
4384 # ... but there are two gotchas: | |
4385 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
4386 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
4387 # In both cases, we have to default to `cp -p'. | |
4388 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
4389 as_ln_s='cp -p' | |
4390 elif ln conf$$.file conf$$ 2>/dev/null; then | |
4391 as_ln_s=ln | |
4392 else | |
4393 as_ln_s='cp -p' | |
4394 fi | |
4395 else | |
4396 as_ln_s='cp -p' | |
4397 fi | |
4398 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
4399 rmdir conf$$.dir 2>/dev/null | |
4400 | |
4401 | |
4402 # as_fn_mkdir_p | |
4403 # ------------- | |
4404 # Create "$as_dir" as a directory, including parents if necessary. | |
4405 as_fn_mkdir_p () | |
4406 { | |
4407 | |
4408 case $as_dir in #( | |
4409 -*) as_dir=./$as_dir;; | |
4410 esac | |
4411 test -d "$as_dir" || eval $as_mkdir_p || { | |
4412 as_dirs= | |
4413 while :; do | |
4414 case $as_dir in #( | |
4415 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
4416 *) as_qdir=$as_dir;; | |
4417 esac | |
4418 as_dirs="'$as_qdir' $as_dirs" | |
4419 as_dir=`$as_dirname -- "$as_dir" || | |
4420 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
4421 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
4422 X"$as_dir" : 'X\(//\)$' \| \ | |
4423 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
4424 $as_echo X"$as_dir" | | |
4425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
4426 s//\1/ | |
4427 q | |
4428 } | |
4429 /^X\(\/\/\)[^/].*/{ | |
4430 s//\1/ | |
4431 q | |
4432 } | |
4433 /^X\(\/\/\)$/{ | |
4434 s//\1/ | |
4435 q | |
4436 } | |
4437 /^X\(\/\).*/{ | |
4438 s//\1/ | |
4439 q | |
4440 } | |
4441 s/.*/./; q'` | |
4442 test -d "$as_dir" && break | |
4443 done | |
4444 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
4445 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
4446 | |
4447 | |
4448 } # as_fn_mkdir_p | |
4449 if mkdir -p . 2>/dev/null; then | |
4450 as_mkdir_p='mkdir -p "$as_dir"' | |
4451 else | |
4452 test -d ./-p && rmdir ./-p | |
4453 as_mkdir_p=false | |
4454 fi | |
4455 | |
4456 if test -x / >/dev/null 2>&1; then | |
4457 as_test_x='test -x' | |
4458 else | |
4459 if ls -dL / >/dev/null 2>&1; then | |
4460 as_ls_L_option=L | |
4461 else | |
4462 as_ls_L_option= | |
4463 fi | |
4464 as_test_x=' | |
4465 eval sh -c '\'' | |
4466 if test -d "$1"; then | |
4467 test -d "$1/."; | |
4468 else | |
4469 case $1 in #( | |
4470 -*)set "./$1";; | |
4471 esac; | |
4472 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
4473 ???[sx]*):;;*)false;;esac;fi | |
4474 '\'' sh | |
4475 ' | |
4476 fi | |
4477 as_executable_p=$as_test_x | |
4478 | |
4479 # Sed expression to map a string onto a valid CPP name. | |
4480 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
4481 | |
4482 # Sed expression to map a string onto a valid variable name. | |
4483 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
4484 | |
4485 | |
4486 exec 6>&1 | |
4487 ## ----------------------------------- ## | |
4488 ## Main body of $CONFIG_STATUS script. ## | |
4489 ## ----------------------------------- ## | |
4490 _ASEOF | |
4491 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
4492 | |
4493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4494 # Save the log message, to keep $0 and so on meaningful, and to | |
4495 # report actual input values of CONFIG_FILES etc. instead of their | |
4496 # values after options handling. | |
4497 ac_log=" | |
4498 This file was extended by vamp-plugin-sdk $as_me 2.3.0, which was | |
4499 generated by GNU Autoconf 2.68. Invocation command line was | |
4500 | |
4501 CONFIG_FILES = $CONFIG_FILES | |
4502 CONFIG_HEADERS = $CONFIG_HEADERS | |
4503 CONFIG_LINKS = $CONFIG_LINKS | |
4504 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
4505 $ $0 $@ | |
4506 | |
4507 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
4508 " | |
4509 | |
4510 _ACEOF | |
4511 | |
4512 case $ac_config_files in *" | |
4513 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
4514 esac | |
4515 | |
4516 | |
4517 | |
4518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4519 # Files that config.status was made for. | |
4520 config_files="$ac_config_files" | |
4521 | |
4522 _ACEOF | |
4523 | |
4524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4525 ac_cs_usage="\ | |
4526 \`$as_me' instantiates files and other configuration actions | |
4527 from templates according to the current configuration. Unless the files | |
4528 and actions are specified as TAGs, all are instantiated by default. | |
4529 | |
4530 Usage: $0 [OPTION]... [TAG]... | |
4531 | |
4532 -h, --help print this help, then exit | |
4533 -V, --version print version number and configuration settings, then exit | |
4534 --config print configuration, then exit | |
4535 -q, --quiet, --silent | |
4536 do not print progress messages | |
4537 -d, --debug don't remove temporary files | |
4538 --recheck update $as_me by reconfiguring in the same conditions | |
4539 --file=FILE[:TEMPLATE] | |
4540 instantiate the configuration file FILE | |
4541 | |
4542 Configuration files: | |
4543 $config_files | |
4544 | |
4545 Report bugs to <cannam@all-day-breakfast.com>." | |
4546 | |
4547 _ACEOF | |
4548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4549 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
4550 ac_cs_version="\\ | |
4551 vamp-plugin-sdk config.status 2.3.0 | |
4552 configured by $0, generated by GNU Autoconf 2.68, | |
4553 with options \\"\$ac_cs_config\\" | |
4554 | |
4555 Copyright (C) 2010 Free Software Foundation, Inc. | |
4556 This config.status script is free software; the Free Software Foundation | |
4557 gives unlimited permission to copy, distribute and modify it." | |
4558 | |
4559 ac_pwd='$ac_pwd' | |
4560 srcdir='$srcdir' | |
4561 test -n "\$AWK" || AWK=awk | |
4562 _ACEOF | |
4563 | |
4564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4565 # The default lists apply if the user does not specify any file. | |
4566 ac_need_defaults=: | |
4567 while test $# != 0 | |
4568 do | |
4569 case $1 in | |
4570 --*=?*) | |
4571 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
4572 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
4573 ac_shift=: | |
4574 ;; | |
4575 --*=) | |
4576 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
4577 ac_optarg= | |
4578 ac_shift=: | |
4579 ;; | |
4580 *) | |
4581 ac_option=$1 | |
4582 ac_optarg=$2 | |
4583 ac_shift=shift | |
4584 ;; | |
4585 esac | |
4586 | |
4587 case $ac_option in | |
4588 # Handling of the options. | |
4589 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
4590 ac_cs_recheck=: ;; | |
4591 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
4592 $as_echo "$ac_cs_version"; exit ;; | |
4593 --config | --confi | --conf | --con | --co | --c ) | |
4594 $as_echo "$ac_cs_config"; exit ;; | |
4595 --debug | --debu | --deb | --de | --d | -d ) | |
4596 debug=: ;; | |
4597 --file | --fil | --fi | --f ) | |
4598 $ac_shift | |
4599 case $ac_optarg in | |
4600 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
4601 '') as_fn_error $? "missing file argument" ;; | |
4602 esac | |
4603 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
4604 ac_need_defaults=false;; | |
4605 --he | --h | --help | --hel | -h ) | |
4606 $as_echo "$ac_cs_usage"; exit ;; | |
4607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
4608 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
4609 ac_cs_silent=: ;; | |
4610 | |
4611 # This is an error. | |
4612 -*) as_fn_error $? "unrecognized option: \`$1' | |
4613 Try \`$0 --help' for more information." ;; | |
4614 | |
4615 *) as_fn_append ac_config_targets " $1" | |
4616 ac_need_defaults=false ;; | |
4617 | |
4618 esac | |
4619 shift | |
4620 done | |
4621 | |
4622 ac_configure_extra_args= | |
4623 | |
4624 if $ac_cs_silent; then | |
4625 exec 6>/dev/null | |
4626 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
4627 fi | |
4628 | |
4629 _ACEOF | |
4630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4631 if \$ac_cs_recheck; then | |
4632 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
4633 shift | |
4634 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
4635 CONFIG_SHELL='$SHELL' | |
4636 export CONFIG_SHELL | |
4637 exec "\$@" | |
4638 fi | |
4639 | |
4640 _ACEOF | |
4641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4642 exec 5>>config.log | |
4643 { | |
4644 echo | |
4645 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
4646 ## Running $as_me. ## | |
4647 _ASBOX | |
4648 $as_echo "$ac_log" | |
4649 } >&5 | |
4650 | |
4651 _ACEOF | |
4652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4653 _ACEOF | |
4654 | |
4655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4656 | |
4657 # Handling of arguments. | |
4658 for ac_config_target in $ac_config_targets | |
4659 do | |
4660 case $ac_config_target in | |
4661 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
4662 | |
4663 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
4664 esac | |
4665 done | |
4666 | |
4667 | |
4668 # If the user did not use the arguments to specify the items to instantiate, | |
4669 # then the envvar interface is used. Set only those that are not. | |
4670 # We use the long form for the default assignment because of an extremely | |
4671 # bizarre bug on SunOS 4.1.3. | |
4672 if $ac_need_defaults; then | |
4673 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
4674 fi | |
4675 | |
4676 # Have a temporary directory for convenience. Make it in the build tree | |
4677 # simply because there is no reason against having it here, and in addition, | |
4678 # creating and moving files from /tmp can sometimes cause problems. | |
4679 # Hook for its removal unless debugging. | |
4680 # Note that there is a small window in which the directory will not be cleaned: | |
4681 # after its creation but before its name has been assigned to `$tmp'. | |
4682 $debug || | |
4683 { | |
4684 tmp= ac_tmp= | |
4685 trap 'exit_status=$? | |
4686 : "${ac_tmp:=$tmp}" | |
4687 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
4688 ' 0 | |
4689 trap 'as_fn_exit 1' 1 2 13 15 | |
4690 } | |
4691 # Create a (secure) tmp directory for tmp files. | |
4692 | |
4693 { | |
4694 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
4695 test -d "$tmp" | |
4696 } || | |
4697 { | |
4698 tmp=./conf$$-$RANDOM | |
4699 (umask 077 && mkdir "$tmp") | |
4700 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
4701 ac_tmp=$tmp | |
4702 | |
4703 # Set up the scripts for CONFIG_FILES section. | |
4704 # No need to generate them if there are no CONFIG_FILES. | |
4705 # This happens for instance with `./config.status config.h'. | |
4706 if test -n "$CONFIG_FILES"; then | |
4707 | |
4708 | |
4709 ac_cr=`echo X | tr X '\015'` | |
4710 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
4711 # But we know of no other shell where ac_cr would be empty at this | |
4712 # point, so we can use a bashism as a fallback. | |
4713 if test "x$ac_cr" = x; then | |
4714 eval ac_cr=\$\'\\r\' | |
4715 fi | |
4716 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
4717 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
4718 ac_cs_awk_cr='\\r' | |
4719 else | |
4720 ac_cs_awk_cr=$ac_cr | |
4721 fi | |
4722 | |
4723 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
4724 _ACEOF | |
4725 | |
4726 | |
4727 { | |
4728 echo "cat >conf$$subs.awk <<_ACEOF" && | |
4729 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
4730 echo "_ACEOF" | |
4731 } >conf$$subs.sh || | |
4732 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4733 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
4734 ac_delim='%!_!# ' | |
4735 for ac_last_try in false false false false false :; do | |
4736 . ./conf$$subs.sh || | |
4737 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4738 | |
4739 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
4740 if test $ac_delim_n = $ac_delim_num; then | |
4741 break | |
4742 elif $ac_last_try; then | |
4743 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4744 else | |
4745 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
4746 fi | |
4747 done | |
4748 rm -f conf$$subs.sh | |
4749 | |
4750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4751 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
4752 _ACEOF | |
4753 sed -n ' | |
4754 h | |
4755 s/^/S["/; s/!.*/"]=/ | |
4756 p | |
4757 g | |
4758 s/^[^!]*!// | |
4759 :repl | |
4760 t repl | |
4761 s/'"$ac_delim"'$// | |
4762 t delim | |
4763 :nl | |
4764 h | |
4765 s/\(.\{148\}\)..*/\1/ | |
4766 t more1 | |
4767 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
4768 p | |
4769 n | |
4770 b repl | |
4771 :more1 | |
4772 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
4773 p | |
4774 g | |
4775 s/.\{148\}// | |
4776 t nl | |
4777 :delim | |
4778 h | |
4779 s/\(.\{148\}\)..*/\1/ | |
4780 t more2 | |
4781 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
4782 p | |
4783 b | |
4784 :more2 | |
4785 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
4786 p | |
4787 g | |
4788 s/.\{148\}// | |
4789 t delim | |
4790 ' <conf$$subs.awk | sed ' | |
4791 /^[^""]/{ | |
4792 N | |
4793 s/\n// | |
4794 } | |
4795 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
4796 rm -f conf$$subs.awk | |
4797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4798 _ACAWK | |
4799 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
4800 for (key in S) S_is_set[key] = 1 | |
4801 FS = "" | |
4802 | |
4803 } | |
4804 { | |
4805 line = $ 0 | |
4806 nfields = split(line, field, "@") | |
4807 substed = 0 | |
4808 len = length(field[1]) | |
4809 for (i = 2; i < nfields; i++) { | |
4810 key = field[i] | |
4811 keylen = length(key) | |
4812 if (S_is_set[key]) { | |
4813 value = S[key] | |
4814 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
4815 len += length(value) + length(field[++i]) | |
4816 substed = 1 | |
4817 } else | |
4818 len += 1 + keylen | |
4819 } | |
4820 | |
4821 print line | |
4822 } | |
4823 | |
4824 _ACAWK | |
4825 _ACEOF | |
4826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4827 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
4828 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
4829 else | |
4830 cat | |
4831 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
4832 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
4833 _ACEOF | |
4834 | |
4835 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
4836 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
4837 # trailing colons and then remove the whole line if VPATH becomes empty | |
4838 # (actually we leave an empty line to preserve line numbers). | |
4839 if test "x$srcdir" = x.; then | |
4840 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
4841 h | |
4842 s/// | |
4843 s/^/:/ | |
4844 s/[ ]*$/:/ | |
4845 s/:\$(srcdir):/:/g | |
4846 s/:\${srcdir}:/:/g | |
4847 s/:@srcdir@:/:/g | |
4848 s/^:*// | |
4849 s/:*$// | |
4850 x | |
4851 s/\(=[ ]*\).*/\1/ | |
4852 G | |
4853 s/\n// | |
4854 s/^[^=]*=[ ]*$// | |
4855 }' | |
4856 fi | |
4857 | |
4858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4859 fi # test -n "$CONFIG_FILES" | |
4860 | |
4861 | |
4862 eval set X " :F $CONFIG_FILES " | |
4863 shift | |
4864 for ac_tag | |
4865 do | |
4866 case $ac_tag in | |
4867 :[FHLC]) ac_mode=$ac_tag; continue;; | |
4868 esac | |
4869 case $ac_mode$ac_tag in | |
4870 :[FHL]*:*);; | |
4871 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
4872 :[FH]-) ac_tag=-:-;; | |
4873 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
4874 esac | |
4875 ac_save_IFS=$IFS | |
4876 IFS=: | |
4877 set x $ac_tag | |
4878 IFS=$ac_save_IFS | |
4879 shift | |
4880 ac_file=$1 | |
4881 shift | |
4882 | |
4883 case $ac_mode in | |
4884 :L) ac_source=$1;; | |
4885 :[FH]) | |
4886 ac_file_inputs= | |
4887 for ac_f | |
4888 do | |
4889 case $ac_f in | |
4890 -) ac_f="$ac_tmp/stdin";; | |
4891 *) # Look for the file first in the build tree, then in the source tree | |
4892 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
4893 # because $ac_f cannot contain `:'. | |
4894 test -f "$ac_f" || | |
4895 case $ac_f in | |
4896 [\\/$]*) false;; | |
4897 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
4898 esac || | |
4899 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
4900 esac | |
4901 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
4902 as_fn_append ac_file_inputs " '$ac_f'" | |
4903 done | |
4904 | |
4905 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
4906 # use $as_me), people would be surprised to read: | |
4907 # /* config.h. Generated by config.status. */ | |
4908 configure_input='Generated from '` | |
4909 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
4910 `' by configure.' | |
4911 if test x"$ac_file" != x-; then | |
4912 configure_input="$ac_file. $configure_input" | |
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
4914 $as_echo "$as_me: creating $ac_file" >&6;} | |
4915 fi | |
4916 # Neutralize special characters interpreted by sed in replacement strings. | |
4917 case $configure_input in #( | |
4918 *\&* | *\|* | *\\* ) | |
4919 ac_sed_conf_input=`$as_echo "$configure_input" | | |
4920 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
4921 *) ac_sed_conf_input=$configure_input;; | |
4922 esac | |
4923 | |
4924 case $ac_tag in | |
4925 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
4926 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
4927 esac | |
4928 ;; | |
4929 esac | |
4930 | |
4931 ac_dir=`$as_dirname -- "$ac_file" || | |
4932 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
4933 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
4934 X"$ac_file" : 'X\(//\)$' \| \ | |
4935 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
4936 $as_echo X"$ac_file" | | |
4937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
4938 s//\1/ | |
4939 q | |
4940 } | |
4941 /^X\(\/\/\)[^/].*/{ | |
4942 s//\1/ | |
4943 q | |
4944 } | |
4945 /^X\(\/\/\)$/{ | |
4946 s//\1/ | |
4947 q | |
4948 } | |
4949 /^X\(\/\).*/{ | |
4950 s//\1/ | |
4951 q | |
4952 } | |
4953 s/.*/./; q'` | |
4954 as_dir="$ac_dir"; as_fn_mkdir_p | |
4955 ac_builddir=. | |
4956 | |
4957 case "$ac_dir" in | |
4958 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
4959 *) | |
4960 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
4961 # A ".." for each directory in $ac_dir_suffix. | |
4962 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
4963 case $ac_top_builddir_sub in | |
4964 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
4965 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
4966 esac ;; | |
4967 esac | |
4968 ac_abs_top_builddir=$ac_pwd | |
4969 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
4970 # for backward compatibility: | |
4971 ac_top_builddir=$ac_top_build_prefix | |
4972 | |
4973 case $srcdir in | |
4974 .) # We are building in place. | |
4975 ac_srcdir=. | |
4976 ac_top_srcdir=$ac_top_builddir_sub | |
4977 ac_abs_top_srcdir=$ac_pwd ;; | |
4978 [\\/]* | ?:[\\/]* ) # Absolute name. | |
4979 ac_srcdir=$srcdir$ac_dir_suffix; | |
4980 ac_top_srcdir=$srcdir | |
4981 ac_abs_top_srcdir=$srcdir ;; | |
4982 *) # Relative name. | |
4983 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
4984 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
4985 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
4986 esac | |
4987 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
4988 | |
4989 | |
4990 case $ac_mode in | |
4991 :F) | |
4992 # | |
4993 # CONFIG_FILE | |
4994 # | |
4995 | |
4996 _ACEOF | |
4997 | |
4998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4999 # If the template does not know about datarootdir, expand it. | |
5000 # FIXME: This hack should be removed a few years after 2.60. | |
5001 ac_datarootdir_hack=; ac_datarootdir_seen= | |
5002 ac_sed_dataroot=' | |
5003 /datarootdir/ { | |
5004 p | |
5005 q | |
5006 } | |
5007 /@datadir@/p | |
5008 /@docdir@/p | |
5009 /@infodir@/p | |
5010 /@localedir@/p | |
5011 /@mandir@/p' | |
5012 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
5013 *datarootdir*) ac_datarootdir_seen=yes;; | |
5014 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
5016 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
5017 _ACEOF | |
5018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5019 ac_datarootdir_hack=' | |
5020 s&@datadir@&$datadir&g | |
5021 s&@docdir@&$docdir&g | |
5022 s&@infodir@&$infodir&g | |
5023 s&@localedir@&$localedir&g | |
5024 s&@mandir@&$mandir&g | |
5025 s&\\\${datarootdir}&$datarootdir&g' ;; | |
5026 esac | |
5027 _ACEOF | |
5028 | |
5029 # Neutralize VPATH when `$srcdir' = `.'. | |
5030 # Shell code in configure.ac might set extrasub. | |
5031 # FIXME: do we really want to maintain this feature? | |
5032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5033 ac_sed_extra="$ac_vpsub | |
5034 $extrasub | |
5035 _ACEOF | |
5036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5037 :t | |
5038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
5039 s|@configure_input@|$ac_sed_conf_input|;t t | |
5040 s&@top_builddir@&$ac_top_builddir_sub&;t t | |
5041 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
5042 s&@srcdir@&$ac_srcdir&;t t | |
5043 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
5044 s&@top_srcdir@&$ac_top_srcdir&;t t | |
5045 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
5046 s&@builddir@&$ac_builddir&;t t | |
5047 s&@abs_builddir@&$ac_abs_builddir&;t t | |
5048 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
5049 $ac_datarootdir_hack | |
5050 " | |
5051 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
5052 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5053 | |
5054 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
5055 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
5056 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
5057 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5059 which seems to be undefined. Please make sure it is defined" >&5 | |
5060 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5061 which seems to be undefined. Please make sure it is defined" >&2;} | |
5062 | |
5063 rm -f "$ac_tmp/stdin" | |
5064 case $ac_file in | |
5065 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
5066 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
5067 esac \ | |
5068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5069 ;; | |
5070 | |
5071 | |
5072 | |
5073 esac | |
5074 | |
5075 done # for ac_tag | |
5076 | |
5077 | |
5078 as_fn_exit 0 | |
5079 _ACEOF | |
5080 ac_clean_files=$ac_clean_files_save | |
5081 | |
5082 test $ac_write_fail = 0 || | |
5083 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
5084 | |
5085 | |
5086 # configure is writing to config.log, and then calls config.status. | |
5087 # config.status does its own redirection, appending to config.log. | |
5088 # Unfortunately, on DOS this fails, as config.log is still kept open | |
5089 # by configure, so config.status won't be able to write to it; its | |
5090 # output is simply discarded. So we exec the FD to /dev/null, | |
5091 # effectively closing config.log, so it can be properly (re)opened and | |
5092 # appended to by config.status. When coming back to configure, we | |
5093 # need to make the FD available again. | |
5094 if test "$no_create" != yes; then | |
5095 ac_cs_success=: | |
5096 ac_config_status_args= | |
5097 test "$silent" = yes && | |
5098 ac_config_status_args="$ac_config_status_args --quiet" | |
5099 exec 5>/dev/null | |
5100 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
5101 exec 5>>config.log | |
5102 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
5103 # would make configure fail if this is the last instruction. | |
5104 $ac_cs_success || as_fn_exit 1 | |
5105 fi | |
5106 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
5108 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
5109 fi | |
5110 | |
5111 |