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