comparison configure @ 315:2351610cd3b0 vamp-plugin-sdk-v2.2.1

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