Codebase list sdl-sound1.2 / ca5b792
New upstream snapshot. Debian Janitor 2 years ago
3 changed file(s) with 4141 addition(s) and 6893 deletion(s). Raw diff Collapse all Expand all
6868 /* Define to the one symbol short name of this package. */
6969 #undef PACKAGE_TARNAME
7070
71 /* Define to the home page for this package. */
72 #undef PACKAGE_URL
73
7174 /* Define to the version of this package. */
7275 #undef PACKAGE_VERSION
7376
+4132
-6893
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.61.
2 # Generated by GNU Autoconf 2.69.
33 #
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 #
5 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 #
7 #
68 # This configure script is free software; the Free Software Foundation
79 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
1113
1214 # Be more Bourne compatible
1315 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1517 emulate sh
1618 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1820 # is contrary to our usage. Disable this feature.
1921 alias -g '${1+"$@"}'='"$@"'
2022 setopt NO_GLOB_SUBST
2123 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
24 case `(set -o) 2>/dev/null` in #(
25 *posix*) :
26 set -o posix ;; #(
27 *) :
28 ;;
2429 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
3870
3971 # The user is always right.
4072 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
5778 fi
5879
5980
6283 # there to prevent editors from complaining about space-tab.
6384 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6485 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
6786 IFS=" "" $as_nl"
6887
6988 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
89 as_myself=
90 case $0 in #((
7191 *[\\/]* ) as_myself=$0 ;;
7292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7494 do
7595 IFS=$as_save_IFS
7696 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
7999 IFS=$as_save_IFS
80100
81101 ;;
86106 as_myself=$0
87107 fi
88108 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
96120 done
97121 PS1='$ '
98122 PS2='> '
99123 PS4='+ '
100124
101125 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in # ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in #(
169 *posix*) :
170 set -o posix ;; #(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
106210 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
109265 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
111270 fi
112 done
113
114 # Required to use basename.
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
115418 if expr a : '\(a\)' >/dev/null 2>&1 &&
116419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117420 as_expr=expr
125428 as_basename=false
126429 fi
127430
128
129 # Name of the executable.
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
130437 as_me=`$as_basename -- "$0" ||
131438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132439 X"$0" : 'X\(//\)$' \| \
133440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
441 $as_echo X/"$0" |
135442 sed '/^.*\/\([^/][^/]*\)\/*$/{
136443 s//\1/
137444 q
146453 }
147454 s/.*/./; q'`
148455
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in
248 *posix*) set -o posix ;;
249 esac
250
251 fi
252
253
254 :
255 _ASEOF
256 }; then
257 CONFIG_SHELL=$as_shell
258 as_have_required=yes
259 if { "$as_shell" 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 (as_func_return () {
277 (exit $1)
278 }
279 as_func_success () {
280 as_func_return 0
281 }
282 as_func_failure () {
283 as_func_return 1
284 }
285 as_func_ret_success () {
286 return 0
287 }
288 as_func_ret_failure () {
289 return 1
290 }
291
292 exitcode=0
293 if as_func_success; then
294 :
295 else
296 exitcode=1
297 echo as_func_success failed.
298 fi
299
300 if as_func_failure; then
301 exitcode=1
302 echo as_func_failure succeeded.
303 fi
304
305 if as_func_ret_success; then
306 :
307 else
308 exitcode=1
309 echo as_func_ret_success failed.
310 fi
311
312 if as_func_ret_failure; then
313 exitcode=1
314 echo as_func_ret_failure succeeded.
315 fi
316
317 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 :
319 else
320 exitcode=1
321 echo positional parameters were not saved.
322 fi
323
324 test $exitcode = 0) || { (exit 1); exit 1; }
325
326 (
327 as_lineno_1=$LINENO
328 as_lineno_2=$LINENO
329 test "x$as_lineno_1" != "x$as_lineno_2" &&
330 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
331
332 _ASEOF
333 }; then
334 break
335 fi
336
337 fi
338
339 done
340
341 if test "x$CONFIG_SHELL" != x; then
342 for as_var in BASH_ENV ENV
343 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 done
345 export CONFIG_SHELL
346 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 fi
348
349
350 if test $as_have_required = no; then
351 echo This script requires a shell more modern than all the
352 echo shells that I found on your system. Please install a
353 echo modern shell, or manually run the script under such a
354 echo shell if you do have one.
355 { (exit 1); exit 1; }
356 fi
357
358
359 fi
360
361 fi
362
363
364
365 (eval "as_func_return () {
366 (exit \$1)
367 }
368 as_func_success () {
369 as_func_return 0
370 }
371 as_func_failure () {
372 as_func_return 1
373 }
374 as_func_ret_success () {
375 return 0
376 }
377 as_func_ret_failure () {
378 return 1
379 }
380
381 exitcode=0
382 if as_func_success; then
383 :
384 else
385 exitcode=1
386 echo as_func_success failed.
387 fi
388
389 if as_func_failure; then
390 exitcode=1
391 echo as_func_failure succeeded.
392 fi
393
394 if as_func_ret_success; then
395 :
396 else
397 exitcode=1
398 echo as_func_ret_success failed.
399 fi
400
401 if as_func_ret_failure; then
402 exitcode=1
403 echo as_func_ret_failure succeeded.
404 fi
405
406 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 :
408 else
409 exitcode=1
410 echo positional parameters were not saved.
411 fi
412
413 test \$exitcode = 0") || {
414 echo No shell found that supports shell functions.
415 echo Please tell autoconf@gnu.org about your system,
416 echo including any error possibly output before this
417 echo message
418 }
419
420
421
422 as_lineno_1=$LINENO
423 as_lineno_2=$LINENO
424 test "x$as_lineno_1" != "x$as_lineno_2" &&
425 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
426
427 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
428 # uniformly replaced by the line number. The first 'sed' inserts a
429 # line-number line after each line using $LINENO; the second 'sed'
430 # does the real work. The second script uses 'N' to pair each
431 # line-number line with the line containing $LINENO, and appends
432 # trailing '-' during substitution so that $LINENO is not a special
433 # case at line end.
434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
435 # scripts with optimization help from Paolo Bonzini. Blame Lee
436 # E. McMahon (1931-1989) for sed's syntax. :-)
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437469 sed -n '
438470 p
439471 /[$]LINENO/=
450482 s/-\n.*//
451483 ' >$as_me.lineno &&
452484 chmod +x "$as_me.lineno" ||
453 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
454 { (exit 1); exit 1; }; }
455
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
456491 # Don't try to exec as it changes $[0], causing all sort of problems
457492 # (the dirname of $[0] is not the place where we might find the
458493 # original and so on. Autoconf is especially sensitive to this).
461496 exit
462497 }
463498
464
465 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 as_dirname=dirname
467 else
468 as_dirname=false
469 fi
470
471499 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in
500 case `echo -n x` in #(((((
473501 -n*)
474 case `echo 'x\c'` in
502 case `echo 'xy\c'` in
475503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 *) ECHO_C='\c';;
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
477507 esac;;
478508 *)
479509 ECHO_N='-n';;
480510 esac
481511
482 if expr a : '\(a\)' >/dev/null 2>&1 &&
483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 as_expr=expr
485 else
486 as_expr=false
487 fi
488
489512 rm -f conf$$ conf$$.exe conf$$.file
490513 if test -d conf$$.dir; then
491514 rm -f conf$$.dir/conf$$.file
492515 else
493516 rm -f conf$$.dir
494 mkdir conf$$.dir
495 fi
496 echo >conf$$.file
497 if ln -s conf$$.file conf$$ 2>/dev/null; then
498 as_ln_s='ln -s'
499 # ... but there are two gotchas:
500 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
501 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
502 # In both cases, we have to default to `cp -p'.
503 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
504 as_ln_s='cp -p'
505 elif ln conf$$.file conf$$ 2>/dev/null; then
506 as_ln_s=ln
507 else
508 as_ln_s='cp -p'
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
509535 fi
510536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
511537 rmdir conf$$.dir 2>/dev/null
512538
513539 if mkdir -p . 2>/dev/null; then
514 as_mkdir_p=:
540 as_mkdir_p='mkdir -p "$as_dir"'
515541 else
516542 test -d ./-p && rmdir ./-p
517543 as_mkdir_p=false
518544 fi
519545
520 if test -x / >/dev/null 2>&1; then
521 as_test_x='test -x'
522 else
523 if ls -dL / >/dev/null 2>&1; then
524 as_ls_L_option=L
525 else
526 as_ls_L_option=
527 fi
528 as_test_x='
529 eval sh -c '\''
530 if test -d "$1"; then
531 test -d "$1/.";
532 else
533 case $1 in
534 -*)set "./$1";;
535 esac;
536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
537 ???[sx]*):;;*)false;;esac;fi
538 '\'' sh
539 '
540 fi
541 as_executable_p=$as_test_x
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
542548
543549 # Sed expression to map a string onto a valid CPP name.
544550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545551
546552 # Sed expression to map a string onto a valid variable name.
547553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548
549554
550555
551556
702707
703708 tagnames=${tagnames+${tagnames},}F77
704709
705 exec 7<&0 </dev/null 6>&1
710 test -n "$DJDIR" || exec 7<&0 </dev/null
711 exec 6>&1
706712
707713 # Name of the host.
708 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
714 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
709715 # so uname gets run too.
710716 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
711717
720726 subdirs=
721727 MFLAGS=
722728 MAKEFLAGS=
723 SHELL=${CONFIG_SHELL-/bin/sh}
724729
725730 # Identity of this package.
726731 PACKAGE_NAME=
728733 PACKAGE_VERSION=
729734 PACKAGE_STRING=
730735 PACKAGE_BUGREPORT=
736 PACKAGE_URL=
731737
732738 ac_unique_file="SDL_sound.c"
733739 # Factoring default headers for most tests.
766772 # include <unistd.h>
767773 #endif"
768774
769 ac_subst_vars='SHELL
775 ac_subst_vars='LTLIBOBJS
776 USE_PHYSICSFS_FALSE
777 USE_PHYSICSFS_TRUE
778 USE_MPGLIB_FALSE
779 USE_MPGLIB_TRUE
780 USE_TIMIDITY_FALSE
781 USE_TIMIDITY_TRUE
782 LIBOBJS
783 SDL_LIBS
784 SDL_CFLAGS
785 SDL_CONFIG
786 LIBTOOL
787 ac_ct_F77
788 FFLAGS
789 F77
790 CXXCPP
791 am__fastdepCXX_FALSE
792 am__fastdepCXX_TRUE
793 CXXDEPMODE
794 ac_ct_CXX
795 CXXFLAGS
796 CXX
797 CPP
798 RANLIB
799 AR
800 ECHO
801 EGREP
802 GREP
803 SED
804 LN_S
805 am__fastdepCC_FALSE
806 am__fastdepCC_TRUE
807 CCDEPMODE
808 AMDEPBACKSLASH
809 AMDEP_FALSE
810 AMDEP_TRUE
811 am__quote
812 am__include
813 DEPDIR
814 OBJEXT
815 EXEEXT
816 ac_ct_CC
817 CPPFLAGS
818 LDFLAGS
819 CFLAGS
820 CC
821 am__untar
822 am__tar
823 AMTAR
824 am__leading_dot
825 SET_MAKE
826 AWK
827 mkdir_p
828 INSTALL_STRIP_PROGRAM
829 STRIP
830 install_sh
831 MAKEINFO
832 AUTOHEADER
833 AUTOMAKE
834 AUTOCONF
835 ACLOCAL
836 PACKAGE
837 CYGPATH_W
838 INSTALL_DATA
839 INSTALL_SCRIPT
840 INSTALL_PROGRAM
841 target_os
842 target_vendor
843 target_cpu
844 target
845 host_os
846 host_vendor
847 host_cpu
848 host
849 build_os
850 build_vendor
851 build_cpu
852 build
853 LT_AGE
854 LT_REVISION
855 LT_CURRENT
856 LT_RELEASE
857 VERSION
858 BINARY_AGE
859 INTERFACE_AGE
860 MICRO_VERSION
861 MINOR_VERSION
862 MAJOR_VERSION
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
770900 PATH_SEPARATOR
771 PACKAGE_NAME
772 PACKAGE_TARNAME
773 PACKAGE_VERSION
774 PACKAGE_STRING
775 PACKAGE_BUGREPORT
776 exec_prefix
777 prefix
778 program_transform_name
779 bindir
780 sbindir
781 libexecdir
782 datarootdir
783 datadir
784 sysconfdir
785 sharedstatedir
786 localstatedir
787 includedir
788 oldincludedir
789 docdir
790 infodir
791 htmldir
792 dvidir
793 pdfdir
794 psdir
795 libdir
796 localedir
797 mandir
798 DEFS
799 ECHO_C
800 ECHO_N
801 ECHO_T
802 LIBS
803 build_alias
804 host_alias
805 target_alias
806 MAJOR_VERSION
807 MINOR_VERSION
808 MICRO_VERSION
809 INTERFACE_AGE
810 BINARY_AGE
811 VERSION
812 LT_RELEASE
813 LT_CURRENT
814 LT_REVISION
815 LT_AGE
816 build
817 build_cpu
818 build_vendor
819 build_os
820 host
821 host_cpu
822 host_vendor
823 host_os
824 target
825 target_cpu
826 target_vendor
827 target_os
828 INSTALL_PROGRAM
829 INSTALL_SCRIPT
830 INSTALL_DATA
831 CYGPATH_W
832 PACKAGE
833 ACLOCAL
834 AUTOCONF
835 AUTOMAKE
836 AUTOHEADER
837 MAKEINFO
838 install_sh
839 STRIP
840 INSTALL_STRIP_PROGRAM
841 mkdir_p
842 AWK
843 SET_MAKE
844 am__leading_dot
845 AMTAR
846 am__tar
847 am__untar
848 CC
849 CFLAGS
850 LDFLAGS
851 CPPFLAGS
852 ac_ct_CC
853 EXEEXT
854 OBJEXT
855 DEPDIR
856 am__include
857 am__quote
858 AMDEP_TRUE
859 AMDEP_FALSE
860 AMDEPBACKSLASH
861 CCDEPMODE
862 am__fastdepCC_TRUE
863 am__fastdepCC_FALSE
864 LN_S
865 SED
866 GREP
867 EGREP
868 ECHO
869 AR
870 RANLIB
871 CPP
872 CXX
873 CXXFLAGS
874 ac_ct_CXX
875 CXXDEPMODE
876 am__fastdepCXX_TRUE
877 am__fastdepCXX_FALSE
878 CXXCPP
879 F77
880 FFLAGS
881 ac_ct_F77
882 LIBTOOL
883 SDL_CONFIG
884 SDL_CFLAGS
885 SDL_LIBS
886 LIBOBJS
887 USE_TIMIDITY_TRUE
888 USE_TIMIDITY_FALSE
889 USE_MPGLIB_TRUE
890 USE_MPGLIB_FALSE
891 USE_PHYSICSFS_TRUE
892 USE_PHYSICSFS_FALSE
893 LTLIBOBJS'
901 SHELL'
894902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_dependency_tracking
906 enable_shared
907 enable_static
908 enable_fast_install
909 with_gnu_ld
910 enable_libtool_lock
911 with_pic
912 with_tags
913 enable_debug
914 with_sdl_prefix
915 with_sdl_exec_prefix
916 enable_sdltest
917 enable_voc
918 enable_wav
919 enable_raw
920 enable_aiff
921 enable_au
922 enable_shn
923 enable_midi
924 enable_smpeg
925 enable_mpglib
926 enable_mikmod
927 enable_modplug
928 enable_ogg
929 enable_flac
930 enable_speex
931 enable_physfs
932 enable_altcvt
933 '
895934 ac_precious_vars='build_alias
896935 host_alias
897936 target_alias
912951 # Initialize some variables set by options.
913952 ac_init_help=
914953 ac_init_version=false
954 ac_unrecognized_opts=
955 ac_unrecognized_sep=
915956 # The variables have the same names as the options, with
916957 # dashes changed to underlines.
917958 cache_file=/dev/null
943984 sysconfdir='${prefix}/etc'
944985 sharedstatedir='${prefix}/com'
945986 localstatedir='${prefix}/var'
987 runstatedir='${localstatedir}/run'
946988 includedir='${prefix}/include'
947989 oldincludedir='/usr/include'
948990 docdir='${datarootdir}/doc/${PACKAGE}'
9671009 fi
9681010
9691011 case $ac_option in
970 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
971 *) ac_optarg=yes ;;
1012 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1013 *=) ac_optarg= ;;
1014 *) ac_optarg=yes ;;
9721015 esac
9731016
9741017 # Accept the important Cygnus configure options, so we can diagnose typos.
10101053 datarootdir=$ac_optarg ;;
10111054
10121055 -disable-* | --disable-*)
1013 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10141057 # Reject names that are not valid shell variable names.
1015 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1016 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1017 { (exit 1); exit 1; }; }
1018 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1019 eval enable_$ac_feature=no ;;
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid feature name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1063 *"
1064 "enable_$ac_useropt"
1065 "*) ;;
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1068 esac
1069 eval enable_$ac_useropt=no ;;
10201070
10211071 -docdir | --docdir | --docdi | --doc | --do)
10221072 ac_prev=docdir ;;
10291079 dvidir=$ac_optarg ;;
10301080
10311081 -enable-* | --enable-*)
1032 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10331083 # Reject names that are not valid shell variable names.
1034 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1035 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1036 { (exit 1); exit 1; }; }
1037 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1038 eval enable_$ac_feature=\$ac_optarg ;;
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085 as_fn_error $? "invalid feature name: $ac_useropt"
1086 ac_useropt_orig=$ac_useropt
1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1089 *"
1090 "enable_$ac_useropt"
1091 "*) ;;
1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1093 ac_unrecognized_sep=', ';;
1094 esac
1095 eval enable_$ac_useropt=\$ac_optarg ;;
10391096
10401097 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
10411098 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
11801237 | -silent | --silent | --silen | --sile | --sil)
11811238 silent=yes ;;
11821239
1240 -runstatedir | --runstatedir | --runstatedi | --runstated \
1241 | --runstate | --runstat | --runsta | --runst | --runs \
1242 | --run | --ru | --r)
1243 ac_prev=runstatedir ;;
1244 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1245 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1246 | --run=* | --ru=* | --r=*)
1247 runstatedir=$ac_optarg ;;
1248
11831249 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
11841250 ac_prev=sbindir ;;
11851251 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
12261292 ac_init_version=: ;;
12271293
12281294 -with-* | --with-*)
1229 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1295 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12301296 # Reject names that are not valid shell variable names.
1231 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232 { echo "$as_me: error: invalid package name: $ac_package" >&2
1233 { (exit 1); exit 1; }; }
1234 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1235 eval with_$ac_package=\$ac_optarg ;;
1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298 as_fn_error $? "invalid package name: $ac_useropt"
1299 ac_useropt_orig=$ac_useropt
1300 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301 case $ac_user_opts in
1302 *"
1303 "with_$ac_useropt"
1304 "*) ;;
1305 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1306 ac_unrecognized_sep=', ';;
1307 esac
1308 eval with_$ac_useropt=\$ac_optarg ;;
12361309
12371310 -without-* | --without-*)
1238 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1311 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12391312 # Reject names that are not valid shell variable names.
1240 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1241 { echo "$as_me: error: invalid package name: $ac_package" >&2
1242 { (exit 1); exit 1; }; }
1243 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1244 eval with_$ac_package=no ;;
1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1314 as_fn_error $? "invalid package name: $ac_useropt"
1315 ac_useropt_orig=$ac_useropt
1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1318 *"
1319 "with_$ac_useropt"
1320 "*) ;;
1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322 ac_unrecognized_sep=', ';;
1323 esac
1324 eval with_$ac_useropt=no ;;
12451325
12461326 --x)
12471327 # Obsolete; use --with-x.
12611341 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
12621342 x_libraries=$ac_optarg ;;
12631343
1264 -*) { echo "$as_me: error: unrecognized option: $ac_option
1265 Try \`$0 --help' for more information." >&2
1266 { (exit 1); exit 1; }; }
1344 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1345 Try \`$0 --help' for more information"
12671346 ;;
12681347
12691348 *=*)
12701349 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
12711350 # Reject names that are not valid shell variable names.
1272 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1273 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1274 { (exit 1); exit 1; }; }
1351 case $ac_envvar in #(
1352 '' | [0-9]* | *[!_$as_cr_alnum]* )
1353 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1354 esac
12751355 eval $ac_envvar=\$ac_optarg
12761356 export $ac_envvar ;;
12771357
12781358 *)
12791359 # FIXME: should be removed in autoconf 3.0.
1280 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12811361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1282 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
12841364 ;;
12851365
12861366 esac
12881368
12891369 if test -n "$ac_prev"; then
12901370 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1291 { echo "$as_me: error: missing argument to $ac_option" >&2
1292 { (exit 1); exit 1; }; }
1293 fi
1294
1295 # Be sure to have absolute directory names.
1371 as_fn_error $? "missing argument to $ac_option"
1372 fi
1373
1374 if test -n "$ac_unrecognized_opts"; then
1375 case $enable_option_checking in
1376 no) ;;
1377 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1378 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379 esac
1380 fi
1381
1382 # Check all directory arguments for consistency.
12961383 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12971384 datadir sysconfdir sharedstatedir localstatedir includedir \
12981385 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1299 libdir localedir mandir
1386 libdir localedir mandir runstatedir
13001387 do
13011388 eval ac_val=\$$ac_var
1389 # Remove trailing slashes.
1390 case $ac_val in
1391 */ )
1392 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1393 eval $ac_var=\$ac_val;;
1394 esac
1395 # Be sure to have absolute directory names.
13021396 case $ac_val in
13031397 [\\/$]* | ?:[\\/]* ) continue;;
13041398 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
13051399 esac
1306 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1307 { (exit 1); exit 1; }; }
1400 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
13081401 done
13091402
13101403 # There might be people who depend on the old broken behavior: `$host'
13181411 if test "x$host_alias" != x; then
13191412 if test "x$build_alias" = x; then
13201413 cross_compiling=maybe
1321 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1322 If a cross compiler is detected then cross compile mode will be used." >&2
13231414 elif test "x$build_alias" != "x$host_alias"; then
13241415 cross_compiling=yes
13251416 fi
13341425 ac_pwd=`pwd` && test -n "$ac_pwd" &&
13351426 ac_ls_di=`ls -di .` &&
13361427 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337 { echo "$as_me: error: Working directory cannot be determined" >&2
1338 { (exit 1); exit 1; }; }
1428 as_fn_error $? "working directory cannot be determined"
13391429 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1340 { echo "$as_me: error: pwd does not report name of working directory" >&2
1341 { (exit 1); exit 1; }; }
1430 as_fn_error $? "pwd does not report name of working directory"
13421431
13431432
13441433 # Find the source files, if location was not specified.
13451434 if test -z "$srcdir"; then
13461435 ac_srcdir_defaulted=yes
13471436 # Try the directory containing this script, then the parent directory.
1348 ac_confdir=`$as_dirname -- "$0" ||
1349 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1350 X"$0" : 'X\(//\)[^/]' \| \
1351 X"$0" : 'X\(//\)$' \| \
1352 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1353 echo X"$0" |
1437 ac_confdir=`$as_dirname -- "$as_myself" ||
1438 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1439 X"$as_myself" : 'X\(//\)[^/]' \| \
1440 X"$as_myself" : 'X\(//\)$' \| \
1441 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1442 $as_echo X"$as_myself" |
13541443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13551444 s//\1/
13561445 q
13771466 fi
13781467 if test ! -r "$srcdir/$ac_unique_file"; then
13791468 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1380 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1381 { (exit 1); exit 1; }; }
1469 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
13821470 fi
13831471 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
13841472 ac_abs_confdir=`(
1385 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1386 { (exit 1); exit 1; }; }
1473 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
13871474 pwd)`
13881475 # When building in place, set srcdir=.
13891476 if test "$ac_abs_confdir" = "$ac_pwd"; then
14231510 --help=short display options specific to this package
14241511 --help=recursive display the short help of all the included packages
14251512 -V, --version display version information and exit
1426 -q, --quiet, --silent do not print \`checking...' messages
1513 -q, --quiet, --silent do not print \`checking ...' messages
14271514 --cache-file=FILE cache test results in FILE [disabled]
14281515 -C, --config-cache alias for \`--cache-file=config.cache'
14291516 -n, --no-create do not create output files
14311518
14321519 Installation directories:
14331520 --prefix=PREFIX install architecture-independent files in PREFIX
1434 [$ac_default_prefix]
1521 [$ac_default_prefix]
14351522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1436 [PREFIX]
1523 [PREFIX]
14371524
14381525 By default, \`make install' will install all the files in
14391526 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
14431530 For better control, use the options below.
14441531
14451532 Fine tuning of the installation directories:
1446 --bindir=DIR user executables [EPREFIX/bin]
1447 --sbindir=DIR system admin executables [EPREFIX/sbin]
1448 --libexecdir=DIR program executables [EPREFIX/libexec]
1449 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1450 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1451 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1452 --libdir=DIR object code libraries [EPREFIX/lib]
1453 --includedir=DIR C header files [PREFIX/include]
1454 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1455 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1456 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1457 --infodir=DIR info documentation [DATAROOTDIR/info]
1458 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1459 --mandir=DIR man documentation [DATAROOTDIR/man]
1460 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1461 --htmldir=DIR html documentation [DOCDIR]
1462 --dvidir=DIR dvi documentation [DOCDIR]
1463 --pdfdir=DIR pdf documentation [DOCDIR]
1464 --psdir=DIR ps documentation [DOCDIR]
1533 --bindir=DIR user executables [EPREFIX/bin]
1534 --sbindir=DIR system admin executables [EPREFIX/sbin]
1535 --libexecdir=DIR program executables [EPREFIX/libexec]
1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1539 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1540 --libdir=DIR object code libraries [EPREFIX/lib]
1541 --includedir=DIR C header files [PREFIX/include]
1542 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1543 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1544 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1545 --infodir=DIR info documentation [DATAROOTDIR/info]
1546 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1547 --mandir=DIR man documentation [DATAROOTDIR/man]
1548 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1549 --htmldir=DIR html documentation [DOCDIR]
1550 --dvidir=DIR dvi documentation [DOCDIR]
1551 --pdfdir=DIR pdf documentation [DOCDIR]
1552 --psdir=DIR ps documentation [DOCDIR]
14651553 _ACEOF
14661554
14671555 cat <<\_ACEOF
14831571 cat <<\_ACEOF
14841572
14851573 Optional Features:
1574 --disable-option-checking ignore unrecognized --enable/--with options
14861575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
14871576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
14881577 --disable-dependency-tracking speeds up one-time build
15271616 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
15281617 nonstandard directory <lib dir>
15291618 LIBS libraries to pass to the linker, e.g. -l<library>
1530 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1619 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
15311620 you have headers in a nonstandard directory <include dir>
15321621 CPP C preprocessor
15331622 CXX C++ compiler command
15391628 Use these variables to override the choices made by `configure' or to help
15401629 it to find libraries and programs with nonstandard names/locations.
15411630
1631 Report bugs to the package provider.
15421632 _ACEOF
15431633 ac_status=$?
15441634 fi
15461636 if test "$ac_init_help" = "recursive"; then
15471637 # If there are subdirs, report their specific --help.
15481638 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549 test -d "$ac_dir" || continue
1639 test -d "$ac_dir" ||
1640 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1641 continue
15501642 ac_builddir=.
15511643
15521644 case "$ac_dir" in
15531645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15541646 *)
1555 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1647 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15561648 # A ".." for each directory in $ac_dir_suffix.
1557 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1649 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15581650 case $ac_top_builddir_sub in
15591651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15601652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15901682 echo &&
15911683 $SHELL "$ac_srcdir/configure" --help=recursive
15921684 else
1593 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1685 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15941686 fi || ac_status=$?
15951687 cd "$ac_pwd" || { ac_status=$?; break; }
15961688 done
16001692 if $ac_init_version; then
16011693 cat <<\_ACEOF
16021694 configure
1603 generated by GNU Autoconf 2.61
1604
1605 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1606 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1695 generated by GNU Autoconf 2.69
1696
1697 Copyright (C) 2012 Free Software Foundation, Inc.
16071698 This configure script is free software; the Free Software Foundation
16081699 gives unlimited permission to copy, distribute and modify it.
16091700 _ACEOF
16101701 exit
16111702 fi
1703
1704 ## ------------------------ ##
1705 ## Autoconf initialization. ##
1706 ## ------------------------ ##
1707
1708 # ac_fn_c_try_compile LINENO
1709 # --------------------------
1710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_compile ()
1712 {
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext
1715 if { { ac_try="$ac_compile"
1716 case "(($ac_try" in
1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1719 esac
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_compile") 2>conftest.err
1723 ac_status=$?
1724 if test -s conftest.err; then
1725 grep -v '^ *+' conftest.err >conftest.er1
1726 cat conftest.er1 >&5
1727 mv -f conftest.er1 conftest.err
1728 fi
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest.$ac_objext; then :
1734 ac_retval=0
1735 else
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1738
1739 ac_retval=1
1740 fi
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status $ac_retval
1743
1744 } # ac_fn_c_try_compile
1745
1746 # ac_fn_c_try_link LINENO
1747 # -----------------------
1748 # Try to link conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_c_try_link ()
1750 {
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 rm -f conftest.$ac_objext conftest$ac_exeext
1753 if { { ac_try="$ac_link"
1754 case "(($ac_try" in
1755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1757 esac
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_link") 2>conftest.err
1761 ac_status=$?
1762 if test -s conftest.err; then
1763 grep -v '^ *+' conftest.err >conftest.er1
1764 cat conftest.er1 >&5
1765 mv -f conftest.er1 conftest.err
1766 fi
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_c_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest$ac_exeext && {
1772 test "$cross_compiling" = yes ||
1773 test -x conftest$ac_exeext
1774 }; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780 ac_retval=1
1781 fi
1782 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1783 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1784 # interfere with the next link command; also delete a directory that is
1785 # left behind by Apple's compiler. We do this before executing the actions.
1786 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status $ac_retval
1789
1790 } # ac_fn_c_try_link
1791
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_c_try_cpp ()
1796 {
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 case "(($ac_try" in
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1802 esac
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806 ac_status=$?
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1811 fi
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } > conftest.i && {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822 ac_retval=1
1823 fi
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1826
1827 } # ac_fn_c_try_cpp
1828
1829 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1830 # -------------------------------------------------------
1831 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1832 # the include files in INCLUDES and setting the cache variable VAR
1833 # accordingly.
1834 ac_fn_c_check_header_mongrel ()
1835 {
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if eval \${$3+:} false; then :
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if eval \${$3+:} false; then :
1841 $as_echo_n "(cached) " >&6
1842 fi
1843 eval ac_res=\$$3
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1846 else
1847 # Is the header compilable?
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1849 $as_echo_n "checking $2 usability... " >&6; }
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 $4
1853 #include <$2>
1854 _ACEOF
1855 if ac_fn_c_try_compile "$LINENO"; then :
1856 ac_header_compiler=yes
1857 else
1858 ac_header_compiler=no
1859 fi
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1862 $as_echo "$ac_header_compiler" >&6; }
1863
1864 # Is the header present?
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1866 $as_echo_n "checking $2 presence... " >&6; }
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1869 #include <$2>
1870 _ACEOF
1871 if ac_fn_c_try_cpp "$LINENO"; then :
1872 ac_header_preproc=yes
1873 else
1874 ac_header_preproc=no
1875 fi
1876 rm -f conftest.err conftest.i conftest.$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1878 $as_echo "$ac_header_preproc" >&6; }
1879
1880 # So? What about this header?
1881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1882 yes:no: )
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1884 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1886 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1887 ;;
1888 no:yes:* )
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1890 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1892 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1894 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1896 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1898 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1899 ;;
1900 esac
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if eval \${$3+:} false; then :
1904 $as_echo_n "(cached) " >&6
1905 else
1906 eval "$3=\$ac_header_compiler"
1907 fi
1908 eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 fi
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913
1914 } # ac_fn_c_check_header_mongrel
1915
1916 # ac_fn_c_try_run LINENO
1917 # ----------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1919 # that executables *can* be run.
1920 ac_fn_c_try_run ()
1921 {
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 if { { ac_try="$ac_link"
1924 case "(($ac_try" in
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>&5
1931 ac_status=$?
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1934 { { case "(($ac_try" in
1935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1936 *) ac_try_echo=$ac_try;;
1937 esac
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_try") 2>&5
1941 ac_status=$?
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; }; }; then :
1944 ac_retval=0
1945 else
1946 $as_echo "$as_me: program exited with status $ac_status" >&5
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1949
1950 ac_retval=$ac_status
1951 fi
1952 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 as_fn_set_status $ac_retval
1955
1956 } # ac_fn_c_try_run
1957
1958 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1959 # -------------------------------------------------------
1960 # Tests whether HEADER exists and can be compiled using the include files in
1961 # INCLUDES, setting the cache variable VAR accordingly.
1962 ac_fn_c_check_header_compile ()
1963 {
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \${$3+:} false; then :
1968 $as_echo_n "(cached) " >&6
1969 else
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1972 $4
1973 #include <$2>
1974 _ACEOF
1975 if ac_fn_c_try_compile "$LINENO"; then :
1976 eval "$3=yes"
1977 else
1978 eval "$3=no"
1979 fi
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 fi
1982 eval ac_res=\$$3
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986
1987 } # ac_fn_c_check_header_compile
1988
1989 # ac_fn_c_check_func LINENO FUNC VAR
1990 # ----------------------------------
1991 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1992 ac_fn_c_check_func ()
1993 {
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996 $as_echo_n "checking for $2... " >&6; }
1997 if eval \${$3+:} false; then :
1998 $as_echo_n "(cached) " >&6
1999 else
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2002 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2004 #define $2 innocuous_$2
2005
2006 /* System header to define __stub macros and hopefully few prototypes,
2007 which can conflict with char $2 (); below.
2008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2009 <limits.h> exists even on freestanding compilers. */
2010
2011 #ifdef __STDC__
2012 # include <limits.h>
2013 #else
2014 # include <assert.h>
2015 #endif
2016
2017 #undef $2
2018
2019 /* Override any GCC internal prototype to avoid an error.
2020 Use char because int might match the return type of a GCC
2021 builtin and then its argument prototype would still apply. */
2022 #ifdef __cplusplus
2023 extern "C"
2024 #endif
2025 char $2 ();
2026 /* The GNU C library defines this for functions which it implements
2027 to always fail with ENOSYS. Some functions are actually named
2028 something starting with __ and the normal name is an alias. */
2029 #if defined __stub_$2 || defined __stub___$2
2030 choke me
2031 #endif
2032
2033 int
2034 main ()
2035 {
2036 return $2 ();
2037 ;
2038 return 0;
2039 }
2040 _ACEOF
2041 if ac_fn_c_try_link "$LINENO"; then :
2042 eval "$3=yes"
2043 else
2044 eval "$3=no"
2045 fi
2046 rm -f core conftest.err conftest.$ac_objext \
2047 conftest$ac_exeext conftest.$ac_ext
2048 fi
2049 eval ac_res=\$$3
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053
2054 } # ac_fn_c_check_func
2055
2056 # ac_fn_cxx_try_compile LINENO
2057 # ----------------------------
2058 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2059 ac_fn_cxx_try_compile ()
2060 {
2061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2062 rm -f conftest.$ac_objext
2063 if { { ac_try="$ac_compile"
2064 case "(($ac_try" in
2065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2066 *) ac_try_echo=$ac_try;;
2067 esac
2068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2069 $as_echo "$ac_try_echo"; } >&5
2070 (eval "$ac_compile") 2>conftest.err
2071 ac_status=$?
2072 if test -s conftest.err; then
2073 grep -v '^ *+' conftest.err >conftest.er1
2074 cat conftest.er1 >&5
2075 mv -f conftest.er1 conftest.err
2076 fi
2077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078 test $ac_status = 0; } && {
2079 test -z "$ac_cxx_werror_flag" ||
2080 test ! -s conftest.err
2081 } && test -s conftest.$ac_objext; then :
2082 ac_retval=0
2083 else
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2086
2087 ac_retval=1
2088 fi
2089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090 as_fn_set_status $ac_retval
2091
2092 } # ac_fn_cxx_try_compile
2093
2094 # ac_fn_cxx_try_cpp LINENO
2095 # ------------------------
2096 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2097 ac_fn_cxx_try_cpp ()
2098 {
2099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100 if { { ac_try="$ac_cpp conftest.$ac_ext"
2101 case "(($ac_try" in
2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2103 *) ac_try_echo=$ac_try;;
2104 esac
2105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2106 $as_echo "$ac_try_echo"; } >&5
2107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2108 ac_status=$?
2109 if test -s conftest.err; then
2110 grep -v '^ *+' conftest.err >conftest.er1
2111 cat conftest.er1 >&5
2112 mv -f conftest.er1 conftest.err
2113 fi
2114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2115 test $ac_status = 0; } > conftest.i && {
2116 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2117 test ! -s conftest.err
2118 }; then :
2119 ac_retval=0
2120 else
2121 $as_echo "$as_me: failed program was:" >&5
2122 sed 's/^/| /' conftest.$ac_ext >&5
2123
2124 ac_retval=1
2125 fi
2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2127 as_fn_set_status $ac_retval
2128
2129 } # ac_fn_cxx_try_cpp
2130
2131 # ac_fn_cxx_try_link LINENO
2132 # -------------------------
2133 # Try to link conftest.$ac_ext, and return whether this succeeded.
2134 ac_fn_cxx_try_link ()
2135 {
2136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2137 rm -f conftest.$ac_objext conftest$ac_exeext
2138 if { { ac_try="$ac_link"
2139 case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_link") 2>conftest.err
2146 ac_status=$?
2147 if test -s conftest.err; then
2148 grep -v '^ *+' conftest.err >conftest.er1
2149 cat conftest.er1 >&5
2150 mv -f conftest.er1 conftest.err
2151 fi
2152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2153 test $ac_status = 0; } && {
2154 test -z "$ac_cxx_werror_flag" ||
2155 test ! -s conftest.err
2156 } && test -s conftest$ac_exeext && {
2157 test "$cross_compiling" = yes ||
2158 test -x conftest$ac_exeext
2159 }; then :
2160 ac_retval=0
2161 else
2162 $as_echo "$as_me: failed program was:" >&5
2163 sed 's/^/| /' conftest.$ac_ext >&5
2164
2165 ac_retval=1
2166 fi
2167 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2168 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2169 # interfere with the next link command; also delete a directory that is
2170 # left behind by Apple's compiler. We do this before executing the actions.
2171 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2172 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2173 as_fn_set_status $ac_retval
2174
2175 } # ac_fn_cxx_try_link
2176
2177 # ac_fn_f77_try_compile LINENO
2178 # ----------------------------
2179 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2180 ac_fn_f77_try_compile ()
2181 {
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 rm -f conftest.$ac_objext
2184 if { { ac_try="$ac_compile"
2185 case "(($ac_try" in
2186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2187 *) ac_try_echo=$ac_try;;
2188 esac
2189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2190 $as_echo "$ac_try_echo"; } >&5
2191 (eval "$ac_compile") 2>conftest.err
2192 ac_status=$?
2193 if test -s conftest.err; then
2194 grep -v '^ *+' conftest.err >conftest.er1
2195 cat conftest.er1 >&5
2196 mv -f conftest.er1 conftest.err
2197 fi
2198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2199 test $ac_status = 0; } && {
2200 test -z "$ac_f77_werror_flag" ||
2201 test ! -s conftest.err
2202 } && test -s conftest.$ac_objext; then :
2203 ac_retval=0
2204 else
2205 $as_echo "$as_me: failed program was:" >&5
2206 sed 's/^/| /' conftest.$ac_ext >&5
2207
2208 ac_retval=1
2209 fi
2210 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2211 as_fn_set_status $ac_retval
2212
2213 } # ac_fn_f77_try_compile
2214
2215 # ac_fn_f77_try_link LINENO
2216 # -------------------------
2217 # Try to link conftest.$ac_ext, and return whether this succeeded.
2218 ac_fn_f77_try_link ()
2219 {
2220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2221 rm -f conftest.$ac_objext conftest$ac_exeext
2222 if { { ac_try="$ac_link"
2223 case "(($ac_try" in
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2226 esac
2227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2228 $as_echo "$ac_try_echo"; } >&5
2229 (eval "$ac_link") 2>conftest.err
2230 ac_status=$?
2231 if test -s conftest.err; then
2232 grep -v '^ *+' conftest.err >conftest.er1
2233 cat conftest.er1 >&5
2234 mv -f conftest.er1 conftest.err
2235 fi
2236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2237 test $ac_status = 0; } && {
2238 test -z "$ac_f77_werror_flag" ||
2239 test ! -s conftest.err
2240 } && test -s conftest$ac_exeext && {
2241 test "$cross_compiling" = yes ||
2242 test -x conftest$ac_exeext
2243 }; then :
2244 ac_retval=0
2245 else
2246 $as_echo "$as_me: failed program was:" >&5
2247 sed 's/^/| /' conftest.$ac_ext >&5
2248
2249 ac_retval=1
2250 fi
2251 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2252 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2253 # interfere with the next link command; also delete a directory that is
2254 # left behind by Apple's compiler. We do this before executing the actions.
2255 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2257 as_fn_set_status $ac_retval
2258
2259 } # ac_fn_f77_try_link
2260
2261 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2262 # -------------------------------------------
2263 # Tests whether TYPE exists after having included INCLUDES, setting cache
2264 # variable VAR accordingly.
2265 ac_fn_c_check_type ()
2266 {
2267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2269 $as_echo_n "checking for $2... " >&6; }
2270 if eval \${$3+:} false; then :
2271 $as_echo_n "(cached) " >&6
2272 else
2273 eval "$3=no"
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2276 $4
2277 int
2278 main ()
2279 {
2280 if (sizeof ($2))
2281 return 0;
2282 ;
2283 return 0;
2284 }
2285 _ACEOF
2286 if ac_fn_c_try_compile "$LINENO"; then :
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2289 $4
2290 int
2291 main ()
2292 {
2293 if (sizeof (($2)))
2294 return 0;
2295 ;
2296 return 0;
2297 }
2298 _ACEOF
2299 if ac_fn_c_try_compile "$LINENO"; then :
2300
2301 else
2302 eval "$3=yes"
2303 fi
2304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2305 fi
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 fi
2308 eval ac_res=\$$3
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2310 $as_echo "$ac_res" >&6; }
2311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2312
2313 } # ac_fn_c_check_type
16122314 cat >config.log <<_ACEOF
16132315 This file contains any messages produced by compilers while
16142316 running configure, to aid debugging if configure makes a mistake.
16152317
16162318 It was created by $as_me, which was
1617 generated by GNU Autoconf 2.61. Invocation command line was
2319 generated by GNU Autoconf 2.69. Invocation command line was
16182320
16192321 $ $0 $@
16202322
16502352 do
16512353 IFS=$as_save_IFS
16522354 test -z "$as_dir" && as_dir=.
1653 echo "PATH: $as_dir"
1654 done
2355 $as_echo "PATH: $as_dir"
2356 done
16552357 IFS=$as_save_IFS
16562358
16572359 } >&5
16852387 | -silent | --silent | --silen | --sile | --sil)
16862388 continue ;;
16872389 *\'*)
1688 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2390 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16892391 esac
16902392 case $ac_pass in
1691 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2393 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
16922394 2)
1693 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2395 as_fn_append ac_configure_args1 " '$ac_arg'"
16942396 if test $ac_must_keep_next = true; then
16952397 ac_must_keep_next=false # Got value, back to normal.
16962398 else
17062408 -* ) ac_must_keep_next=true ;;
17072409 esac
17082410 fi
1709 ac_configure_args="$ac_configure_args '$ac_arg'"
2411 as_fn_append ac_configure_args " '$ac_arg'"
17102412 ;;
17112413 esac
17122414 done
17132415 done
1714 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1715 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2416 { ac_configure_args0=; unset ac_configure_args0;}
2417 { ac_configure_args1=; unset ac_configure_args1;}
17162418
17172419 # When interrupted or exit'd, cleanup temporary files, and complete
17182420 # config.log. We remove comments because anyway the quotes in there
17242426 {
17252427 echo
17262428
1727 cat <<\_ASBOX
1728 ## ---------------- ##
2429 $as_echo "## ---------------- ##
17292430 ## Cache variables. ##
1730 ## ---------------- ##
1731 _ASBOX
2431 ## ---------------- ##"
17322432 echo
17332433 # The following way of writing the cache mishandles newlines in values,
17342434 (
17372437 case $ac_val in #(
17382438 *${as_nl}*)
17392439 case $ac_var in #(
1740 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1741 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17422442 esac
17432443 case $ac_var in #(
17442444 _ | IFS | as_nl) ;; #(
1745 *) $as_unset $ac_var ;;
2445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2446 *) { eval $ac_var=; unset $ac_var;} ;;
17462447 esac ;;
17472448 esac
17482449 done
17612462 )
17622463 echo
17632464
1764 cat <<\_ASBOX
1765 ## ----------------- ##
2465 $as_echo "## ----------------- ##
17662466 ## Output variables. ##
1767 ## ----------------- ##
1768 _ASBOX
2467 ## ----------------- ##"
17692468 echo
17702469 for ac_var in $ac_subst_vars
17712470 do
17722471 eval ac_val=\$$ac_var
17732472 case $ac_val in
1774 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2473 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
17752474 esac
1776 echo "$ac_var='\''$ac_val'\''"
2475 $as_echo "$ac_var='\''$ac_val'\''"
17772476 done | sort
17782477 echo
17792478
17802479 if test -n "$ac_subst_files"; then
1781 cat <<\_ASBOX
1782 ## ------------------- ##
2480 $as_echo "## ------------------- ##
17832481 ## File substitutions. ##
1784 ## ------------------- ##
1785 _ASBOX
2482 ## ------------------- ##"
17862483 echo
17872484 for ac_var in $ac_subst_files
17882485 do
17892486 eval ac_val=\$$ac_var
17902487 case $ac_val in
1791 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2488 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
17922489 esac
1793 echo "$ac_var='\''$ac_val'\''"
2490 $as_echo "$ac_var='\''$ac_val'\''"
17942491 done | sort
17952492 echo
17962493 fi
17972494
17982495 if test -s confdefs.h; then
1799 cat <<\_ASBOX
1800 ## ----------- ##
2496 $as_echo "## ----------- ##
18012497 ## confdefs.h. ##
1802 ## ----------- ##
1803 _ASBOX
2498 ## ----------- ##"
18042499 echo
18052500 cat confdefs.h
18062501 echo
18072502 fi
18082503 test "$ac_signal" != 0 &&
1809 echo "$as_me: caught signal $ac_signal"
1810 echo "$as_me: exit $exit_status"
2504 $as_echo "$as_me: caught signal $ac_signal"
2505 $as_echo "$as_me: exit $exit_status"
18112506 } >&5
18122507 rm -f core *.core core.conftest.* &&
18132508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
18142509 exit $exit_status
18152510 ' 0
18162511 for ac_signal in 1 2 13 15; do
1817 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2512 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
18182513 done
18192514 ac_signal=0
18202515
18212516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
18222517 rm -f -r conftest* confdefs.h
2518
2519 $as_echo "/* confdefs.h */" > confdefs.h
18232520
18242521 # Predefined preprocessor variables.
18252522
18272524 #define PACKAGE_NAME "$PACKAGE_NAME"
18282525 _ACEOF
18292526
1830
18312527 cat >>confdefs.h <<_ACEOF
18322528 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
18332529 _ACEOF
18342530
1835
18362531 cat >>confdefs.h <<_ACEOF
18372532 #define PACKAGE_VERSION "$PACKAGE_VERSION"
18382533 _ACEOF
18392534
1840
18412535 cat >>confdefs.h <<_ACEOF
18422536 #define PACKAGE_STRING "$PACKAGE_STRING"
18432537 _ACEOF
18442538
1845
18462539 cat >>confdefs.h <<_ACEOF
18472540 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
18482541 _ACEOF
18492542
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE_URL "$PACKAGE_URL"
2545 _ACEOF
2546
18502547
18512548 # Let the site file select an alternate cache file if it wants to.
1852 # Prefer explicitly selected file to automatically selected ones.
2549 # Prefer an explicitly selected file to automatically selected ones.
2550 ac_site_file1=NONE
2551 ac_site_file2=NONE
18532552 if test -n "$CONFIG_SITE"; then
1854 set x "$CONFIG_SITE"
2553 # We do not want a PATH search for config.site.
2554 case $CONFIG_SITE in #((
2555 -*) ac_site_file1=./$CONFIG_SITE;;
2556 */*) ac_site_file1=$CONFIG_SITE;;
2557 *) ac_site_file1=./$CONFIG_SITE;;
2558 esac
18552559 elif test "x$prefix" != xNONE; then
1856 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1857 else
1858 set x "$ac_default_prefix/share/config.site" \
1859 "$ac_default_prefix/etc/config.site"
1860 fi
1861 shift
1862 for ac_site_file
2560 ac_site_file1=$prefix/share/config.site
2561 ac_site_file2=$prefix/etc/config.site
2562 else
2563 ac_site_file1=$ac_default_prefix/share/config.site
2564 ac_site_file2=$ac_default_prefix/etc/config.site
2565 fi
2566 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
18632567 do
1864 if test -r "$ac_site_file"; then
1865 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1866 echo "$as_me: loading site script $ac_site_file" >&6;}
2568 test "x$ac_site_file" = xNONE && continue
2569 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2571 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
18672572 sed 's/^/| /' "$ac_site_file" >&5
1868 . "$ac_site_file"
2573 . "$ac_site_file" \
2574 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2576 as_fn_error $? "failed to load site script $ac_site_file
2577 See \`config.log' for more details" "$LINENO" 5; }
18692578 fi
18702579 done
18712580
18722581 if test -r "$cache_file"; then
1873 # Some versions of bash will fail to source /dev/null (special
1874 # files actually), so we avoid doing that.
1875 if test -f "$cache_file"; then
1876 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1877 echo "$as_me: loading cache $cache_file" >&6;}
2582 # Some versions of bash will fail to source /dev/null (special files
2583 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2584 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2586 $as_echo "$as_me: loading cache $cache_file" >&6;}
18782587 case $cache_file in
18792588 [\\/]* | ?:[\\/]* ) . "$cache_file";;
18802589 *) . "./$cache_file";;
18812590 esac
18822591 fi
18832592 else
1884 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1885 echo "$as_me: creating cache $cache_file" >&6;}
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2594 $as_echo "$as_me: creating cache $cache_file" >&6;}
18862595 >$cache_file
18872596 fi
18882597
18962605 eval ac_new_val=\$ac_env_${ac_var}_value
18972606 case $ac_old_set,$ac_new_set in
18982607 set,)
1899 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1900 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2609 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19012610 ac_cache_corrupted=: ;;
19022611 ,set)
1903 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1904 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2613 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19052614 ac_cache_corrupted=: ;;
19062615 ,);;
19072616 *)
19082617 if test "x$ac_old_val" != "x$ac_new_val"; then
1909 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1910 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1911 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1912 echo "$as_me: former value: $ac_old_val" >&2;}
1913 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1914 echo "$as_me: current value: $ac_new_val" >&2;}
1915 ac_cache_corrupted=:
2618 # differences in whitespace do not lead to failure.
2619 ac_old_val_w=`echo x $ac_old_val`
2620 ac_new_val_w=`echo x $ac_new_val`
2621 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2623 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2624 ac_cache_corrupted=:
2625 else
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2627 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2628 eval $ac_var=\$ac_old_val
2629 fi
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2631 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2633 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
19162634 fi;;
19172635 esac
19182636 # Pass precious variables to config.status.
19192637 if test "$ac_new_set" = set; then
19202638 case $ac_new_val in
1921 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2639 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
19222640 *) ac_arg=$ac_var=$ac_new_val ;;
19232641 esac
19242642 case " $ac_configure_args " in
19252643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1926 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2644 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19272645 esac
19282646 fi
19292647 done
19302648 if $ac_cache_corrupted; then
1931 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1932 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1933 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1934 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1935 { (exit 1); exit 1; }; }
1936 fi
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2652 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2653 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2654 fi
2655 ## -------------------- ##
2656 ## Main body of script. ##
2657 ## -------------------- ##
19532658
19542659 ac_ext=c
19552660 ac_cpp='$CPP $CPPFLAGS'
20102715 fi
20112716 done
20122717 if test -z "$ac_aux_dir"; then
2013 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2014 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2015 { (exit 1); exit 1; }; }
2718 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
20162719 fi
20172720
20182721 # These three variables are undocumented and unsupported,
20262729
20272730 # Make sure we can run config.sub.
20282731 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2029 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2030 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2031 { (exit 1); exit 1; }; }
2032
2033 { echo "$as_me:$LINENO: checking build system type" >&5
2034 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2035 if test "${ac_cv_build+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2732 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2733
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2735 $as_echo_n "checking build system type... " >&6; }
2736 if ${ac_cv_build+:} false; then :
2737 $as_echo_n "(cached) " >&6
20372738 else
20382739 ac_build_alias=$build_alias
20392740 test "x$ac_build_alias" = x &&
20402741 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
20412742 test "x$ac_build_alias" = x &&
2042 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2043 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2044 { (exit 1); exit 1; }; }
2743 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
20452744 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2046 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2047 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2048 { (exit 1); exit 1; }; }
2049
2050 fi
2051 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2052 echo "${ECHO_T}$ac_cv_build" >&6; }
2745 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2746
2747 fi
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2749 $as_echo "$ac_cv_build" >&6; }
20532750 case $ac_cv_build in
20542751 *-*-*) ;;
2055 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2056 echo "$as_me: error: invalid value of canonical build" >&2;}
2057 { (exit 1); exit 1; }; };;
2752 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
20582753 esac
20592754 build=$ac_cv_build
20602755 ac_save_IFS=$IFS; IFS='-'
20702765 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
20712766
20722767
2073 { echo "$as_me:$LINENO: checking host system type" >&5
2074 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2075 if test "${ac_cv_host+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2769 $as_echo_n "checking host system type... " >&6; }
2770 if ${ac_cv_host+:} false; then :
2771 $as_echo_n "(cached) " >&6
20772772 else
20782773 if test "x$host_alias" = x; then
20792774 ac_cv_host=$ac_cv_build
20802775 else
20812776 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2082 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2083 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2084 { (exit 1); exit 1; }; }
2085 fi
2086
2087 fi
2088 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2089 echo "${ECHO_T}$ac_cv_host" >&6; }
2777 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2778 fi
2779
2780 fi
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2782 $as_echo "$ac_cv_host" >&6; }
20902783 case $ac_cv_host in
20912784 *-*-*) ;;
2092 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2093 echo "$as_me: error: invalid value of canonical host" >&2;}
2094 { (exit 1); exit 1; }; };;
2785 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
20952786 esac
20962787 host=$ac_cv_host
20972788 ac_save_IFS=$IFS; IFS='-'
21072798 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
21082799
21092800
2110 { echo "$as_me:$LINENO: checking target system type" >&5
2111 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2112 if test "${ac_cv_target+set}" = set; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2802 $as_echo_n "checking target system type... " >&6; }
2803 if ${ac_cv_target+:} false; then :
2804 $as_echo_n "(cached) " >&6
21142805 else
21152806 if test "x$target_alias" = x; then
21162807 ac_cv_target=$ac_cv_host
21172808 else
21182809 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2119 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2120 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2121 { (exit 1); exit 1; }; }
2122 fi
2123
2124 fi
2125 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2126 echo "${ECHO_T}$ac_cv_target" >&6; }
2810 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2811 fi
2812
2813 fi
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2815 $as_echo "$ac_cv_target" >&6; }
21272816 case $ac_cv_target in
21282817 *-*-*) ;;
2129 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2130 echo "$as_me: error: invalid value of canonical target" >&2;}
2131 { (exit 1); exit 1; }; };;
2818 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
21322819 esac
21332820 target=$ac_cv_target
21342821 ac_save_IFS=$IFS; IFS='-'
21672854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
21682855 # OS/2's system install, which has a completely different semantic
21692856 # ./install, which can be erroneously created by make from ./install.sh.
2170 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2171 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2857 # Reject install programs that cannot install multiple files.
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2859 $as_echo_n "checking for a BSD-compatible install... " >&6; }
21722860 if test -z "$INSTALL"; then
2173 if test "${ac_cv_path_install+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 if ${ac_cv_path_install+:} false; then :
2862 $as_echo_n "(cached) " >&6
21752863 else
21762864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21772865 for as_dir in $PATH
21782866 do
21792867 IFS=$as_save_IFS
21802868 test -z "$as_dir" && as_dir=.
2181 # Account for people who put trailing slashes in PATH elements.
2182 case $as_dir/ in
2183 ./ | .// | /cC/* | \
2869 # Account for people who put trailing slashes in PATH elements.
2870 case $as_dir/ in #((
2871 ./ | .// | /[cC]/* | \
21842872 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2185 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2873 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
21862874 /usr/ucb/* ) ;;
21872875 *)
21882876 # OSF1 and SCO ODT 3.0 have their own names for install.
21902878 # by default.
21912879 for ac_prog in ginstall scoinst install; do
21922880 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2881 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
21942882 if test $ac_prog = install &&
21952883 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21962884 # AIX install. It has an incompatible calling convention.
22002888 # program-specific install script used by HP pwplus--don't use.
22012889 :
22022890 else
2203 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2204 break 3
2891 rm -rf conftest.one conftest.two conftest.dir
2892 echo one > conftest.one
2893 echo two > conftest.two
2894 mkdir conftest.dir
2895 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2896 test -s conftest.one && test -s conftest.two &&
2897 test -s conftest.dir/conftest.one &&
2898 test -s conftest.dir/conftest.two
2899 then
2900 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2901 break 3
2902 fi
22052903 fi
22062904 fi
22072905 done
22082906 done
22092907 ;;
22102908 esac
2211 done
2909
2910 done
22122911 IFS=$as_save_IFS
22132912
2913 rm -rf conftest.one conftest.two conftest.dir
22142914
22152915 fi
22162916 if test "${ac_cv_path_install+set}" = set; then
22232923 INSTALL=$ac_install_sh
22242924 fi
22252925 fi
2226 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2227 echo "${ECHO_T}$INSTALL" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2927 $as_echo "$INSTALL" >&6; }
22282928
22292929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22302930 # It thinks the first close brace ends the variable substitution.
22342934
22352935 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
22362936
2237 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2238 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2938 $as_echo_n "checking whether build environment is sane... " >&6; }
22392939 # Just in case
22402940 sleep 1
22412941 echo timestamp > conftest.file
22582958 # if, for instance, CONFIG_SHELL is bash and it inherits a
22592959 # broken ls alias from the environment. This has actually
22602960 # happened. Such a system could not be considered "sane".
2261 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2262 alias in your environment" >&5
2263 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2264 alias in your environment" >&2;}
2265 { (exit 1); exit 1; }; }
2961 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2962 alias in your environment" "$LINENO" 5
22662963 fi
22672964
22682965 test "$2" = conftest.file
22712968 # Ok.
22722969 :
22732970 else
2274 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2275 Check your system clock" >&5
2276 echo "$as_me: error: newly created file is older than distributed files!
2277 Check your system clock" >&2;}
2278 { (exit 1); exit 1; }; }
2279 fi
2280 { echo "$as_me:$LINENO: result: yes" >&5
2281 echo "${ECHO_T}yes" >&6; }
2971 as_fn_error $? "newly created file is older than distributed files!
2972 Check your system clock" "$LINENO" 5
2973 fi
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2975 $as_echo "yes" >&6; }
22822976 test "$program_prefix" != NONE &&
22832977 program_transform_name="s&^&$program_prefix&;$program_transform_name"
22842978 # Use a double $ so make ignores it.
22852979 test "$program_suffix" != NONE &&
22862980 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2287 # Double any \ or $. echo might interpret backslashes.
2981 # Double any \ or $.
22882982 # By default was `s,x,x', remove it if useless.
2289 cat <<\_ACEOF >conftest.sed
2290 s/[\\$]/&&/g;s/;s,x,x,$//
2291 _ACEOF
2292 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2293 rm -f conftest.sed
2983 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2984 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
22942985
22952986 # expand $ac_aux_dir to an absolute path
22962987 am_aux_dir=`cd $ac_aux_dir && pwd`
23012992 am_missing_run="$MISSING --run "
23022993 else
23032994 am_missing_run=
2304 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2305 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2996 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
23062997 fi
23072998
23082999 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
23423033 do
23433034 # Extract the first word of "$ac_prog", so it can be a program name with args.
23443035 set dummy $ac_prog; ac_word=$2
2345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347 if test "${ac_cv_prog_AWK+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_AWK+:} false; then :
3039 $as_echo_n "(cached) " >&6
23493040 else
23503041 if test -n "$AWK"; then
23513042 ac_cv_prog_AWK="$AWK" # Let the user override the test.
23553046 do
23563047 IFS=$as_save_IFS
23573048 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23603051 ac_cv_prog_AWK="$ac_prog"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23623053 break 2
23633054 fi
23643055 done
2365 done
3056 done
23663057 IFS=$as_save_IFS
23673058
23683059 fi
23693060 fi
23703061 AWK=$ac_cv_prog_AWK
23713062 if test -n "$AWK"; then
2372 { echo "$as_me:$LINENO: result: $AWK" >&5
2373 echo "${ECHO_T}$AWK" >&6; }
2374 else
2375 { echo "$as_me:$LINENO: result: no" >&5
2376 echo "${ECHO_T}no" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3064 $as_echo "$AWK" >&6; }
3065 else
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
23773068 fi
23783069
23793070
23803071 test -n "$AWK" && break
23813072 done
23823073
2383 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2384 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2385 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2386 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3075 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3076 set x ${MAKE-make}
3077 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3078 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3079 $as_echo_n "(cached) " >&6
23883080 else
23893081 cat >conftest.make <<\_ACEOF
23903082 SHELL = /bin/sh
23913083 all:
23923084 @echo '@@@%%%=$(MAKE)=@@@%%%'
23933085 _ACEOF
2394 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3086 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23953087 case `${MAKE-make} -f conftest.make 2>/dev/null` in
23963088 *@@@%%%=?*=@@@%%%*)
23973089 eval ac_cv_prog_make_${ac_make}_set=yes;;
24013093 rm -f conftest.make
24023094 fi
24033095 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2404 { echo "$as_me:$LINENO: result: yes" >&5
2405 echo "${ECHO_T}yes" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3097 $as_echo "yes" >&6; }
24063098 SET_MAKE=
24073099 else
2408 { echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
24103102 SET_MAKE="MAKE=${MAKE-make}"
24113103 fi
24123104
24223114 # test to see if srcdir already configured
24233115 if test "`cd $srcdir && pwd`" != "`pwd`" &&
24243116 test -f $srcdir/config.status; then
2425 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2426 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2427 { (exit 1); exit 1; }; }
3117 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24283118 fi
24293119
24303120 # test whether we have cygpath
24773167 if test -n "$ac_tool_prefix"; then
24783168 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
24793169 set dummy ${ac_tool_prefix}strip; ac_word=$2
2480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2482 if test "${ac_cv_prog_STRIP+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if ${ac_cv_prog_STRIP+:} false; then :
3173 $as_echo_n "(cached) " >&6
24843174 else
24853175 if test -n "$STRIP"; then
24863176 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
24903180 do
24913181 IFS=$as_save_IFS
24923182 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3183 for ac_exec_ext in '' $ac_executable_extensions; do
3184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24953185 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24973187 break 2
24983188 fi
24993189 done
2500 done
3190 done
25013191 IFS=$as_save_IFS
25023192
25033193 fi
25043194 fi
25053195 STRIP=$ac_cv_prog_STRIP
25063196 if test -n "$STRIP"; then
2507 { echo "$as_me:$LINENO: result: $STRIP" >&5
2508 echo "${ECHO_T}$STRIP" >&6; }
2509 else
2510 { echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3198 $as_echo "$STRIP" >&6; }
3199 else
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
25123202 fi
25133203
25143204
25173207 ac_ct_STRIP=$STRIP
25183208 # Extract the first word of "strip", so it can be a program name with args.
25193209 set dummy strip; ac_word=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3213 $as_echo_n "(cached) " >&6
25243214 else
25253215 if test -n "$ac_ct_STRIP"; then
25263216 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
25303220 do
25313221 IFS=$as_save_IFS
25323222 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223 for ac_exec_ext in '' $ac_executable_extensions; do
3224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25353225 ac_cv_prog_ac_ct_STRIP="strip"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25373227 break 2
25383228 fi
25393229 done
2540 done
3230 done
25413231 IFS=$as_save_IFS
25423232
25433233 fi
25443234 fi
25453235 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
25463236 if test -n "$ac_ct_STRIP"; then
2547 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2548 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2549 else
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3238 $as_echo "$ac_ct_STRIP" >&6; }
3239 else
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
25523242 fi
25533243
25543244 if test "x$ac_ct_STRIP" = x; then
25563246 else
25573247 case $cross_compiling:$ac_tool_warned in
25583248 yes:)
2559 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&5
2562 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2563 whose name does not start with the host triplet. If you think this
2564 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25653251 ac_tool_warned=yes ;;
25663252 esac
25673253 STRIP=$ac_ct_STRIP
25963282 if test -n "$ac_tool_prefix"; then
25973283 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
25983284 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2601 if test "${ac_cv_prog_CC+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_CC+:} false; then :
3288 $as_echo_n "(cached) " >&6
26033289 else
26043290 if test -n "$CC"; then
26053291 ac_cv_prog_CC="$CC" # Let the user override the test.
26093295 do
26103296 IFS=$as_save_IFS
26113297 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3298 for ac_exec_ext in '' $ac_executable_extensions; do
3299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26143300 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26163302 break 2
26173303 fi
26183304 done
2619 done
3305 done
26203306 IFS=$as_save_IFS
26213307
26223308 fi
26233309 fi
26243310 CC=$ac_cv_prog_CC
26253311 if test -n "$CC"; then
2626 { echo "$as_me:$LINENO: result: $CC" >&5
2627 echo "${ECHO_T}$CC" >&6; }
2628 else
2629 { echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3313 $as_echo "$CC" >&6; }
3314 else
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
26313317 fi
26323318
26333319
26363322 ac_ct_CC=$CC
26373323 # Extract the first word of "gcc", so it can be a program name with args.
26383324 set dummy gcc; ac_word=$2
2639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3326 $as_echo_n "checking for $ac_word... " >&6; }
3327 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3328 $as_echo_n "(cached) " >&6
26433329 else
26443330 if test -n "$ac_ct_CC"; then
26453331 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
26493335 do
26503336 IFS=$as_save_IFS
26513337 test -z "$as_dir" && as_dir=.
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26543340 ac_cv_prog_ac_ct_CC="gcc"
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26563342 break 2
26573343 fi
26583344 done
2659 done
3345 done
26603346 IFS=$as_save_IFS
26613347
26623348 fi
26633349 fi
26643350 ac_ct_CC=$ac_cv_prog_ac_ct_CC
26653351 if test -n "$ac_ct_CC"; then
2666 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2667 echo "${ECHO_T}$ac_ct_CC" >&6; }
2668 else
2669 { echo "$as_me:$LINENO: result: no" >&5
2670 echo "${ECHO_T}no" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3353 $as_echo "$ac_ct_CC" >&6; }
3354 else
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
26713357 fi
26723358
26733359 if test "x$ac_ct_CC" = x; then
26753361 else
26763362 case $cross_compiling:$ac_tool_warned in
26773363 yes:)
2678 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2679 whose name does not start with the host triplet. If you think this
2680 configuration is useful to you, please write to autoconf@gnu.org." >&5
2681 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2682 whose name does not start with the host triplet. If you think this
2683 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26843366 ac_tool_warned=yes ;;
26853367 esac
26863368 CC=$ac_ct_CC
26933375 if test -n "$ac_tool_prefix"; then
26943376 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26953377 set dummy ${ac_tool_prefix}cc; ac_word=$2
2696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2698 if test "${ac_cv_prog_CC+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if ${ac_cv_prog_CC+:} false; then :
3381 $as_echo_n "(cached) " >&6
27003382 else
27013383 if test -n "$CC"; then
27023384 ac_cv_prog_CC="$CC" # Let the user override the test.
27063388 do
27073389 IFS=$as_save_IFS
27083390 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27113393 ac_cv_prog_CC="${ac_tool_prefix}cc"
2712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27133395 break 2
27143396 fi
27153397 done
2716 done
3398 done
27173399 IFS=$as_save_IFS
27183400
27193401 fi
27203402 fi
27213403 CC=$ac_cv_prog_CC
27223404 if test -n "$CC"; then
2723 { echo "$as_me:$LINENO: result: $CC" >&5
2724 echo "${ECHO_T}$CC" >&6; }
2725 else
2726 { echo "$as_me:$LINENO: result: no" >&5
2727 echo "${ECHO_T}no" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3406 $as_echo "$CC" >&6; }
3407 else
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
27283410 fi
27293411
27303412
27333415 if test -z "$CC"; then
27343416 # Extract the first word of "cc", so it can be a program name with args.
27353417 set dummy cc; ac_word=$2
2736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2738 if test "${ac_cv_prog_CC+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419 $as_echo_n "checking for $ac_word... " >&6; }
3420 if ${ac_cv_prog_CC+:} false; then :
3421 $as_echo_n "(cached) " >&6
27403422 else
27413423 if test -n "$CC"; then
27423424 ac_cv_prog_CC="$CC" # Let the user override the test.
27473429 do
27483430 IFS=$as_save_IFS
27493431 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27523434 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
27533435 ac_prog_rejected=yes
27543436 continue
27553437 fi
27563438 ac_cv_prog_CC="cc"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27583440 break 2
27593441 fi
27603442 done
2761 done
3443 done
27623444 IFS=$as_save_IFS
27633445
27643446 if test $ac_prog_rejected = yes; then
27773459 fi
27783460 CC=$ac_cv_prog_CC
27793461 if test -n "$CC"; then
2780 { echo "$as_me:$LINENO: result: $CC" >&5
2781 echo "${ECHO_T}$CC" >&6; }
2782 else
2783 { echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6; }
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3463 $as_echo "$CC" >&6; }
3464 else
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
27853467 fi
27863468
27873469
27923474 do
27933475 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27943476 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2797 if test "${ac_cv_prog_CC+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if ${ac_cv_prog_CC+:} false; then :
3480 $as_echo_n "(cached) " >&6
27993481 else
28003482 if test -n "$CC"; then
28013483 ac_cv_prog_CC="$CC" # Let the user override the test.
28053487 do
28063488 IFS=$as_save_IFS
28073489 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28103492 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28123494 break 2
28133495 fi
28143496 done
2815 done
3497 done
28163498 IFS=$as_save_IFS
28173499
28183500 fi
28193501 fi
28203502 CC=$ac_cv_prog_CC
28213503 if test -n "$CC"; then
2822 { echo "$as_me:$LINENO: result: $CC" >&5
2823 echo "${ECHO_T}$CC" >&6; }
2824 else
2825 { echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3505 $as_echo "$CC" >&6; }
3506 else
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
28273509 fi
28283510
28293511
28363518 do
28373519 # Extract the first word of "$ac_prog", so it can be a program name with args.
28383520 set dummy $ac_prog; ac_word=$2
2839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3524 $as_echo_n "(cached) " >&6
28433525 else
28443526 if test -n "$ac_ct_CC"; then
28453527 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28493531 do
28503532 IFS=$as_save_IFS
28513533 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28543536 ac_cv_prog_ac_ct_CC="$ac_prog"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28563538 break 2
28573539 fi
28583540 done
2859 done
3541 done
28603542 IFS=$as_save_IFS
28613543
28623544 fi
28633545 fi
28643546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
28653547 if test -n "$ac_ct_CC"; then
2866 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2867 echo "${ECHO_T}$ac_ct_CC" >&6; }
2868 else
2869 { echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3549 $as_echo "$ac_ct_CC" >&6; }
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
28713553 fi
28723554
28733555
28793561 else
28803562 case $cross_compiling:$ac_tool_warned in
28813563 yes:)
2882 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2883 whose name does not start with the host triplet. If you think this
2884 configuration is useful to you, please write to autoconf@gnu.org." >&5
2885 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2886 whose name does not start with the host triplet. If you think this
2887 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28883566 ac_tool_warned=yes ;;
28893567 esac
28903568 CC=$ac_ct_CC
28943572 fi
28953573
28963574
2897 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2898 See \`config.log' for more details." >&5
2899 echo "$as_me: error: no acceptable C compiler found in \$PATH
2900 See \`config.log' for more details." >&2;}
2901 { (exit 1); exit 1; }; }
3575 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3577 as_fn_error $? "no acceptable C compiler found in \$PATH
3578 See \`config.log' for more details" "$LINENO" 5; }
29023579
29033580 # Provide some information about the compiler.
2904 echo "$as_me:$LINENO: checking for C compiler version" >&5
2905 ac_compiler=`set X $ac_compile; echo $2`
2906 { (ac_try="$ac_compiler --version >&5"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3582 set X $ac_compile
3583 ac_compiler=$2
3584 for ac_option in --version -v -V -qversion; do
3585 { { ac_try="$ac_compiler $ac_option >&5"
29073586 case "(($ac_try" in
29083587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29093588 *) ac_try_echo=$ac_try;;
29103589 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compiler --version >&5") 2>&5
3590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 $as_echo "$ac_try_echo"; } >&5
3592 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
29133593 ac_status=$?
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }
2916 { (ac_try="$ac_compiler -v >&5"
2917 case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2920 esac
2921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922 (eval "$ac_compiler -v >&5") 2>&5
2923 ac_status=$?
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); }
2926 { (ac_try="$ac_compiler -V >&5"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compiler -V >&5") 2>&5
2933 ac_status=$?
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }
2936
2937 cat >conftest.$ac_ext <<_ACEOF
2938 /* confdefs.h. */
2939 _ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
3594 if test -s conftest.err; then
3595 sed '10a\
3596 ... rest of stderr output deleted ...
3597 10q' conftest.err >conftest.er1
3598 cat conftest.er1 >&5
3599 fi
3600 rm -f conftest.er1 conftest.err
3601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602 test $ac_status = 0; }
3603 done
3604
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29423606 /* end confdefs.h. */
29433607
29443608 int
29503614 }
29513615 _ACEOF
29523616 ac_clean_files_save=$ac_clean_files
2953 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3617 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
29543618 # Try to create an executable without -o first, disregard a.out.
29553619 # It will help us diagnose broken compilers, and finding out an intuition
29563620 # of exeext.
2957 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2958 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2959 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2960 #
2961 # List of possible output files, starting from the most likely.
2962 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2963 # only as a last resort. b.out is created by i960 compilers.
2964 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2965 #
2966 # The IRIX 6 linker writes into existing files which may not be
2967 # executable, retaining their permissions. Remove them first so a
2968 # subsequent execution test works.
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3622 $as_echo_n "checking whether the C compiler works... " >&6; }
3623 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3624
3625 # The possible output files:
3626 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3627
29693628 ac_rmfiles=
29703629 for ac_file in $ac_files
29713630 do
29723631 case $ac_file in
2973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
29743633 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
29753634 esac
29763635 done
29773636 rm -f $ac_rmfiles
29783637
2979 if { (ac_try="$ac_link_default"
3638 if { { ac_try="$ac_link_default"
29803639 case "(($ac_try" in
29813640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29823641 *) ac_try_echo=$ac_try;;
29833642 esac
2984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3644 $as_echo "$ac_try_echo"; } >&5
29853645 (eval "$ac_link_default") 2>&5
29863646 ac_status=$?
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }; then
3647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3648 test $ac_status = 0; }; then :
29893649 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
29903650 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
29913651 # in a Makefile. We should not override ac_cv_exeext if it was cached,
29953655 do
29963656 test -f "$ac_file" || continue
29973657 case $ac_file in
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3658 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
29993659 ;;
30003660 [ab].out )
30013661 # We found the default executable, but exeext='' is most
30023662 # certainly right.
30033663 break;;
30043664 *.* )
3005 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3665 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
30063666 then :; else
30073667 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30083668 fi
30213681 else
30223682 ac_file=''
30233683 fi
3024
3025 { echo "$as_me:$LINENO: result: $ac_file" >&5
3026 echo "${ECHO_T}$ac_file" >&6; }
3027 if test -z "$ac_file"; then
3028 echo "$as_me: failed program was:" >&5
3684 if test -z "$ac_file"; then :
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3687 $as_echo "$as_me: failed program was:" >&5
30293688 sed 's/^/| /' conftest.$ac_ext >&5
30303689
3031 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3032 See \`config.log' for more details." >&5
3033 echo "$as_me: error: C compiler cannot create executables
3034 See \`config.log' for more details." >&2;}
3035 { (exit 77); exit 77; }; }
3036 fi
3037
3690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 as_fn_error 77 "C compiler cannot create executables
3693 See \`config.log' for more details" "$LINENO" 5; }
3694 else
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3696 $as_echo "yes" >&6; }
3697 fi
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3699 $as_echo_n "checking for C compiler default output file name... " >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3701 $as_echo "$ac_file" >&6; }
30383702 ac_exeext=$ac_cv_exeext
30393703
3040 # Check that the compiler produces executables we can run. If not, either
3041 # the compiler is broken, or we cross compile.
3042 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3043 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3044 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3045 # If not cross compiling, check that we can run a simple program.
3046 if test "$cross_compiling" != yes; then
3047 if { ac_try='./$ac_file'
3048 { (case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3051 esac
3052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3053 (eval "$ac_try") 2>&5
3054 ac_status=$?
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; }; then
3057 cross_compiling=no
3058 else
3059 if test "$cross_compiling" = maybe; then
3060 cross_compiling=yes
3061 else
3062 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3063 If you meant to cross compile, use \`--host'.
3064 See \`config.log' for more details." >&5
3065 echo "$as_me: error: cannot run C compiled programs.
3066 If you meant to cross compile, use \`--host'.
3067 See \`config.log' for more details." >&2;}
3068 { (exit 1); exit 1; }; }
3069 fi
3070 fi
3071 fi
3072 { echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6; }
3074
3075 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3704 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
30763705 ac_clean_files=$ac_clean_files_save
3077 # Check that the compiler produces executables we can run. If not, either
3078 # the compiler is broken, or we cross compile.
3079 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3080 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3081 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3082 echo "${ECHO_T}$cross_compiling" >&6; }
3083
3084 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3085 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3086 if { (ac_try="$ac_link"
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3707 $as_echo_n "checking for suffix of executables... " >&6; }
3708 if { { ac_try="$ac_link"
30873709 case "(($ac_try" in
30883710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30893711 *) ac_try_echo=$ac_try;;
30903712 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 $as_echo "$ac_try_echo"; } >&5
30923715 (eval "$ac_link") 2>&5
30933716 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }; then
3717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 test $ac_status = 0; }; then :
30963719 # If both `conftest.exe' and `conftest' are `present' (well, observable)
30973720 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
30983721 # work properly (i.e., refer to `conftest.exe'), while it won't with
31003723 for ac_file in conftest.exe conftest conftest.*; do
31013724 test -f "$ac_file" || continue
31023725 case $ac_file in
3103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
31043727 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
31053728 break;;
31063729 * ) break;;
31073730 esac
31083731 done
31093732 else
3110 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3111 See \`config.log' for more details." >&5
3112 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3113 See \`config.log' for more details." >&2;}
3114 { (exit 1); exit 1; }; }
3115 fi
3116
3117 rm -f conftest$ac_cv_exeext
3118 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3119 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3736 See \`config.log' for more details" "$LINENO" 5; }
3737 fi
3738 rm -f conftest conftest$ac_cv_exeext
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3740 $as_echo "$ac_cv_exeext" >&6; }
31203741
31213742 rm -f conftest.$ac_ext
31223743 EXEEXT=$ac_cv_exeext
31233744 ac_exeext=$EXEEXT
3124 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3125 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3126 if test "${ac_cv_objext+set}" = set; then
3127 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 else
3129 cat >conftest.$ac_ext <<_ACEOF
3130 /* confdefs.h. */
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3747 #include <stdio.h>
3748 int
3749 main ()
3750 {
3751 FILE *f = fopen ("conftest.out", "w");
3752 return ferror (f) || fclose (f) != 0;
3753
3754 ;
3755 return 0;
3756 }
31313757 _ACEOF
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3758 ac_clean_files="$ac_clean_files conftest.out"
3759 # Check that the compiler produces executables we can run. If not, either
3760 # the compiler is broken, or we cross compile.
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3762 $as_echo_n "checking whether we are cross compiling... " >&6; }
3763 if test "$cross_compiling" != yes; then
3764 { { ac_try="$ac_link"
3765 case "(($ac_try" in
3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767 *) ac_try_echo=$ac_try;;
3768 esac
3769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3770 $as_echo "$ac_try_echo"; } >&5
3771 (eval "$ac_link") 2>&5
3772 ac_status=$?
3773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }
3775 if { ac_try='./conftest$ac_cv_exeext'
3776 { { case "(($ac_try" in
3777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778 *) ac_try_echo=$ac_try;;
3779 esac
3780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3781 $as_echo "$ac_try_echo"; } >&5
3782 (eval "$ac_try") 2>&5
3783 ac_status=$?
3784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3785 test $ac_status = 0; }; }; then
3786 cross_compiling=no
3787 else
3788 if test "$cross_compiling" = maybe; then
3789 cross_compiling=yes
3790 else
3791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3793 as_fn_error $? "cannot run C compiled programs.
3794 If you meant to cross compile, use \`--host'.
3795 See \`config.log' for more details" "$LINENO" 5; }
3796 fi
3797 fi
3798 fi
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3800 $as_echo "$cross_compiling" >&6; }
3801
3802 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3803 ac_clean_files=$ac_clean_files_save
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3805 $as_echo_n "checking for suffix of object files... " >&6; }
3806 if ${ac_cv_objext+:} false; then :
3807 $as_echo_n "(cached) " >&6
3808 else
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31343810 /* end confdefs.h. */
31353811
31363812 int
31423818 }
31433819 _ACEOF
31443820 rm -f conftest.o conftest.obj
3145 if { (ac_try="$ac_compile"
3821 if { { ac_try="$ac_compile"
31463822 case "(($ac_try" in
31473823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31483824 *) ac_try_echo=$ac_try;;
31493825 esac
3150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3827 $as_echo "$ac_try_echo"; } >&5
31513828 (eval "$ac_compile") 2>&5
31523829 ac_status=$?
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; then
3830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831 test $ac_status = 0; }; then :
31553832 for ac_file in conftest.o conftest.obj conftest.*; do
31563833 test -f "$ac_file" || continue;
31573834 case $ac_file in
3158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
31593836 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
31603837 break;;
31613838 esac
31623839 done
31633840 else
3164 echo "$as_me: failed program was:" >&5
3841 $as_echo "$as_me: failed program was:" >&5
31653842 sed 's/^/| /' conftest.$ac_ext >&5
31663843
3167 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3168 See \`config.log' for more details." >&5
3169 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3170 See \`config.log' for more details." >&2;}
3171 { (exit 1); exit 1; }; }
3172 fi
3173
3844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846 as_fn_error $? "cannot compute suffix of object files: cannot compile
3847 See \`config.log' for more details" "$LINENO" 5; }
3848 fi
31743849 rm -f conftest.$ac_cv_objext conftest.$ac_ext
31753850 fi
3176 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3177 echo "${ECHO_T}$ac_cv_objext" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3852 $as_echo "$ac_cv_objext" >&6; }
31783853 OBJEXT=$ac_cv_objext
31793854 ac_objext=$OBJEXT
3180 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3181 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3182 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 else
3185 cat >conftest.$ac_ext <<_ACEOF
3186 /* confdefs.h. */
3187 _ACEOF
3188 cat confdefs.h >>conftest.$ac_ext
3189 cat >>conftest.$ac_ext <<_ACEOF
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3856 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3857 if ${ac_cv_c_compiler_gnu+:} false; then :
3858 $as_echo_n "(cached) " >&6
3859 else
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31903861 /* end confdefs.h. */
31913862
31923863 int
32003871 return 0;
32013872 }
32023873 _ACEOF
3203 rm -f conftest.$ac_objext
3204 if { (ac_try="$ac_compile"
3205 case "(($ac_try" in
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3208 esac
3209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_compile") 2>conftest.er1
3211 ac_status=$?
3212 grep -v '^ *+' conftest.er1 >conftest.err
3213 rm -f conftest.er1
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } && {
3217 test -z "$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3219 } && test -s conftest.$ac_objext; then
3874 if ac_fn_c_try_compile "$LINENO"; then :
32203875 ac_compiler_gnu=yes
32213876 else
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3224
3225 ac_compiler_gnu=no
3226 fi
3227
3877 ac_compiler_gnu=no
3878 fi
32283879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32293880 ac_cv_c_compiler_gnu=$ac_compiler_gnu
32303881
32313882 fi
3232 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3233 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3234 GCC=`test $ac_compiler_gnu = yes && echo yes`
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3884 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3885 if test $ac_compiler_gnu = yes; then
3886 GCC=yes
3887 else
3888 GCC=
3889 fi
32353890 ac_test_CFLAGS=${CFLAGS+set}
32363891 ac_save_CFLAGS=$CFLAGS
3237 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3238 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3239 if test "${ac_cv_prog_cc_g+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3893 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3894 if ${ac_cv_prog_cc_g+:} false; then :
3895 $as_echo_n "(cached) " >&6
32413896 else
32423897 ac_save_c_werror_flag=$ac_c_werror_flag
32433898 ac_c_werror_flag=yes
32443899 ac_cv_prog_cc_g=no
32453900 CFLAGS="-g"
3246 cat >conftest.$ac_ext <<_ACEOF
3247 /* confdefs.h. */
3248 _ACEOF
3249 cat confdefs.h >>conftest.$ac_ext
3250 cat >>conftest.$ac_ext <<_ACEOF
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32513902 /* end confdefs.h. */
32523903
32533904 int
32583909 return 0;
32593910 }
32603911 _ACEOF
3261 rm -f conftest.$ac_objext
3262 if { (ac_try="$ac_compile"
3263 case "(($ac_try" in
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3266 esac
3267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3268 (eval "$ac_compile") 2>conftest.er1
3269 ac_status=$?
3270 grep -v '^ *+' conftest.er1 >conftest.err
3271 rm -f conftest.er1
3272 cat conftest.err >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); } && {
3275 test -z "$ac_c_werror_flag" ||
3276 test ! -s conftest.err
3277 } && test -s conftest.$ac_objext; then
3912 if ac_fn_c_try_compile "$LINENO"; then :
32783913 ac_cv_prog_cc_g=yes
32793914 else
3280 echo "$as_me: failed program was:" >&5
3281 sed 's/^/| /' conftest.$ac_ext >&5
3282
3283 CFLAGS=""
3284 cat >conftest.$ac_ext <<_ACEOF
3285 /* confdefs.h. */
3286 _ACEOF
3287 cat confdefs.h >>conftest.$ac_ext
3288 cat >>conftest.$ac_ext <<_ACEOF
3915 CFLAGS=""
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32893917 /* end confdefs.h. */
32903918
32913919 int
32963924 return 0;
32973925 }
32983926 _ACEOF
3299 rm -f conftest.$ac_objext
3300 if { (ac_try="$ac_compile"
3301 case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304 esac
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_compile") 2>conftest.er1
3307 ac_status=$?
3308 grep -v '^ *+' conftest.er1 >conftest.err
3309 rm -f conftest.er1
3310 cat conftest.err >&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } && {
3313 test -z "$ac_c_werror_flag" ||
3314 test ! -s conftest.err
3315 } && test -s conftest.$ac_objext; then
3316 :
3317 else
3318 echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.$ac_ext >&5
3320
3321 ac_c_werror_flag=$ac_save_c_werror_flag
3927 if ac_fn_c_try_compile "$LINENO"; then :
3928
3929 else
3930 ac_c_werror_flag=$ac_save_c_werror_flag
33223931 CFLAGS="-g"
3323 cat >conftest.$ac_ext <<_ACEOF
3324 /* confdefs.h. */
3325 _ACEOF
3326 cat confdefs.h >>conftest.$ac_ext
3327 cat >>conftest.$ac_ext <<_ACEOF
3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33283933 /* end confdefs.h. */
33293934
33303935 int
33353940 return 0;
33363941 }
33373942 _ACEOF
3338 rm -f conftest.$ac_objext
3339 if { (ac_try="$ac_compile"
3340 case "(($ac_try" in
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3343 esac
3344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345 (eval "$ac_compile") 2>conftest.er1
3346 ac_status=$?
3347 grep -v '^ *+' conftest.er1 >conftest.err
3348 rm -f conftest.er1
3349 cat conftest.err >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } && {
3352 test -z "$ac_c_werror_flag" ||
3353 test ! -s conftest.err
3354 } && test -s conftest.$ac_objext; then
3943 if ac_fn_c_try_compile "$LINENO"; then :
33553944 ac_cv_prog_cc_g=yes
3356 else
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3359
3360
3361 fi
3362
3945 fi
33633946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33643947 fi
3365
33663948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33673949 fi
3368
33693950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33703951 ac_c_werror_flag=$ac_save_c_werror_flag
33713952 fi
3372 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3373 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3954 $as_echo "$ac_cv_prog_cc_g" >&6; }
33743955 if test "$ac_test_CFLAGS" = set; then
33753956 CFLAGS=$ac_save_CFLAGS
33763957 elif test $ac_cv_prog_cc_g = yes; then
33863967 CFLAGS=
33873968 fi
33883969 fi
3389 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3390 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3391 if test "${ac_cv_prog_cc_c89+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3971 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3972 if ${ac_cv_prog_cc_c89+:} false; then :
3973 $as_echo_n "(cached) " >&6
33933974 else
33943975 ac_cv_prog_cc_c89=no
33953976 ac_save_CC=$CC
3396 cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h. */
3398 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34013978 /* end confdefs.h. */
34023979 #include <stdarg.h>
34033980 #include <stdio.h>
3404 #include <sys/types.h>
3405 #include <sys/stat.h>
3981 struct stat;
34063982 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
34073983 struct buf { int x; };
34083984 FILE * (*rcsopen) (struct buf *, struct stat *, int);
34544030 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
34554031 do
34564032 CC="$ac_save_CC $ac_arg"
3457 rm -f conftest.$ac_objext
3458 if { (ac_try="$ac_compile"
3459 case "(($ac_try" in
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3462 esac
3463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3464 (eval "$ac_compile") 2>conftest.er1
3465 ac_status=$?
3466 grep -v '^ *+' conftest.er1 >conftest.err
3467 rm -f conftest.er1
3468 cat conftest.err >&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); } && {
3471 test -z "$ac_c_werror_flag" ||
3472 test ! -s conftest.err
3473 } && test -s conftest.$ac_objext; then
4033 if ac_fn_c_try_compile "$LINENO"; then :
34744034 ac_cv_prog_cc_c89=$ac_arg
3475 else
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3478
3479
3480 fi
3481
4035 fi
34824036 rm -f core conftest.err conftest.$ac_objext
34834037 test "x$ac_cv_prog_cc_c89" != "xno" && break
34844038 done
34894043 # AC_CACHE_VAL
34904044 case "x$ac_cv_prog_cc_c89" in
34914045 x)
3492 { echo "$as_me:$LINENO: result: none needed" >&5
3493 echo "${ECHO_T}none needed" >&6; } ;;
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4047 $as_echo "none needed" >&6; } ;;
34944048 xno)
3495 { echo "$as_me:$LINENO: result: unsupported" >&5
3496 echo "${ECHO_T}unsupported" >&6; } ;;
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4050 $as_echo "unsupported" >&6; } ;;
34974051 *)
34984052 CC="$CC $ac_cv_prog_cc_c89"
3499 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3500 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4054 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
35014055 esac
3502
4056 if test "x$ac_cv_prog_cc_c89" != xno; then :
4057
4058 fi
35034059
35044060 ac_ext=c
35054061 ac_cpp='$CPP $CPPFLAGS'
35184074 .PHONY: am__doit
35194075 END
35204076 # If we don't find an include directive, just comment out the code.
3521 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3522 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4078 $as_echo_n "checking for style of include used by $am_make... " >&6; }
35234079 am__include="#"
35244080 am__quote=
35254081 _am_result=none
35464102 fi
35474103
35484104
3549 { echo "$as_me:$LINENO: result: $_am_result" >&5
3550 echo "${ECHO_T}$_am_result" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4106 $as_echo "$_am_result" >&6; }
35514107 rm -f confinc confmf
35524108
35534109 # Check whether --enable-dependency-tracking was given.
3554 if test "${enable_dependency_tracking+set}" = set; then
4110 if test "${enable_dependency_tracking+set}" = set; then :
35554111 enableval=$enable_dependency_tracking;
35564112 fi
35574113
35744130
35754131 depcc="$CC" am_compiler_list=
35764132
3577 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3578 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3579 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4134 $as_echo_n "checking dependency style of $depcc... " >&6; }
4135 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4136 $as_echo_n "(cached) " >&6
35814137 else
35824138 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
35834139 # We make a subdir and do the tests there. Otherwise we can end up
36644220 fi
36654221
36664222 fi
3667 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3668 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4224 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
36694225 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
36704226
36714227
36814237 fi
36824238
36834239
3684 # Find a good install program. We prefer a C program (faster),
3685 # so one script is as good as another. But avoid the broken or
3686 # incompatible versions:
3687 # SysV /etc/install, /usr/sbin/install
3688 # SunOS /usr/etc/install
3689 # IRIX /sbin/install
3690 # AIX /bin/install
3691 # AmigaOS /C/install, which installs bootblocks on floppy discs
3692 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3693 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3694 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3695 # OS/2's system install, which has a completely different semantic
3696 # ./install, which can be erroneously created by make from ./install.sh.
3697 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3698 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3699 if test -z "$INSTALL"; then
3700 if test "${ac_cv_path_install+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3705 do
3706 IFS=$as_save_IFS
3707 test -z "$as_dir" && as_dir=.
3708 # Account for people who put trailing slashes in PATH elements.
3709 case $as_dir/ in
3710 ./ | .// | /cC/* | \
3711 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3712 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3713 /usr/ucb/* ) ;;
3714 *)
3715 # OSF1 and SCO ODT 3.0 have their own names for install.
3716 # Don't use installbsd from OSF since it installs stuff as root
3717 # by default.
3718 for ac_prog in ginstall scoinst install; do
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3721 if test $ac_prog = install &&
3722 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3723 # AIX install. It has an incompatible calling convention.
3724 :
3725 elif test $ac_prog = install &&
3726 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3727 # program-specific install script used by HP pwplus--don't use.
3728 :
3729 else
3730 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3731 break 3
3732 fi
3733 fi
3734 done
3735 done
3736 ;;
3737 esac
3738 done
3739 IFS=$as_save_IFS
3740
3741
3742 fi
3743 if test "${ac_cv_path_install+set}" = set; then
3744 INSTALL=$ac_cv_path_install
3745 else
3746 # As a last resort, use the slow shell script. Don't cache a
3747 # value for INSTALL within a source directory, because that will
3748 # break other packages using the cache if that directory is
3749 # removed, or if the value is a relative name.
3750 INSTALL=$ac_install_sh
3751 fi
3752 fi
3753 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3754 echo "${ECHO_T}$INSTALL" >&6; }
3755
3756 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3757 # It thinks the first close brace ends the variable substitution.
3758 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3759
3760 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3761
3762 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3763
3764 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3765 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4240
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4242 $as_echo_n "checking whether ln -s works... " >&6; }
37664243 LN_S=$as_ln_s
37674244 if test "$LN_S" = "ln -s"; then
3768 { echo "$as_me:$LINENO: result: yes" >&5
3769 echo "${ECHO_T}yes" >&6; }
3770 else
3771 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3772 echo "${ECHO_T}no, using $LN_S" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4246 $as_echo "yes" >&6; }
4247 else
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4249 $as_echo "no, using $LN_S" >&6; }
37734250 fi
37744251
37754252 # Check whether --enable-shared was given.
3776 if test "${enable_shared+set}" = set; then
4253 if test "${enable_shared+set}" = set; then :
37774254 enableval=$enable_shared; p=${PACKAGE-default}
37784255 case $enableval in
37794256 yes) enable_shared=yes ;;
37974274
37984275
37994276 # Check whether --enable-static was given.
3800 if test "${enable_static+set}" = set; then
4277 if test "${enable_static+set}" = set; then :
38014278 enableval=$enable_static; p=${PACKAGE-default}
38024279 case $enableval in
38034280 yes) enable_static=yes ;;
38214298
38224299
38234300 # Check whether --enable-fast-install was given.
3824 if test "${enable_fast_install+set}" = set; then
4301 if test "${enable_fast_install+set}" = set; then :
38254302 enableval=$enable_fast_install; p=${PACKAGE-default}
38264303 case $enableval in
38274304 yes) enable_fast_install=yes ;;
38444321 fi
38454322
38464323
3847 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3848 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3849 if test "${lt_cv_path_SED+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4325 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4326 if ${lt_cv_path_SED+:} false; then :
4327 $as_echo_n "(cached) " >&6
38514328 else
38524329 # Loop through the user's path and test for sed and gsed.
38534330 # Then use that list of sed's as ones to test for truncation.
38584335 test -z "$as_dir" && as_dir=.
38594336 for lt_ac_prog in sed gsed; do
38604337 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4338 if as_fn_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
38624339 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
38634340 fi
38644341 done
39004377
39014378 SED=$lt_cv_path_SED
39024379
3903 { echo "$as_me:$LINENO: result: $SED" >&5
3904 echo "${ECHO_T}$SED" >&6; }
3905
3906 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3907 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3908 if test "${ac_cv_path_GREP+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911 # Extract the first word of "grep ggrep" to use in msg output
3912 if test -z "$GREP"; then
3913 set dummy grep ggrep; ac_prog_name=$2
3914 if test "${ac_cv_path_GREP+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 else
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4381 $as_echo "$SED" >&6; }
4382
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4384 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4385 if ${ac_cv_path_GREP+:} false; then :
4386 $as_echo_n "(cached) " >&6
4387 else
4388 if test -z "$GREP"; then
39174389 ac_path_GREP_found=false
3918 # Loop through the user's path and test for each of PROGNAME-LIST
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 # Loop through the user's path and test for each of PROGNAME-LIST
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39204392 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
39214393 do
39224394 IFS=$as_save_IFS
39234395 test -z "$as_dir" && as_dir=.
3924 for ac_prog in grep ggrep; do
3925 for ac_exec_ext in '' $ac_executable_extensions; do
3926 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3927 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3928 # Check for GNU ac_path_GREP and select it if it is found.
4396 for ac_prog in grep ggrep; do
4397 for ac_exec_ext in '' $ac_executable_extensions; do
4398 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4399 as_fn_executable_p "$ac_path_GREP" || continue
4400 # Check for GNU ac_path_GREP and select it if it is found.
39294401 # Check for GNU $ac_path_GREP
39304402 case `"$ac_path_GREP" --version 2>&1` in
39314403 *GNU*)
39324404 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
39334405 *)
39344406 ac_count=0
3935 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4407 $as_echo_n 0123456789 >"conftest.in"
39364408 while :
39374409 do
39384410 cat "conftest.in" "conftest.in" >"conftest.tmp"
39394411 mv "conftest.tmp" "conftest.in"
39404412 cp "conftest.in" "conftest.nl"
3941 echo 'GREP' >> "conftest.nl"
4413 $as_echo 'GREP' >> "conftest.nl"
39424414 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
39434415 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3944 ac_count=`expr $ac_count + 1`
4416 as_fn_arith $ac_count + 1 && ac_count=$as_val
39454417 if test $ac_count -gt ${ac_path_GREP_max-0}; then
39464418 # Best one so far, save it but keep looking for a better one
39474419 ac_cv_path_GREP="$ac_path_GREP"
39534425 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
39544426 esac
39554427
3956
3957 $ac_path_GREP_found && break 3
4428 $ac_path_GREP_found && break 3
4429 done
39584430 done
3959 done
3960
3961 done
4431 done
39624432 IFS=$as_save_IFS
3963
3964
3965 fi
3966
3967 GREP="$ac_cv_path_GREP"
3968 if test -z "$GREP"; then
3969 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3970 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3971 { (exit 1); exit 1; }; }
3972 fi
3973
4433 if test -z "$ac_cv_path_GREP"; then
4434 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4435 fi
39744436 else
39754437 ac_cv_path_GREP=$GREP
39764438 fi
39774439
3978
3979 fi
3980 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3981 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4440 fi
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4442 $as_echo "$ac_cv_path_GREP" >&6; }
39824443 GREP="$ac_cv_path_GREP"
39834444
39844445
3985 { echo "$as_me:$LINENO: checking for egrep" >&5
3986 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3987 if test "${ac_cv_path_EGREP+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4447 $as_echo_n "checking for egrep... " >&6; }
4448 if ${ac_cv_path_EGREP+:} false; then :
4449 $as_echo_n "(cached) " >&6
39894450 else
39904451 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
39914452 then ac_cv_path_EGREP="$GREP -E"
39924453 else
3993 # Extract the first word of "egrep" to use in msg output
3994 if test -z "$EGREP"; then
3995 set dummy egrep; ac_prog_name=$2
3996 if test "${ac_cv_path_EGREP+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 else
4454 if test -z "$EGREP"; then
39994455 ac_path_EGREP_found=false
4000 # Loop through the user's path and test for each of PROGNAME-LIST
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 # Loop through the user's path and test for each of PROGNAME-LIST
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40024458 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
40034459 do
40044460 IFS=$as_save_IFS
40054461 test -z "$as_dir" && as_dir=.
4006 for ac_prog in egrep; do
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4009 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4010 # Check for GNU ac_path_EGREP and select it if it is found.
4462 for ac_prog in egrep; do
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4465 as_fn_executable_p "$ac_path_EGREP" || continue
4466 # Check for GNU ac_path_EGREP and select it if it is found.
40114467 # Check for GNU $ac_path_EGREP
40124468 case `"$ac_path_EGREP" --version 2>&1` in
40134469 *GNU*)
40144470 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
40154471 *)
40164472 ac_count=0
4017 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4473 $as_echo_n 0123456789 >"conftest.in"
40184474 while :
40194475 do
40204476 cat "conftest.in" "conftest.in" >"conftest.tmp"
40214477 mv "conftest.tmp" "conftest.in"
40224478 cp "conftest.in" "conftest.nl"
4023 echo 'EGREP' >> "conftest.nl"
4479 $as_echo 'EGREP' >> "conftest.nl"
40244480 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
40254481 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4026 ac_count=`expr $ac_count + 1`
4482 as_fn_arith $ac_count + 1 && ac_count=$as_val
40274483 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
40284484 # Best one so far, save it but keep looking for a better one
40294485 ac_cv_path_EGREP="$ac_path_EGREP"
40354491 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
40364492 esac
40374493
4038
4039 $ac_path_EGREP_found && break 3
4494 $ac_path_EGREP_found && break 3
4495 done
40404496 done
4041 done
4042
4043 done
4497 done
40444498 IFS=$as_save_IFS
4045
4046
4047 fi
4048
4049 EGREP="$ac_cv_path_EGREP"
4050 if test -z "$EGREP"; then
4051 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4052 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4053 { (exit 1); exit 1; }; }
4054 fi
4055
4499 if test -z "$ac_cv_path_EGREP"; then
4500 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4501 fi
40564502 else
40574503 ac_cv_path_EGREP=$EGREP
40584504 fi
40594505
4060
40614506 fi
40624507 fi
4063 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4064 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4509 $as_echo "$ac_cv_path_EGREP" >&6; }
40654510 EGREP="$ac_cv_path_EGREP"
40664511
40674512
40684513
40694514 # Check whether --with-gnu-ld was given.
4070 if test "${with_gnu_ld+set}" = set; then
4515 if test "${with_gnu_ld+set}" = set; then :
40714516 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
40724517 else
40734518 with_gnu_ld=no
40764521 ac_prog=ld
40774522 if test "$GCC" = yes; then
40784523 # Check if gcc -print-prog-name=ld gives a path.
4079 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4080 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4525 $as_echo_n "checking for ld used by $CC... " >&6; }
40814526 case $host in
40824527 *-*-mingw*)
40834528 # gcc leaves a trailing carriage return which upsets mingw
41064551 ;;
41074552 esac
41084553 elif test "$with_gnu_ld" = yes; then
4109 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4110 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4111 else
4112 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4113 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4114 fi
4115 if test "${lt_cv_path_LD+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4555 $as_echo_n "checking for GNU ld... " >&6; }
4556 else
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4558 $as_echo_n "checking for non-GNU ld... " >&6; }
4559 fi
4560 if ${lt_cv_path_LD+:} false; then :
4561 $as_echo_n "(cached) " >&6
41174562 else
41184563 if test -z "$LD"; then
41194564 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
41434588
41444589 LD="$lt_cv_path_LD"
41454590 if test -n "$LD"; then
4146 { echo "$as_me:$LINENO: result: $LD" >&5
4147 echo "${ECHO_T}$LD" >&6; }
4148 else
4149 { echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6; }
4151 fi
4152 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4153 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4154 { (exit 1); exit 1; }; }
4155 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4156 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4157 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4592 $as_echo "$LD" >&6; }
4593 else
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4596 fi
4597 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4599 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4600 if ${lt_cv_prog_gnu_ld+:} false; then :
4601 $as_echo_n "(cached) " >&6
41594602 else
41604603 # I'd rather use --version here, but apparently some GNU lds only accept -v.
41614604 case `$LD -v 2>&1 </dev/null` in
41674610 ;;
41684611 esac
41694612 fi
4170 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4171 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4614 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
41724615 with_gnu_ld=$lt_cv_prog_gnu_ld
41734616
41744617
4175 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4176 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4177 if test "${lt_cv_ld_reload_flag+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4619 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4620 if ${lt_cv_ld_reload_flag+:} false; then :
4621 $as_echo_n "(cached) " >&6
41794622 else
41804623 lt_cv_ld_reload_flag='-r'
41814624 fi
4182 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4183 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4626 $as_echo "$lt_cv_ld_reload_flag" >&6; }
41844627 reload_flag=$lt_cv_ld_reload_flag
41854628 case $reload_flag in
41864629 "" | " "*) ;;
41974640 ;;
41984641 esac
41994642
4200 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4201 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4202 if test "${lt_cv_path_NM+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
4644 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4645 if ${lt_cv_path_NM+:} false; then :
4646 $as_echo_n "(cached) " >&6
42044647 else
42054648 if test -n "$NM"; then
42064649 # Let the user override the test.
42464689 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
42474690 fi
42484691 fi
4249 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4250 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4693 $as_echo "$lt_cv_path_NM" >&6; }
42514694 NM="$lt_cv_path_NM"
42524695
4253 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4254 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4255 if test "${lt_cv_deplibs_check_method+set}" = set; then
4256 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4697 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4698 if ${lt_cv_deplibs_check_method+:} false; then :
4699 $as_echo_n "(cached) " >&6
42574700 else
42584701 lt_cv_file_magic_cmd='$MAGIC_CMD'
42594702 lt_cv_file_magic_test_file=
44364879 esac
44374880
44384881 fi
4439 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4440 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4883 $as_echo "$lt_cv_deplibs_check_method" >&6; }
44414884 file_magic_cmd=$lt_cv_file_magic_cmd
44424885 deplibs_check_method=$lt_cv_deplibs_check_method
44434886 test -z "$deplibs_check_method" && deplibs_check_method=unknown
44564899
44574900
44584901 # Check whether --enable-libtool-lock was given.
4459 if test "${enable_libtool_lock+set}" = set; then
4902 if test "${enable_libtool_lock+set}" = set; then :
44604903 enableval=$enable_libtool_lock;
44614904 fi
44624905
44684911 ia64-*-hpux*)
44694912 # Find out which ABI we are using.
44704913 echo 'int i;' > conftest.$ac_ext
4471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
44724915 (eval $ac_compile) 2>&5
44734916 ac_status=$?
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; then
4917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4918 test $ac_status = 0; }; then
44764919 case `/usr/bin/file conftest.$ac_objext` in
44774920 *ELF-32*)
44784921 HPUX_IA64_MODE="32"
44864929 ;;
44874930 *-*-irix6*)
44884931 # Find out which ABI we are using.
4489 echo '#line 4490 "configure"' > conftest.$ac_ext
4490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4932 echo '#line 4933 "configure"' > conftest.$ac_ext
4933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
44914934 (eval $ac_compile) 2>&5
44924935 ac_status=$?
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); }; then
4936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4937 test $ac_status = 0; }; then
44954938 if test "$lt_cv_prog_gnu_ld" = yes; then
44964939 case `/usr/bin/file conftest.$ac_objext` in
44974940 *32-bit*)
45254968 s390*-*linux*|sparc*-*linux*)
45264969 # Find out which ABI we are using.
45274970 echo 'int i;' > conftest.$ac_ext
4528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
45294972 (eval $ac_compile) 2>&5
45304973 ac_status=$?
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }; then
4974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4975 test $ac_status = 0; }; then
45334976 case `/usr/bin/file conftest.o` in
45344977 *32-bit*)
45354978 case $host in
45785021 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
45795022 SAVE_CFLAGS="$CFLAGS"
45805023 CFLAGS="$CFLAGS -belf"
4581 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4582 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4583 if test "${lt_cv_cc_needs_belf+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5025 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5026 if ${lt_cv_cc_needs_belf+:} false; then :
5027 $as_echo_n "(cached) " >&6
45855028 else
45865029 ac_ext=c
45875030 ac_cpp='$CPP $CPPFLAGS'
45895032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45905033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45915034
4592 cat >conftest.$ac_ext <<_ACEOF
4593 /* confdefs.h. */
4594 _ACEOF
4595 cat confdefs.h >>conftest.$ac_ext
4596 cat >>conftest.$ac_ext <<_ACEOF
5035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975036 /* end confdefs.h. */
45985037
45995038 int
46045043 return 0;
46055044 }
46065045 _ACEOF
4607 rm -f conftest.$ac_objext conftest$ac_exeext
4608 if { (ac_try="$ac_link"
4609 case "(($ac_try" in
4610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4611 *) ac_try_echo=$ac_try;;
4612 esac
4613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4614 (eval "$ac_link") 2>conftest.er1
4615 ac_status=$?
4616 grep -v '^ *+' conftest.er1 >conftest.err
4617 rm -f conftest.er1
4618 cat conftest.err >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); } && {
4621 test -z "$ac_c_werror_flag" ||
4622 test ! -s conftest.err
4623 } && test -s conftest$ac_exeext &&
4624 $as_test_x conftest$ac_exeext; then
5046 if ac_fn_c_try_link "$LINENO"; then :
46255047 lt_cv_cc_needs_belf=yes
46265048 else
4627 echo "$as_me: failed program was:" >&5
4628 sed 's/^/| /' conftest.$ac_ext >&5
4629
4630 lt_cv_cc_needs_belf=no
4631 fi
4632
4633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4634 conftest$ac_exeext conftest.$ac_ext
5049 lt_cv_cc_needs_belf=no
5050 fi
5051 rm -f core conftest.err conftest.$ac_objext \
5052 conftest$ac_exeext conftest.$ac_ext
46355053 ac_ext=c
46365054 ac_cpp='$CPP $CPPFLAGS'
46375055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46395057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46405058
46415059 fi
4642 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4643 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5061 $as_echo "$lt_cv_cc_needs_belf" >&6; }
46445062 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
46455063 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
46465064 CFLAGS="$SAVE_CFLAGS"
46495067 sparc*-*solaris*)
46505068 # Find out which ABI we are using.
46515069 echo 'int i;' > conftest.$ac_ext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
46535071 (eval $ac_compile) 2>&5
46545072 ac_status=$?
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; then
5073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5074 test $ac_status = 0; }; then
46575075 case `/usr/bin/file conftest.o` in
46585076 *64-bit*)
46595077 case $lt_cv_prog_gnu_ld in
46775095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
46825100 # On Suns, sometimes $CPP names a directory.
46835101 if test -n "$CPP" && test -d "$CPP"; then
46845102 CPP=
46855103 fi
46865104 if test -z "$CPP"; then
4687 if test "${ac_cv_prog_CPP+set}" = set; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if ${ac_cv_prog_CPP+:} false; then :
5106 $as_echo_n "(cached) " >&6
46895107 else
46905108 # Double quotes because CPP needs to be expanded
46915109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
46995117 # <limits.h> exists even on freestanding compilers.
47005118 # On the NeXT, cc -E runs the code through the compiler's parser,
47015119 # not just through cpp. "Syntax error" is here to catch this case.
4702 cat >conftest.$ac_ext <<_ACEOF
4703 /* confdefs.h. */
4704 _ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47075121 /* end confdefs.h. */
47085122 #ifdef __STDC__
47095123 # include <limits.h>
47125126 #endif
47135127 Syntax error
47145128 _ACEOF
4715 if { (ac_try="$ac_cpp conftest.$ac_ext"
4716 case "(($ac_try" in
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4719 esac
4720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4722 ac_status=$?
4723 grep -v '^ *+' conftest.er1 >conftest.err
4724 rm -f conftest.er1
4725 cat conftest.err >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } >/dev/null && {
4728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4729 test ! -s conftest.err
4730 }; then
4731 :
4732 else
4733 echo "$as_me: failed program was:" >&5
4734 sed 's/^/| /' conftest.$ac_ext >&5
4735
5129 if ac_fn_c_try_cpp "$LINENO"; then :
5130
5131 else
47365132 # Broken: fails on valid input.
47375133 continue
47385134 fi
4739
4740 rm -f conftest.err conftest.$ac_ext
5135 rm -f conftest.err conftest.i conftest.$ac_ext
47415136
47425137 # OK, works on sane cases. Now check whether nonexistent headers
47435138 # can be detected and how.
4744 cat >conftest.$ac_ext <<_ACEOF
4745 /* confdefs.h. */
4746 _ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
5139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47495140 /* end confdefs.h. */
47505141 #include <ac_nonexistent.h>
47515142 _ACEOF
4752 if { (ac_try="$ac_cpp conftest.$ac_ext"
4753 case "(($ac_try" in
4754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755 *) ac_try_echo=$ac_try;;
4756 esac
4757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4759 ac_status=$?
4760 grep -v '^ *+' conftest.er1 >conftest.err
4761 rm -f conftest.er1
4762 cat conftest.err >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } >/dev/null && {
4765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4766 test ! -s conftest.err
4767 }; then
5143 if ac_fn_c_try_cpp "$LINENO"; then :
47685144 # Broken: success on invalid input.
47695145 continue
47705146 else
4771 echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.$ac_ext >&5
4773
47745147 # Passes both tests.
47755148 ac_preproc_ok=:
47765149 break
47775150 fi
4778
4779 rm -f conftest.err conftest.$ac_ext
5151 rm -f conftest.err conftest.i conftest.$ac_ext
47805152
47815153 done
47825154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4783 rm -f conftest.err conftest.$ac_ext
4784 if $ac_preproc_ok; then
5155 rm -f conftest.i conftest.err conftest.$ac_ext
5156 if $ac_preproc_ok; then :
47855157 break
47865158 fi
47875159
47935165 else
47945166 ac_cv_prog_CPP=$CPP
47955167 fi
4796 { echo "$as_me:$LINENO: result: $CPP" >&5
4797 echo "${ECHO_T}$CPP" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5169 $as_echo "$CPP" >&6; }
47985170 ac_preproc_ok=false
47995171 for ac_c_preproc_warn_flag in '' yes
48005172 do
48045176 # <limits.h> exists even on freestanding compilers.
48055177 # On the NeXT, cc -E runs the code through the compiler's parser,
48065178 # not just through cpp. "Syntax error" is here to catch this case.
4807 cat >conftest.$ac_ext <<_ACEOF
4808 /* confdefs.h. */
4809 _ACEOF
4810 cat confdefs.h >>conftest.$ac_ext
4811 cat >>conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48125180 /* end confdefs.h. */
48135181 #ifdef __STDC__
48145182 # include <limits.h>
48175185 #endif
48185186 Syntax error
48195187 _ACEOF
4820 if { (ac_try="$ac_cpp conftest.$ac_ext"
4821 case "(($ac_try" in
4822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4824 esac
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4827 ac_status=$?
4828 grep -v '^ *+' conftest.er1 >conftest.err
4829 rm -f conftest.er1
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } >/dev/null && {
4833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4834 test ! -s conftest.err
4835 }; then
4836 :
4837 else
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.$ac_ext >&5
4840
5188 if ac_fn_c_try_cpp "$LINENO"; then :
5189
5190 else
48415191 # Broken: fails on valid input.
48425192 continue
48435193 fi
4844
4845 rm -f conftest.err conftest.$ac_ext
5194 rm -f conftest.err conftest.i conftest.$ac_ext
48465195
48475196 # OK, works on sane cases. Now check whether nonexistent headers
48485197 # can be detected and how.
4849 cat >conftest.$ac_ext <<_ACEOF
4850 /* confdefs.h. */
4851 _ACEOF
4852 cat confdefs.h >>conftest.$ac_ext
4853 cat >>conftest.$ac_ext <<_ACEOF
5198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48545199 /* end confdefs.h. */
48555200 #include <ac_nonexistent.h>
48565201 _ACEOF
4857 if { (ac_try="$ac_cpp conftest.$ac_ext"
4858 case "(($ac_try" in
4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860 *) ac_try_echo=$ac_try;;
4861 esac
4862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4864 ac_status=$?
4865 grep -v '^ *+' conftest.er1 >conftest.err
4866 rm -f conftest.er1
4867 cat conftest.err >&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } >/dev/null && {
4870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4871 test ! -s conftest.err
4872 }; then
5202 if ac_fn_c_try_cpp "$LINENO"; then :
48735203 # Broken: success on invalid input.
48745204 continue
48755205 else
4876 echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.$ac_ext >&5
4878
48795206 # Passes both tests.
48805207 ac_preproc_ok=:
48815208 break
48825209 fi
4883
4884 rm -f conftest.err conftest.$ac_ext
5210 rm -f conftest.err conftest.i conftest.$ac_ext
48855211
48865212 done
48875213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4888 rm -f conftest.err conftest.$ac_ext
4889 if $ac_preproc_ok; then
4890 :
4891 else
4892 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4893 See \`config.log' for more details." >&5
4894 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4895 See \`config.log' for more details." >&2;}
4896 { (exit 1); exit 1; }; }
5214 rm -f conftest.i conftest.err conftest.$ac_ext
5215 if $ac_preproc_ok; then :
5216
5217 else
5218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5221 See \`config.log' for more details" "$LINENO" 5; }
48975222 fi
48985223
48995224 ac_ext=c
49035228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49045229
49055230
4906 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4907 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4908 if test "${ac_cv_header_stdc+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 else
4911 cat >conftest.$ac_ext <<_ACEOF
4912 /* confdefs.h. */
4913 _ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5232 $as_echo_n "checking for ANSI C header files... " >&6; }
5233 if ${ac_cv_header_stdc+:} false; then :
5234 $as_echo_n "(cached) " >&6
5235 else
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165237 /* end confdefs.h. */
49175238 #include <stdlib.h>
49185239 #include <stdarg.h>
49275248 return 0;
49285249 }
49295250 _ACEOF
4930 rm -f conftest.$ac_objext
4931 if { (ac_try="$ac_compile"
4932 case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4935 esac
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_compile") 2>conftest.er1
4938 ac_status=$?
4939 grep -v '^ *+' conftest.er1 >conftest.err
4940 rm -f conftest.er1
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && {
4944 test -z "$ac_c_werror_flag" ||
4945 test ! -s conftest.err
4946 } && test -s conftest.$ac_objext; then
5251 if ac_fn_c_try_compile "$LINENO"; then :
49475252 ac_cv_header_stdc=yes
49485253 else
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4951
4952 ac_cv_header_stdc=no
4953 fi
4954
5254 ac_cv_header_stdc=no
5255 fi
49555256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49565257
49575258 if test $ac_cv_header_stdc = yes; then
49585259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4959 cat >conftest.$ac_ext <<_ACEOF
4960 /* confdefs.h. */
4961 _ACEOF
4962 cat confdefs.h >>conftest.$ac_ext
4963 cat >>conftest.$ac_ext <<_ACEOF
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49645261 /* end confdefs.h. */
49655262 #include <string.h>
49665263
49675264 _ACEOF
49685265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4969 $EGREP "memchr" >/dev/null 2>&1; then
4970 :
5266 $EGREP "memchr" >/dev/null 2>&1; then :
5267
49715268 else
49725269 ac_cv_header_stdc=no
49735270 fi
49775274
49785275 if test $ac_cv_header_stdc = yes; then
49795276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4980 cat >conftest.$ac_ext <<_ACEOF
4981 /* confdefs.h. */
4982 _ACEOF
4983 cat confdefs.h >>conftest.$ac_ext
4984 cat >>conftest.$ac_ext <<_ACEOF
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49855278 /* end confdefs.h. */
49865279 #include <stdlib.h>
49875280
49885281 _ACEOF
49895282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4990 $EGREP "free" >/dev/null 2>&1; then
4991 :
5283 $EGREP "free" >/dev/null 2>&1; then :
5284
49925285 else
49935286 ac_cv_header_stdc=no
49945287 fi
49985291
49995292 if test $ac_cv_header_stdc = yes; then
50005293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5001 if test "$cross_compiling" = yes; then
5294 if test "$cross_compiling" = yes; then :
50025295 :
50035296 else
5004 cat >conftest.$ac_ext <<_ACEOF
5005 /* confdefs.h. */
5006 _ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50095298 /* end confdefs.h. */
50105299 #include <ctype.h>
50115300 #include <stdlib.h>
50325321 return 0;
50335322 }
50345323 _ACEOF
5035 rm -f conftest$ac_exeext
5036 if { (ac_try="$ac_link"
5037 case "(($ac_try" in
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5040 esac
5041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5042 (eval "$ac_link") 2>&5
5043 ac_status=$?
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5046 { (case "(($ac_try" in
5047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5048 *) ac_try_echo=$ac_try;;
5049 esac
5050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5051 (eval "$ac_try") 2>&5
5052 ac_status=$?
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); }; }; then
5055 :
5056 else
5057 echo "$as_me: program exited with status $ac_status" >&5
5058 echo "$as_me: failed program was:" >&5
5059 sed 's/^/| /' conftest.$ac_ext >&5
5060
5061 ( exit $ac_status )
5062 ac_cv_header_stdc=no
5063 fi
5064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5065 fi
5066
5067
5068 fi
5069 fi
5070 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5071 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5324 if ac_fn_c_try_run "$LINENO"; then :
5325
5326 else
5327 ac_cv_header_stdc=no
5328 fi
5329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5330 conftest.$ac_objext conftest.beam conftest.$ac_ext
5331 fi
5332
5333 fi
5334 fi
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5336 $as_echo "$ac_cv_header_stdc" >&6; }
50725337 if test $ac_cv_header_stdc = yes; then
50735338
5074 cat >>confdefs.h <<\_ACEOF
5075 #define STDC_HEADERS 1
5076 _ACEOF
5339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
50775340
50785341 fi
50795342
50805343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5081
5082
5083
5084
5085
5086
5087
5088
5089
50905344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
50915345 inttypes.h stdint.h unistd.h
5092 do
5093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 else
5099 cat >conftest.$ac_ext <<_ACEOF
5100 /* confdefs.h. */
5346 do :
5347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5349 "
5350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5351 cat >>confdefs.h <<_ACEOF
5352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
51015353 _ACEOF
5102 cat confdefs.h >>conftest.$ac_ext
5103 cat >>conftest.$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5105 $ac_includes_default
5106
5107 #include <$ac_header>
5108 _ACEOF
5109 rm -f conftest.$ac_objext
5110 if { (ac_try="$ac_compile"
5111 case "(($ac_try" in
5112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5113 *) ac_try_echo=$ac_try;;
5114 esac
5115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5116 (eval "$ac_compile") 2>conftest.er1
5117 ac_status=$?
5118 grep -v '^ *+' conftest.er1 >conftest.err
5119 rm -f conftest.er1
5120 cat conftest.err >&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); } && {
5123 test -z "$ac_c_werror_flag" ||
5124 test ! -s conftest.err
5125 } && test -s conftest.$ac_objext; then
5126 eval "$as_ac_Header=yes"
5127 else
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5130
5131 eval "$as_ac_Header=no"
5132 fi
5133
5134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5135 fi
5136 ac_res=`eval echo '${'$as_ac_Header'}'`
5137 { echo "$as_me:$LINENO: result: $ac_res" >&5
5138 echo "${ECHO_T}$ac_res" >&6; }
5139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5354
5355 fi
5356
5357 done
5358
5359
5360 for ac_header in dlfcn.h
5361 do :
5362 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5363 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
51405364 cat >>confdefs.h <<_ACEOF
5141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5142 _ACEOF
5143
5144 fi
5145
5146 done
5147
5148
5149
5150 for ac_header in dlfcn.h
5151 do
5152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 fi
5159 ac_res=`eval echo '${'$as_ac_Header'}'`
5160 { echo "$as_me:$LINENO: result: $ac_res" >&5
5161 echo "${ECHO_T}$ac_res" >&6; }
5162 else
5163 # Is the header compilable?
5164 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5166 cat >conftest.$ac_ext <<_ACEOF
5167 /* confdefs.h. */
5168 _ACEOF
5169 cat confdefs.h >>conftest.$ac_ext
5170 cat >>conftest.$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5172 $ac_includes_default
5173 #include <$ac_header>
5174 _ACEOF
5175 rm -f conftest.$ac_objext
5176 if { (ac_try="$ac_compile"
5177 case "(($ac_try" in
5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5180 esac
5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5182 (eval "$ac_compile") 2>conftest.er1
5183 ac_status=$?
5184 grep -v '^ *+' conftest.er1 >conftest.err
5185 rm -f conftest.er1
5186 cat conftest.err >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } && {
5189 test -z "$ac_c_werror_flag" ||
5190 test ! -s conftest.err
5191 } && test -s conftest.$ac_objext; then
5192 ac_header_compiler=yes
5193 else
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5196
5197 ac_header_compiler=no
5198 fi
5199
5200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5201 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5202 echo "${ECHO_T}$ac_header_compiler" >&6; }
5203
5204 # Is the header present?
5205 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5207 cat >conftest.$ac_ext <<_ACEOF
5208 /* confdefs.h. */
5209 _ACEOF
5210 cat confdefs.h >>conftest.$ac_ext
5211 cat >>conftest.$ac_ext <<_ACEOF
5212 /* end confdefs.h. */
5213 #include <$ac_header>
5214 _ACEOF
5215 if { (ac_try="$ac_cpp conftest.$ac_ext"
5216 case "(($ac_try" in
5217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5218 *) ac_try_echo=$ac_try;;
5219 esac
5220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5222 ac_status=$?
5223 grep -v '^ *+' conftest.er1 >conftest.err
5224 rm -f conftest.er1
5225 cat conftest.err >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } >/dev/null && {
5228 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5229 test ! -s conftest.err
5230 }; then
5231 ac_header_preproc=yes
5232 else
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5235
5236 ac_header_preproc=no
5237 fi
5238
5239 rm -f conftest.err conftest.$ac_ext
5240 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5241 echo "${ECHO_T}$ac_header_preproc" >&6; }
5242
5243 # So? What about this header?
5244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5245 yes:no: )
5246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5250 ac_header_preproc=yes
5251 ;;
5252 no:yes:* )
5253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5265
5266 ;;
5267 esac
5268 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5270 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5272 else
5273 eval "$as_ac_Header=\$ac_header_preproc"
5274 fi
5275 ac_res=`eval echo '${'$as_ac_Header'}'`
5276 { echo "$as_me:$LINENO: result: $ac_res" >&5
5277 echo "${ECHO_T}$ac_res" >&6; }
5278
5279 fi
5280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5281 cat >>confdefs.h <<_ACEOF
5282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5365 #define HAVE_DLFCN_H 1
52835366 _ACEOF
52845367
52855368 fi
53005383 do
53015384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
53025385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5305 if test "${ac_cv_prog_CXX+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387 $as_echo_n "checking for $ac_word... " >&6; }
5388 if ${ac_cv_prog_CXX+:} false; then :
5389 $as_echo_n "(cached) " >&6
53075390 else
53085391 if test -n "$CXX"; then
53095392 ac_cv_prog_CXX="$CXX" # Let the user override the test.
53135396 do
53145397 IFS=$as_save_IFS
53155398 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 for ac_exec_ext in '' $ac_executable_extensions; do
5400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53185401 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
53205403 break 2
53215404 fi
53225405 done
5323 done
5406 done
53245407 IFS=$as_save_IFS
53255408
53265409 fi
53275410 fi
53285411 CXX=$ac_cv_prog_CXX
53295412 if test -n "$CXX"; then
5330 { echo "$as_me:$LINENO: result: $CXX" >&5
5331 echo "${ECHO_T}$CXX" >&6; }
5332 else
5333 { echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5414 $as_echo "$CXX" >&6; }
5415 else
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
53355418 fi
53365419
53375420
53445427 do
53455428 # Extract the first word of "$ac_prog", so it can be a program name with args.
53465429 set dummy $ac_prog; ac_word=$2
5347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5349 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5433 $as_echo_n "(cached) " >&6
53515434 else
53525435 if test -n "$ac_ct_CXX"; then
53535436 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
53575440 do
53585441 IFS=$as_save_IFS
53595442 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53625445 ac_cv_prog_ac_ct_CXX="$ac_prog"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
53645447 break 2
53655448 fi
53665449 done
5367 done
5450 done
53685451 IFS=$as_save_IFS
53695452
53705453 fi
53715454 fi
53725455 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
53735456 if test -n "$ac_ct_CXX"; then
5374 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5375 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5376 else
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5458 $as_echo "$ac_ct_CXX" >&6; }
5459 else
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
53795462 fi
53805463
53815464
53875470 else
53885471 case $cross_compiling:$ac_tool_warned in
53895472 yes:)
5390 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5391 whose name does not start with the host triplet. If you think this
5392 configuration is useful to you, please write to autoconf@gnu.org." >&5
5393 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5394 whose name does not start with the host triplet. If you think this
5395 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
53965475 ac_tool_warned=yes ;;
53975476 esac
53985477 CXX=$ac_ct_CXX
54025481 fi
54035482 fi
54045483 # Provide some information about the compiler.
5405 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5406 ac_compiler=`set X $ac_compile; echo $2`
5407 { (ac_try="$ac_compiler --version >&5"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5485 set X $ac_compile
5486 ac_compiler=$2
5487 for ac_option in --version -v -V -qversion; do
5488 { { ac_try="$ac_compiler $ac_option >&5"
54085489 case "(($ac_try" in
54095490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54105491 *) ac_try_echo=$ac_try;;
54115492 esac
5412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413 (eval "$ac_compiler --version >&5") 2>&5
5493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5494 $as_echo "$ac_try_echo"; } >&5
5495 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
54145496 ac_status=$?
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }
5417 { (ac_try="$ac_compiler -v >&5"
5418 case "(($ac_try" in
5419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5420 *) ac_try_echo=$ac_try;;
5421 esac
5422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5423 (eval "$ac_compiler -v >&5") 2>&5
5424 ac_status=$?
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); }
5427 { (ac_try="$ac_compiler -V >&5"
5428 case "(($ac_try" in
5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
5431 esac
5432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433 (eval "$ac_compiler -V >&5") 2>&5
5434 ac_status=$?
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); }
5437
5438 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5439 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5440 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5441 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 else
5443 cat >conftest.$ac_ext <<_ACEOF
5444 /* confdefs.h. */
5445 _ACEOF
5446 cat confdefs.h >>conftest.$ac_ext
5447 cat >>conftest.$ac_ext <<_ACEOF
5497 if test -s conftest.err; then
5498 sed '10a\
5499 ... rest of stderr output deleted ...
5500 10q' conftest.err >conftest.er1
5501 cat conftest.er1 >&5
5502 fi
5503 rm -f conftest.er1 conftest.err
5504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5505 test $ac_status = 0; }
5506 done
5507
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5509 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5510 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5511 $as_echo_n "(cached) " >&6
5512 else
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485514 /* end confdefs.h. */
54495515
54505516 int
54585524 return 0;
54595525 }
54605526 _ACEOF
5461 rm -f conftest.$ac_objext
5462 if { (ac_try="$ac_compile"
5463 case "(($ac_try" in
5464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465 *) ac_try_echo=$ac_try;;
5466 esac
5467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5468 (eval "$ac_compile") 2>conftest.er1
5469 ac_status=$?
5470 grep -v '^ *+' conftest.er1 >conftest.err
5471 rm -f conftest.er1
5472 cat conftest.err >&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); } && {
5475 test -z "$ac_cxx_werror_flag" ||
5476 test ! -s conftest.err
5477 } && test -s conftest.$ac_objext; then
5527 if ac_fn_cxx_try_compile "$LINENO"; then :
54785528 ac_compiler_gnu=yes
54795529 else
5480 echo "$as_me: failed program was:" >&5
5481 sed 's/^/| /' conftest.$ac_ext >&5
5482
5483 ac_compiler_gnu=no
5484 fi
5485
5530 ac_compiler_gnu=no
5531 fi
54865532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54875533 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
54885534
54895535 fi
5490 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5491 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5492 GXX=`test $ac_compiler_gnu = yes && echo yes`
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5537 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5538 if test $ac_compiler_gnu = yes; then
5539 GXX=yes
5540 else
5541 GXX=
5542 fi
54935543 ac_test_CXXFLAGS=${CXXFLAGS+set}
54945544 ac_save_CXXFLAGS=$CXXFLAGS
5495 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5496 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5497 if test "${ac_cv_prog_cxx_g+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5546 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5547 if ${ac_cv_prog_cxx_g+:} false; then :
5548 $as_echo_n "(cached) " >&6
54995549 else
55005550 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
55015551 ac_cxx_werror_flag=yes
55025552 ac_cv_prog_cxx_g=no
55035553 CXXFLAGS="-g"
5504 cat >conftest.$ac_ext <<_ACEOF
5505 /* confdefs.h. */
5506 _ACEOF
5507 cat confdefs.h >>conftest.$ac_ext
5508 cat >>conftest.$ac_ext <<_ACEOF
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55095555 /* end confdefs.h. */
55105556
55115557 int
55165562 return 0;
55175563 }
55185564 _ACEOF
5519 rm -f conftest.$ac_objext
5520 if { (ac_try="$ac_compile"
5521 case "(($ac_try" in
5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5524 esac
5525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5526 (eval "$ac_compile") 2>conftest.er1
5527 ac_status=$?
5528 grep -v '^ *+' conftest.er1 >conftest.err
5529 rm -f conftest.er1
5530 cat conftest.err >&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } && {
5533 test -z "$ac_cxx_werror_flag" ||
5534 test ! -s conftest.err
5535 } && test -s conftest.$ac_objext; then
5565 if ac_fn_cxx_try_compile "$LINENO"; then :
55365566 ac_cv_prog_cxx_g=yes
55375567 else
5538 echo "$as_me: failed program was:" >&5
5539 sed 's/^/| /' conftest.$ac_ext >&5
5540
5541 CXXFLAGS=""
5542 cat >conftest.$ac_ext <<_ACEOF
5543 /* confdefs.h. */
5544 _ACEOF
5545 cat confdefs.h >>conftest.$ac_ext
5546 cat >>conftest.$ac_ext <<_ACEOF
5568 CXXFLAGS=""
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55475570 /* end confdefs.h. */
55485571
55495572 int
55545577 return 0;
55555578 }
55565579 _ACEOF
5557 rm -f conftest.$ac_objext
5558 if { (ac_try="$ac_compile"
5559 case "(($ac_try" in
5560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5561 *) ac_try_echo=$ac_try;;
5562 esac
5563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5564 (eval "$ac_compile") 2>conftest.er1
5565 ac_status=$?
5566 grep -v '^ *+' conftest.er1 >conftest.err
5567 rm -f conftest.er1
5568 cat conftest.err >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } && {
5571 test -z "$ac_cxx_werror_flag" ||
5572 test ! -s conftest.err
5573 } && test -s conftest.$ac_objext; then
5574 :
5575 else
5576 echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5578
5579 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5580 if ac_fn_cxx_try_compile "$LINENO"; then :
5581
5582 else
5583 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
55805584 CXXFLAGS="-g"
5581 cat >conftest.$ac_ext <<_ACEOF
5582 /* confdefs.h. */
5583 _ACEOF
5584 cat confdefs.h >>conftest.$ac_ext
5585 cat >>conftest.$ac_ext <<_ACEOF
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55865586 /* end confdefs.h. */
55875587
55885588 int
55935593 return 0;
55945594 }
55955595 _ACEOF
5596 rm -f conftest.$ac_objext
5597 if { (ac_try="$ac_compile"
5598 case "(($ac_try" in
5599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5600 *) ac_try_echo=$ac_try;;
5601 esac
5602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5603 (eval "$ac_compile") 2>conftest.er1
5604 ac_status=$?
5605 grep -v '^ *+' conftest.er1 >conftest.err
5606 rm -f conftest.er1
5607 cat conftest.err >&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } && {
5610 test -z "$ac_cxx_werror_flag" ||
5611 test ! -s conftest.err
5612 } && test -s conftest.$ac_objext; then
5596 if ac_fn_cxx_try_compile "$LINENO"; then :
56135597 ac_cv_prog_cxx_g=yes
5614 else
5615 echo "$as_me: failed program was:" >&5
5616 sed 's/^/| /' conftest.$ac_ext >&5
5617
5618
5619 fi
5620
5598 fi
56215599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56225600 fi
5623
56245601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56255602 fi
5626
56275603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56285604 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
56295605 fi
5630 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5631 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5607 $as_echo "$ac_cv_prog_cxx_g" >&6; }
56325608 if test "$ac_test_CXXFLAGS" = set; then
56335609 CXXFLAGS=$ac_save_CXXFLAGS
56345610 elif test $ac_cv_prog_cxx_g = yes; then
56525628
56535629 depcc="$CXX" am_compiler_list=
56545630
5655 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5656 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5657 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5632 $as_echo_n "checking dependency style of $depcc... " >&6; }
5633 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5634 $as_echo_n "(cached) " >&6
56595635 else
56605636 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
56615637 # We make a subdir and do the tests there. Otherwise we can end up
57425718 fi
57435719
57445720 fi
5745 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5746 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5722 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
57475723 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
57485724
57495725
57695745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57705746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57715747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5772 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5773 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5749 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
57745750 if test -z "$CXXCPP"; then
5775 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 if ${ac_cv_prog_CXXCPP+:} false; then :
5752 $as_echo_n "(cached) " >&6
57775753 else
57785754 # Double quotes because CXXCPP needs to be expanded
57795755 for CXXCPP in "$CXX -E" "/lib/cpp"
57875763 # <limits.h> exists even on freestanding compilers.
57885764 # On the NeXT, cc -E runs the code through the compiler's parser,
57895765 # not just through cpp. "Syntax error" is here to catch this case.
5790 cat >conftest.$ac_ext <<_ACEOF
5791 /* confdefs.h. */
5792 _ACEOF
5793 cat confdefs.h >>conftest.$ac_ext
5794 cat >>conftest.$ac_ext <<_ACEOF
5766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955767 /* end confdefs.h. */
57965768 #ifdef __STDC__
57975769 # include <limits.h>
58005772 #endif
58015773 Syntax error
58025774 _ACEOF
5803 if { (ac_try="$ac_cpp conftest.$ac_ext"
5804 case "(($ac_try" in
5805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5806 *) ac_try_echo=$ac_try;;
5807 esac
5808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5810 ac_status=$?
5811 grep -v '^ *+' conftest.er1 >conftest.err
5812 rm -f conftest.er1
5813 cat conftest.err >&5
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); } >/dev/null && {
5816 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5817 test ! -s conftest.err
5818 }; then
5819 :
5820 else
5821 echo "$as_me: failed program was:" >&5
5822 sed 's/^/| /' conftest.$ac_ext >&5
5823
5775 if ac_fn_cxx_try_cpp "$LINENO"; then :
5776
5777 else
58245778 # Broken: fails on valid input.
58255779 continue
58265780 fi
5827
5828 rm -f conftest.err conftest.$ac_ext
5781 rm -f conftest.err conftest.i conftest.$ac_ext
58295782
58305783 # OK, works on sane cases. Now check whether nonexistent headers
58315784 # can be detected and how.
5832 cat >conftest.$ac_ext <<_ACEOF
5833 /* confdefs.h. */
5834 _ACEOF
5835 cat confdefs.h >>conftest.$ac_ext
5836 cat >>conftest.$ac_ext <<_ACEOF
5785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58375786 /* end confdefs.h. */
58385787 #include <ac_nonexistent.h>
58395788 _ACEOF
5840 if { (ac_try="$ac_cpp conftest.$ac_ext"
5841 case "(($ac_try" in
5842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5843 *) ac_try_echo=$ac_try;;
5844 esac
5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5847 ac_status=$?
5848 grep -v '^ *+' conftest.er1 >conftest.err
5849 rm -f conftest.er1
5850 cat conftest.err >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } >/dev/null && {
5853 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5854 test ! -s conftest.err
5855 }; then
5789 if ac_fn_cxx_try_cpp "$LINENO"; then :
58565790 # Broken: success on invalid input.
58575791 continue
58585792 else
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5861
58625793 # Passes both tests.
58635794 ac_preproc_ok=:
58645795 break
58655796 fi
5866
5867 rm -f conftest.err conftest.$ac_ext
5797 rm -f conftest.err conftest.i conftest.$ac_ext
58685798
58695799 done
58705800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5871 rm -f conftest.err conftest.$ac_ext
5872 if $ac_preproc_ok; then
5801 rm -f conftest.i conftest.err conftest.$ac_ext
5802 if $ac_preproc_ok; then :
58735803 break
58745804 fi
58755805
58815811 else
58825812 ac_cv_prog_CXXCPP=$CXXCPP
58835813 fi
5884 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5885 echo "${ECHO_T}$CXXCPP" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
5815 $as_echo "$CXXCPP" >&6; }
58865816 ac_preproc_ok=false
58875817 for ac_cxx_preproc_warn_flag in '' yes
58885818 do
58925822 # <limits.h> exists even on freestanding compilers.
58935823 # On the NeXT, cc -E runs the code through the compiler's parser,
58945824 # not just through cpp. "Syntax error" is here to catch this case.
5895 cat >conftest.$ac_ext <<_ACEOF
5896 /* confdefs.h. */
5897 _ACEOF
5898 cat confdefs.h >>conftest.$ac_ext
5899 cat >>conftest.$ac_ext <<_ACEOF
5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005826 /* end confdefs.h. */
59015827 #ifdef __STDC__
59025828 # include <limits.h>
59055831 #endif
59065832 Syntax error
59075833 _ACEOF
5908 if { (ac_try="$ac_cpp conftest.$ac_ext"
5909 case "(($ac_try" in
5910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5911 *) ac_try_echo=$ac_try;;
5912 esac
5913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5915 ac_status=$?
5916 grep -v '^ *+' conftest.er1 >conftest.err
5917 rm -f conftest.er1
5918 cat conftest.err >&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); } >/dev/null && {
5921 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5922 test ! -s conftest.err
5923 }; then
5924 :
5925 else
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.$ac_ext >&5
5928
5834 if ac_fn_cxx_try_cpp "$LINENO"; then :
5835
5836 else
59295837 # Broken: fails on valid input.
59305838 continue
59315839 fi
5932
5933 rm -f conftest.err conftest.$ac_ext
5840 rm -f conftest.err conftest.i conftest.$ac_ext
59345841
59355842 # OK, works on sane cases. Now check whether nonexistent headers
59365843 # can be detected and how.
5937 cat >conftest.$ac_ext <<_ACEOF
5938 /* confdefs.h. */
5939 _ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59425845 /* end confdefs.h. */
59435846 #include <ac_nonexistent.h>
59445847 _ACEOF
5945 if { (ac_try="$ac_cpp conftest.$ac_ext"
5946 case "(($ac_try" in
5947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5948 *) ac_try_echo=$ac_try;;
5949 esac
5950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5952 ac_status=$?
5953 grep -v '^ *+' conftest.er1 >conftest.err
5954 rm -f conftest.er1
5955 cat conftest.err >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } >/dev/null && {
5958 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5959 test ! -s conftest.err
5960 }; then
5848 if ac_fn_cxx_try_cpp "$LINENO"; then :
59615849 # Broken: success on invalid input.
59625850 continue
59635851 else
5964 echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.$ac_ext >&5
5966
59675852 # Passes both tests.
59685853 ac_preproc_ok=:
59695854 break
59705855 fi
5971
5972 rm -f conftest.err conftest.$ac_ext
5856 rm -f conftest.err conftest.i conftest.$ac_ext
59735857
59745858 done
59755859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5976 rm -f conftest.err conftest.$ac_ext
5977 if $ac_preproc_ok; then
5978 :
5979 else
5980 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5981 See \`config.log' for more details." >&5
5982 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5983 See \`config.log' for more details." >&2;}
5984 { (exit 1); exit 1; }; }
5860 rm -f conftest.i conftest.err conftest.$ac_ext
5861 if $ac_preproc_ok; then :
5862
5863 else
5864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5866 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5867 See \`config.log' for more details" "$LINENO" 5; }
59855868 fi
59865869
59875870 ac_ext=cpp
59985881 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59995882 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
60005883 if test -n "$ac_tool_prefix"; then
6001 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5884 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
60025885 do
60035886 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
60045887 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6007 if test "${ac_cv_prog_F77+set}" = set; then
6008 echo $ECHO_N "(cached) $ECHO_C" >&6
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if ${ac_cv_prog_F77+:} false; then :
5891 $as_echo_n "(cached) " >&6
60095892 else
60105893 if test -n "$F77"; then
60115894 ac_cv_prog_F77="$F77" # Let the user override the test.
60155898 do
60165899 IFS=$as_save_IFS
60175900 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60205903 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
60225905 break 2
60235906 fi
60245907 done
6025 done
5908 done
60265909 IFS=$as_save_IFS
60275910
60285911 fi
60295912 fi
60305913 F77=$ac_cv_prog_F77
60315914 if test -n "$F77"; then
6032 { echo "$as_me:$LINENO: result: $F77" >&5
6033 echo "${ECHO_T}$F77" >&6; }
6034 else
6035 { echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
5916 $as_echo "$F77" >&6; }
5917 else
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
60375920 fi
60385921
60395922
60425925 fi
60435926 if test -z "$F77"; then
60445927 ac_ct_F77=$F77
6045 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5928 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
60465929 do
60475930 # Extract the first word of "$ac_prog", so it can be a program name with args.
60485931 set dummy $ac_prog; ac_word=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_ac_ct_F77+:} false; then :
5935 $as_echo_n "(cached) " >&6
60535936 else
60545937 if test -n "$ac_ct_F77"; then
60555938 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
60595942 do
60605943 IFS=$as_save_IFS
60615944 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60645947 ac_cv_prog_ac_ct_F77="$ac_prog"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
60665949 break 2
60675950 fi
60685951 done
6069 done
5952 done
60705953 IFS=$as_save_IFS
60715954
60725955 fi
60735956 fi
60745957 ac_ct_F77=$ac_cv_prog_ac_ct_F77
60755958 if test -n "$ac_ct_F77"; then
6076 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6077 echo "${ECHO_T}$ac_ct_F77" >&6; }
6078 else
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
5960 $as_echo "$ac_ct_F77" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
60815964 fi
60825965
60835966
60895972 else
60905973 case $cross_compiling:$ac_tool_warned in
60915974 yes:)
6092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6093 whose name does not start with the host triplet. If you think this
6094 configuration is useful to you, please write to autoconf@gnu.org." >&5
6095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6096 whose name does not start with the host triplet. If you think this
6097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
60985977 ac_tool_warned=yes ;;
60995978 esac
61005979 F77=$ac_ct_F77
61035982
61045983
61055984 # Provide some information about the compiler.
6106 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6107 ac_compiler=`set X $ac_compile; echo $2`
6108 { (ac_try="$ac_compiler --version >&5"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
5986 set X $ac_compile
5987 ac_compiler=$2
5988 for ac_option in --version -v -V -qversion; do
5989 { { ac_try="$ac_compiler $ac_option >&5"
61095990 case "(($ac_try" in
61105991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61115992 *) ac_try_echo=$ac_try;;
61125993 esac
6113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6114 (eval "$ac_compiler --version >&5") 2>&5
5994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5995 $as_echo "$ac_try_echo"; } >&5
5996 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
61155997 ac_status=$?
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }
6118 { (ac_try="$ac_compiler -v >&5"
6119 case "(($ac_try" in
6120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6121 *) ac_try_echo=$ac_try;;
6122 esac
6123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6124 (eval "$ac_compiler -v >&5") 2>&5
6125 ac_status=$?
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); }
6128 { (ac_try="$ac_compiler -V >&5"
6129 case "(($ac_try" in
6130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6131 *) ac_try_echo=$ac_try;;
6132 esac
6133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6134 (eval "$ac_compiler -V >&5") 2>&5
6135 ac_status=$?
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); }
5998 if test -s conftest.err; then
5999 sed '10a\
6000 ... rest of stderr output deleted ...
6001 10q' conftest.err >conftest.er1
6002 cat conftest.er1 >&5
6003 fi
6004 rm -f conftest.er1 conftest.err
6005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6006 test $ac_status = 0; }
6007 done
61386008 rm -f a.out
61396009
61406010 # If we don't use `.F' as extension, the preprocessor is not run on the
61416011 # input file. (Note that this only needs to work for GNU compilers.)
61426012 ac_save_ext=$ac_ext
61436013 ac_ext=F
6144 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6145 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6146 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 else
6149 cat >conftest.$ac_ext <<_ACEOF
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
6015 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6016 if ${ac_cv_f77_compiler_gnu+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 cat > conftest.$ac_ext <<_ACEOF
61506020 program main
61516021 #ifndef __GNUC__
61526022 choke me
61546024
61556025 end
61566026 _ACEOF
6157 rm -f conftest.$ac_objext
6158 if { (ac_try="$ac_compile"
6159 case "(($ac_try" in
6160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6161 *) ac_try_echo=$ac_try;;
6162 esac
6163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6164 (eval "$ac_compile") 2>conftest.er1
6165 ac_status=$?
6166 grep -v '^ *+' conftest.er1 >conftest.err
6167 rm -f conftest.er1
6168 cat conftest.err >&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); } && {
6171 test -z "$ac_f77_werror_flag" ||
6172 test ! -s conftest.err
6173 } && test -s conftest.$ac_objext; then
6027 if ac_fn_f77_try_compile "$LINENO"; then :
61746028 ac_compiler_gnu=yes
61756029 else
6176 echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.$ac_ext >&5
6178
6179 ac_compiler_gnu=no
6180 fi
6181
6030 ac_compiler_gnu=no
6031 fi
61826032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61836033 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
61846034
61856035 fi
6186 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6187 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
6037 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
61886038 ac_ext=$ac_save_ext
61896039 ac_test_FFLAGS=${FFLAGS+set}
61906040 ac_save_FFLAGS=$FFLAGS
61916041 FFLAGS=
6192 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6193 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6194 if test "${ac_cv_prog_f77_g+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
6043 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6044 if ${ac_cv_prog_f77_g+:} false; then :
6045 $as_echo_n "(cached) " >&6
61966046 else
61976047 FFLAGS=-g
6198 cat >conftest.$ac_ext <<_ACEOF
6048 cat > conftest.$ac_ext <<_ACEOF
61996049 program main
62006050
62016051 end
62026052 _ACEOF
6203 rm -f conftest.$ac_objext
6204 if { (ac_try="$ac_compile"
6205 case "(($ac_try" in
6206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6207 *) ac_try_echo=$ac_try;;
6208 esac
6209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6210 (eval "$ac_compile") 2>conftest.er1
6211 ac_status=$?
6212 grep -v '^ *+' conftest.er1 >conftest.err
6213 rm -f conftest.er1
6214 cat conftest.err >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); } && {
6217 test -z "$ac_f77_werror_flag" ||
6218 test ! -s conftest.err
6219 } && test -s conftest.$ac_objext; then
6053 if ac_fn_f77_try_compile "$LINENO"; then :
62206054 ac_cv_prog_f77_g=yes
62216055 else
6222 echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.$ac_ext >&5
6224
6225 ac_cv_prog_f77_g=no
6226 fi
6227
6056 ac_cv_prog_f77_g=no
6057 fi
62286058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62296059
62306060 fi
6231 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6232 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
6062 $as_echo "$ac_cv_prog_f77_g" >&6; }
62336063 if test "$ac_test_FFLAGS" = set; then
62346064 FFLAGS=$ac_save_FFLAGS
62356065 elif test $ac_cv_prog_f77_g = yes; then
62466076 fi
62476077 fi
62486078
6249 G77=`test $ac_compiler_gnu = yes && echo yes`
6079 if test $ac_compiler_gnu = yes; then
6080 G77=yes
6081 else
6082 G77=
6083 fi
62506084 ac_ext=c
62516085 ac_cpp='$CPP $CPPFLAGS'
62526086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62586092 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
62596093
62606094 # find the maximum length of command line arguments
6261 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6262 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6263 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6096 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6097 if ${lt_cv_sys_max_cmd_len+:} false; then :
6098 $as_echo_n "(cached) " >&6
62656099 else
62666100 i=0
62676101 teststring="ABCD"
63706204 fi
63716205
63726206 if test -n $lt_cv_sys_max_cmd_len ; then
6373 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6374 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6375 else
6376 { echo "$as_me:$LINENO: result: none" >&5
6377 echo "${ECHO_T}none" >&6; }
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6208 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6209 else
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6211 $as_echo "none" >&6; }
63786212 fi
63796213
63806214
63826216
63836217
63846218 # Check for command to grab the raw symbol name followed by C symbol from nm.
6385 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6386 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6387 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6220 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6221 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6222 $as_echo_n "(cached) " >&6
63896223 else
63906224
63916225 # These are sane defaults that work on at least a few old systems.
64876321 int main(){nm_test_var='a';nm_test_func();return(0);}
64886322 EOF
64896323
6490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
64916325 (eval $ac_compile) 2>&5
64926326 ac_status=$?
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; then
6327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6328 test $ac_status = 0; }; then
64956329 # Now try to grab the symbols.
64966330 nlist=conftest.nm
6497 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
64986332 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
64996333 ac_status=$?
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && test -s "$nlist"; then
6334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6335 test $ac_status = 0; } && test -s "$nlist"; then
65026336 # Try sorting and uniquifying the output.
65036337 if sort "$nlist" | uniq > "$nlist"T; then
65046338 mv -f "$nlist"T "$nlist"
65496383 lt_save_CFLAGS="$CFLAGS"
65506384 LIBS="conftstm.$ac_objext"
65516385 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
65536387 (eval $ac_link) 2>&5
65546388 ac_status=$?
6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
65576391 pipe_works=yes
65586392 fi
65596393 LIBS="$lt_save_LIBS"
65876421 lt_cv_sys_global_symbol_to_cdecl=
65886422 fi
65896423 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6590 { echo "$as_me:$LINENO: result: failed" >&5
6591 echo "${ECHO_T}failed" >&6; }
6592 else
6593 { echo "$as_me:$LINENO: result: ok" >&5
6594 echo "${ECHO_T}ok" >&6; }
6595 fi
6596
6597 { echo "$as_me:$LINENO: checking for objdir" >&5
6598 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6599 if test "${lt_cv_objdir+set}" = set; then
6600 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6425 $as_echo "failed" >&6; }
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6428 $as_echo "ok" >&6; }
6429 fi
6430
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6432 $as_echo_n "checking for objdir... " >&6; }
6433 if ${lt_cv_objdir+:} false; then :
6434 $as_echo_n "(cached) " >&6
66016435 else
66026436 rm -f .libs 2>/dev/null
66036437 mkdir .libs 2>/dev/null
66096443 fi
66106444 rmdir .libs 2>/dev/null
66116445 fi
6612 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6613 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6447 $as_echo "$lt_cv_objdir" >&6; }
66146448 objdir=$lt_cv_objdir
66156449
66166450
66616495 if test -n "$ac_tool_prefix"; then
66626496 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
66636497 set dummy ${ac_tool_prefix}ar; ac_word=$2
6664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6666 if test "${ac_cv_prog_AR+set}" = set; then
6667 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 $as_echo_n "checking for $ac_word... " >&6; }
6500 if ${ac_cv_prog_AR+:} false; then :
6501 $as_echo_n "(cached) " >&6
66686502 else
66696503 if test -n "$AR"; then
66706504 ac_cv_prog_AR="$AR" # Let the user override the test.
66746508 do
66756509 IFS=$as_save_IFS
66766510 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6511 for ac_exec_ext in '' $ac_executable_extensions; do
6512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
66796513 ac_cv_prog_AR="${ac_tool_prefix}ar"
6680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66816515 break 2
66826516 fi
66836517 done
6684 done
6518 done
66856519 IFS=$as_save_IFS
66866520
66876521 fi
66886522 fi
66896523 AR=$ac_cv_prog_AR
66906524 if test -n "$AR"; then
6691 { echo "$as_me:$LINENO: result: $AR" >&5
6692 echo "${ECHO_T}$AR" >&6; }
6693 else
6694 { echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6526 $as_echo "$AR" >&6; }
6527 else
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 $as_echo "no" >&6; }
66966530 fi
66976531
66986532
67016535 ac_ct_AR=$AR
67026536 # Extract the first word of "ar", so it can be a program name with args.
67036537 set dummy ar; ac_word=$2
6704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6706 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 $as_echo_n "checking for $ac_word... " >&6; }
6540 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6541 $as_echo_n "(cached) " >&6
67086542 else
67096543 if test -n "$ac_ct_AR"; then
67106544 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
67146548 do
67156549 IFS=$as_save_IFS
67166550 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
67196553 ac_cv_prog_ac_ct_AR="ar"
6720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67216555 break 2
67226556 fi
67236557 done
6724 done
6558 done
67256559 IFS=$as_save_IFS
67266560
67276561 fi
67286562 fi
67296563 ac_ct_AR=$ac_cv_prog_ac_ct_AR
67306564 if test -n "$ac_ct_AR"; then
6731 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6732 echo "${ECHO_T}$ac_ct_AR" >&6; }
6733 else
6734 { echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6566 $as_echo "$ac_ct_AR" >&6; }
6567 else
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569 $as_echo "no" >&6; }
67366570 fi
67376571
67386572 if test "x$ac_ct_AR" = x; then
67406574 else
67416575 case $cross_compiling:$ac_tool_warned in
67426576 yes:)
6743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6744 whose name does not start with the host triplet. If you think this
6745 configuration is useful to you, please write to autoconf@gnu.org." >&5
6746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6747 whose name does not start with the host triplet. If you think this
6748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
67496579 ac_tool_warned=yes ;;
67506580 esac
67516581 AR=$ac_ct_AR
67576587 if test -n "$ac_tool_prefix"; then
67586588 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
67596589 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6762 if test "${ac_cv_prog_RANLIB+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 $as_echo_n "checking for $ac_word... " >&6; }
6592 if ${ac_cv_prog_RANLIB+:} false; then :
6593 $as_echo_n "(cached) " >&6
67646594 else
67656595 if test -n "$RANLIB"; then
67666596 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
67706600 do
67716601 IFS=$as_save_IFS
67726602 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
67756605 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67776607 break 2
67786608 fi
67796609 done
6780 done
6610 done
67816611 IFS=$as_save_IFS
67826612
67836613 fi
67846614 fi
67856615 RANLIB=$ac_cv_prog_RANLIB
67866616 if test -n "$RANLIB"; then
6787 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6788 echo "${ECHO_T}$RANLIB" >&6; }
6789 else
6790 { echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6618 $as_echo "$RANLIB" >&6; }
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
67926622 fi
67936623
67946624
67976627 ac_ct_RANLIB=$RANLIB
67986628 # Extract the first word of "ranlib", so it can be a program name with args.
67996629 set dummy ranlib; ac_word=$2
6800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6802 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6633 $as_echo_n "(cached) " >&6
68046634 else
68056635 if test -n "$ac_ct_RANLIB"; then
68066636 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
68106640 do
68116641 IFS=$as_save_IFS
68126642 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68156645 ac_cv_prog_ac_ct_RANLIB="ranlib"
6816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
68176647 break 2
68186648 fi
68196649 done
6820 done
6650 done
68216651 IFS=$as_save_IFS
68226652
68236653 fi
68246654 fi
68256655 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
68266656 if test -n "$ac_ct_RANLIB"; then
6827 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6828 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6829 else
6830 { echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6658 $as_echo "$ac_ct_RANLIB" >&6; }
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
68326662 fi
68336663
68346664 if test "x$ac_ct_RANLIB" = x; then
68366666 else
68376667 case $cross_compiling:$ac_tool_warned in
68386668 yes:)
6839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6840 whose name does not start with the host triplet. If you think this
6841 configuration is useful to you, please write to autoconf@gnu.org." >&5
6842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6843 whose name does not start with the host triplet. If you think this
6844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
68456671 ac_tool_warned=yes ;;
68466672 esac
68476673 RANLIB=$ac_ct_RANLIB
68536679 if test -n "$ac_tool_prefix"; then
68546680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
68556681 set dummy ${ac_tool_prefix}strip; ac_word=$2
6856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6858 if test "${ac_cv_prog_STRIP+set}" = set; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if ${ac_cv_prog_STRIP+:} false; then :
6685 $as_echo_n "(cached) " >&6
68606686 else
68616687 if test -n "$STRIP"; then
68626688 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
68666692 do
68676693 IFS=$as_save_IFS
68686694 test -z "$as_dir" && as_dir=.
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
68716697 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
68736699 break 2
68746700 fi
68756701 done
6876 done
6702 done
68776703 IFS=$as_save_IFS
68786704
68796705 fi
68806706 fi
68816707 STRIP=$ac_cv_prog_STRIP
68826708 if test -n "$STRIP"; then
6883 { echo "$as_me:$LINENO: result: $STRIP" >&5
6884 echo "${ECHO_T}$STRIP" >&6; }
6885 else
6886 { echo "$as_me:$LINENO: result: no" >&5
6887 echo "${ECHO_T}no" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6710 $as_echo "$STRIP" >&6; }
6711 else
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
68886714 fi
68896715
68906716
68936719 ac_ct_STRIP=$STRIP
68946720 # Extract the first word of "strip", so it can be a program name with args.
68956721 set dummy strip; ac_word=$2
6896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6899 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6725 $as_echo_n "(cached) " >&6
69006726 else
69016727 if test -n "$ac_ct_STRIP"; then
69026728 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
69066732 do
69076733 IFS=$as_save_IFS
69086734 test -z "$as_dir" && as_dir=.
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69116737 ac_cv_prog_ac_ct_STRIP="strip"
6912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
69136739 break 2
69146740 fi
69156741 done
6916 done
6742 done
69176743 IFS=$as_save_IFS
69186744
69196745 fi
69206746 fi
69216747 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
69226748 if test -n "$ac_ct_STRIP"; then
6923 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6924 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6925 else
6926 { echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6750 $as_echo "$ac_ct_STRIP" >&6; }
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
69286754 fi
69296755
69306756 if test "x$ac_ct_STRIP" = x; then
69326758 else
69336759 case $cross_compiling:$ac_tool_warned in
69346760 yes:)
6935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6936 whose name does not start with the host triplet. If you think this
6937 configuration is useful to you, please write to autoconf@gnu.org." >&5
6938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6939 whose name does not start with the host triplet. If you think this
6940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
69416763 ac_tool_warned=yes ;;
69426764 esac
69436765 STRIP=$ac_ct_STRIP
70006822 case $deplibs_check_method in
70016823 file_magic*)
70026824 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7003 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7004 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6826 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6827 if ${lt_cv_path_MAGIC_CMD+:} false; then :
6828 $as_echo_n "(cached) " >&6
70076829 else
70086830 case $MAGIC_CMD in
70096831 [\\/*] | ?:[\\/]*)
70536875
70546876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
70556877 if test -n "$MAGIC_CMD"; then
7056 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7057 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7058 else
7059 { echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6879 $as_echo "$MAGIC_CMD" >&6; }
6880 else
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6882 $as_echo "no" >&6; }
70616883 fi
70626884
70636885 if test -z "$lt_cv_path_MAGIC_CMD"; then
70646886 if test -n "$ac_tool_prefix"; then
7065 { echo "$as_me:$LINENO: checking for file" >&5
7066 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7067 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7068 echo $ECHO_N "(cached) $ECHO_C" >&6
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6888 $as_echo_n "checking for file... " >&6; }
6889 if ${lt_cv_path_MAGIC_CMD+:} false; then :
6890 $as_echo_n "(cached) " >&6
70696891 else
70706892 case $MAGIC_CMD in
70716893 [\\/*] | ?:[\\/]*)
71156937
71166938 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
71176939 if test -n "$MAGIC_CMD"; then
7118 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7119 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7120 else
7121 { echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6941 $as_echo "$MAGIC_CMD" >&6; }
6942 else
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
71236945 fi
71246946
71256947 else
71356957 enable_win32_dll=no
71366958
71376959 # Check whether --enable-libtool-lock was given.
7138 if test "${enable_libtool_lock+set}" = set; then
6960 if test "${enable_libtool_lock+set}" = set; then :
71396961 enableval=$enable_libtool_lock;
71406962 fi
71416963
71436965
71446966
71456967 # Check whether --with-pic was given.
7146 if test "${with_pic+set}" = set; then
6968 if test "${with_pic+set}" = set; then :
71476969 withval=$with_pic; pic_mode="$withval"
71486970 else
71496971 pic_mode=default
72067028 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
72077029
72087030
7209 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7210 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7211 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7032 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7033 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7034 $as_echo_n "(cached) " >&6
72137035 else
72147036 lt_cv_prog_compiler_rtti_exceptions=no
72157037 ac_outfile=conftest.$ac_objext
72247046 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
72257047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
72267048 -e 's:$: $lt_compiler_flag:'`
7227 (eval echo "\"\$as_me:7228: $lt_compile\"" >&5)
7049 (eval echo "\"\$as_me:7050: $lt_compile\"" >&5)
72287050 (eval "$lt_compile" 2>conftest.err)
72297051 ac_status=$?
72307052 cat conftest.err >&5
7231 echo "$as_me:7232: \$? = $ac_status" >&5
7053 echo "$as_me:7054: \$? = $ac_status" >&5
72327054 if (exit $ac_status) && test -s "$ac_outfile"; then
72337055 # The compiler can only warn and ignore the option if not recognized
72347056 # So say no if there are warnings other than the usual output.
72417063 $rm conftest*
72427064
72437065 fi
7244 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7245 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7067 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
72467068
72477069 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
72487070 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
72567078 lt_prog_compiler_pic=
72577079 lt_prog_compiler_static=
72587080
7259 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7260 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7082 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
72617083
72627084 if test "$GCC" = yes; then
72637085 lt_prog_compiler_wl='-Wl,'
74887310 esac
74897311 fi
74907312
7491 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7492 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7314 $as_echo "$lt_prog_compiler_pic" >&6; }
74937315
74947316 #
74957317 # Check to make sure the PIC flag actually works.
74967318 #
74977319 if test -n "$lt_prog_compiler_pic"; then
74987320
7499 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7500 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7501 if test "${lt_prog_compiler_pic_works+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7322 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7323 if ${lt_prog_compiler_pic_works+:} false; then :
7324 $as_echo_n "(cached) " >&6
75037325 else
75047326 lt_prog_compiler_pic_works=no
75057327 ac_outfile=conftest.$ac_objext
75147336 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
75157337 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
75167338 -e 's:$: $lt_compiler_flag:'`
7517 (eval echo "\"\$as_me:7518: $lt_compile\"" >&5)
7339 (eval echo "\"\$as_me:7340: $lt_compile\"" >&5)
75187340 (eval "$lt_compile" 2>conftest.err)
75197341 ac_status=$?
75207342 cat conftest.err >&5
7521 echo "$as_me:7522: \$? = $ac_status" >&5
7343 echo "$as_me:7344: \$? = $ac_status" >&5
75227344 if (exit $ac_status) && test -s "$ac_outfile"; then
75237345 # The compiler can only warn and ignore the option if not recognized
75247346 # So say no if there are warnings other than the usual output.
75317353 $rm conftest*
75327354
75337355 fi
7534 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7535 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
7357 $as_echo "$lt_prog_compiler_pic_works" >&6; }
75367358
75377359 if test x"$lt_prog_compiler_pic_works" = xyes; then
75387360 case $lt_prog_compiler_pic in
75597381 # Check to make sure the static flag actually works.
75607382 #
75617383 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7562 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7563 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7564 if test "${lt_prog_compiler_static_works+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7385 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7386 if ${lt_prog_compiler_static_works+:} false; then :
7387 $as_echo_n "(cached) " >&6
75667388 else
75677389 lt_prog_compiler_static_works=no
75687390 save_LDFLAGS="$LDFLAGS"
75877409 LDFLAGS="$save_LDFLAGS"
75887410
75897411 fi
7590 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7591 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
7413 $as_echo "$lt_prog_compiler_static_works" >&6; }
75927414
75937415 if test x"$lt_prog_compiler_static_works" = xyes; then
75947416 :
75977419 fi
75987420
75997421
7600 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7601 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7602 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7423 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7424 if ${lt_cv_prog_compiler_c_o+:} false; then :
7425 $as_echo_n "(cached) " >&6
76047426 else
76057427 lt_cv_prog_compiler_c_o=no
76067428 $rm -r conftest 2>/dev/null
76187440 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
76197441 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
76207442 -e 's:$: $lt_compiler_flag:'`
7621 (eval echo "\"\$as_me:7622: $lt_compile\"" >&5)
7443 (eval echo "\"\$as_me:7444: $lt_compile\"" >&5)
76227444 (eval "$lt_compile" 2>out/conftest.err)
76237445 ac_status=$?
76247446 cat out/conftest.err >&5
7625 echo "$as_me:7626: \$? = $ac_status" >&5
7447 echo "$as_me:7448: \$? = $ac_status" >&5
76267448 if (exit $ac_status) && test -s out/conftest2.$ac_objext
76277449 then
76287450 # The compiler can only warn and ignore the option if not recognized
76447466 $rm conftest*
76457467
76467468 fi
7647 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7648 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7470 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
76497471
76507472
76517473 hard_links="nottested"
76527474 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
76537475 # do not overwrite the value of need_locks provided by the user
7654 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7655 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7477 $as_echo_n "checking if we can lock with hard links... " >&6; }
76567478 hard_links=yes
76577479 $rm conftest*
76587480 ln conftest.a conftest.b 2>/dev/null && hard_links=no
76597481 touch conftest.a
76607482 ln conftest.a conftest.b 2>&5 || hard_links=no
76617483 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7662 { echo "$as_me:$LINENO: result: $hard_links" >&5
7663 echo "${ECHO_T}$hard_links" >&6; }
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7485 $as_echo "$hard_links" >&6; }
76647486 if test "$hard_links" = no; then
7665 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7666 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7488 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
76677489 need_locks=warn
76687490 fi
76697491 else
76707492 need_locks=no
76717493 fi
76727494
7673 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7674 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7496 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
76757497
76767498 runpath_var=
76777499 allow_undefined_flag=
80807902 # -berok will link without error, but may produce a broken library.
80817903 allow_undefined_flag='-berok'
80827904 # Determine the default libpath from the value encoded in an empty executable.
8083 cat >conftest.$ac_ext <<_ACEOF
8084 /* confdefs.h. */
8085 _ACEOF
8086 cat confdefs.h >>conftest.$ac_ext
8087 cat >>conftest.$ac_ext <<_ACEOF
7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80887906 /* end confdefs.h. */
80897907
80907908 int
80957913 return 0;
80967914 }
80977915 _ACEOF
8098 rm -f conftest.$ac_objext conftest$ac_exeext
8099 if { (ac_try="$ac_link"
8100 case "(($ac_try" in
8101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8102 *) ac_try_echo=$ac_try;;
8103 esac
8104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8105 (eval "$ac_link") 2>conftest.er1
8106 ac_status=$?
8107 grep -v '^ *+' conftest.er1 >conftest.err
8108 rm -f conftest.er1
8109 cat conftest.err >&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); } && {
8112 test -z "$ac_c_werror_flag" ||
8113 test ! -s conftest.err
8114 } && test -s conftest$ac_exeext &&
8115 $as_test_x conftest$ac_exeext; then
7916 if ac_fn_c_try_link "$LINENO"; then :
81167917
81177918 lt_aix_libpath_sed='
81187919 /Import File Strings/,/^$/ {
81267927 if test -z "$aix_libpath"; then
81277928 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
81287929 fi
8129 else
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.$ac_ext >&5
8132
8133
8134 fi
8135
8136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8137 conftest$ac_exeext conftest.$ac_ext
7930 fi
7931 rm -f core conftest.err conftest.$ac_objext \
7932 conftest$ac_exeext conftest.$ac_ext
81387933 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
81397934
81407935 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
81467941 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
81477942 else
81487943 # Determine the default libpath from the value encoded in an empty executable.
8149 cat >conftest.$ac_ext <<_ACEOF
8150 /* confdefs.h. */
8151 _ACEOF
8152 cat confdefs.h >>conftest.$ac_ext
8153 cat >>conftest.$ac_ext <<_ACEOF
7944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81547945 /* end confdefs.h. */
81557946
81567947 int
81617952 return 0;
81627953 }
81637954 _ACEOF
8164 rm -f conftest.$ac_objext conftest$ac_exeext
8165 if { (ac_try="$ac_link"
8166 case "(($ac_try" in
8167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8168 *) ac_try_echo=$ac_try;;
8169 esac
8170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8171 (eval "$ac_link") 2>conftest.er1
8172 ac_status=$?
8173 grep -v '^ *+' conftest.er1 >conftest.err
8174 rm -f conftest.er1
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } && {
8178 test -z "$ac_c_werror_flag" ||
8179 test ! -s conftest.err
8180 } && test -s conftest$ac_exeext &&
8181 $as_test_x conftest$ac_exeext; then
7955 if ac_fn_c_try_link "$LINENO"; then :
81827956
81837957 lt_aix_libpath_sed='
81847958 /Import File Strings/,/^$/ {
81927966 if test -z "$aix_libpath"; then
81937967 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
81947968 fi
8195 else
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.$ac_ext >&5
8198
8199
8200 fi
8201
8202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8203 conftest$ac_exeext conftest.$ac_ext
7969 fi
7970 rm -f core conftest.err conftest.$ac_objext \
7971 conftest$ac_exeext conftest.$ac_ext
82047972 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
82057973
82067974 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
86518419 esac
86528420 fi
86538421
8654 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8655 echo "${ECHO_T}$ld_shlibs" >&6; }
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8423 $as_echo "$ld_shlibs" >&6; }
86568424 test "$ld_shlibs" = no && can_build_shared=no
86578425
86588426 #
86728440 # Test whether the compiler implicitly links with -lc since on some
86738441 # systems, -lgcc has to come before -lc. If gcc already passes -lc
86748442 # to ld, don't add -lc before -lgcc.
8675 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8676 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8444 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
86778445 $rm conftest*
86788446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
86798447
8680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
86818449 (eval $ac_compile) 2>&5
86828450 ac_status=$?
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } 2>conftest.err; then
8451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8452 test $ac_status = 0; } 2>conftest.err; then
86858453 soname=conftest
86868454 lib=conftest
86878455 libobjs=conftest.$ac_objext
86958463 libname=conftest
86968464 lt_save_allow_undefined_flag=$allow_undefined_flag
86978465 allow_undefined_flag=
8698 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
86998467 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
87008468 ac_status=$?
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); }
8469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8470 test $ac_status = 0; }
87038471 then
87048472 archive_cmds_need_lc=no
87058473 else
87108478 cat conftest.err 1>&5
87118479 fi
87128480 $rm conftest*
8713 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8714 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8482 $as_echo "$archive_cmds_need_lc" >&6; }
87158483 ;;
87168484 esac
87178485 fi
87188486 ;;
87198487 esac
87208488
8721 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8722 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8490 $as_echo_n "checking dynamic linker characteristics... " >&6; }
87238491 library_names_spec=
87248492 libname_spec='lib$name'
87258493 soname_spec=
93329100 dynamic_linker=no
93339101 ;;
93349102 esac
9335 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9336 echo "${ECHO_T}$dynamic_linker" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9104 $as_echo "$dynamic_linker" >&6; }
93379105 test "$dynamic_linker" = no && can_build_shared=no
93389106
93399107 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
93419109 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
93429110 fi
93439111
9344 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9345 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9113 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
93469114 hardcode_action=
93479115 if test -n "$hardcode_libdir_flag_spec" || \
93489116 test -n "$runpath_var" || \
93669134 # directories.
93679135 hardcode_action=unsupported
93689136 fi
9369 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9370 echo "${ECHO_T}$hardcode_action" >&6; }
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9138 $as_echo "$hardcode_action" >&6; }
93719139
93729140 if test "$hardcode_action" = relink; then
93739141 # Fast installation is not supported
93809148
93819149 striplib=
93829150 old_striplib=
9383 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9384 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9152 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
93859153 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
93869154 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
93879155 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9388 { echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6; }
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9157 $as_echo "yes" >&6; }
93909158 else
93919159 # FIXME - insert some real tests, host_os isn't really good enough
93929160 case $host_os in
93949162 if test -n "$STRIP" ; then
93959163 striplib="$STRIP -x"
93969164 old_striplib="$STRIP -S"
9397 { echo "$as_me:$LINENO: result: yes" >&5
9398 echo "${ECHO_T}yes" >&6; }
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9166 $as_echo "yes" >&6; }
93999167 else
9400 { echo "$as_me:$LINENO: result: no" >&5
9401 echo "${ECHO_T}no" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 $as_echo "no" >&6; }
94029170 fi
94039171 ;;
94049172 *)
9405 { echo "$as_me:$LINENO: result: no" >&5
9406 echo "${ECHO_T}no" >&6; }
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9174 $as_echo "no" >&6; }
94079175 ;;
94089176 esac
94099177 fi
94359203
94369204 darwin*)
94379205 # if libdl is installed we need to link against it
9438 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9439 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9440 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9207 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9208 if ${ac_cv_lib_dl_dlopen+:} false; then :
9209 $as_echo_n "(cached) " >&6
94429210 else
94439211 ac_check_lib_save_LIBS=$LIBS
94449212 LIBS="-ldl $LIBS"
9445 cat >conftest.$ac_ext <<_ACEOF
9446 /* confdefs.h. */
9447 _ACEOF
9448 cat confdefs.h >>conftest.$ac_ext
9449 cat >>conftest.$ac_ext <<_ACEOF
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94509214 /* end confdefs.h. */
94519215
94529216 /* Override any GCC internal prototype to avoid an error.
94649228 return 0;
94659229 }
94669230 _ACEOF
9467 rm -f conftest.$ac_objext conftest$ac_exeext
9468 if { (ac_try="$ac_link"
9469 case "(($ac_try" in
9470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9471 *) ac_try_echo=$ac_try;;
9472 esac
9473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9474 (eval "$ac_link") 2>conftest.er1
9475 ac_status=$?
9476 grep -v '^ *+' conftest.er1 >conftest.err
9477 rm -f conftest.er1
9478 cat conftest.err >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } && {
9481 test -z "$ac_c_werror_flag" ||
9482 test ! -s conftest.err
9483 } && test -s conftest$ac_exeext &&
9484 $as_test_x conftest$ac_exeext; then
9231 if ac_fn_c_try_link "$LINENO"; then :
94859232 ac_cv_lib_dl_dlopen=yes
94869233 else
9487 echo "$as_me: failed program was:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9489
9490 ac_cv_lib_dl_dlopen=no
9491 fi
9492
9493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9494 conftest$ac_exeext conftest.$ac_ext
9234 ac_cv_lib_dl_dlopen=no
9235 fi
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
94959238 LIBS=$ac_check_lib_save_LIBS
94969239 fi
9497 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9498 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9499 if test $ac_cv_lib_dl_dlopen = yes; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9241 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9242 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
95009243 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
95019244 else
95029245
95099252 ;;
95109253
95119254 *)
9512 { echo "$as_me:$LINENO: checking for shl_load" >&5
9513 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9514 if test "${ac_cv_func_shl_load+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 else
9517 cat >conftest.$ac_ext <<_ACEOF
9518 /* confdefs.h. */
9519 _ACEOF
9520 cat confdefs.h >>conftest.$ac_ext
9521 cat >>conftest.$ac_ext <<_ACEOF
9522 /* end confdefs.h. */
9523 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9525 #define shl_load innocuous_shl_load
9526
9527 /* System header to define __stub macros and hopefully few prototypes,
9528 which can conflict with char shl_load (); below.
9529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9530 <limits.h> exists even on freestanding compilers. */
9531
9532 #ifdef __STDC__
9533 # include <limits.h>
9534 #else
9535 # include <assert.h>
9536 #endif
9537
9538 #undef shl_load
9539
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char shl_load ();
9547 /* The GNU C library defines this for functions which it implements
9548 to always fail with ENOSYS. Some functions are actually named
9549 something starting with __ and the normal name is an alias. */
9550 #if defined __stub_shl_load || defined __stub___shl_load
9551 choke me
9552 #endif
9553
9554 int
9555 main ()
9556 {
9557 return shl_load ();
9558 ;
9559 return 0;
9560 }
9561 _ACEOF
9562 rm -f conftest.$ac_objext conftest$ac_exeext
9563 if { (ac_try="$ac_link"
9564 case "(($ac_try" in
9565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9566 *) ac_try_echo=$ac_try;;
9567 esac
9568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9569 (eval "$ac_link") 2>conftest.er1
9570 ac_status=$?
9571 grep -v '^ *+' conftest.er1 >conftest.err
9572 rm -f conftest.er1
9573 cat conftest.err >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } && {
9576 test -z "$ac_c_werror_flag" ||
9577 test ! -s conftest.err
9578 } && test -s conftest$ac_exeext &&
9579 $as_test_x conftest$ac_exeext; then
9580 ac_cv_func_shl_load=yes
9581 else
9582 echo "$as_me: failed program was:" >&5
9583 sed 's/^/| /' conftest.$ac_ext >&5
9584
9585 ac_cv_func_shl_load=no
9586 fi
9587
9588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9589 conftest$ac_exeext conftest.$ac_ext
9590 fi
9591 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9592 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9593 if test $ac_cv_func_shl_load = yes; then
9255 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9256 if test "x$ac_cv_func_shl_load" = xyes; then :
95949257 lt_cv_dlopen="shl_load"
95959258 else
9596 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9597 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9598 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9599 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9260 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9261 if ${ac_cv_lib_dld_shl_load+:} false; then :
9262 $as_echo_n "(cached) " >&6
96009263 else
96019264 ac_check_lib_save_LIBS=$LIBS
96029265 LIBS="-ldld $LIBS"
9603 cat >conftest.$ac_ext <<_ACEOF
9604 /* confdefs.h. */
9605 _ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96089267 /* end confdefs.h. */
96099268
96109269 /* Override any GCC internal prototype to avoid an error.
96229281 return 0;
96239282 }
96249283 _ACEOF
9625 rm -f conftest.$ac_objext conftest$ac_exeext
9626 if { (ac_try="$ac_link"
9627 case "(($ac_try" in
9628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9629 *) ac_try_echo=$ac_try;;
9630 esac
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_link") 2>conftest.er1
9633 ac_status=$?
9634 grep -v '^ *+' conftest.er1 >conftest.err
9635 rm -f conftest.er1
9636 cat conftest.err >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } && {
9639 test -z "$ac_c_werror_flag" ||
9640 test ! -s conftest.err
9641 } && test -s conftest$ac_exeext &&
9642 $as_test_x conftest$ac_exeext; then
9284 if ac_fn_c_try_link "$LINENO"; then :
96439285 ac_cv_lib_dld_shl_load=yes
96449286 else
9645 echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.$ac_ext >&5
9647
9648 ac_cv_lib_dld_shl_load=no
9649 fi
9650
9651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9652 conftest$ac_exeext conftest.$ac_ext
9287 ac_cv_lib_dld_shl_load=no
9288 fi
9289 rm -f core conftest.err conftest.$ac_objext \
9290 conftest$ac_exeext conftest.$ac_ext
96539291 LIBS=$ac_check_lib_save_LIBS
96549292 fi
9655 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9656 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9657 if test $ac_cv_lib_dld_shl_load = yes; then
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9294 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9295 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
96589296 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
96599297 else
9660 { echo "$as_me:$LINENO: checking for dlopen" >&5
9661 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9662 if test "${ac_cv_func_dlopen+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 else
9665 cat >conftest.$ac_ext <<_ACEOF
9666 /* confdefs.h. */
9667 _ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9671 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9673 #define dlopen innocuous_dlopen
9674
9675 /* System header to define __stub macros and hopefully few prototypes,
9676 which can conflict with char dlopen (); below.
9677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9678 <limits.h> exists even on freestanding compilers. */
9679
9680 #ifdef __STDC__
9681 # include <limits.h>
9682 #else
9683 # include <assert.h>
9684 #endif
9685
9686 #undef dlopen
9687
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9691 #ifdef __cplusplus
9692 extern "C"
9693 #endif
9694 char dlopen ();
9695 /* The GNU C library defines this for functions which it implements
9696 to always fail with ENOSYS. Some functions are actually named
9697 something starting with __ and the normal name is an alias. */
9698 #if defined __stub_dlopen || defined __stub___dlopen
9699 choke me
9700 #endif
9701
9702 int
9703 main ()
9704 {
9705 return dlopen ();
9706 ;
9707 return 0;
9708 }
9709 _ACEOF
9710 rm -f conftest.$ac_objext conftest$ac_exeext
9711 if { (ac_try="$ac_link"
9712 case "(($ac_try" in
9713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9714 *) ac_try_echo=$ac_try;;
9715 esac
9716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9717 (eval "$ac_link") 2>conftest.er1
9718 ac_status=$?
9719 grep -v '^ *+' conftest.er1 >conftest.err
9720 rm -f conftest.er1
9721 cat conftest.err >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } && {
9724 test -z "$ac_c_werror_flag" ||
9725 test ! -s conftest.err
9726 } && test -s conftest$ac_exeext &&
9727 $as_test_x conftest$ac_exeext; then
9728 ac_cv_func_dlopen=yes
9729 else
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.$ac_ext >&5
9732
9733 ac_cv_func_dlopen=no
9734 fi
9735
9736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9737 conftest$ac_exeext conftest.$ac_ext
9738 fi
9739 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9740 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9741 if test $ac_cv_func_dlopen = yes; then
9298 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9299 if test "x$ac_cv_func_dlopen" = xyes; then :
97429300 lt_cv_dlopen="dlopen"
97439301 else
9744 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9745 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9746 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9747 echo $ECHO_N "(cached) $ECHO_C" >&6
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9303 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9304 if ${ac_cv_lib_dl_dlopen+:} false; then :
9305 $as_echo_n "(cached) " >&6
97489306 else
97499307 ac_check_lib_save_LIBS=$LIBS
97509308 LIBS="-ldl $LIBS"
9751 cat >conftest.$ac_ext <<_ACEOF
9752 /* confdefs.h. */
9753 _ACEOF
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97569310 /* end confdefs.h. */
97579311
97589312 /* Override any GCC internal prototype to avoid an error.
97709324 return 0;
97719325 }
97729326 _ACEOF
9773 rm -f conftest.$ac_objext conftest$ac_exeext
9774 if { (ac_try="$ac_link"
9775 case "(($ac_try" in
9776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9777 *) ac_try_echo=$ac_try;;
9778 esac
9779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9780 (eval "$ac_link") 2>conftest.er1
9781 ac_status=$?
9782 grep -v '^ *+' conftest.er1 >conftest.err
9783 rm -f conftest.er1
9784 cat conftest.err >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); } && {
9787 test -z "$ac_c_werror_flag" ||
9788 test ! -s conftest.err
9789 } && test -s conftest$ac_exeext &&
9790 $as_test_x conftest$ac_exeext; then
9327 if ac_fn_c_try_link "$LINENO"; then :
97919328 ac_cv_lib_dl_dlopen=yes
97929329 else
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9795
9796 ac_cv_lib_dl_dlopen=no
9797 fi
9798
9799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9800 conftest$ac_exeext conftest.$ac_ext
9330 ac_cv_lib_dl_dlopen=no
9331 fi
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
98019334 LIBS=$ac_check_lib_save_LIBS
98029335 fi
9803 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9804 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9805 if test $ac_cv_lib_dl_dlopen = yes; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9337 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9338 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
98069339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
98079340 else
9808 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9809 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9810 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9811 echo $ECHO_N "(cached) $ECHO_C" >&6
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9342 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9343 if ${ac_cv_lib_svld_dlopen+:} false; then :
9344 $as_echo_n "(cached) " >&6
98129345 else
98139346 ac_check_lib_save_LIBS=$LIBS
98149347 LIBS="-lsvld $LIBS"
9815 cat >conftest.$ac_ext <<_ACEOF
9816 /* confdefs.h. */
9817 _ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98209349 /* end confdefs.h. */
98219350
98229351 /* Override any GCC internal prototype to avoid an error.
98349363 return 0;
98359364 }
98369365 _ACEOF
9837 rm -f conftest.$ac_objext conftest$ac_exeext
9838 if { (ac_try="$ac_link"
9839 case "(($ac_try" in
9840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9841 *) ac_try_echo=$ac_try;;
9842 esac
9843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9844 (eval "$ac_link") 2>conftest.er1
9845 ac_status=$?
9846 grep -v '^ *+' conftest.er1 >conftest.err
9847 rm -f conftest.er1
9848 cat conftest.err >&5
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); } && {
9851 test -z "$ac_c_werror_flag" ||
9852 test ! -s conftest.err
9853 } && test -s conftest$ac_exeext &&
9854 $as_test_x conftest$ac_exeext; then
9366 if ac_fn_c_try_link "$LINENO"; then :
98559367 ac_cv_lib_svld_dlopen=yes
98569368 else
9857 echo "$as_me: failed program was:" >&5
9858 sed 's/^/| /' conftest.$ac_ext >&5
9859
9860 ac_cv_lib_svld_dlopen=no
9861 fi
9862
9863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9864 conftest$ac_exeext conftest.$ac_ext
9369 ac_cv_lib_svld_dlopen=no
9370 fi
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
98659373 LIBS=$ac_check_lib_save_LIBS
98669374 fi
9867 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9868 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9869 if test $ac_cv_lib_svld_dlopen = yes; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9376 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9377 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
98709378 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
98719379 else
9872 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9873 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9874 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9875 echo $ECHO_N "(cached) $ECHO_C" >&6
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9381 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9382 if ${ac_cv_lib_dld_dld_link+:} false; then :
9383 $as_echo_n "(cached) " >&6
98769384 else
98779385 ac_check_lib_save_LIBS=$LIBS
98789386 LIBS="-ldld $LIBS"
9879 cat >conftest.$ac_ext <<_ACEOF
9880 /* confdefs.h. */
9881 _ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98849388 /* end confdefs.h. */
98859389
98869390 /* Override any GCC internal prototype to avoid an error.
98989402 return 0;
98999403 }
99009404 _ACEOF
9901 rm -f conftest.$ac_objext conftest$ac_exeext
9902 if { (ac_try="$ac_link"
9903 case "(($ac_try" in
9904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9905 *) ac_try_echo=$ac_try;;
9906 esac
9907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9908 (eval "$ac_link") 2>conftest.er1
9909 ac_status=$?
9910 grep -v '^ *+' conftest.er1 >conftest.err
9911 rm -f conftest.er1
9912 cat conftest.err >&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); } && {
9915 test -z "$ac_c_werror_flag" ||
9916 test ! -s conftest.err
9917 } && test -s conftest$ac_exeext &&
9918 $as_test_x conftest$ac_exeext; then
9405 if ac_fn_c_try_link "$LINENO"; then :
99199406 ac_cv_lib_dld_dld_link=yes
99209407 else
9921 echo "$as_me: failed program was:" >&5
9922 sed 's/^/| /' conftest.$ac_ext >&5
9923
9924 ac_cv_lib_dld_dld_link=no
9925 fi
9926
9927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9928 conftest$ac_exeext conftest.$ac_ext
9408 ac_cv_lib_dld_dld_link=no
9409 fi
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
99299412 LIBS=$ac_check_lib_save_LIBS
99309413 fi
9931 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9932 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9933 if test $ac_cv_lib_dld_dld_link = yes; then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9415 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9416 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
99349417 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
99359418 fi
99369419
99699452 save_LIBS="$LIBS"
99709453 LIBS="$lt_cv_dlopen_libs $LIBS"
99719454
9972 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9973 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9974 if test "${lt_cv_dlopen_self+set}" = set; then
9975 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9456 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9457 if ${lt_cv_dlopen_self+:} false; then :
9458 $as_echo_n "(cached) " >&6
99769459 else
99779460 if test "$cross_compiling" = yes; then :
99789461 lt_cv_dlopen_self=cross
99809463 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
99819464 lt_status=$lt_dlunknown
99829465 cat > conftest.$ac_ext <<EOF
9983 #line 9984 "configure"
9466 #line 9467 "configure"
99849467 #include "confdefs.h"
99859468
99869469 #if HAVE_DLFCN_H
100439526 exit (status);
100449527 }
100459528 EOF
10046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
100479530 (eval $ac_link) 2>&5
100489531 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9533 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
100519534 (./conftest; exit; ) >&5 2>/dev/null
100529535 lt_status=$?
100539536 case x$lt_status in
100649547
100659548
100669549 fi
10067 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10068 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9551 $as_echo "$lt_cv_dlopen_self" >&6; }
100699552
100709553 if test "x$lt_cv_dlopen_self" = xyes; then
100719554 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10072 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10073 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10074 if test "${lt_cv_dlopen_self_static+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9556 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9557 if ${lt_cv_dlopen_self_static+:} false; then :
9558 $as_echo_n "(cached) " >&6
100769559 else
100779560 if test "$cross_compiling" = yes; then :
100789561 lt_cv_dlopen_self_static=cross
100809563 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
100819564 lt_status=$lt_dlunknown
100829565 cat > conftest.$ac_ext <<EOF
10083 #line 10084 "configure"
9566 #line 9567 "configure"
100849567 #include "confdefs.h"
100859568
100869569 #if HAVE_DLFCN_H
101439626 exit (status);
101449627 }
101459628 EOF
10146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
101479630 (eval $ac_link) 2>&5
101489631 ac_status=$?
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9633 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
101519634 (./conftest; exit; ) >&5 2>/dev/null
101529635 lt_status=$?
101539636 case x$lt_status in
101649647
101659648
101669649 fi
10167 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10168 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9651 $as_echo "$lt_cv_dlopen_self_static" >&6; }
101699652 fi
101709653
101719654 CPPFLAGS="$save_CPPFLAGS"
101879670
101889671
101899672 # Report which library types will actually be built
10190 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10191 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10192 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10193 echo "${ECHO_T}$can_build_shared" >&6; }
10194
10195 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10196 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9674 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9676 $as_echo "$can_build_shared" >&6; }
9677
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9679 $as_echo_n "checking whether to build shared libraries... " >&6; }
101979680 test "$can_build_shared" = "no" && enable_shared=no
101989681
101999682 # On AIX, shared libraries and static libraries use the same namespace, and
102139696 fi
102149697 ;;
102159698 esac
10216 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10217 echo "${ECHO_T}$enable_shared" >&6; }
10218
10219 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10220 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9700 $as_echo "$enable_shared" >&6; }
9701
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9703 $as_echo_n "checking whether to build static libraries... " >&6; }
102219704 # Make sure either enable_shared or enable_static is yes.
102229705 test "$enable_shared" = yes || enable_static=yes
10223 { echo "$as_me:$LINENO: result: $enable_static" >&5
10224 echo "${ECHO_T}$enable_static" >&6; }
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9707 $as_echo "$enable_static" >&6; }
102259708
102269709 # The else clause should only fire when bootstrapping the
102279710 # libtool distribution, otherwise you forgot to ship ltmain.sh
103139796 cfgfile="${ofile}T"
103149797 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
103159798 $rm -f "$cfgfile"
10316 { echo "$as_me:$LINENO: creating $ofile" >&5
10317 echo "$as_me: creating $ofile" >&6;}
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
9800 $as_echo "$as_me: creating $ofile" >&6;}
103189801
103199802 cat <<__EOF__ >> "$cfgfile"
103209803 #! $SHELL
1071510198
1071610199
1071710200 # Check whether --with-tags was given.
10718 if test "${with_tags+set}" = set; then
10201 if test "${with_tags+set}" = set; then :
1071910202 withval=$with_tags; tagnames="$withval"
1072010203 fi
1072110204
1072210205
1072310206 if test -f "$ltmain" && test -n "$tagnames"; then
1072410207 if test ! -f "${ofile}"; then
10725 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10726 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
10209 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
1072710210 fi
1072810211
1072910212 if test -z "$LTCC"; then
1073010213 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1073110214 if test -z "$LTCC"; then
10732 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10733 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10216 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
1073410217 else
10735 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10736 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10219 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
1073710220 fi
1073810221 fi
1073910222 if test -z "$LTCFLAGS"; then
1075010233 # Check whether tagname contains only valid characters
1075110234 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
1075210235 "") ;;
10753 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10754 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10755 { (exit 1); exit 1; }; }
10236 *) as_fn_error $? "invalid tag name: $tagname" "$LINENO" 5
1075610237 ;;
1075710238 esac
1075810239
1075910240 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1076010241 then
10761 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10762 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10763 { (exit 1); exit 1; }; }
10242 as_fn_error $? "tag name \"$tagname\" already exists" "$LINENO" 5
1076410243 fi
1076510244
1076610245 # Update the list of available tags.
1089210371
1089310372
1089410373 # Check whether --with-gnu-ld was given.
10895 if test "${with_gnu_ld+set}" = set; then
10374 if test "${with_gnu_ld+set}" = set; then :
1089610375 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1089710376 else
1089810377 with_gnu_ld=no
1090110380 ac_prog=ld
1090210381 if test "$GCC" = yes; then
1090310382 # Check if gcc -print-prog-name=ld gives a path.
10904 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10905 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10384 $as_echo_n "checking for ld used by $CC... " >&6; }
1090610385 case $host in
1090710386 *-*-mingw*)
1090810387 # gcc leaves a trailing carriage return which upsets mingw
1093110410 ;;
1093210411 esac
1093310412 elif test "$with_gnu_ld" = yes; then
10934 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10935 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10936 else
10937 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10938 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10939 fi
10940 if test "${lt_cv_path_LD+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10414 $as_echo_n "checking for GNU ld... " >&6; }
10415 else
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10417 $as_echo_n "checking for non-GNU ld... " >&6; }
10418 fi
10419 if ${lt_cv_path_LD+:} false; then :
10420 $as_echo_n "(cached) " >&6
1094210421 else
1094310422 if test -z "$LD"; then
1094410423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1096810447
1096910448 LD="$lt_cv_path_LD"
1097010449 if test -n "$LD"; then
10971 { echo "$as_me:$LINENO: result: $LD" >&5
10972 echo "${ECHO_T}$LD" >&6; }
10973 else
10974 { echo "$as_me:$LINENO: result: no" >&5
10975 echo "${ECHO_T}no" >&6; }
10976 fi
10977 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10978 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10979 { (exit 1); exit 1; }; }
10980 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10981 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10982 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
10451 $as_echo "$LD" >&6; }
10452 else
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10454 $as_echo "no" >&6; }
10455 fi
10456 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10458 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10459 if ${lt_cv_prog_gnu_ld+:} false; then :
10460 $as_echo_n "(cached) " >&6
1098410461 else
1098510462 # I'd rather use --version here, but apparently some GNU lds only accept -v.
1098610463 case `$LD -v 2>&1 </dev/null` in
1099210469 ;;
1099310470 esac
1099410471 fi
10995 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10996 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
10473 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1099710474 with_gnu_ld=$lt_cv_prog_gnu_ld
1099810475
1099910476
1104310520 fi
1104410521
1104510522 # PORTME: fill in a description of your system's C++ link characteristics
11046 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11047 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10524 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1104810525 ld_shlibs_CXX=yes
1104910526 case $host_os in
1105010527 aix3*)
1114010617 # -berok will link without error, but may produce a broken library.
1114110618 allow_undefined_flag_CXX='-berok'
1114210619 # Determine the default libpath from the value encoded in an empty executable.
11143 cat >conftest.$ac_ext <<_ACEOF
11144 /* confdefs.h. */
11145 _ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1114810621 /* end confdefs.h. */
1114910622
1115010623 int
1115510628 return 0;
1115610629 }
1115710630 _ACEOF
11158 rm -f conftest.$ac_objext conftest$ac_exeext
11159 if { (ac_try="$ac_link"
11160 case "(($ac_try" in
11161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11162 *) ac_try_echo=$ac_try;;
11163 esac
11164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11165 (eval "$ac_link") 2>conftest.er1
11166 ac_status=$?
11167 grep -v '^ *+' conftest.er1 >conftest.err
11168 rm -f conftest.er1
11169 cat conftest.err >&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } && {
11172 test -z "$ac_cxx_werror_flag" ||
11173 test ! -s conftest.err
11174 } && test -s conftest$ac_exeext &&
11175 $as_test_x conftest$ac_exeext; then
10631 if ac_fn_cxx_try_link "$LINENO"; then :
1117610632
1117710633 lt_aix_libpath_sed='
1117810634 /Import File Strings/,/^$/ {
1118610642 if test -z "$aix_libpath"; then
1118710643 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1118810644 fi
11189 else
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.$ac_ext >&5
11192
11193
11194 fi
11195
11196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11197 conftest$ac_exeext conftest.$ac_ext
10645 fi
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
1119810648 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1119910649
1120010650 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1120710657 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1120810658 else
1120910659 # Determine the default libpath from the value encoded in an empty executable.
11210 cat >conftest.$ac_ext <<_ACEOF
11211 /* confdefs.h. */
11212 _ACEOF
11213 cat confdefs.h >>conftest.$ac_ext
11214 cat >>conftest.$ac_ext <<_ACEOF
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1121510661 /* end confdefs.h. */
1121610662
1121710663 int
1122210668 return 0;
1122310669 }
1122410670 _ACEOF
11225 rm -f conftest.$ac_objext conftest$ac_exeext
11226 if { (ac_try="$ac_link"
11227 case "(($ac_try" in
11228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11229 *) ac_try_echo=$ac_try;;
11230 esac
11231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11232 (eval "$ac_link") 2>conftest.er1
11233 ac_status=$?
11234 grep -v '^ *+' conftest.er1 >conftest.err
11235 rm -f conftest.er1
11236 cat conftest.err >&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } && {
11239 test -z "$ac_cxx_werror_flag" ||
11240 test ! -s conftest.err
11241 } && test -s conftest$ac_exeext &&
11242 $as_test_x conftest$ac_exeext; then
10671 if ac_fn_cxx_try_link "$LINENO"; then :
1124310672
1124410673 lt_aix_libpath_sed='
1124510674 /Import File Strings/,/^$/ {
1125310682 if test -z "$aix_libpath"; then
1125410683 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1125510684 fi
11256 else
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.$ac_ext >&5
11259
11260
11261 fi
11262
11263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11264 conftest$ac_exeext conftest.$ac_ext
10685 fi
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
1126510688 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1126610689
1126710690 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1201711440 ld_shlibs_CXX=no
1201811441 ;;
1201911442 esac
12020 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12021 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
11444 $as_echo "$ld_shlibs_CXX" >&6; }
1202211445 test "$ld_shlibs_CXX" = no && can_build_shared=no
1202311446
1202411447 GCC_CXX="$GXX"
1203511458 };
1203611459 EOF
1203711460
12038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1203911462 (eval $ac_compile) 2>&5
1204011463 ac_status=$?
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; then
11464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11465 test $ac_status = 0; }; then
1204311466 # Parse the compiler output and extract the necessary
1204411467 # objects, libraries and library flags.
1204511468
1219011613 lt_prog_compiler_pic_CXX=
1219111614 lt_prog_compiler_static_CXX=
1219211615
12193 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12194 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11617 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1219511618
1219611619 # C++ specific cases for pic, static, wl, etc.
1219711620 if test "$GXX" = yes; then
1247411897 esac
1247511898 fi
1247611899
12477 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12478 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
11901 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
1247911902
1248011903 #
1248111904 # Check to make sure the PIC flag actually works.
1248211905 #
1248311906 if test -n "$lt_prog_compiler_pic_CXX"; then
1248411907
12485 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12486 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12487 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11909 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
11910 if ${lt_prog_compiler_pic_works_CXX+:} false; then :
11911 $as_echo_n "(cached) " >&6
1248911912 else
1249011913 lt_prog_compiler_pic_works_CXX=no
1249111914 ac_outfile=conftest.$ac_objext
1250011923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1250111924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1250211925 -e 's:$: $lt_compiler_flag:'`
12503 (eval echo "\"\$as_me:12504: $lt_compile\"" >&5)
11926 (eval echo "\"\$as_me:11927: $lt_compile\"" >&5)
1250411927 (eval "$lt_compile" 2>conftest.err)
1250511928 ac_status=$?
1250611929 cat conftest.err >&5
12507 echo "$as_me:12508: \$? = $ac_status" >&5
11930 echo "$as_me:11931: \$? = $ac_status" >&5
1250811931 if (exit $ac_status) && test -s "$ac_outfile"; then
1250911932 # The compiler can only warn and ignore the option if not recognized
1251011933 # So say no if there are warnings other than the usual output.
1251711940 $rm conftest*
1251811941
1251911942 fi
12520 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12521 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_CXX" >&5
11944 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
1252211945
1252311946 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
1252411947 case $lt_prog_compiler_pic_CXX in
1254511968 # Check to make sure the static flag actually works.
1254611969 #
1254711970 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12548 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12549 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12550 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11972 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11973 if ${lt_prog_compiler_static_works_CXX+:} false; then :
11974 $as_echo_n "(cached) " >&6
1255211975 else
1255311976 lt_prog_compiler_static_works_CXX=no
1255411977 save_LDFLAGS="$LDFLAGS"
1257311996 LDFLAGS="$save_LDFLAGS"
1257411997
1257511998 fi
12576 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12577 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_CXX" >&5
12000 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
1257812001
1257912002 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
1258012003 :
1258312006 fi
1258412007
1258512008
12586 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12587 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12588 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12011 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
12012 $as_echo_n "(cached) " >&6
1259012013 else
1259112014 lt_cv_prog_compiler_c_o_CXX=no
1259212015 $rm -r conftest 2>/dev/null
1260412027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1260512028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1260612029 -e 's:$: $lt_compiler_flag:'`
12607 (eval echo "\"\$as_me:12608: $lt_compile\"" >&5)
12030 (eval echo "\"\$as_me:12031: $lt_compile\"" >&5)
1260812031 (eval "$lt_compile" 2>out/conftest.err)
1260912032 ac_status=$?
1261012033 cat out/conftest.err >&5
12611 echo "$as_me:12612: \$? = $ac_status" >&5
12034 echo "$as_me:12035: \$? = $ac_status" >&5
1261212035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1261312036 then
1261412037 # The compiler can only warn and ignore the option if not recognized
1263012053 $rm conftest*
1263112054
1263212055 fi
12633 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12634 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12057 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1263512058
1263612059
1263712060 hard_links="nottested"
1263812061 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1263912062 # do not overwrite the value of need_locks provided by the user
12640 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12641 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12064 $as_echo_n "checking if we can lock with hard links... " >&6; }
1264212065 hard_links=yes
1264312066 $rm conftest*
1264412067 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1264512068 touch conftest.a
1264612069 ln conftest.a conftest.b 2>&5 || hard_links=no
1264712070 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12648 { echo "$as_me:$LINENO: result: $hard_links" >&5
12649 echo "${ECHO_T}$hard_links" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12072 $as_echo "$hard_links" >&6; }
1265012073 if test "$hard_links" = no; then
12651 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12652 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12075 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1265312076 need_locks=warn
1265412077 fi
1265512078 else
1265612079 need_locks=no
1265712080 fi
1265812081
12659 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12660 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12083 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1266112084
1266212085 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1266312086 case $host_os in
1268412107 ;;
1268512108 esac
1268612109
12687 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12688 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12111 $as_echo "$ld_shlibs_CXX" >&6; }
1268912112 test "$ld_shlibs_CXX" = no && can_build_shared=no
1269012113
1269112114 #
1270512128 # Test whether the compiler implicitly links with -lc since on some
1270612129 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1270712130 # to ld, don't add -lc before -lgcc.
12708 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12709 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12132 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1271012133 $rm conftest*
1271112134 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1271212135
12713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1271412137 (eval $ac_compile) 2>&5
1271512138 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); } 2>conftest.err; then
12139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12140 test $ac_status = 0; } 2>conftest.err; then
1271812141 soname=conftest
1271912142 lib=conftest
1272012143 libobjs=conftest.$ac_objext
1272812151 libname=conftest
1272912152 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1273012153 allow_undefined_flag_CXX=
12731 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1273212155 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1273312156 ac_status=$?
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }
12157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158 test $ac_status = 0; }
1273612159 then
1273712160 archive_cmds_need_lc_CXX=no
1273812161 else
1274312166 cat conftest.err 1>&5
1274412167 fi
1274512168 $rm conftest*
12746 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12747 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12170 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
1274812171 ;;
1274912172 esac
1275012173 fi
1275112174 ;;
1275212175 esac
1275312176
12754 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12755 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12178 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1275612179 library_names_spec=
1275712180 libname_spec='lib$name'
1275812181 soname_spec=
1331312736 dynamic_linker=no
1331412737 ;;
1331512738 esac
13316 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13317 echo "${ECHO_T}$dynamic_linker" >&6; }
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12740 $as_echo "$dynamic_linker" >&6; }
1331812741 test "$dynamic_linker" = no && can_build_shared=no
1331912742
1332012743 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1332212745 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1332312746 fi
1332412747
13325 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13326 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12749 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1332712750 hardcode_action_CXX=
1332812751 if test -n "$hardcode_libdir_flag_spec_CXX" || \
1332912752 test -n "$runpath_var_CXX" || \
1334712770 # directories.
1334812771 hardcode_action_CXX=unsupported
1334912772 fi
13350 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13351 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
12774 $as_echo "$hardcode_action_CXX" >&6; }
1335212775
1335312776 if test "$hardcode_action_CXX" = relink; then
1335412777 # Fast installation is not supported
1388113304 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1388213305
1388313306
13884 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13885 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13886 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13887 echo "${ECHO_T}$can_build_shared" >&6; }
13888
13889 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13890 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13308 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13310 $as_echo "$can_build_shared" >&6; }
13311
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13313 $as_echo_n "checking whether to build shared libraries... " >&6; }
1389113314 test "$can_build_shared" = "no" && enable_shared=no
1389213315
1389313316 # On AIX, shared libraries and static libraries use the same namespace, and
1390613329 fi
1390713330 ;;
1390813331 esac
13909 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13910 echo "${ECHO_T}$enable_shared" >&6; }
13911
13912 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13913 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13333 $as_echo "$enable_shared" >&6; }
13334
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13336 $as_echo_n "checking whether to build static libraries... " >&6; }
1391413337 # Make sure either enable_shared or enable_static is yes.
1391513338 test "$enable_shared" = yes || enable_static=yes
13916 { echo "$as_me:$LINENO: result: $enable_static" >&5
13917 echo "${ECHO_T}$enable_static" >&6; }
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13340 $as_echo "$enable_static" >&6; }
1391813341
1391913342 GCC_F77="$G77"
1392013343 LD_F77="$LD"
1392313346 lt_prog_compiler_pic_F77=
1392413347 lt_prog_compiler_static_F77=
1392513348
13926 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13927 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13350 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1392813351
1392913352 if test "$GCC" = yes; then
1393013353 lt_prog_compiler_wl_F77='-Wl,'
1415513578 esac
1415613579 fi
1415713580
14158 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14159 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
13582 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
1416013583
1416113584 #
1416213585 # Check to make sure the PIC flag actually works.
1416313586 #
1416413587 if test -n "$lt_prog_compiler_pic_F77"; then
1416513588
14166 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14167 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14168 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14169 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13590 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
13591 if ${lt_prog_compiler_pic_works_F77+:} false; then :
13592 $as_echo_n "(cached) " >&6
1417013593 else
1417113594 lt_prog_compiler_pic_works_F77=no
1417213595 ac_outfile=conftest.$ac_objext
1418113604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1418213605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1418313606 -e 's:$: $lt_compiler_flag:'`
14184 (eval echo "\"\$as_me:14185: $lt_compile\"" >&5)
13607 (eval echo "\"\$as_me:13608: $lt_compile\"" >&5)
1418513608 (eval "$lt_compile" 2>conftest.err)
1418613609 ac_status=$?
1418713610 cat conftest.err >&5
14188 echo "$as_me:14189: \$? = $ac_status" >&5
13611 echo "$as_me:13612: \$? = $ac_status" >&5
1418913612 if (exit $ac_status) && test -s "$ac_outfile"; then
1419013613 # The compiler can only warn and ignore the option if not recognized
1419113614 # So say no if there are warnings other than the usual output.
1419813621 $rm conftest*
1419913622
1420013623 fi
14201 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14202 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_F77" >&5
13625 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
1420313626
1420413627 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
1420513628 case $lt_prog_compiler_pic_F77 in
1422613649 # Check to make sure the static flag actually works.
1422713650 #
1422813651 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14229 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14230 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14231 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14232 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13653 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13654 if ${lt_prog_compiler_static_works_F77+:} false; then :
13655 $as_echo_n "(cached) " >&6
1423313656 else
1423413657 lt_prog_compiler_static_works_F77=no
1423513658 save_LDFLAGS="$LDFLAGS"
1425413677 LDFLAGS="$save_LDFLAGS"
1425513678
1425613679 fi
14257 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14258 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_F77" >&5
13681 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
1425913682
1426013683 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
1426113684 :
1426413687 fi
1426513688
1426613689
14267 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14268 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14269 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13691 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13692 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
13693 $as_echo_n "(cached) " >&6
1427113694 else
1427213695 lt_cv_prog_compiler_c_o_F77=no
1427313696 $rm -r conftest 2>/dev/null
1428513708 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1428613709 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1428713710 -e 's:$: $lt_compiler_flag:'`
14288 (eval echo "\"\$as_me:14289: $lt_compile\"" >&5)
13711 (eval echo "\"\$as_me:13712: $lt_compile\"" >&5)
1428913712 (eval "$lt_compile" 2>out/conftest.err)
1429013713 ac_status=$?
1429113714 cat out/conftest.err >&5
14292 echo "$as_me:14293: \$? = $ac_status" >&5
13715 echo "$as_me:13716: \$? = $ac_status" >&5
1429313716 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1429413717 then
1429513718 # The compiler can only warn and ignore the option if not recognized
1431113734 $rm conftest*
1431213735
1431313736 fi
14314 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14315 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
13738 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
1431613739
1431713740
1431813741 hard_links="nottested"
1431913742 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
1432013743 # do not overwrite the value of need_locks provided by the user
14321 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14322 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13745 $as_echo_n "checking if we can lock with hard links... " >&6; }
1432313746 hard_links=yes
1432413747 $rm conftest*
1432513748 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1432613749 touch conftest.a
1432713750 ln conftest.a conftest.b 2>&5 || hard_links=no
1432813751 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14329 { echo "$as_me:$LINENO: result: $hard_links" >&5
14330 echo "${ECHO_T}$hard_links" >&6; }
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13753 $as_echo "$hard_links" >&6; }
1433113754 if test "$hard_links" = no; then
14332 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14333 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13756 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1433413757 need_locks=warn
1433513758 fi
1433613759 else
1433713760 need_locks=no
1433813761 fi
1433913762
14340 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14341 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13764 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1434213765
1434313766 runpath_var=
1434413767 allow_undefined_flag_F77=
1474714170 # -berok will link without error, but may produce a broken library.
1474814171 allow_undefined_flag_F77='-berok'
1474914172 # Determine the default libpath from the value encoded in an empty executable.
14750 cat >conftest.$ac_ext <<_ACEOF
14173 cat > conftest.$ac_ext <<_ACEOF
1475114174 program main
1475214175
1475314176 end
1475414177 _ACEOF
14755 rm -f conftest.$ac_objext conftest$ac_exeext
14756 if { (ac_try="$ac_link"
14757 case "(($ac_try" in
14758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14759 *) ac_try_echo=$ac_try;;
14760 esac
14761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14762 (eval "$ac_link") 2>conftest.er1
14763 ac_status=$?
14764 grep -v '^ *+' conftest.er1 >conftest.err
14765 rm -f conftest.er1
14766 cat conftest.err >&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } && {
14769 test -z "$ac_f77_werror_flag" ||
14770 test ! -s conftest.err
14771 } && test -s conftest$ac_exeext &&
14772 $as_test_x conftest$ac_exeext; then
14178 if ac_fn_f77_try_link "$LINENO"; then :
1477314179
1477414180 lt_aix_libpath_sed='
1477514181 /Import File Strings/,/^$/ {
1478314189 if test -z "$aix_libpath"; then
1478414190 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1478514191 fi
14786 else
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.$ac_ext >&5
14789
14790
14791 fi
14792
14793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14794 conftest$ac_exeext conftest.$ac_ext
14192 fi
14193 rm -f core conftest.err conftest.$ac_objext \
14194 conftest$ac_exeext conftest.$ac_ext
1479514195 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1479614196
1479714197 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1480314203 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1480414204 else
1480514205 # Determine the default libpath from the value encoded in an empty executable.
14806 cat >conftest.$ac_ext <<_ACEOF
14206 cat > conftest.$ac_ext <<_ACEOF
1480714207 program main
1480814208
1480914209 end
1481014210 _ACEOF
14811 rm -f conftest.$ac_objext conftest$ac_exeext
14812 if { (ac_try="$ac_link"
14813 case "(($ac_try" in
14814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14815 *) ac_try_echo=$ac_try;;
14816 esac
14817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14818 (eval "$ac_link") 2>conftest.er1
14819 ac_status=$?
14820 grep -v '^ *+' conftest.er1 >conftest.err
14821 rm -f conftest.er1
14822 cat conftest.err >&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } && {
14825 test -z "$ac_f77_werror_flag" ||
14826 test ! -s conftest.err
14827 } && test -s conftest$ac_exeext &&
14828 $as_test_x conftest$ac_exeext; then
14211 if ac_fn_f77_try_link "$LINENO"; then :
1482914212
1483014213 lt_aix_libpath_sed='
1483114214 /Import File Strings/,/^$/ {
1483914222 if test -z "$aix_libpath"; then
1484014223 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1484114224 fi
14842 else
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.$ac_ext >&5
14845
14846
14847 fi
14848
14849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14850 conftest$ac_exeext conftest.$ac_ext
14225 fi
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
1485114228 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1485214229
1485314230 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
1529814675 esac
1529914676 fi
1530014677
15301 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15302 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
14679 $as_echo "$ld_shlibs_F77" >&6; }
1530314680 test "$ld_shlibs_F77" = no && can_build_shared=no
1530414681
1530514682 #
1531914696 # Test whether the compiler implicitly links with -lc since on some
1532014697 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1532114698 # to ld, don't add -lc before -lgcc.
15322 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15323 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14700 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1532414701 $rm conftest*
1532514702 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1532614703
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1532814705 (eval $ac_compile) 2>&5
1532914706 ac_status=$?
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } 2>conftest.err; then
14707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14708 test $ac_status = 0; } 2>conftest.err; then
1533214709 soname=conftest
1533314710 lib=conftest
1533414711 libobjs=conftest.$ac_objext
1534214719 libname=conftest
1534314720 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
1534414721 allow_undefined_flag_F77=
15345 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1534614723 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1534714724 ac_status=$?
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }
14725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726 test $ac_status = 0; }
1535014727 then
1535114728 archive_cmds_need_lc_F77=no
1535214729 else
1535714734 cat conftest.err 1>&5
1535814735 fi
1535914736 $rm conftest*
15360 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15361 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
14738 $as_echo "$archive_cmds_need_lc_F77" >&6; }
1536214739 ;;
1536314740 esac
1536414741 fi
1536514742 ;;
1536614743 esac
1536714744
15368 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15369 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14746 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1537014747 library_names_spec=
1537114748 libname_spec='lib$name'
1537214749 soname_spec=
1592715304 dynamic_linker=no
1592815305 ;;
1592915306 esac
15930 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15931 echo "${ECHO_T}$dynamic_linker" >&6; }
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15308 $as_echo "$dynamic_linker" >&6; }
1593215309 test "$dynamic_linker" = no && can_build_shared=no
1593315310
1593415311 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1593615313 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1593715314 fi
1593815315
15939 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15940 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15317 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1594115318 hardcode_action_F77=
1594215319 if test -n "$hardcode_libdir_flag_spec_F77" || \
1594315320 test -n "$runpath_var_F77" || \
1596115338 # directories.
1596215339 hardcode_action_F77=unsupported
1596315340 fi
15964 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15965 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
15342 $as_echo "$hardcode_action_F77" >&6; }
1596615343
1596715344 if test "$hardcode_action_F77" = relink; then
1596815345 # Fast installation is not supported
1646715844 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
1646815845
1646915846
16470 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16471 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16472 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16473 echo $ECHO_N "(cached) $ECHO_C" >&6
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15848 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
15849 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
15850 $as_echo_n "(cached) " >&6
1647415851 else
1647515852 lt_cv_prog_compiler_rtti_exceptions=no
1647615853 ac_outfile=conftest.$ac_objext
1648515862 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1648615863 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1648715864 -e 's:$: $lt_compiler_flag:'`
16488 (eval echo "\"\$as_me:16489: $lt_compile\"" >&5)
15865 (eval echo "\"\$as_me:15866: $lt_compile\"" >&5)
1648915866 (eval "$lt_compile" 2>conftest.err)
1649015867 ac_status=$?
1649115868 cat conftest.err >&5
16492 echo "$as_me:16493: \$? = $ac_status" >&5
15869 echo "$as_me:15870: \$? = $ac_status" >&5
1649315870 if (exit $ac_status) && test -s "$ac_outfile"; then
1649415871 # The compiler can only warn and ignore the option if not recognized
1649515872 # So say no if there are warnings other than the usual output.
1650215879 $rm conftest*
1650315880
1650415881 fi
16505 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16506 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15883 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1650715884
1650815885 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
1650915886 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
1651715894 lt_prog_compiler_pic_GCJ=
1651815895 lt_prog_compiler_static_GCJ=
1651915896
16520 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16521 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15898 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1652215899
1652315900 if test "$GCC" = yes; then
1652415901 lt_prog_compiler_wl_GCJ='-Wl,'
1674916126 esac
1675016127 fi
1675116128
16752 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16753 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
16130 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
1675416131
1675516132 #
1675616133 # Check to make sure the PIC flag actually works.
1675716134 #
1675816135 if test -n "$lt_prog_compiler_pic_GCJ"; then
1675916136
16760 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16761 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16762 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16138 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
16139 if ${lt_prog_compiler_pic_works_GCJ+:} false; then :
16140 $as_echo_n "(cached) " >&6
1676416141 else
1676516142 lt_prog_compiler_pic_works_GCJ=no
1676616143 ac_outfile=conftest.$ac_objext
1677516152 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1677616153 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1677716154 -e 's:$: $lt_compiler_flag:'`
16778 (eval echo "\"\$as_me:16779: $lt_compile\"" >&5)
16155 (eval echo "\"\$as_me:16156: $lt_compile\"" >&5)
1677916156 (eval "$lt_compile" 2>conftest.err)
1678016157 ac_status=$?
1678116158 cat conftest.err >&5
16782 echo "$as_me:16783: \$? = $ac_status" >&5
16159 echo "$as_me:16160: \$? = $ac_status" >&5
1678316160 if (exit $ac_status) && test -s "$ac_outfile"; then
1678416161 # The compiler can only warn and ignore the option if not recognized
1678516162 # So say no if there are warnings other than the usual output.
1679216169 $rm conftest*
1679316170
1679416171 fi
16795 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16796 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5
16173 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
1679716174
1679816175 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
1679916176 case $lt_prog_compiler_pic_GCJ in
1682016197 # Check to make sure the static flag actually works.
1682116198 #
1682216199 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16823 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16824 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16825 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16201 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16202 if ${lt_prog_compiler_static_works_GCJ+:} false; then :
16203 $as_echo_n "(cached) " >&6
1682716204 else
1682816205 lt_prog_compiler_static_works_GCJ=no
1682916206 save_LDFLAGS="$LDFLAGS"
1684816225 LDFLAGS="$save_LDFLAGS"
1684916226
1685016227 fi
16851 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16852 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_GCJ" >&5
16229 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
1685316230
1685416231 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
1685516232 :
1685816235 fi
1685916236
1686016237
16861 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16862 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16863 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16864 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16239 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16240 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
16241 $as_echo_n "(cached) " >&6
1686516242 else
1686616243 lt_cv_prog_compiler_c_o_GCJ=no
1686716244 $rm -r conftest 2>/dev/null
1687916256 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1688016257 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1688116258 -e 's:$: $lt_compiler_flag:'`
16882 (eval echo "\"\$as_me:16883: $lt_compile\"" >&5)
16259 (eval echo "\"\$as_me:16260: $lt_compile\"" >&5)
1688316260 (eval "$lt_compile" 2>out/conftest.err)
1688416261 ac_status=$?
1688516262 cat out/conftest.err >&5
16886 echo "$as_me:16887: \$? = $ac_status" >&5
16263 echo "$as_me:16264: \$? = $ac_status" >&5
1688716264 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1688816265 then
1688916266 # The compiler can only warn and ignore the option if not recognized
1690516282 $rm conftest*
1690616283
1690716284 fi
16908 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16909 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16286 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
1691016287
1691116288
1691216289 hard_links="nottested"
1691316290 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
1691416291 # do not overwrite the value of need_locks provided by the user
16915 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16916 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16293 $as_echo_n "checking if we can lock with hard links... " >&6; }
1691716294 hard_links=yes
1691816295 $rm conftest*
1691916296 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1692016297 touch conftest.a
1692116298 ln conftest.a conftest.b 2>&5 || hard_links=no
1692216299 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16923 { echo "$as_me:$LINENO: result: $hard_links" >&5
16924 echo "${ECHO_T}$hard_links" >&6; }
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16301 $as_echo "$hard_links" >&6; }
1692516302 if test "$hard_links" = no; then
16926 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16927 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16304 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1692816305 need_locks=warn
1692916306 fi
1693016307 else
1693116308 need_locks=no
1693216309 fi
1693316310
16934 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16935 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16312 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1693616313
1693716314 runpath_var=
1693816315 allow_undefined_flag_GCJ=
1734116718 # -berok will link without error, but may produce a broken library.
1734216719 allow_undefined_flag_GCJ='-berok'
1734316720 # Determine the default libpath from the value encoded in an empty executable.
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734916722 /* end confdefs.h. */
1735016723
1735116724 int
1735616729 return 0;
1735716730 }
1735816731 _ACEOF
17359 rm -f conftest.$ac_objext conftest$ac_exeext
17360 if { (ac_try="$ac_link"
17361 case "(($ac_try" in
17362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17363 *) ac_try_echo=$ac_try;;
17364 esac
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_link") 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest$ac_exeext &&
17376 $as_test_x conftest$ac_exeext; then
16732 if ac_fn_c_try_link "$LINENO"; then :
1737716733
1737816734 lt_aix_libpath_sed='
1737916735 /Import File Strings/,/^$/ {
1738716743 if test -z "$aix_libpath"; then
1738816744 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1738916745 fi
17390 else
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17393
17394
17395 fi
17396
17397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17398 conftest$ac_exeext conftest.$ac_ext
16746 fi
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
1739916749 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1740016750
1740116751 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1740716757 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1740816758 else
1740916759 # Determine the default libpath from the value encoded in an empty executable.
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741516761 /* end confdefs.h. */
1741616762
1741716763 int
1742216768 return 0;
1742316769 }
1742416770 _ACEOF
17425 rm -f conftest.$ac_objext conftest$ac_exeext
17426 if { (ac_try="$ac_link"
17427 case "(($ac_try" in
17428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17429 *) ac_try_echo=$ac_try;;
17430 esac
17431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17432 (eval "$ac_link") 2>conftest.er1
17433 ac_status=$?
17434 grep -v '^ *+' conftest.er1 >conftest.err
17435 rm -f conftest.er1
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } && {
17439 test -z "$ac_c_werror_flag" ||
17440 test ! -s conftest.err
17441 } && test -s conftest$ac_exeext &&
17442 $as_test_x conftest$ac_exeext; then
16771 if ac_fn_c_try_link "$LINENO"; then :
1744316772
1744416773 lt_aix_libpath_sed='
1744516774 /Import File Strings/,/^$/ {
1745316782 if test -z "$aix_libpath"; then
1745416783 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1745516784 fi
17456 else
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.$ac_ext >&5
17459
17460
17461 fi
17462
17463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17464 conftest$ac_exeext conftest.$ac_ext
16785 fi
16786 rm -f core conftest.err conftest.$ac_objext \
16787 conftest$ac_exeext conftest.$ac_ext
1746516788 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1746616789
1746716790 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
1791217235 esac
1791317236 fi
1791417237
17915 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17916 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
17239 $as_echo "$ld_shlibs_GCJ" >&6; }
1791717240 test "$ld_shlibs_GCJ" = no && can_build_shared=no
1791817241
1791917242 #
1793317256 # Test whether the compiler implicitly links with -lc since on some
1793417257 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1793517258 # to ld, don't add -lc before -lgcc.
17936 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17937 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17260 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1793817261 $rm conftest*
1793917262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1794017263
17941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1794217265 (eval $ac_compile) 2>&5
1794317266 ac_status=$?
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } 2>conftest.err; then
17267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17268 test $ac_status = 0; } 2>conftest.err; then
1794617269 soname=conftest
1794717270 lib=conftest
1794817271 libobjs=conftest.$ac_objext
1795617279 libname=conftest
1795717280 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
1795817281 allow_undefined_flag_GCJ=
17959 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1796017283 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
1796117284 ac_status=$?
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }
17285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17286 test $ac_status = 0; }
1796417287 then
1796517288 archive_cmds_need_lc_GCJ=no
1796617289 else
1797117294 cat conftest.err 1>&5
1797217295 fi
1797317296 $rm conftest*
17974 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17975 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
17298 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
1797617299 ;;
1797717300 esac
1797817301 fi
1797917302 ;;
1798017303 esac
1798117304
17982 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17983 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17306 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1798417307 library_names_spec=
1798517308 libname_spec='lib$name'
1798617309 soname_spec=
1854117864 dynamic_linker=no
1854217865 ;;
1854317866 esac
18544 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18545 echo "${ECHO_T}$dynamic_linker" >&6; }
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17868 $as_echo "$dynamic_linker" >&6; }
1854617869 test "$dynamic_linker" = no && can_build_shared=no
1854717870
1854817871 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1855017873 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1855117874 fi
1855217875
18553 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18554 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17877 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1855517878 hardcode_action_GCJ=
1855617879 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
1855717880 test -n "$runpath_var_GCJ" || \
1857517898 # directories.
1857617899 hardcode_action_GCJ=unsupported
1857717900 fi
18578 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18579 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
17902 $as_echo "$hardcode_action_GCJ" >&6; }
1858017903
1858117904 if test "$hardcode_action_GCJ" = relink; then
1858217905 # Fast installation is not supported
1948918812 ;;
1949018813
1949118814 *)
19492 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19493 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19494 { (exit 1); exit 1; }; }
18815 as_fn_error $? "Unsupported tag name: $tagname" "$LINENO" 5
1949518816 ;;
1949618817 esac
1949718818
1950918830 chmod +x "$ofile"
1951018831 else
1951118832 rm -f "${ofile}T"
19512 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19513 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19514 { (exit 1); exit 1; }; }
18833 as_fn_error $? "unable to update list of available tagged configurations." "$LINENO" 5
1951518834 fi
1951618835 fi
1951718836
1954818867
1954918868
1955018869 # Check whether --enable-debug was given.
19551 if test "${enable_debug+set}" = set; then
18870 if test "${enable_debug+set}" = set; then :
1955218871 enableval=$enable_debug;
1955318872 else
1955418873 enable_debug=no
1956218881 fi
1956318882 CFLAGS="$CFLAGS -Werror"
1956418883
19565 cat >>confdefs.h <<\_ACEOF
19566 #define DEBUG 1
19567 _ACEOF
19568
19569
19570 cat >>confdefs.h <<\_ACEOF
19571 #define DEBUG_CHATTER 1
19572 _ACEOF
19573
19574 else
19575
19576 cat >>confdefs.h <<\_ACEOF
19577 #define NDEBUG 1
19578 _ACEOF
18884 $as_echo "#define DEBUG 1" >>confdefs.h
18885
18886
18887 $as_echo "#define DEBUG_CHATTER 1" >>confdefs.h
18888
18889 else
18890
18891 $as_echo "#define NDEBUG 1" >>confdefs.h
1957918892
1958018893 fi
1958118894
1958418897 SDL_VERSION=1.2.0
1958518898
1958618899 # Check whether --with-sdl-prefix was given.
19587 if test "${with_sdl_prefix+set}" = set; then
18900 if test "${with_sdl_prefix+set}" = set; then :
1958818901 withval=$with_sdl_prefix; sdl_prefix="$withval"
1958918902 else
1959018903 sdl_prefix=""
1959218905
1959318906
1959418907 # Check whether --with-sdl-exec-prefix was given.
19595 if test "${with_sdl_exec_prefix+set}" = set; then
18908 if test "${with_sdl_exec_prefix+set}" = set; then :
1959618909 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
1959718910 else
1959818911 sdl_exec_prefix=""
1959918912 fi
1960018913
1960118914 # Check whether --enable-sdltest was given.
19602 if test "${enable_sdltest+set}" = set; then
18915 if test "${enable_sdltest+set}" = set; then :
1960318916 enableval=$enable_sdltest;
1960418917 else
1960518918 enable_sdltest=yes
1962318936 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
1962418937 # Extract the first word of "sdl-config", so it can be a program name with args.
1962518938 set dummy sdl-config; ac_word=$2
19626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19628 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18940 $as_echo_n "checking for $ac_word... " >&6; }
18941 if ${ac_cv_path_SDL_CONFIG+:} false; then :
18942 $as_echo_n "(cached) " >&6
1963018943 else
1963118944 case $SDL_CONFIG in
1963218945 [\\/]* | ?:[\\/]*)
1963818951 do
1963918952 IFS=$as_save_IFS
1964018953 test -z "$as_dir" && as_dir=.
19641 for ac_exec_ext in '' $ac_executable_extensions; do
19642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18954 for ac_exec_ext in '' $ac_executable_extensions; do
18955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1964318956 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1964518958 break 2
1964618959 fi
1964718960 done
19648 done
18961 done
1964918962 IFS=$as_save_IFS
1965018963
1965118964 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
1965418967 fi
1965518968 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
1965618969 if test -n "$SDL_CONFIG"; then
19657 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
19658 echo "${ECHO_T}$SDL_CONFIG" >&6; }
19659 else
19660 { echo "$as_me:$LINENO: result: no" >&5
19661 echo "${ECHO_T}no" >&6; }
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
18971 $as_echo "$SDL_CONFIG" >&6; }
18972 else
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18974 $as_echo "no" >&6; }
1966218975 fi
1966318976
1966418977
1966518978 min_sdl_version=$SDL_VERSION
19666 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
19667 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
18980 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
1966818981 no_sdl=""
1966918982 if test "$SDL_CONFIG" = "no" ; then
1967018983 no_sdl=yes
1968618999 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
1968719000 LIBS="$LIBS $SDL_LIBS"
1968819001 rm -f conf.sdltest
19689 if test "$cross_compiling" = yes; then
19002 if test "$cross_compiling" = yes; then :
1969019003 echo $ac_n "cross compiling; assumed OK... $ac_c"
1969119004 else
19692 cat >conftest.$ac_ext <<_ACEOF
19693 /* confdefs.h. */
19694 _ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969719006 /* end confdefs.h. */
1969819007
1969919008 #include <stdio.h>
1975419063
1975519064
1975619065 _ACEOF
19757 rm -f conftest$ac_exeext
19758 if { (ac_try="$ac_link"
19759 case "(($ac_try" in
19760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19762 esac
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_link") 2>&5
19765 ac_status=$?
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19768 { (case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_try") 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 :
19778 else
19779 echo "$as_me: program exited with status $ac_status" >&5
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19782
19783 ( exit $ac_status )
19784 no_sdl=yes
19785 fi
19786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19787 fi
19788
19066 if ac_fn_c_try_run "$LINENO"; then :
19067
19068 else
19069 no_sdl=yes
19070 fi
19071 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19072 conftest.$ac_objext conftest.beam conftest.$ac_ext
19073 fi
1978919074
1979019075 CFLAGS="$ac_save_CFLAGS"
1979119076 LIBS="$ac_save_LIBS"
1979219077 fi
1979319078 fi
1979419079 if test "x$no_sdl" = x ; then
19795 { echo "$as_me:$LINENO: result: yes" >&5
19796 echo "${ECHO_T}yes" >&6; }
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19081 $as_echo "yes" >&6; }
1979719082 :
1979819083 else
19799 { echo "$as_me:$LINENO: result: no" >&5
19800 echo "${ECHO_T}no" >&6; }
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19085 $as_echo "no" >&6; }
1980119086 if test "$SDL_CONFIG" = "no" ; then
1980219087 echo "*** The sdl-config script installed by SDL could not be found"
1980319088 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
1981119096 CFLAGS="$CFLAGS $SDL_CFLAGS"
1981219097 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
1981319098 LIBS="$LIBS $SDL_LIBS"
19814 cat >conftest.$ac_ext <<_ACEOF
19815 /* confdefs.h. */
19816 _ACEOF
19817 cat confdefs.h >>conftest.$ac_ext
19818 cat >>conftest.$ac_ext <<_ACEOF
19099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981919100 /* end confdefs.h. */
1982019101
1982119102 #include <stdio.h>
1983419115 return 0;
1983519116 }
1983619117 _ACEOF
19837 rm -f conftest.$ac_objext conftest$ac_exeext
19838 if { (ac_try="$ac_link"
19839 case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19842 esac
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_link") 2>conftest.er1
19845 ac_status=$?
19846 grep -v '^ *+' conftest.er1 >conftest.err
19847 rm -f conftest.er1
19848 cat conftest.err >&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } && {
19851 test -z "$ac_c_werror_flag" ||
19852 test ! -s conftest.err
19853 } && test -s conftest$ac_exeext &&
19854 $as_test_x conftest$ac_exeext; then
19118 if ac_fn_c_try_link "$LINENO"; then :
1985519119 echo "*** The test program compiled, but did not run. This usually means"
1985619120 echo "*** that the run-time linker is not finding SDL or finding the wrong"
1985719121 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
1986219126 echo "*** If you have an old version installed, it is best to remove it, although"
1986319127 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
1986419128 else
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19867
19868 echo "*** The test program failed to compile or link. See the file config.log for the"
19129 echo "*** The test program failed to compile or link. See the file config.log for the"
1986919130 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
1987019131 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
1987119132 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
1987219133 fi
19873
19874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19875 conftest$ac_exeext conftest.$ac_ext
19134 rm -f core conftest.err conftest.$ac_objext \
19135 conftest$ac_exeext conftest.$ac_ext
1987619136 CFLAGS="$ac_save_CFLAGS"
1987719137 CXXFLAGS="$ac_save_CXXFLAGS"
1987819138 LIBS="$ac_save_LIBS"
1988119141 SDL_CFLAGS=""
1988219142 SDL_CXXFLAGS=""
1988319143 SDL_LIBS=""
19884 { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
19885 echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
19886 { (exit 1); exit 1; }; }
19144 as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
1988719145
1988819146 fi
1988919147
1989519153
1989619154
1989719155 # Check whether --enable-voc was given.
19898 if test "${enable_voc+set}" = set; then
19156 if test "${enable_voc+set}" = set; then :
1989919157 enableval=$enable_voc;
1990019158 else
1990119159 enable_voc=yes
1990319161
1990419162 if test x$enable_voc = xyes; then
1990519163
19906 cat >>confdefs.h <<\_ACEOF
19907 #define SOUND_SUPPORTS_VOC 1
19908 _ACEOF
19164 $as_echo "#define SOUND_SUPPORTS_VOC 1" >>confdefs.h
1990919165
1991019166 fi
1991119167
1991219168
1991319169 # Check whether --enable-wav was given.
19914 if test "${enable_wav+set}" = set; then
19170 if test "${enable_wav+set}" = set; then :
1991519171 enableval=$enable_wav;
1991619172 else
1991719173 enable_wav=yes
1991919175
1992019176 if test x$enable_wav = xyes; then
1992119177
19922 cat >>confdefs.h <<\_ACEOF
19923 #define SOUND_SUPPORTS_WAV 1
19924 _ACEOF
19178 $as_echo "#define SOUND_SUPPORTS_WAV 1" >>confdefs.h
1992519179
1992619180 fi
1992719181
1992819182
1992919183 # Check whether --enable-raw was given.
19930 if test "${enable_raw+set}" = set; then
19184 if test "${enable_raw+set}" = set; then :
1993119185 enableval=$enable_raw;
1993219186 else
1993319187 enable_raw=yes
1993519189
1993619190 if test x$enable_raw = xyes; then
1993719191
19938 cat >>confdefs.h <<\_ACEOF
19939 #define SOUND_SUPPORTS_RAW 1
19940 _ACEOF
19192 $as_echo "#define SOUND_SUPPORTS_RAW 1" >>confdefs.h
1994119193
1994219194 fi
1994319195
1994419196
1994519197 # Check whether --enable-aiff was given.
19946 if test "${enable_aiff+set}" = set; then
19198 if test "${enable_aiff+set}" = set; then :
1994719199 enableval=$enable_aiff;
1994819200 else
1994919201 enable_aiff=yes
1995119203
1995219204 if test x$enable_aiff = xyes; then
1995319205
19954 cat >>confdefs.h <<\_ACEOF
19955 #define SOUND_SUPPORTS_AIFF 1
19956 _ACEOF
19206 $as_echo "#define SOUND_SUPPORTS_AIFF 1" >>confdefs.h
1995719207
1995819208 fi
1995919209
1996019210 # Check whether --enable-au was given.
19961 if test "${enable_au+set}" = set; then
19211 if test "${enable_au+set}" = set; then :
1996219212 enableval=$enable_au;
1996319213 else
1996419214 enable_au=yes
1996619216
1996719217 if test x$enable_au = xyes; then
1996819218
19969 cat >>confdefs.h <<\_ACEOF
19970 #define SOUND_SUPPORTS_AU 1
19971 _ACEOF
19219 $as_echo "#define SOUND_SUPPORTS_AU 1" >>confdefs.h
1997219220
1997319221 fi
1997419222
1997519223 # Check whether --enable-shn was given.
19976 if test "${enable_shn+set}" = set; then
19224 if test "${enable_shn+set}" = set; then :
1997719225 enableval=$enable_shn;
1997819226 else
1997919227 enable_shn=yes
1998119229
1998219230 if test x$enable_shn = xyes; then
1998319231
19984 cat >>confdefs.h <<\_ACEOF
19985 #define SOUND_SUPPORTS_SHN 1
19986 _ACEOF
19232 $as_echo "#define SOUND_SUPPORTS_SHN 1" >>confdefs.h
1998719233
1998819234 fi
1998919235
1999019236 # Check whether --enable-midi was given.
19991 if test "${enable_midi+set}" = set; then
19237 if test "${enable_midi+set}" = set; then :
1999219238 enableval=$enable_midi;
1999319239 else
1999419240 enable_midi=yes
1999619242
1999719243 if test x$enable_midi = xyes; then
1999819244
19999 cat >>confdefs.h <<\_ACEOF
20000 #define SOUND_SUPPORTS_MIDI 1
20001 _ACEOF
19245 $as_echo "#define SOUND_SUPPORTS_MIDI 1" >>confdefs.h
2000219246
2000319247 fi
2000419248
2000519249 # Check whether --enable-smpeg was given.
20006 if test "${enable_smpeg+set}" = set; then
19250 if test "${enable_smpeg+set}" = set; then :
2000719251 enableval=$enable_smpeg;
2000819252 else
2000919253 enable_smpeg=yes
2001019254 fi
2001119255
2001219256 if test x$enable_smpeg = xyes; then
20013 if test "${ac_cv_header_smpeg_h+set}" = set; then
20014 { echo "$as_me:$LINENO: checking for smpeg.h" >&5
20015 echo $ECHO_N "checking for smpeg.h... $ECHO_C" >&6; }
20016 if test "${ac_cv_header_smpeg_h+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 fi
20019 { echo "$as_me:$LINENO: result: $ac_cv_header_smpeg_h" >&5
20020 echo "${ECHO_T}$ac_cv_header_smpeg_h" >&6; }
20021 else
20022 # Is the header compilable?
20023 { echo "$as_me:$LINENO: checking smpeg.h usability" >&5
20024 echo $ECHO_N "checking smpeg.h usability... $ECHO_C" >&6; }
20025 cat >conftest.$ac_ext <<_ACEOF
20026 /* confdefs.h. */
20027 _ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 $ac_includes_default
20032 #include <smpeg.h>
20033 _ACEOF
20034 rm -f conftest.$ac_objext
20035 if { (ac_try="$ac_compile"
20036 case "(($ac_try" in
20037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20038 *) ac_try_echo=$ac_try;;
20039 esac
20040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20041 (eval "$ac_compile") 2>conftest.er1
20042 ac_status=$?
20043 grep -v '^ *+' conftest.er1 >conftest.err
20044 rm -f conftest.er1
20045 cat conftest.err >&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } && {
20048 test -z "$ac_c_werror_flag" ||
20049 test ! -s conftest.err
20050 } && test -s conftest.$ac_objext; then
20051 ac_header_compiler=yes
20052 else
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20055
20056 ac_header_compiler=no
20057 fi
20058
20059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20060 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20061 echo "${ECHO_T}$ac_header_compiler" >&6; }
20062
20063 # Is the header present?
20064 { echo "$as_me:$LINENO: checking smpeg.h presence" >&5
20065 echo $ECHO_N "checking smpeg.h presence... $ECHO_C" >&6; }
20066 cat >conftest.$ac_ext <<_ACEOF
20067 /* confdefs.h. */
20068 _ACEOF
20069 cat confdefs.h >>conftest.$ac_ext
20070 cat >>conftest.$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20072 #include <smpeg.h>
20073 _ACEOF
20074 if { (ac_try="$ac_cpp conftest.$ac_ext"
20075 case "(($ac_try" in
20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20077 *) ac_try_echo=$ac_try;;
20078 esac
20079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20081 ac_status=$?
20082 grep -v '^ *+' conftest.er1 >conftest.err
20083 rm -f conftest.er1
20084 cat conftest.err >&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } >/dev/null && {
20087 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20088 test ! -s conftest.err
20089 }; then
20090 ac_header_preproc=yes
20091 else
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20094
20095 ac_header_preproc=no
20096 fi
20097
20098 rm -f conftest.err conftest.$ac_ext
20099 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20100 echo "${ECHO_T}$ac_header_preproc" >&6; }
20101
20102 # So? What about this header?
20103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20104 yes:no: )
20105 { echo "$as_me:$LINENO: WARNING: smpeg.h: accepted by the compiler, rejected by the preprocessor!" >&5
20106 echo "$as_me: WARNING: smpeg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20107 { echo "$as_me:$LINENO: WARNING: smpeg.h: proceeding with the compiler's result" >&5
20108 echo "$as_me: WARNING: smpeg.h: proceeding with the compiler's result" >&2;}
20109 ac_header_preproc=yes
20110 ;;
20111 no:yes:* )
20112 { echo "$as_me:$LINENO: WARNING: smpeg.h: present but cannot be compiled" >&5
20113 echo "$as_me: WARNING: smpeg.h: present but cannot be compiled" >&2;}
20114 { echo "$as_me:$LINENO: WARNING: smpeg.h: check for missing prerequisite headers?" >&5
20115 echo "$as_me: WARNING: smpeg.h: check for missing prerequisite headers?" >&2;}
20116 { echo "$as_me:$LINENO: WARNING: smpeg.h: see the Autoconf documentation" >&5
20117 echo "$as_me: WARNING: smpeg.h: see the Autoconf documentation" >&2;}
20118 { echo "$as_me:$LINENO: WARNING: smpeg.h: section \"Present But Cannot Be Compiled\"" >&5
20119 echo "$as_me: WARNING: smpeg.h: section \"Present But Cannot Be Compiled\"" >&2;}
20120 { echo "$as_me:$LINENO: WARNING: smpeg.h: proceeding with the preprocessor's result" >&5
20121 echo "$as_me: WARNING: smpeg.h: proceeding with the preprocessor's result" >&2;}
20122 { echo "$as_me:$LINENO: WARNING: smpeg.h: in the future, the compiler will take precedence" >&5
20123 echo "$as_me: WARNING: smpeg.h: in the future, the compiler will take precedence" >&2;}
20124
20125 ;;
20126 esac
20127 { echo "$as_me:$LINENO: checking for smpeg.h" >&5
20128 echo $ECHO_N "checking for smpeg.h... $ECHO_C" >&6; }
20129 if test "${ac_cv_header_smpeg_h+set}" = set; then
20130 echo $ECHO_N "(cached) $ECHO_C" >&6
20131 else
20132 ac_cv_header_smpeg_h=$ac_header_preproc
20133 fi
20134 { echo "$as_me:$LINENO: result: $ac_cv_header_smpeg_h" >&5
20135 echo "${ECHO_T}$ac_cv_header_smpeg_h" >&6; }
20136
20137 fi
20138 if test $ac_cv_header_smpeg_h = yes; then
19257 ac_fn_c_check_header_mongrel "$LINENO" "smpeg.h" "ac_cv_header_smpeg_h" "$ac_includes_default"
19258 if test "x$ac_cv_header_smpeg_h" = xyes; then :
2013919259 have_smpeg_hdr=yes
2014019260 fi
2014119261
2014219262
20143 { echo "$as_me:$LINENO: checking for SMPEG_new in -lsmpeg" >&5
20144 echo $ECHO_N "checking for SMPEG_new in -lsmpeg... $ECHO_C" >&6; }
20145 if test "${ac_cv_lib_smpeg_SMPEG_new+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMPEG_new in -lsmpeg" >&5
19264 $as_echo_n "checking for SMPEG_new in -lsmpeg... " >&6; }
19265 if ${ac_cv_lib_smpeg_SMPEG_new+:} false; then :
19266 $as_echo_n "(cached) " >&6
2014719267 else
2014819268 ac_check_lib_save_LIBS=$LIBS
2014919269 LIBS="-lsmpeg $LIBS"
20150 cat >conftest.$ac_ext <<_ACEOF
20151 /* confdefs.h. */
20152 _ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015519271 /* end confdefs.h. */
2015619272
2015719273 /* Override any GCC internal prototype to avoid an error.
2016919285 return 0;
2017019286 }
2017119287 _ACEOF
20172 rm -f conftest.$ac_objext conftest$ac_exeext
20173 if { (ac_try="$ac_link"
20174 case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20177 esac
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_link") 2>conftest.er1
20180 ac_status=$?
20181 grep -v '^ *+' conftest.er1 >conftest.err
20182 rm -f conftest.er1
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest$ac_exeext &&
20189 $as_test_x conftest$ac_exeext; then
19288 if ac_fn_c_try_link "$LINENO"; then :
2019019289 ac_cv_lib_smpeg_SMPEG_new=yes
2019119290 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 ac_cv_lib_smpeg_SMPEG_new=no
20196 fi
20197
20198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20199 conftest$ac_exeext conftest.$ac_ext
19291 ac_cv_lib_smpeg_SMPEG_new=no
19292 fi
19293 rm -f core conftest.err conftest.$ac_objext \
19294 conftest$ac_exeext conftest.$ac_ext
2020019295 LIBS=$ac_check_lib_save_LIBS
2020119296 fi
20202 { echo "$as_me:$LINENO: result: $ac_cv_lib_smpeg_SMPEG_new" >&5
20203 echo "${ECHO_T}$ac_cv_lib_smpeg_SMPEG_new" >&6; }
20204 if test $ac_cv_lib_smpeg_SMPEG_new = yes; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_smpeg_SMPEG_new" >&5
19298 $as_echo "$ac_cv_lib_smpeg_SMPEG_new" >&6; }
19299 if test "x$ac_cv_lib_smpeg_SMPEG_new" = xyes; then :
2020519300 have_smpeg_lib=yes
2020619301 fi
2020719302
2020819303 if test x$have_smpeg_hdr = xyes -a x$have_smpeg_lib = xyes; then
2020919304 LIBS="$LIBS -lsmpeg"
2021019305
20211 cat >>confdefs.h <<\_ACEOF
20212 #define SOUND_SUPPORTS_SMPEG 1
20213 _ACEOF
19306 $as_echo "#define SOUND_SUPPORTS_SMPEG 1" >>confdefs.h
2021419307
2021519308 fi
2021619309 fi
2021719310
2021819311 # Check whether --enable-mpglib was given.
20219 if test "${enable_mpglib+set}" = set; then
19312 if test "${enable_mpglib+set}" = set; then :
2022019313 enableval=$enable_mpglib;
2022119314 else
2022219315 enable_mpglib=yes
2022419317
2022519318 if test x$enable_mpglib = xyes; then
2022619319
20227 cat >>confdefs.h <<\_ACEOF
20228 #define SOUND_SUPPORTS_MPGLIB 1
20229 _ACEOF
19320 $as_echo "#define SOUND_SUPPORTS_MPGLIB 1" >>confdefs.h
2023019321
2023119322 fi
2023219323
2023319324
2023419325 # Check whether --enable-mikmod was given.
20235 if test "${enable_mikmod+set}" = set; then
19326 if test "${enable_mikmod+set}" = set; then :
2023619327 enableval=$enable_mikmod;
2023719328 else
2023819329 enable_mikmod=yes
2023919330 fi
2024019331
2024119332 if test x$enable_mikmod = xyes; then
20242 if test "${ac_cv_header_mikmod_h+set}" = set; then
20243 { echo "$as_me:$LINENO: checking for mikmod.h" >&5
20244 echo $ECHO_N "checking for mikmod.h... $ECHO_C" >&6; }
20245 if test "${ac_cv_header_mikmod_h+set}" = set; then
20246 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 fi
20248 { echo "$as_me:$LINENO: result: $ac_cv_header_mikmod_h" >&5
20249 echo "${ECHO_T}$ac_cv_header_mikmod_h" >&6; }
20250 else
20251 # Is the header compilable?
20252 { echo "$as_me:$LINENO: checking mikmod.h usability" >&5
20253 echo $ECHO_N "checking mikmod.h usability... $ECHO_C" >&6; }
20254 cat >conftest.$ac_ext <<_ACEOF
20255 /* confdefs.h. */
20256 _ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 $ac_includes_default
20261 #include <mikmod.h>
20262 _ACEOF
20263 rm -f conftest.$ac_objext
20264 if { (ac_try="$ac_compile"
20265 case "(($ac_try" in
20266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20267 *) ac_try_echo=$ac_try;;
20268 esac
20269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20270 (eval "$ac_compile") 2>conftest.er1
20271 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } && {
20277 test -z "$ac_c_werror_flag" ||
20278 test ! -s conftest.err
20279 } && test -s conftest.$ac_objext; then
20280 ac_header_compiler=yes
20281 else
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20284
20285 ac_header_compiler=no
20286 fi
20287
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20290 echo "${ECHO_T}$ac_header_compiler" >&6; }
20291
20292 # Is the header present?
20293 { echo "$as_me:$LINENO: checking mikmod.h presence" >&5
20294 echo $ECHO_N "checking mikmod.h presence... $ECHO_C" >&6; }
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 #include <mikmod.h>
20302 _ACEOF
20303 if { (ac_try="$ac_cpp conftest.$ac_ext"
20304 case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20307 esac
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20310 ac_status=$?
20311 grep -v '^ *+' conftest.er1 >conftest.err
20312 rm -f conftest.er1
20313 cat conftest.err >&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } >/dev/null && {
20316 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20317 test ! -s conftest.err
20318 }; then
20319 ac_header_preproc=yes
20320 else
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20323
20324 ac_header_preproc=no
20325 fi
20326
20327 rm -f conftest.err conftest.$ac_ext
20328 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20329 echo "${ECHO_T}$ac_header_preproc" >&6; }
20330
20331 # So? What about this header?
20332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20333 yes:no: )
20334 { echo "$as_me:$LINENO: WARNING: mikmod.h: accepted by the compiler, rejected by the preprocessor!" >&5
20335 echo "$as_me: WARNING: mikmod.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20336 { echo "$as_me:$LINENO: WARNING: mikmod.h: proceeding with the compiler's result" >&5
20337 echo "$as_me: WARNING: mikmod.h: proceeding with the compiler's result" >&2;}
20338 ac_header_preproc=yes
20339 ;;
20340 no:yes:* )
20341 { echo "$as_me:$LINENO: WARNING: mikmod.h: present but cannot be compiled" >&5
20342 echo "$as_me: WARNING: mikmod.h: present but cannot be compiled" >&2;}
20343 { echo "$as_me:$LINENO: WARNING: mikmod.h: check for missing prerequisite headers?" >&5
20344 echo "$as_me: WARNING: mikmod.h: check for missing prerequisite headers?" >&2;}
20345 { echo "$as_me:$LINENO: WARNING: mikmod.h: see the Autoconf documentation" >&5
20346 echo "$as_me: WARNING: mikmod.h: see the Autoconf documentation" >&2;}
20347 { echo "$as_me:$LINENO: WARNING: mikmod.h: section \"Present But Cannot Be Compiled\"" >&5
20348 echo "$as_me: WARNING: mikmod.h: section \"Present But Cannot Be Compiled\"" >&2;}
20349 { echo "$as_me:$LINENO: WARNING: mikmod.h: proceeding with the preprocessor's result" >&5
20350 echo "$as_me: WARNING: mikmod.h: proceeding with the preprocessor's result" >&2;}
20351 { echo "$as_me:$LINENO: WARNING: mikmod.h: in the future, the compiler will take precedence" >&5
20352 echo "$as_me: WARNING: mikmod.h: in the future, the compiler will take precedence" >&2;}
20353
20354 ;;
20355 esac
20356 { echo "$as_me:$LINENO: checking for mikmod.h" >&5
20357 echo $ECHO_N "checking for mikmod.h... $ECHO_C" >&6; }
20358 if test "${ac_cv_header_mikmod_h+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 else
20361 ac_cv_header_mikmod_h=$ac_header_preproc
20362 fi
20363 { echo "$as_me:$LINENO: result: $ac_cv_header_mikmod_h" >&5
20364 echo "${ECHO_T}$ac_cv_header_mikmod_h" >&6; }
20365
20366 fi
20367 if test $ac_cv_header_mikmod_h = yes; then
19333 ac_fn_c_check_header_mongrel "$LINENO" "mikmod.h" "ac_cv_header_mikmod_h" "$ac_includes_default"
19334 if test "x$ac_cv_header_mikmod_h" = xyes; then :
2036819335 have_mikmod_hdr=yes
2036919336 fi
2037019337
2037119338
20372 { echo "$as_me:$LINENO: checking for MikMod_RegisterDriver in -lmikmod" >&5
20373 echo $ECHO_N "checking for MikMod_RegisterDriver in -lmikmod... $ECHO_C" >&6; }
20374 if test "${ac_cv_lib_mikmod_MikMod_RegisterDriver+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MikMod_RegisterDriver in -lmikmod" >&5
19340 $as_echo_n "checking for MikMod_RegisterDriver in -lmikmod... " >&6; }
19341 if ${ac_cv_lib_mikmod_MikMod_RegisterDriver+:} false; then :
19342 $as_echo_n "(cached) " >&6
2037619343 else
2037719344 ac_check_lib_save_LIBS=$LIBS
2037819345 LIBS="-lmikmod $LIBS"
20379 cat >conftest.$ac_ext <<_ACEOF
20380 /* confdefs.h. */
20381 _ACEOF
20382 cat confdefs.h >>conftest.$ac_ext
20383 cat >>conftest.$ac_ext <<_ACEOF
19346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038419347 /* end confdefs.h. */
2038519348
2038619349 /* Override any GCC internal prototype to avoid an error.
2039819361 return 0;
2039919362 }
2040019363 _ACEOF
20401 rm -f conftest.$ac_objext conftest$ac_exeext
20402 if { (ac_try="$ac_link"
20403 case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;;
20406 esac
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_link") 2>conftest.er1
20409 ac_status=$?
20410 grep -v '^ *+' conftest.er1 >conftest.err
20411 rm -f conftest.er1
20412 cat conftest.err >&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && {
20415 test -z "$ac_c_werror_flag" ||
20416 test ! -s conftest.err
20417 } && test -s conftest$ac_exeext &&
20418 $as_test_x conftest$ac_exeext; then
19364 if ac_fn_c_try_link "$LINENO"; then :
2041919365 ac_cv_lib_mikmod_MikMod_RegisterDriver=yes
2042019366 else
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.$ac_ext >&5
20423
20424 ac_cv_lib_mikmod_MikMod_RegisterDriver=no
20425 fi
20426
20427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20428 conftest$ac_exeext conftest.$ac_ext
19367 ac_cv_lib_mikmod_MikMod_RegisterDriver=no
19368 fi
19369 rm -f core conftest.err conftest.$ac_objext \
19370 conftest$ac_exeext conftest.$ac_ext
2042919371 LIBS=$ac_check_lib_save_LIBS
2043019372 fi
20431 { echo "$as_me:$LINENO: result: $ac_cv_lib_mikmod_MikMod_RegisterDriver" >&5
20432 echo "${ECHO_T}$ac_cv_lib_mikmod_MikMod_RegisterDriver" >&6; }
20433 if test $ac_cv_lib_mikmod_MikMod_RegisterDriver = yes; then
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mikmod_MikMod_RegisterDriver" >&5
19374 $as_echo "$ac_cv_lib_mikmod_MikMod_RegisterDriver" >&6; }
19375 if test "x$ac_cv_lib_mikmod_MikMod_RegisterDriver" = xyes; then :
2043419376 have_mikmod_lib=yes
2043519377 fi
2043619378
2043719379 if test x$have_mikmod_hdr = xyes -a x$have_mikmod_lib = xyes; then
2043819380 LIBS="$LIBS -lmikmod"
2043919381
20440 cat >>confdefs.h <<\_ACEOF
20441 #define SOUND_SUPPORTS_MIKMOD 1
20442 _ACEOF
19382 $as_echo "#define SOUND_SUPPORTS_MIKMOD 1" >>confdefs.h
2044319383
2044419384 fi
2044519385 fi
2044619386
2044719387 # Check whether --enable-modplug was given.
20448 if test "${enable_modplug+set}" = set; then
19388 if test "${enable_modplug+set}" = set; then :
2044919389 enableval=$enable_modplug;
2045019390 else
2045119391 enable_modplug=yes
2045319393
2045419394 if test x$enable_modplug = xyes; then
2045519395 have_modplug_hdr=no
20456 if test "${ac_cv_header_modplug_h+set}" = set; then
20457 { echo "$as_me:$LINENO: checking for modplug.h" >&5
20458 echo $ECHO_N "checking for modplug.h... $ECHO_C" >&6; }
20459 if test "${ac_cv_header_modplug_h+set}" = set; then
20460 echo $ECHO_N "(cached) $ECHO_C" >&6
20461 fi
20462 { echo "$as_me:$LINENO: result: $ac_cv_header_modplug_h" >&5
20463 echo "${ECHO_T}$ac_cv_header_modplug_h" >&6; }
20464 else
20465 # Is the header compilable?
20466 { echo "$as_me:$LINENO: checking modplug.h usability" >&5
20467 echo $ECHO_N "checking modplug.h usability... $ECHO_C" >&6; }
20468 cat >conftest.$ac_ext <<_ACEOF
20469 /* confdefs.h. */
20470 _ACEOF
20471 cat confdefs.h >>conftest.$ac_ext
20472 cat >>conftest.$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 $ac_includes_default
20475 #include <modplug.h>
20476 _ACEOF
20477 rm -f conftest.$ac_objext
20478 if { (ac_try="$ac_compile"
20479 case "(($ac_try" in
20480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20481 *) ac_try_echo=$ac_try;;
20482 esac
20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20484 (eval "$ac_compile") 2>conftest.er1
20485 ac_status=$?
20486 grep -v '^ *+' conftest.er1 >conftest.err
20487 rm -f conftest.er1
20488 cat conftest.err >&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && {
20491 test -z "$ac_c_werror_flag" ||
20492 test ! -s conftest.err
20493 } && test -s conftest.$ac_objext; then
20494 ac_header_compiler=yes
20495 else
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20498
20499 ac_header_compiler=no
20500 fi
20501
20502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20503 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20504 echo "${ECHO_T}$ac_header_compiler" >&6; }
20505
20506 # Is the header present?
20507 { echo "$as_me:$LINENO: checking modplug.h presence" >&5
20508 echo $ECHO_N "checking modplug.h presence... $ECHO_C" >&6; }
20509 cat >conftest.$ac_ext <<_ACEOF
20510 /* confdefs.h. */
20511 _ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 #include <modplug.h>
20516 _ACEOF
20517 if { (ac_try="$ac_cpp conftest.$ac_ext"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20521 esac
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20524 ac_status=$?
20525 grep -v '^ *+' conftest.er1 >conftest.err
20526 rm -f conftest.er1
20527 cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } >/dev/null && {
20530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20531 test ! -s conftest.err
20532 }; then
20533 ac_header_preproc=yes
20534 else
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20537
20538 ac_header_preproc=no
20539 fi
20540
20541 rm -f conftest.err conftest.$ac_ext
20542 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20543 echo "${ECHO_T}$ac_header_preproc" >&6; }
20544
20545 # So? What about this header?
20546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20547 yes:no: )
20548 { echo "$as_me:$LINENO: WARNING: modplug.h: accepted by the compiler, rejected by the preprocessor!" >&5
20549 echo "$as_me: WARNING: modplug.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20550 { echo "$as_me:$LINENO: WARNING: modplug.h: proceeding with the compiler's result" >&5
20551 echo "$as_me: WARNING: modplug.h: proceeding with the compiler's result" >&2;}
20552 ac_header_preproc=yes
20553 ;;
20554 no:yes:* )
20555 { echo "$as_me:$LINENO: WARNING: modplug.h: present but cannot be compiled" >&5
20556 echo "$as_me: WARNING: modplug.h: present but cannot be compiled" >&2;}
20557 { echo "$as_me:$LINENO: WARNING: modplug.h: check for missing prerequisite headers?" >&5
20558 echo "$as_me: WARNING: modplug.h: check for missing prerequisite headers?" >&2;}
20559 { echo "$as_me:$LINENO: WARNING: modplug.h: see the Autoconf documentation" >&5
20560 echo "$as_me: WARNING: modplug.h: see the Autoconf documentation" >&2;}
20561 { echo "$as_me:$LINENO: WARNING: modplug.h: section \"Present But Cannot Be Compiled\"" >&5
20562 echo "$as_me: WARNING: modplug.h: section \"Present But Cannot Be Compiled\"" >&2;}
20563 { echo "$as_me:$LINENO: WARNING: modplug.h: proceeding with the preprocessor's result" >&5
20564 echo "$as_me: WARNING: modplug.h: proceeding with the preprocessor's result" >&2;}
20565 { echo "$as_me:$LINENO: WARNING: modplug.h: in the future, the compiler will take precedence" >&5
20566 echo "$as_me: WARNING: modplug.h: in the future, the compiler will take precedence" >&2;}
20567
20568 ;;
20569 esac
20570 { echo "$as_me:$LINENO: checking for modplug.h" >&5
20571 echo $ECHO_N "checking for modplug.h... $ECHO_C" >&6; }
20572 if test "${ac_cv_header_modplug_h+set}" = set; then
20573 echo $ECHO_N "(cached) $ECHO_C" >&6
20574 else
20575 ac_cv_header_modplug_h=$ac_header_preproc
20576 fi
20577 { echo "$as_me:$LINENO: result: $ac_cv_header_modplug_h" >&5
20578 echo "${ECHO_T}$ac_cv_header_modplug_h" >&6; }
20579
20580 fi
20581 if test $ac_cv_header_modplug_h = yes; then
19396 ac_fn_c_check_header_mongrel "$LINENO" "modplug.h" "ac_cv_header_modplug_h" "$ac_includes_default"
19397 if test "x$ac_cv_header_modplug_h" = xyes; then :
2058219398 have_modplug_hdr=yes
2058319399 fi
2058419400
2058519401
2058619402 if test x$have_modplug_hdr = xno; then
20587 if test "${ac_cv_header_libmodplug_modplug_h+set}" = set; then
20588 { echo "$as_me:$LINENO: checking for libmodplug/modplug.h" >&5
20589 echo $ECHO_N "checking for libmodplug/modplug.h... $ECHO_C" >&6; }
20590 if test "${ac_cv_header_libmodplug_modplug_h+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20592 fi
20593 { echo "$as_me:$LINENO: result: $ac_cv_header_libmodplug_modplug_h" >&5
20594 echo "${ECHO_T}$ac_cv_header_libmodplug_modplug_h" >&6; }
20595 else
20596 # Is the header compilable?
20597 { echo "$as_me:$LINENO: checking libmodplug/modplug.h usability" >&5
20598 echo $ECHO_N "checking libmodplug/modplug.h usability... $ECHO_C" >&6; }
20599 cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h. */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20605 $ac_includes_default
20606 #include <libmodplug/modplug.h>
20607 _ACEOF
20608 rm -f conftest.$ac_objext
20609 if { (ac_try="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20613 esac
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20616 ac_status=$?
20617 grep -v '^ *+' conftest.er1 >conftest.err
20618 rm -f conftest.er1
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } && {
20622 test -z "$ac_c_werror_flag" ||
20623 test ! -s conftest.err
20624 } && test -s conftest.$ac_objext; then
20625 ac_header_compiler=yes
20626 else
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20629
20630 ac_header_compiler=no
20631 fi
20632
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20635 echo "${ECHO_T}$ac_header_compiler" >&6; }
20636
20637 # Is the header present?
20638 { echo "$as_me:$LINENO: checking libmodplug/modplug.h presence" >&5
20639 echo $ECHO_N "checking libmodplug/modplug.h presence... $ECHO_C" >&6; }
20640 cat >conftest.$ac_ext <<_ACEOF
20641 /* confdefs.h. */
20642 _ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #include <libmodplug/modplug.h>
20647 _ACEOF
20648 if { (ac_try="$ac_cpp conftest.$ac_ext"
20649 case "(($ac_try" in
20650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20651 *) ac_try_echo=$ac_try;;
20652 esac
20653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20655 ac_status=$?
20656 grep -v '^ *+' conftest.er1 >conftest.err
20657 rm -f conftest.er1
20658 cat conftest.err >&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); } >/dev/null && {
20661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20662 test ! -s conftest.err
20663 }; then
20664 ac_header_preproc=yes
20665 else
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20668
20669 ac_header_preproc=no
20670 fi
20671
20672 rm -f conftest.err conftest.$ac_ext
20673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20674 echo "${ECHO_T}$ac_header_preproc" >&6; }
20675
20676 # So? What about this header?
20677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20678 yes:no: )
20679 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: accepted by the compiler, rejected by the preprocessor!" >&5
20680 echo "$as_me: WARNING: libmodplug/modplug.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20681 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: proceeding with the compiler's result" >&5
20682 echo "$as_me: WARNING: libmodplug/modplug.h: proceeding with the compiler's result" >&2;}
20683 ac_header_preproc=yes
20684 ;;
20685 no:yes:* )
20686 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: present but cannot be compiled" >&5
20687 echo "$as_me: WARNING: libmodplug/modplug.h: present but cannot be compiled" >&2;}
20688 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: check for missing prerequisite headers?" >&5
20689 echo "$as_me: WARNING: libmodplug/modplug.h: check for missing prerequisite headers?" >&2;}
20690 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: see the Autoconf documentation" >&5
20691 echo "$as_me: WARNING: libmodplug/modplug.h: see the Autoconf documentation" >&2;}
20692 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: section \"Present But Cannot Be Compiled\"" >&5
20693 echo "$as_me: WARNING: libmodplug/modplug.h: section \"Present But Cannot Be Compiled\"" >&2;}
20694 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: proceeding with the preprocessor's result" >&5
20695 echo "$as_me: WARNING: libmodplug/modplug.h: proceeding with the preprocessor's result" >&2;}
20696 { echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: in the future, the compiler will take precedence" >&5
20697 echo "$as_me: WARNING: libmodplug/modplug.h: in the future, the compiler will take precedence" >&2;}
20698
20699 ;;
20700 esac
20701 { echo "$as_me:$LINENO: checking for libmodplug/modplug.h" >&5
20702 echo $ECHO_N "checking for libmodplug/modplug.h... $ECHO_C" >&6; }
20703 if test "${ac_cv_header_libmodplug_modplug_h+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 else
20706 ac_cv_header_libmodplug_modplug_h=$ac_header_preproc
20707 fi
20708 { echo "$as_me:$LINENO: result: $ac_cv_header_libmodplug_modplug_h" >&5
20709 echo "${ECHO_T}$ac_cv_header_libmodplug_modplug_h" >&6; }
20710
20711 fi
20712 if test $ac_cv_header_libmodplug_modplug_h = yes; then
19403 ac_fn_c_check_header_mongrel "$LINENO" "libmodplug/modplug.h" "ac_cv_header_libmodplug_modplug_h" "$ac_includes_default"
19404 if test "x$ac_cv_header_libmodplug_modplug_h" = xyes; then :
2071319405 have_modplug_hdr=yes
2071419406 fi
2071519407
2071719409 if test x$have_modplug_hdr = xyes; then
2071819410 have_modplug_hdr=yes
2071919411
20720 cat >>confdefs.h <<\_ACEOF
20721 #define SOUND_MODPLUG_IN_OWN_PATH 1
20722 _ACEOF
19412 $as_echo "#define SOUND_MODPLUG_IN_OWN_PATH 1" >>confdefs.h
2072319413
2072419414 fi
2072519415 fi
2072619416
20727 { echo "$as_me:$LINENO: checking for ModPlug_Load in -lmodplug" >&5
20728 echo $ECHO_N "checking for ModPlug_Load in -lmodplug... $ECHO_C" >&6; }
20729 if test "${ac_cv_lib_modplug_ModPlug_Load+set}" = set; then
20730 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ModPlug_Load in -lmodplug" >&5
19418 $as_echo_n "checking for ModPlug_Load in -lmodplug... " >&6; }
19419 if ${ac_cv_lib_modplug_ModPlug_Load+:} false; then :
19420 $as_echo_n "(cached) " >&6
2073119421 else
2073219422 ac_check_lib_save_LIBS=$LIBS
2073319423 LIBS="-lmodplug $LIBS"
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073919425 /* end confdefs.h. */
2074019426
2074119427 /* Override any GCC internal prototype to avoid an error.
2075319439 return 0;
2075419440 }
2075519441 _ACEOF
20756 rm -f conftest.$ac_objext conftest$ac_exeext
20757 if { (ac_try="$ac_link"
20758 case "(($ac_try" in
20759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20760 *) ac_try_echo=$ac_try;;
20761 esac
20762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20763 (eval "$ac_link") 2>conftest.er1
20764 ac_status=$?
20765 grep -v '^ *+' conftest.er1 >conftest.err
20766 rm -f conftest.er1
20767 cat conftest.err >&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } && {
20770 test -z "$ac_c_werror_flag" ||
20771 test ! -s conftest.err
20772 } && test -s conftest$ac_exeext &&
20773 $as_test_x conftest$ac_exeext; then
19442 if ac_fn_c_try_link "$LINENO"; then :
2077419443 ac_cv_lib_modplug_ModPlug_Load=yes
2077519444 else
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.$ac_ext >&5
20778
20779 ac_cv_lib_modplug_ModPlug_Load=no
20780 fi
20781
20782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20783 conftest$ac_exeext conftest.$ac_ext
19445 ac_cv_lib_modplug_ModPlug_Load=no
19446 fi
19447 rm -f core conftest.err conftest.$ac_objext \
19448 conftest$ac_exeext conftest.$ac_ext
2078419449 LIBS=$ac_check_lib_save_LIBS
2078519450 fi
20786 { echo "$as_me:$LINENO: result: $ac_cv_lib_modplug_ModPlug_Load" >&5
20787 echo "${ECHO_T}$ac_cv_lib_modplug_ModPlug_Load" >&6; }
20788 if test $ac_cv_lib_modplug_ModPlug_Load = yes; then
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_modplug_ModPlug_Load" >&5
19452 $as_echo "$ac_cv_lib_modplug_ModPlug_Load" >&6; }
19453 if test "x$ac_cv_lib_modplug_ModPlug_Load" = xyes; then :
2078919454 have_modplug_lib=yes
2079019455 fi
2079119456
2079219457 if test x$have_modplug_hdr = xyes -a x$have_modplug_lib = xyes; then
2079319458 LIBS="$LIBS -lmodplug"
2079419459
20795 cat >>confdefs.h <<\_ACEOF
20796 #define SOUND_SUPPORTS_MODPLUG 1
20797 _ACEOF
19460 $as_echo "#define SOUND_SUPPORTS_MODPLUG 1" >>confdefs.h
2079819461
2079919462 fi
2080019463 fi
2080119464
20802 if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
20803 { echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
20804 echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
20805 if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20807 fi
20808 { echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
20809 echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
20810 else
20811 # Is the header compilable?
20812 { echo "$as_me:$LINENO: checking ogg/ogg.h usability" >&5
20813 echo $ECHO_N "checking ogg/ogg.h usability... $ECHO_C" >&6; }
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h. */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 $ac_includes_default
20821 #include <ogg/ogg.h>
20822 _ACEOF
20823 rm -f conftest.$ac_objext
20824 if { (ac_try="$ac_compile"
20825 case "(($ac_try" in
20826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20827 *) ac_try_echo=$ac_try;;
20828 esac
20829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20830 (eval "$ac_compile") 2>conftest.er1
20831 ac_status=$?
20832 grep -v '^ *+' conftest.er1 >conftest.err
20833 rm -f conftest.er1
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } && {
20837 test -z "$ac_c_werror_flag" ||
20838 test ! -s conftest.err
20839 } && test -s conftest.$ac_objext; then
20840 ac_header_compiler=yes
20841 else
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20844
20845 ac_header_compiler=no
20846 fi
20847
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20850 echo "${ECHO_T}$ac_header_compiler" >&6; }
20851
20852 # Is the header present?
20853 { echo "$as_me:$LINENO: checking ogg/ogg.h presence" >&5
20854 echo $ECHO_N "checking ogg/ogg.h presence... $ECHO_C" >&6; }
20855 cat >conftest.$ac_ext <<_ACEOF
20856 /* confdefs.h. */
20857 _ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 #include <ogg/ogg.h>
20862 _ACEOF
20863 if { (ac_try="$ac_cpp conftest.$ac_ext"
20864 case "(($ac_try" in
20865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20866 *) ac_try_echo=$ac_try;;
20867 esac
20868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20870 ac_status=$?
20871 grep -v '^ *+' conftest.er1 >conftest.err
20872 rm -f conftest.er1
20873 cat conftest.err >&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } >/dev/null && {
20876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20877 test ! -s conftest.err
20878 }; then
20879 ac_header_preproc=yes
20880 else
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.$ac_ext >&5
20883
20884 ac_header_preproc=no
20885 fi
20886
20887 rm -f conftest.err conftest.$ac_ext
20888 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20889 echo "${ECHO_T}$ac_header_preproc" >&6; }
20890
20891 # So? What about this header?
20892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20893 yes:no: )
20894 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&5
20895 echo "$as_me: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20896 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&5
20897 echo "$as_me: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&2;}
20898 ac_header_preproc=yes
20899 ;;
20900 no:yes:* )
20901 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: present but cannot be compiled" >&5
20902 echo "$as_me: WARNING: ogg/ogg.h: present but cannot be compiled" >&2;}
20903 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&5
20904 echo "$as_me: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&2;}
20905 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: see the Autoconf documentation" >&5
20906 echo "$as_me: WARNING: ogg/ogg.h: see the Autoconf documentation" >&2;}
20907 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&5
20908 echo "$as_me: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&2;}
20909 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&5
20910 echo "$as_me: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&2;}
20911 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&5
20912 echo "$as_me: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&2;}
20913
20914 ;;
20915 esac
20916 { echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
20917 echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
20918 if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921 ac_cv_header_ogg_ogg_h=$ac_header_preproc
20922 fi
20923 { echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
20924 echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
20925
20926 fi
20927 if test $ac_cv_header_ogg_ogg_h = yes; then
19465 ac_fn_c_check_header_mongrel "$LINENO" "ogg/ogg.h" "ac_cv_header_ogg_ogg_h" "$ac_includes_default"
19466 if test "x$ac_cv_header_ogg_ogg_h" = xyes; then :
2092819467 have_ogg_hdr=yes
2092919468 fi
2093019469
2093119470
20932 { echo "$as_me:$LINENO: checking for ogg_sync_init in -logg" >&5
20933 echo $ECHO_N "checking for ogg_sync_init in -logg... $ECHO_C" >&6; }
20934 if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
20935 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_sync_init in -logg" >&5
19472 $as_echo_n "checking for ogg_sync_init in -logg... " >&6; }
19473 if ${ac_cv_lib_ogg_ogg_sync_init+:} false; then :
19474 $as_echo_n "(cached) " >&6
2093619475 else
2093719476 ac_check_lib_save_LIBS=$LIBS
2093819477 LIBS="-logg $LIBS"
20939 cat >conftest.$ac_ext <<_ACEOF
20940 /* confdefs.h. */
20941 _ACEOF
20942 cat confdefs.h >>conftest.$ac_ext
20943 cat >>conftest.$ac_ext <<_ACEOF
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094419479 /* end confdefs.h. */
2094519480
2094619481 /* Override any GCC internal prototype to avoid an error.
2095819493 return 0;
2095919494 }
2096019495 _ACEOF
20961 rm -f conftest.$ac_objext conftest$ac_exeext
20962 if { (ac_try="$ac_link"
20963 case "(($ac_try" in
20964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20965 *) ac_try_echo=$ac_try;;
20966 esac
20967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20968 (eval "$ac_link") 2>conftest.er1
20969 ac_status=$?
20970 grep -v '^ *+' conftest.er1 >conftest.err
20971 rm -f conftest.er1
20972 cat conftest.err >&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } && {
20975 test -z "$ac_c_werror_flag" ||
20976 test ! -s conftest.err
20977 } && test -s conftest$ac_exeext &&
20978 $as_test_x conftest$ac_exeext; then
19496 if ac_fn_c_try_link "$LINENO"; then :
2097919497 ac_cv_lib_ogg_ogg_sync_init=yes
2098019498 else
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20983
20984 ac_cv_lib_ogg_ogg_sync_init=no
20985 fi
20986
20987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20988 conftest$ac_exeext conftest.$ac_ext
19499 ac_cv_lib_ogg_ogg_sync_init=no
19500 fi
19501 rm -f core conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
2098919503 LIBS=$ac_check_lib_save_LIBS
2099019504 fi
20991 { echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
20992 echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
20993 if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
19506 $as_echo "$ac_cv_lib_ogg_ogg_sync_init" >&6; }
19507 if test "x$ac_cv_lib_ogg_ogg_sync_init" = xyes; then :
2099419508 have_ogg_lib=yes
2099519509 fi
2099619510
2100019514 fi
2100119515
2100219516 # Check whether --enable-ogg was given.
21003 if test "${enable_ogg+set}" = set; then
19517 if test "${enable_ogg+set}" = set; then :
2100419518 enableval=$enable_ogg;
2100519519 else
2100619520 enable_ogg=yes
2100719521 fi
2100819522
2100919523 if test x$enable_ogg = xyes; then
21010 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
21011 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
21012 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
21013 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 fi
21016 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
21017 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
21018 else
21019 # Is the header compilable?
21020 { echo "$as_me:$LINENO: checking vorbis/codec.h usability" >&5
21021 echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6; }
21022 cat >conftest.$ac_ext <<_ACEOF
21023 /* confdefs.h. */
21024 _ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21028 $ac_includes_default
21029 #include <vorbis/codec.h>
21030 _ACEOF
21031 rm -f conftest.$ac_objext
21032 if { (ac_try="$ac_compile"
21033 case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21036 esac
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_compile") 2>conftest.er1
21039 ac_status=$?
21040 grep -v '^ *+' conftest.er1 >conftest.err
21041 rm -f conftest.er1
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } && {
21045 test -z "$ac_c_werror_flag" ||
21046 test ! -s conftest.err
21047 } && test -s conftest.$ac_objext; then
21048 ac_header_compiler=yes
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 ac_header_compiler=no
21054 fi
21055
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21058 echo "${ECHO_T}$ac_header_compiler" >&6; }
21059
21060 # Is the header present?
21061 { echo "$as_me:$LINENO: checking vorbis/codec.h presence" >&5
21062 echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6; }
21063 cat >conftest.$ac_ext <<_ACEOF
21064 /* confdefs.h. */
21065 _ACEOF
21066 cat confdefs.h >>conftest.$ac_ext
21067 cat >>conftest.$ac_ext <<_ACEOF
21068 /* end confdefs.h. */
21069 #include <vorbis/codec.h>
21070 _ACEOF
21071 if { (ac_try="$ac_cpp conftest.$ac_ext"
21072 case "(($ac_try" in
21073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21074 *) ac_try_echo=$ac_try;;
21075 esac
21076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21078 ac_status=$?
21079 grep -v '^ *+' conftest.er1 >conftest.err
21080 rm -f conftest.er1
21081 cat conftest.err >&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } >/dev/null && {
21084 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21085 test ! -s conftest.err
21086 }; then
21087 ac_header_preproc=yes
21088 else
21089 echo "$as_me: failed program was:" >&5
21090 sed 's/^/| /' conftest.$ac_ext >&5
21091
21092 ac_header_preproc=no
21093 fi
21094
21095 rm -f conftest.err conftest.$ac_ext
21096 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21097 echo "${ECHO_T}$ac_header_preproc" >&6; }
21098
21099 # So? What about this header?
21100 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21101 yes:no: )
21102 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
21103 echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21104 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&5
21105 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&2;}
21106 ac_header_preproc=yes
21107 ;;
21108 no:yes:* )
21109 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: present but cannot be compiled" >&5
21110 echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled" >&2;}
21111 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
21112 echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
21113 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: see the Autoconf documentation" >&5
21114 echo "$as_me: WARNING: vorbis/codec.h: see the Autoconf documentation" >&2;}
21115 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
21116 echo "$as_me: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
21117 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
21118 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
21119 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5
21120 echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
21121
21122 ;;
21123 esac
21124 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
21125 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
21126 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21128 else
21129 ac_cv_header_vorbis_codec_h=$ac_header_preproc
21130 fi
21131 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
21132 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
21133
21134 fi
21135 if test $ac_cv_header_vorbis_codec_h = yes; then
19524 ac_fn_c_check_header_mongrel "$LINENO" "vorbis/codec.h" "ac_cv_header_vorbis_codec_h" "$ac_includes_default"
19525 if test "x$ac_cv_header_vorbis_codec_h" = xyes; then :
2113619526 have_vorbis_hdr=yes
2113719527 fi
2113819528
2113919529
21140 { echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
21141 echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6; }
21142 if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
21143 echo $ECHO_N "(cached) $ECHO_C" >&6
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_info_init in -lvorbis" >&5
19531 $as_echo_n "checking for vorbis_info_init in -lvorbis... " >&6; }
19532 if ${ac_cv_lib_vorbis_vorbis_info_init+:} false; then :
19533 $as_echo_n "(cached) " >&6
2114419534 else
2114519535 ac_check_lib_save_LIBS=$LIBS
2114619536 LIBS="-lvorbis $LIBS"
21147 cat >conftest.$ac_ext <<_ACEOF
21148 /* confdefs.h. */
21149 _ACEOF
21150 cat confdefs.h >>conftest.$ac_ext
21151 cat >>conftest.$ac_ext <<_ACEOF
19537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115219538 /* end confdefs.h. */
2115319539
2115419540 /* Override any GCC internal prototype to avoid an error.
2116619552 return 0;
2116719553 }
2116819554 _ACEOF
21169 rm -f conftest.$ac_objext conftest$ac_exeext
21170 if { (ac_try="$ac_link"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21174 esac
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_link") 2>conftest.er1
21177 ac_status=$?
21178 grep -v '^ *+' conftest.er1 >conftest.err
21179 rm -f conftest.er1
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest$ac_exeext &&
21186 $as_test_x conftest$ac_exeext; then
19555 if ac_fn_c_try_link "$LINENO"; then :
2118719556 ac_cv_lib_vorbis_vorbis_info_init=yes
2118819557 else
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21191
21192 ac_cv_lib_vorbis_vorbis_info_init=no
21193 fi
21194
21195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21196 conftest$ac_exeext conftest.$ac_ext
19558 ac_cv_lib_vorbis_vorbis_info_init=no
19559 fi
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext conftest.$ac_ext
2119719562 LIBS=$ac_check_lib_save_LIBS
2119819563 fi
21199 { echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
21200 echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
21201 if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
19565 $as_echo "$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
19566 if test "x$ac_cv_lib_vorbis_vorbis_info_init" = xyes; then :
2120219567 have_vorbis_lib=yes
2120319568 fi
2120419569
21205 if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then
21206 { echo "$as_me:$LINENO: checking for vorbis/vorbisfile.h" >&5
21207 echo $ECHO_N "checking for vorbis/vorbisfile.h... $ECHO_C" >&6; }
21208 if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then
21209 echo $ECHO_N "(cached) $ECHO_C" >&6
21210 fi
21211 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisfile_h" >&5
21212 echo "${ECHO_T}$ac_cv_header_vorbis_vorbisfile_h" >&6; }
21213 else
21214 # Is the header compilable?
21215 { echo "$as_me:$LINENO: checking vorbis/vorbisfile.h usability" >&5
21216 echo $ECHO_N "checking vorbis/vorbisfile.h usability... $ECHO_C" >&6; }
21217 cat >conftest.$ac_ext <<_ACEOF
21218 /* confdefs.h. */
21219 _ACEOF
21220 cat confdefs.h >>conftest.$ac_ext
21221 cat >>conftest.$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21223 $ac_includes_default
21224 #include <vorbis/vorbisfile.h>
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (ac_try="$ac_compile"
21228 case "(($ac_try" in
21229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21230 *) ac_try_echo=$ac_try;;
21231 esac
21232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_compile") 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && {
21240 test -z "$ac_c_werror_flag" ||
21241 test ! -s conftest.err
21242 } && test -s conftest.$ac_objext; then
21243 ac_header_compiler=yes
21244 else
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248 ac_header_compiler=no
21249 fi
21250
21251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21253 echo "${ECHO_T}$ac_header_compiler" >&6; }
21254
21255 # Is the header present?
21256 { echo "$as_me:$LINENO: checking vorbis/vorbisfile.h presence" >&5
21257 echo $ECHO_N "checking vorbis/vorbisfile.h presence... $ECHO_C" >&6; }
21258 cat >conftest.$ac_ext <<_ACEOF
21259 /* confdefs.h. */
21260 _ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 #include <vorbis/vorbisfile.h>
21265 _ACEOF
21266 if { (ac_try="$ac_cpp conftest.$ac_ext"
21267 case "(($ac_try" in
21268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21269 *) ac_try_echo=$ac_try;;
21270 esac
21271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21273 ac_status=$?
21274 grep -v '^ *+' conftest.er1 >conftest.err
21275 rm -f conftest.er1
21276 cat conftest.err >&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } >/dev/null && {
21279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21280 test ! -s conftest.err
21281 }; then
21282 ac_header_preproc=yes
21283 else
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21286
21287 ac_header_preproc=no
21288 fi
21289
21290 rm -f conftest.err conftest.$ac_ext
21291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21292 echo "${ECHO_T}$ac_header_preproc" >&6; }
21293
21294 # So? What about this header?
21295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21296 yes:no: )
21297 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: accepted by the compiler, rejected by the preprocessor!" >&5
21298 echo "$as_me: WARNING: vorbis/vorbisfile.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21299 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: proceeding with the compiler's result" >&5
21300 echo "$as_me: WARNING: vorbis/vorbisfile.h: proceeding with the compiler's result" >&2;}
21301 ac_header_preproc=yes
21302 ;;
21303 no:yes:* )
21304 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: present but cannot be compiled" >&5
21305 echo "$as_me: WARNING: vorbis/vorbisfile.h: present but cannot be compiled" >&2;}
21306 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: check for missing prerequisite headers?" >&5
21307 echo "$as_me: WARNING: vorbis/vorbisfile.h: check for missing prerequisite headers?" >&2;}
21308 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: see the Autoconf documentation" >&5
21309 echo "$as_me: WARNING: vorbis/vorbisfile.h: see the Autoconf documentation" >&2;}
21310 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: section \"Present But Cannot Be Compiled\"" >&5
21311 echo "$as_me: WARNING: vorbis/vorbisfile.h: section \"Present But Cannot Be Compiled\"" >&2;}
21312 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: proceeding with the preprocessor's result" >&5
21313 echo "$as_me: WARNING: vorbis/vorbisfile.h: proceeding with the preprocessor's result" >&2;}
21314 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: in the future, the compiler will take precedence" >&5
21315 echo "$as_me: WARNING: vorbis/vorbisfile.h: in the future, the compiler will take precedence" >&2;}
21316
21317 ;;
21318 esac
21319 { echo "$as_me:$LINENO: checking for vorbis/vorbisfile.h" >&5
21320 echo $ECHO_N "checking for vorbis/vorbisfile.h... $ECHO_C" >&6; }
21321 if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21323 else
21324 ac_cv_header_vorbis_vorbisfile_h=$ac_header_preproc
21325 fi
21326 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisfile_h" >&5
21327 echo "${ECHO_T}$ac_cv_header_vorbis_vorbisfile_h" >&6; }
21328
21329 fi
21330 if test $ac_cv_header_vorbis_vorbisfile_h = yes; then
19570 ac_fn_c_check_header_mongrel "$LINENO" "vorbis/vorbisfile.h" "ac_cv_header_vorbis_vorbisfile_h" "$ac_includes_default"
19571 if test "x$ac_cv_header_vorbis_vorbisfile_h" = xyes; then :
2133119572 have_vorbisfile_hdr=yes
2133219573 fi
2133319574
2133419575
21335 { echo "$as_me:$LINENO: checking for ov_open_callbacks in -lvorbisfile" >&5
21336 echo $ECHO_N "checking for ov_open_callbacks in -lvorbisfile... $ECHO_C" >&6; }
21337 if test "${ac_cv_lib_vorbisfile_ov_open_callbacks+set}" = set; then
21338 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ov_open_callbacks in -lvorbisfile" >&5
19577 $as_echo_n "checking for ov_open_callbacks in -lvorbisfile... " >&6; }
19578 if ${ac_cv_lib_vorbisfile_ov_open_callbacks+:} false; then :
19579 $as_echo_n "(cached) " >&6
2133919580 else
2134019581 ac_check_lib_save_LIBS=$LIBS
2134119582 LIBS="-lvorbisfile $LIBS"
21342 cat >conftest.$ac_ext <<_ACEOF
21343 /* confdefs.h. */
21344 _ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
19583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2134719584 /* end confdefs.h. */
2134819585
2134919586 /* Override any GCC internal prototype to avoid an error.
2136119598 return 0;
2136219599 }
2136319600 _ACEOF
21364 rm -f conftest.$ac_objext conftest$ac_exeext
21365 if { (ac_try="$ac_link"
21366 case "(($ac_try" in
21367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21368 *) ac_try_echo=$ac_try;;
21369 esac
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_link") 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } && {
21378 test -z "$ac_c_werror_flag" ||
21379 test ! -s conftest.err
21380 } && test -s conftest$ac_exeext &&
21381 $as_test_x conftest$ac_exeext; then
19601 if ac_fn_c_try_link "$LINENO"; then :
2138219602 ac_cv_lib_vorbisfile_ov_open_callbacks=yes
2138319603 else
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21386
21387 ac_cv_lib_vorbisfile_ov_open_callbacks=no
21388 fi
21389
21390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21391 conftest$ac_exeext conftest.$ac_ext
19604 ac_cv_lib_vorbisfile_ov_open_callbacks=no
19605 fi
19606 rm -f core conftest.err conftest.$ac_objext \
19607 conftest$ac_exeext conftest.$ac_ext
2139219608 LIBS=$ac_check_lib_save_LIBS
2139319609 fi
21394 { echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open_callbacks" >&5
21395 echo "${ECHO_T}$ac_cv_lib_vorbisfile_ov_open_callbacks" >&6; }
21396 if test $ac_cv_lib_vorbisfile_ov_open_callbacks = yes; then
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisfile_ov_open_callbacks" >&5
19611 $as_echo "$ac_cv_lib_vorbisfile_ov_open_callbacks" >&6; }
19612 if test "x$ac_cv_lib_vorbisfile_ov_open_callbacks" = xyes; then :
2139719613 have_vorbisfile_lib=yes
2139819614 fi
2139919615
2141019626 CFLAGS="$CFLAGS"
2141119627 LIBS="$LIBS -logg -lvorbis -lvorbisfile"
2141219628
21413 cat >>confdefs.h <<\_ACEOF
21414 #define SOUND_SUPPORTS_OGG 1
21415 _ACEOF
19629 $as_echo "#define SOUND_SUPPORTS_OGG 1" >>confdefs.h
2141619630
2141719631 fi
2141819632 fi
2142219636 x="C__stream_decoder_process_single"
2142319637 flcsym="FLA$x"
2142419638 # Check whether --enable-flac was given.
21425 if test "${enable_flac+set}" = set; then
19639 if test "${enable_flac+set}" = set; then :
2142619640 enableval=$enable_flac;
2142719641 else
2142819642 enable_flac=yes
2142919643 fi
2143019644
2143119645 if test x$enable_flac = xyes; then
21432 if test "${ac_cv_header_FLAC_stream_decoder_h+set}" = set; then
21433 { echo "$as_me:$LINENO: checking for FLAC/stream_decoder.h" >&5
21434 echo $ECHO_N "checking for FLAC/stream_decoder.h... $ECHO_C" >&6; }
21435 if test "${ac_cv_header_FLAC_stream_decoder_h+set}" = set; then
21436 echo $ECHO_N "(cached) $ECHO_C" >&6
21437 fi
21438 { echo "$as_me:$LINENO: result: $ac_cv_header_FLAC_stream_decoder_h" >&5
21439 echo "${ECHO_T}$ac_cv_header_FLAC_stream_decoder_h" >&6; }
21440 else
21441 # Is the header compilable?
21442 { echo "$as_me:$LINENO: checking FLAC/stream_decoder.h usability" >&5
21443 echo $ECHO_N "checking FLAC/stream_decoder.h usability... $ECHO_C" >&6; }
21444 cat >conftest.$ac_ext <<_ACEOF
21445 /* confdefs.h. */
21446 _ACEOF
21447 cat confdefs.h >>conftest.$ac_ext
21448 cat >>conftest.$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 $ac_includes_default
21451 #include <FLAC/stream_decoder.h>
21452 _ACEOF
21453 rm -f conftest.$ac_objext
21454 if { (ac_try="$ac_compile"
21455 case "(($ac_try" in
21456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21457 *) ac_try_echo=$ac_try;;
21458 esac
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_compile") 2>conftest.er1
21461 ac_status=$?
21462 grep -v '^ *+' conftest.er1 >conftest.err
21463 rm -f conftest.er1
21464 cat conftest.err >&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } && {
21467 test -z "$ac_c_werror_flag" ||
21468 test ! -s conftest.err
21469 } && test -s conftest.$ac_objext; then
21470 ac_header_compiler=yes
21471 else
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 ac_header_compiler=no
21476 fi
21477
21478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21479 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21480 echo "${ECHO_T}$ac_header_compiler" >&6; }
21481
21482 # Is the header present?
21483 { echo "$as_me:$LINENO: checking FLAC/stream_decoder.h presence" >&5
21484 echo $ECHO_N "checking FLAC/stream_decoder.h presence... $ECHO_C" >&6; }
21485 cat >conftest.$ac_ext <<_ACEOF
21486 /* confdefs.h. */
21487 _ACEOF
21488 cat confdefs.h >>conftest.$ac_ext
21489 cat >>conftest.$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21491 #include <FLAC/stream_decoder.h>
21492 _ACEOF
21493 if { (ac_try="$ac_cpp conftest.$ac_ext"
21494 case "(($ac_try" in
21495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21496 *) ac_try_echo=$ac_try;;
21497 esac
21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21500 ac_status=$?
21501 grep -v '^ *+' conftest.er1 >conftest.err
21502 rm -f conftest.er1
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } >/dev/null && {
21506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21507 test ! -s conftest.err
21508 }; then
21509 ac_header_preproc=yes
21510 else
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.$ac_ext >&5
21513
21514 ac_header_preproc=no
21515 fi
21516
21517 rm -f conftest.err conftest.$ac_ext
21518 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21519 echo "${ECHO_T}$ac_header_preproc" >&6; }
21520
21521 # So? What about this header?
21522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21523 yes:no: )
21524 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: accepted by the compiler, rejected by the preprocessor!" >&5
21525 echo "$as_me: WARNING: FLAC/stream_decoder.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21526 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: proceeding with the compiler's result" >&5
21527 echo "$as_me: WARNING: FLAC/stream_decoder.h: proceeding with the compiler's result" >&2;}
21528 ac_header_preproc=yes
21529 ;;
21530 no:yes:* )
21531 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: present but cannot be compiled" >&5
21532 echo "$as_me: WARNING: FLAC/stream_decoder.h: present but cannot be compiled" >&2;}
21533 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: check for missing prerequisite headers?" >&5
21534 echo "$as_me: WARNING: FLAC/stream_decoder.h: check for missing prerequisite headers?" >&2;}
21535 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: see the Autoconf documentation" >&5
21536 echo "$as_me: WARNING: FLAC/stream_decoder.h: see the Autoconf documentation" >&2;}
21537 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: section \"Present But Cannot Be Compiled\"" >&5
21538 echo "$as_me: WARNING: FLAC/stream_decoder.h: section \"Present But Cannot Be Compiled\"" >&2;}
21539 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: proceeding with the preprocessor's result" >&5
21540 echo "$as_me: WARNING: FLAC/stream_decoder.h: proceeding with the preprocessor's result" >&2;}
21541 { echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: in the future, the compiler will take precedence" >&5
21542 echo "$as_me: WARNING: FLAC/stream_decoder.h: in the future, the compiler will take precedence" >&2;}
21543
21544 ;;
21545 esac
21546 { echo "$as_me:$LINENO: checking for FLAC/stream_decoder.h" >&5
21547 echo $ECHO_N "checking for FLAC/stream_decoder.h... $ECHO_C" >&6; }
21548 if test "${ac_cv_header_FLAC_stream_decoder_h+set}" = set; then
21549 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 else
21551 ac_cv_header_FLAC_stream_decoder_h=$ac_header_preproc
21552 fi
21553 { echo "$as_me:$LINENO: result: $ac_cv_header_FLAC_stream_decoder_h" >&5
21554 echo "${ECHO_T}$ac_cv_header_FLAC_stream_decoder_h" >&6; }
21555
21556 fi
21557 if test $ac_cv_header_FLAC_stream_decoder_h = yes; then
19646 ac_fn_c_check_header_mongrel "$LINENO" "FLAC/stream_decoder.h" "ac_cv_header_FLAC_stream_decoder_h" "$ac_includes_default"
19647 if test "x$ac_cv_header_FLAC_stream_decoder_h" = xyes; then :
2155819648 have_flac_hdr=yes
2155919649 fi
2156019650
2156119651
21562 as_ac_Lib=`echo "ac_cv_lib_FLAC_$flcsym" | $as_tr_sh`
21563 { echo "$as_me:$LINENO: checking for $flcsym in -lFLAC" >&5
21564 echo $ECHO_N "checking for $flcsym in -lFLAC... $ECHO_C" >&6; }
21565 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
21566 echo $ECHO_N "(cached) $ECHO_C" >&6
19652 as_ac_Lib=`$as_echo "ac_cv_lib_FLAC_$flcsym" | $as_tr_sh`
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $flcsym in -lFLAC" >&5
19654 $as_echo_n "checking for $flcsym in -lFLAC... " >&6; }
19655 if eval \${$as_ac_Lib+:} false; then :
19656 $as_echo_n "(cached) " >&6
2156719657 else
2156819658 ac_check_lib_save_LIBS=$LIBS
2156919659 LIBS="-lFLAC $LIBS"
21570 cat >conftest.$ac_ext <<_ACEOF
21571 /* confdefs.h. */
21572 _ACEOF
21573 cat confdefs.h >>conftest.$ac_ext
21574 cat >>conftest.$ac_ext <<_ACEOF
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157519661 /* end confdefs.h. */
2157619662
2157719663 /* Override any GCC internal prototype to avoid an error.
2158919675 return 0;
2159019676 }
2159119677 _ACEOF
21592 rm -f conftest.$ac_objext conftest$ac_exeext
21593 if { (ac_try="$ac_link"
21594 case "(($ac_try" in
21595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21596 *) ac_try_echo=$ac_try;;
21597 esac
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599 (eval "$ac_link") 2>conftest.er1
21600 ac_status=$?
21601 grep -v '^ *+' conftest.er1 >conftest.err
21602 rm -f conftest.er1
21603 cat conftest.err >&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } && {
21606 test -z "$ac_c_werror_flag" ||
21607 test ! -s conftest.err
21608 } && test -s conftest$ac_exeext &&
21609 $as_test_x conftest$ac_exeext; then
19678 if ac_fn_c_try_link "$LINENO"; then :
2161019679 eval "$as_ac_Lib=yes"
2161119680 else
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21614
21615 eval "$as_ac_Lib=no"
21616 fi
21617
21618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21619 conftest$ac_exeext conftest.$ac_ext
19681 eval "$as_ac_Lib=no"
19682 fi
19683 rm -f core conftest.err conftest.$ac_objext \
19684 conftest$ac_exeext conftest.$ac_ext
2162019685 LIBS=$ac_check_lib_save_LIBS
2162119686 fi
21622 ac_res=`eval echo '${'$as_ac_Lib'}'`
21623 { echo "$as_me:$LINENO: result: $ac_res" >&5
21624 echo "${ECHO_T}$ac_res" >&6; }
21625 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
19687 eval ac_res=\$$as_ac_Lib
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19689 $as_echo "$ac_res" >&6; }
19690 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
2162619691 have_flac_lib=yes
2162719692 fi
2162819693
2163019695 if test x$have_flac_hdr = xyes -a x$have_flac_lib = xyes; then
2163119696 LIBS="$LIBS -lFLAC -logg"
2163219697
21633 cat >>confdefs.h <<\_ACEOF
21634 #define SOUND_SUPPORTS_FLAC 1
21635 _ACEOF
19698 $as_echo "#define SOUND_SUPPORTS_FLAC 1" >>confdefs.h
2163619699
2163719700 fi
2163819701 fi
2164019703
2164119704
2164219705 # Check whether --enable-speex was given.
21643 if test "${enable_speex+set}" = set; then
19706 if test "${enable_speex+set}" = set; then :
2164419707 enableval=$enable_speex;
2164519708 else
2164619709 enable_speex=yes
2164719710 fi
2164819711
2164919712 if test x$enable_speex = xyes; then
21650 if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
21651 { echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
21652 echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
21653 if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
21654 echo $ECHO_N "(cached) $ECHO_C" >&6
21655 fi
21656 { echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
21657 echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
21658 else
21659 # Is the header compilable?
21660 { echo "$as_me:$LINENO: checking ogg/ogg.h usability" >&5
21661 echo $ECHO_N "checking ogg/ogg.h usability... $ECHO_C" >&6; }
21662 cat >conftest.$ac_ext <<_ACEOF
21663 /* confdefs.h. */
21664 _ACEOF
21665 cat confdefs.h >>conftest.$ac_ext
21666 cat >>conftest.$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 $ac_includes_default
21669 #include <ogg/ogg.h>
21670 _ACEOF
21671 rm -f conftest.$ac_objext
21672 if { (ac_try="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21676 esac
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21679 ac_status=$?
21680 grep -v '^ *+' conftest.er1 >conftest.err
21681 rm -f conftest.er1
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && {
21685 test -z "$ac_c_werror_flag" ||
21686 test ! -s conftest.err
21687 } && test -s conftest.$ac_objext; then
21688 ac_header_compiler=yes
21689 else
21690 echo "$as_me: failed program was:" >&5
21691 sed 's/^/| /' conftest.$ac_ext >&5
21692
21693 ac_header_compiler=no
21694 fi
21695
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21698 echo "${ECHO_T}$ac_header_compiler" >&6; }
21699
21700 # Is the header present?
21701 { echo "$as_me:$LINENO: checking ogg/ogg.h presence" >&5
21702 echo $ECHO_N "checking ogg/ogg.h presence... $ECHO_C" >&6; }
21703 cat >conftest.$ac_ext <<_ACEOF
21704 /* confdefs.h. */
21705 _ACEOF
21706 cat confdefs.h >>conftest.$ac_ext
21707 cat >>conftest.$ac_ext <<_ACEOF
21708 /* end confdefs.h. */
21709 #include <ogg/ogg.h>
21710 _ACEOF
21711 if { (ac_try="$ac_cpp conftest.$ac_ext"
21712 case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714 *) ac_try_echo=$ac_try;;
21715 esac
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } >/dev/null && {
21724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 }; then
21727 ac_header_preproc=yes
21728 else
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.$ac_ext >&5
21731
21732 ac_header_preproc=no
21733 fi
21734
21735 rm -f conftest.err conftest.$ac_ext
21736 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21737 echo "${ECHO_T}$ac_header_preproc" >&6; }
21738
21739 # So? What about this header?
21740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21741 yes:no: )
21742 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&5
21743 echo "$as_me: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21744 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&5
21745 echo "$as_me: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&2;}
21746 ac_header_preproc=yes
21747 ;;
21748 no:yes:* )
21749 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: present but cannot be compiled" >&5
21750 echo "$as_me: WARNING: ogg/ogg.h: present but cannot be compiled" >&2;}
21751 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&5
21752 echo "$as_me: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&2;}
21753 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: see the Autoconf documentation" >&5
21754 echo "$as_me: WARNING: ogg/ogg.h: see the Autoconf documentation" >&2;}
21755 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&5
21756 echo "$as_me: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&2;}
21757 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&5
21758 echo "$as_me: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&2;}
21759 { echo "$as_me:$LINENO: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&5
21760 echo "$as_me: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&2;}
21761
21762 ;;
21763 esac
21764 { echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
21765 echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
21766 if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
21767 echo $ECHO_N "(cached) $ECHO_C" >&6
21768 else
21769 ac_cv_header_ogg_ogg_h=$ac_header_preproc
21770 fi
21771 { echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
21772 echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
21773
21774 fi
21775 if test $ac_cv_header_ogg_ogg_h = yes; then
19713 ac_fn_c_check_header_mongrel "$LINENO" "ogg/ogg.h" "ac_cv_header_ogg_ogg_h" "$ac_includes_default"
19714 if test "x$ac_cv_header_ogg_ogg_h" = xyes; then :
2177619715 have_ogg_hdr=yes
2177719716 fi
2177819717
2177919718
21780 { echo "$as_me:$LINENO: checking for ogg_sync_init in -logg" >&5
21781 echo $ECHO_N "checking for ogg_sync_init in -logg... $ECHO_C" >&6; }
21782 if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
21783 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_sync_init in -logg" >&5
19720 $as_echo_n "checking for ogg_sync_init in -logg... " >&6; }
19721 if ${ac_cv_lib_ogg_ogg_sync_init+:} false; then :
19722 $as_echo_n "(cached) " >&6
2178419723 else
2178519724 ac_check_lib_save_LIBS=$LIBS
2178619725 LIBS="-logg $LIBS"
21787 cat >conftest.$ac_ext <<_ACEOF
21788 /* confdefs.h. */
21789 _ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179219727 /* end confdefs.h. */
2179319728
2179419729 /* Override any GCC internal prototype to avoid an error.
2180619741 return 0;
2180719742 }
2180819743 _ACEOF
21809 rm -f conftest.$ac_objext conftest$ac_exeext
21810 if { (ac_try="$ac_link"
21811 case "(($ac_try" in
21812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21813 *) ac_try_echo=$ac_try;;
21814 esac
21815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21816 (eval "$ac_link") 2>conftest.er1
21817 ac_status=$?
21818 grep -v '^ *+' conftest.er1 >conftest.err
21819 rm -f conftest.er1
21820 cat conftest.err >&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } && {
21823 test -z "$ac_c_werror_flag" ||
21824 test ! -s conftest.err
21825 } && test -s conftest$ac_exeext &&
21826 $as_test_x conftest$ac_exeext; then
19744 if ac_fn_c_try_link "$LINENO"; then :
2182719745 ac_cv_lib_ogg_ogg_sync_init=yes
2182819746 else
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21831
21832 ac_cv_lib_ogg_ogg_sync_init=no
21833 fi
21834
21835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21836 conftest$ac_exeext conftest.$ac_ext
19747 ac_cv_lib_ogg_ogg_sync_init=no
19748 fi
19749 rm -f core conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
2183719751 LIBS=$ac_check_lib_save_LIBS
2183819752 fi
21839 { echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
21840 echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
21841 if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
19754 $as_echo "$ac_cv_lib_ogg_ogg_sync_init" >&6; }
19755 if test "x$ac_cv_lib_ogg_ogg_sync_init" = xyes; then :
2184219756 have_ogg_lib=yes
2184319757 fi
2184419758
21845 if test "${ac_cv_header_speex_speex_h+set}" = set; then
21846 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
21847 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
21848 if test "${ac_cv_header_speex_speex_h+set}" = set; then
21849 echo $ECHO_N "(cached) $ECHO_C" >&6
21850 fi
21851 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
21852 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
21853 else
21854 # Is the header compilable?
21855 { echo "$as_me:$LINENO: checking speex/speex.h usability" >&5
21856 echo $ECHO_N "checking speex/speex.h usability... $ECHO_C" >&6; }
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 #include <speex/speex.h>
21865 _ACEOF
21866 rm -f conftest.$ac_objext
21867 if { (ac_try="$ac_compile"
21868 case "(($ac_try" in
21869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21870 *) ac_try_echo=$ac_try;;
21871 esac
21872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21873 (eval "$ac_compile") 2>conftest.er1
21874 ac_status=$?
21875 grep -v '^ *+' conftest.er1 >conftest.err
21876 rm -f conftest.er1
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && {
21880 test -z "$ac_c_werror_flag" ||
21881 test ! -s conftest.err
21882 } && test -s conftest.$ac_objext; then
21883 ac_header_compiler=yes
21884 else
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.$ac_ext >&5
21887
21888 ac_header_compiler=no
21889 fi
21890
21891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21892 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21893 echo "${ECHO_T}$ac_header_compiler" >&6; }
21894
21895 # Is the header present?
21896 { echo "$as_me:$LINENO: checking speex/speex.h presence" >&5
21897 echo $ECHO_N "checking speex/speex.h presence... $ECHO_C" >&6; }
21898 cat >conftest.$ac_ext <<_ACEOF
21899 /* confdefs.h. */
21900 _ACEOF
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21904 #include <speex/speex.h>
21905 _ACEOF
21906 if { (ac_try="$ac_cpp conftest.$ac_ext"
21907 case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21910 esac
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21913 ac_status=$?
21914 grep -v '^ *+' conftest.er1 >conftest.err
21915 rm -f conftest.er1
21916 cat conftest.err >&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } >/dev/null && {
21919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21920 test ! -s conftest.err
21921 }; then
21922 ac_header_preproc=yes
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21926
21927 ac_header_preproc=no
21928 fi
21929
21930 rm -f conftest.err conftest.$ac_ext
21931 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21932 echo "${ECHO_T}$ac_header_preproc" >&6; }
21933
21934 # So? What about this header?
21935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21936 yes:no: )
21937 { echo "$as_me:$LINENO: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21938 echo "$as_me: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21939 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the compiler's result" >&5
21940 echo "$as_me: WARNING: speex/speex.h: proceeding with the compiler's result" >&2;}
21941 ac_header_preproc=yes
21942 ;;
21943 no:yes:* )
21944 { echo "$as_me:$LINENO: WARNING: speex/speex.h: present but cannot be compiled" >&5
21945 echo "$as_me: WARNING: speex/speex.h: present but cannot be compiled" >&2;}
21946 { echo "$as_me:$LINENO: WARNING: speex/speex.h: check for missing prerequisite headers?" >&5
21947 echo "$as_me: WARNING: speex/speex.h: check for missing prerequisite headers?" >&2;}
21948 { echo "$as_me:$LINENO: WARNING: speex/speex.h: see the Autoconf documentation" >&5
21949 echo "$as_me: WARNING: speex/speex.h: see the Autoconf documentation" >&2;}
21950 { echo "$as_me:$LINENO: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
21951 echo "$as_me: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21952 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&5
21953 echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&2;}
21954 { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5
21955 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;}
21956
21957 ;;
21958 esac
21959 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
21960 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
21961 if test "${ac_cv_header_speex_speex_h+set}" = set; then
21962 echo $ECHO_N "(cached) $ECHO_C" >&6
21963 else
21964 ac_cv_header_speex_speex_h=$ac_header_preproc
21965 fi
21966 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
21967 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
21968
21969 fi
21970 if test $ac_cv_header_speex_speex_h = yes; then
19759 ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
19760 if test "x$ac_cv_header_speex_speex_h" = xyes; then :
2197119761 have_speex_hdr=yes
2197219762 fi
2197319763
2197419764
21975 { echo "$as_me:$LINENO: checking for speex_bits_init in -lspeex" >&5
21976 echo $ECHO_N "checking for speex_bits_init in -lspeex... $ECHO_C" >&6; }
21977 if test "${ac_cv_lib_speex_speex_bits_init+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_bits_init in -lspeex" >&5
19766 $as_echo_n "checking for speex_bits_init in -lspeex... " >&6; }
19767 if ${ac_cv_lib_speex_speex_bits_init+:} false; then :
19768 $as_echo_n "(cached) " >&6
2197919769 else
2198019770 ac_check_lib_save_LIBS=$LIBS
2198119771 LIBS="-lspeex $LIBS"
21982 cat >conftest.$ac_ext <<_ACEOF
21983 /* confdefs.h. */
21984 _ACEOF
21985 cat confdefs.h >>conftest.$ac_ext
21986 cat >>conftest.$ac_ext <<_ACEOF
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198719773 /* end confdefs.h. */
2198819774
2198919775 /* Override any GCC internal prototype to avoid an error.
2200119787 return 0;
2200219788 }
2200319789 _ACEOF
22004 rm -f conftest.$ac_objext conftest$ac_exeext
22005 if { (ac_try="$ac_link"
22006 case "(($ac_try" in
22007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22008 *) ac_try_echo=$ac_try;;
22009 esac
22010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22011 (eval "$ac_link") 2>conftest.er1
22012 ac_status=$?
22013 grep -v '^ *+' conftest.er1 >conftest.err
22014 rm -f conftest.er1
22015 cat conftest.err >&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); } && {
22018 test -z "$ac_c_werror_flag" ||
22019 test ! -s conftest.err
22020 } && test -s conftest$ac_exeext &&
22021 $as_test_x conftest$ac_exeext; then
19790 if ac_fn_c_try_link "$LINENO"; then :
2202219791 ac_cv_lib_speex_speex_bits_init=yes
2202319792 else
22024 echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.$ac_ext >&5
22026
22027 ac_cv_lib_speex_speex_bits_init=no
22028 fi
22029
22030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22031 conftest$ac_exeext conftest.$ac_ext
19793 ac_cv_lib_speex_speex_bits_init=no
19794 fi
19795 rm -f core conftest.err conftest.$ac_objext \
19796 conftest$ac_exeext conftest.$ac_ext
2203219797 LIBS=$ac_check_lib_save_LIBS
2203319798 fi
22034 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_bits_init" >&5
22035 echo "${ECHO_T}$ac_cv_lib_speex_speex_bits_init" >&6; }
22036 if test $ac_cv_lib_speex_speex_bits_init = yes; then
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_bits_init" >&5
19800 $as_echo "$ac_cv_lib_speex_speex_bits_init" >&6; }
19801 if test "x$ac_cv_lib_speex_speex_bits_init" = xyes; then :
2203719802 have_speex_lib=yes
2203819803 fi
2203919804
2204019805 if test "x$have_ogg_hdr" = "xyes" -a "x$have_ogg_lib" = "xyes" -a "x$have_speex_hdr" = "xyes" -a "x$have_speex_lib" = "xyes"; then
2204119806 LIBS="$LIBS -logg -lspeex"
2204219807
22043 cat >>confdefs.h <<\_ACEOF
22044 #define SOUND_SUPPORTS_SPEEX 1
22045 _ACEOF
19808 $as_echo "#define SOUND_SUPPORTS_SPEEX 1" >>confdefs.h
2204619809
2204719810 fi
2204819811 fi
2204919812
2205019813
2205119814 # Check whether --enable-physfs was given.
22052 if test "${enable_physfs+set}" = set; then
19815 if test "${enable_physfs+set}" = set; then :
2205319816 enableval=$enable_physfs;
2205419817 else
2205519818 enable_physfs=yes
2205619819 fi
2205719820
2205819821 if test x$enable_physfs = xyes; then
22059 if test "${ac_cv_header_physfs_h+set}" = set; then
22060 { echo "$as_me:$LINENO: checking for physfs.h" >&5
22061 echo $ECHO_N "checking for physfs.h... $ECHO_C" >&6; }
22062 if test "${ac_cv_header_physfs_h+set}" = set; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 fi
22065 { echo "$as_me:$LINENO: result: $ac_cv_header_physfs_h" >&5
22066 echo "${ECHO_T}$ac_cv_header_physfs_h" >&6; }
22067 else
22068 # Is the header compilable?
22069 { echo "$as_me:$LINENO: checking physfs.h usability" >&5
22070 echo $ECHO_N "checking physfs.h usability... $ECHO_C" >&6; }
22071 cat >conftest.$ac_ext <<_ACEOF
22072 /* confdefs.h. */
22073 _ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 #include <physfs.h>
22079 _ACEOF
22080 rm -f conftest.$ac_objext
22081 if { (ac_try="$ac_compile"
22082 case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22085 esac
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_compile") 2>conftest.er1
22088 ac_status=$?
22089 grep -v '^ *+' conftest.er1 >conftest.err
22090 rm -f conftest.er1
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } && {
22094 test -z "$ac_c_werror_flag" ||
22095 test ! -s conftest.err
22096 } && test -s conftest.$ac_objext; then
22097 ac_header_compiler=yes
22098 else
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 ac_header_compiler=no
22103 fi
22104
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22107 echo "${ECHO_T}$ac_header_compiler" >&6; }
22108
22109 # Is the header present?
22110 { echo "$as_me:$LINENO: checking physfs.h presence" >&5
22111 echo $ECHO_N "checking physfs.h presence... $ECHO_C" >&6; }
22112 cat >conftest.$ac_ext <<_ACEOF
22113 /* confdefs.h. */
22114 _ACEOF
22115 cat confdefs.h >>conftest.$ac_ext
22116 cat >>conftest.$ac_ext <<_ACEOF
22117 /* end confdefs.h. */
22118 #include <physfs.h>
22119 _ACEOF
22120 if { (ac_try="$ac_cpp conftest.$ac_ext"
22121 case "(($ac_try" in
22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22123 *) ac_try_echo=$ac_try;;
22124 esac
22125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22127 ac_status=$?
22128 grep -v '^ *+' conftest.er1 >conftest.err
22129 rm -f conftest.er1
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } >/dev/null && {
22133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22134 test ! -s conftest.err
22135 }; then
22136 ac_header_preproc=yes
22137 else
22138 echo "$as_me: failed program was:" >&5
22139 sed 's/^/| /' conftest.$ac_ext >&5
22140
22141 ac_header_preproc=no
22142 fi
22143
22144 rm -f conftest.err conftest.$ac_ext
22145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22146 echo "${ECHO_T}$ac_header_preproc" >&6; }
22147
22148 # So? What about this header?
22149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22150 yes:no: )
22151 { echo "$as_me:$LINENO: WARNING: physfs.h: accepted by the compiler, rejected by the preprocessor!" >&5
22152 echo "$as_me: WARNING: physfs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22153 { echo "$as_me:$LINENO: WARNING: physfs.h: proceeding with the compiler's result" >&5
22154 echo "$as_me: WARNING: physfs.h: proceeding with the compiler's result" >&2;}
22155 ac_header_preproc=yes
22156 ;;
22157 no:yes:* )
22158 { echo "$as_me:$LINENO: WARNING: physfs.h: present but cannot be compiled" >&5
22159 echo "$as_me: WARNING: physfs.h: present but cannot be compiled" >&2;}
22160 { echo "$as_me:$LINENO: WARNING: physfs.h: check for missing prerequisite headers?" >&5
22161 echo "$as_me: WARNING: physfs.h: check for missing prerequisite headers?" >&2;}
22162 { echo "$as_me:$LINENO: WARNING: physfs.h: see the Autoconf documentation" >&5
22163 echo "$as_me: WARNING: physfs.h: see the Autoconf documentation" >&2;}
22164 { echo "$as_me:$LINENO: WARNING: physfs.h: section \"Present But Cannot Be Compiled\"" >&5
22165 echo "$as_me: WARNING: physfs.h: section \"Present But Cannot Be Compiled\"" >&2;}
22166 { echo "$as_me:$LINENO: WARNING: physfs.h: proceeding with the preprocessor's result" >&5
22167 echo "$as_me: WARNING: physfs.h: proceeding with the preprocessor's result" >&2;}
22168 { echo "$as_me:$LINENO: WARNING: physfs.h: in the future, the compiler will take precedence" >&5
22169 echo "$as_me: WARNING: physfs.h: in the future, the compiler will take precedence" >&2;}
22170
22171 ;;
22172 esac
22173 { echo "$as_me:$LINENO: checking for physfs.h" >&5
22174 echo $ECHO_N "checking for physfs.h... $ECHO_C" >&6; }
22175 if test "${ac_cv_header_physfs_h+set}" = set; then
22176 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 else
22178 ac_cv_header_physfs_h=$ac_header_preproc
22179 fi
22180 { echo "$as_me:$LINENO: result: $ac_cv_header_physfs_h" >&5
22181 echo "${ECHO_T}$ac_cv_header_physfs_h" >&6; }
22182
22183 fi
22184 if test $ac_cv_header_physfs_h = yes; then
19822 ac_fn_c_check_header_mongrel "$LINENO" "physfs.h" "ac_cv_header_physfs_h" "$ac_includes_default"
19823 if test "x$ac_cv_header_physfs_h" = xyes; then :
2218519824 have_physfs_hdr=yes
2218619825 fi
2218719826
2218819827
22189 { echo "$as_me:$LINENO: checking for PHYSFS_init in -lphysfs" >&5
22190 echo $ECHO_N "checking for PHYSFS_init in -lphysfs... $ECHO_C" >&6; }
22191 if test "${ac_cv_lib_physfs_PHYSFS_init+set}" = set; then
22192 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PHYSFS_init in -lphysfs" >&5
19829 $as_echo_n "checking for PHYSFS_init in -lphysfs... " >&6; }
19830 if ${ac_cv_lib_physfs_PHYSFS_init+:} false; then :
19831 $as_echo_n "(cached) " >&6
2219319832 else
2219419833 ac_check_lib_save_LIBS=$LIBS
2219519834 LIBS="-lphysfs $LIBS"
22196 cat >conftest.$ac_ext <<_ACEOF
22197 /* confdefs.h. */
22198 _ACEOF
22199 cat confdefs.h >>conftest.$ac_ext
22200 cat >>conftest.$ac_ext <<_ACEOF
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220119836 /* end confdefs.h. */
2220219837
2220319838 /* Override any GCC internal prototype to avoid an error.
2221519850 return 0;
2221619851 }
2221719852 _ACEOF
22218 rm -f conftest.$ac_objext conftest$ac_exeext
22219 if { (ac_try="$ac_link"
22220 case "(($ac_try" in
22221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22223 esac
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_link") 2>conftest.er1
22226 ac_status=$?
22227 grep -v '^ *+' conftest.er1 >conftest.err
22228 rm -f conftest.er1
22229 cat conftest.err >&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } && {
22232 test -z "$ac_c_werror_flag" ||
22233 test ! -s conftest.err
22234 } && test -s conftest$ac_exeext &&
22235 $as_test_x conftest$ac_exeext; then
19853 if ac_fn_c_try_link "$LINENO"; then :
2223619854 ac_cv_lib_physfs_PHYSFS_init=yes
2223719855 else
22238 echo "$as_me: failed program was:" >&5
22239 sed 's/^/| /' conftest.$ac_ext >&5
22240
22241 ac_cv_lib_physfs_PHYSFS_init=no
22242 fi
22243
22244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22245 conftest$ac_exeext conftest.$ac_ext
19856 ac_cv_lib_physfs_PHYSFS_init=no
19857 fi
19858 rm -f core conftest.err conftest.$ac_objext \
19859 conftest$ac_exeext conftest.$ac_ext
2224619860 LIBS=$ac_check_lib_save_LIBS
2224719861 fi
22248 { echo "$as_me:$LINENO: result: $ac_cv_lib_physfs_PHYSFS_init" >&5
22249 echo "${ECHO_T}$ac_cv_lib_physfs_PHYSFS_init" >&6; }
22250 if test $ac_cv_lib_physfs_PHYSFS_init = yes; then
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_physfs_PHYSFS_init" >&5
19863 $as_echo "$ac_cv_lib_physfs_PHYSFS_init" >&6; }
19864 if test "x$ac_cv_lib_physfs_PHYSFS_init" = xyes; then :
2225119865 have_physfs_lib=yes
2225219866 fi
2225319867
2225919873 fi
2226019874
2226119875 # Check whether --enable-altcvt was given.
22262 if test "${enable_altcvt+set}" = set; then
19876 if test "${enable_altcvt+set}" = set; then :
2226319877 enableval=$enable_altcvt;
2226419878 else
2226519879 enable_altcvt=no
2226719881
2226819882 if test x$enable_altcvt = xyes; then
2226919883
22270 cat >>confdefs.h <<\_ACEOF
22271 #define SOUND_USE_ALTCVT 1
22272 _ACEOF
19884 $as_echo "#define SOUND_USE_ALTCVT 1" >>confdefs.h
2227319885
2227419886 fi
2227519887
2227619888
2227719889
2227819890 # Checks for header files.
22279 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22280 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
22281 if test "${ac_cv_header_stdc+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22283 else
22284 cat >conftest.$ac_ext <<_ACEOF
22285 /* confdefs.h. */
22286 _ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19892 $as_echo_n "checking for ANSI C header files... " >&6; }
19893 if ${ac_cv_header_stdc+:} false; then :
19894 $as_echo_n "(cached) " >&6
19895 else
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228919897 /* end confdefs.h. */
2229019898 #include <stdlib.h>
2229119899 #include <stdarg.h>
2230019908 return 0;
2230119909 }
2230219910 _ACEOF
22303 rm -f conftest.$ac_objext
22304 if { (ac_try="$ac_compile"
22305 case "(($ac_try" in
22306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22307 *) ac_try_echo=$ac_try;;
22308 esac
22309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22310 (eval "$ac_compile") 2>conftest.er1
22311 ac_status=$?
22312 grep -v '^ *+' conftest.er1 >conftest.err
22313 rm -f conftest.er1
22314 cat conftest.err >&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } && {
22317 test -z "$ac_c_werror_flag" ||
22318 test ! -s conftest.err
22319 } && test -s conftest.$ac_objext; then
19911 if ac_fn_c_try_compile "$LINENO"; then :
2232019912 ac_cv_header_stdc=yes
2232119913 else
22322 echo "$as_me: failed program was:" >&5
22323 sed 's/^/| /' conftest.$ac_ext >&5
22324
22325 ac_cv_header_stdc=no
22326 fi
22327
19914 ac_cv_header_stdc=no
19915 fi
2232819916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232919917
2233019918 if test $ac_cv_header_stdc = yes; then
2233119919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22332 cat >conftest.$ac_ext <<_ACEOF
22333 /* confdefs.h. */
22334 _ACEOF
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233719921 /* end confdefs.h. */
2233819922 #include <string.h>
2233919923
2234019924 _ACEOF
2234119925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22342 $EGREP "memchr" >/dev/null 2>&1; then
22343 :
19926 $EGREP "memchr" >/dev/null 2>&1; then :
19927
2234419928 else
2234519929 ac_cv_header_stdc=no
2234619930 fi
2235019934
2235119935 if test $ac_cv_header_stdc = yes; then
2235219936 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22353 cat >conftest.$ac_ext <<_ACEOF
22354 /* confdefs.h. */
22355 _ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
19937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235819938 /* end confdefs.h. */
2235919939 #include <stdlib.h>
2236019940
2236119941 _ACEOF
2236219942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22363 $EGREP "free" >/dev/null 2>&1; then
22364 :
19943 $EGREP "free" >/dev/null 2>&1; then :
19944
2236519945 else
2236619946 ac_cv_header_stdc=no
2236719947 fi
2237119951
2237219952 if test $ac_cv_header_stdc = yes; then
2237319953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22374 if test "$cross_compiling" = yes; then
19954 if test "$cross_compiling" = yes; then :
2237519955 :
2237619956 else
22377 cat >conftest.$ac_ext <<_ACEOF
22378 /* confdefs.h. */
22379 _ACEOF
22380 cat confdefs.h >>conftest.$ac_ext
22381 cat >>conftest.$ac_ext <<_ACEOF
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2238219958 /* end confdefs.h. */
2238319959 #include <ctype.h>
2238419960 #include <stdlib.h>
2240519981 return 0;
2240619982 }
2240719983 _ACEOF
22408 rm -f conftest$ac_exeext
22409 if { (ac_try="$ac_link"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22413 esac
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_link") 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22419 { (case "(($ac_try" in
22420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22422 esac
22423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22424 (eval "$ac_try") 2>&5
22425 ac_status=$?
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22428 :
22429 else
22430 echo "$as_me: program exited with status $ac_status" >&5
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22433
22434 ( exit $ac_status )
22435 ac_cv_header_stdc=no
22436 fi
22437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22438 fi
22439
22440
22441 fi
22442 fi
22443 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22444 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19984 if ac_fn_c_try_run "$LINENO"; then :
19985
19986 else
19987 ac_cv_header_stdc=no
19988 fi
19989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19990 conftest.$ac_objext conftest.beam conftest.$ac_ext
19991 fi
19992
19993 fi
19994 fi
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19996 $as_echo "$ac_cv_header_stdc" >&6; }
2244519997 if test $ac_cv_header_stdc = yes; then
2244619998
22447 cat >>confdefs.h <<\_ACEOF
22448 #define STDC_HEADERS 1
19999 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20000
20001 fi
20002
20003 for ac_header in stdlib.h string.h signal.h assert.h
20004 do :
20005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20006 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20007 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20008 cat >>confdefs.h <<_ACEOF
20009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2244920010 _ACEOF
2245020011
2245120012 fi
2245220013
22453
22454
22455
22456
22457 for ac_header in stdlib.h string.h signal.h assert.h
22458 do
22459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22461 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22465 fi
22466 ac_res=`eval echo '${'$as_ac_Header'}'`
22467 { echo "$as_me:$LINENO: result: $ac_res" >&5
22468 echo "${ECHO_T}$ac_res" >&6; }
22469 else
22470 # Is the header compilable?
22471 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22472 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22473 cat >conftest.$ac_ext <<_ACEOF
22474 /* confdefs.h. */
22475 _ACEOF
22476 cat confdefs.h >>conftest.$ac_ext
22477 cat >>conftest.$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479 $ac_includes_default
22480 #include <$ac_header>
22481 _ACEOF
22482 rm -f conftest.$ac_objext
22483 if { (ac_try="$ac_compile"
22484 case "(($ac_try" in
22485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22486 *) ac_try_echo=$ac_try;;
22487 esac
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_compile") 2>conftest.er1
22490 ac_status=$?
22491 grep -v '^ *+' conftest.er1 >conftest.err
22492 rm -f conftest.er1
22493 cat conftest.err >&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } && {
22496 test -z "$ac_c_werror_flag" ||
22497 test ! -s conftest.err
22498 } && test -s conftest.$ac_objext; then
22499 ac_header_compiler=yes
22500 else
22501 echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22503
22504 ac_header_compiler=no
22505 fi
22506
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22509 echo "${ECHO_T}$ac_header_compiler" >&6; }
22510
22511 # Is the header present?
22512 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22514 cat >conftest.$ac_ext <<_ACEOF
22515 /* confdefs.h. */
22516 _ACEOF
22517 cat confdefs.h >>conftest.$ac_ext
22518 cat >>conftest.$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22520 #include <$ac_header>
22521 _ACEOF
22522 if { (ac_try="$ac_cpp conftest.$ac_ext"
22523 case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22525 *) ac_try_echo=$ac_try;;
22526 esac
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22529 ac_status=$?
22530 grep -v '^ *+' conftest.er1 >conftest.err
22531 rm -f conftest.er1
22532 cat conftest.err >&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } >/dev/null && {
22535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22536 test ! -s conftest.err
22537 }; then
22538 ac_header_preproc=yes
22539 else
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.$ac_ext >&5
22542
22543 ac_header_preproc=no
22544 fi
22545
22546 rm -f conftest.err conftest.$ac_ext
22547 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22548 echo "${ECHO_T}$ac_header_preproc" >&6; }
22549
22550 # So? What about this header?
22551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22552 yes:no: )
22553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22557 ac_header_preproc=yes
22558 ;;
22559 no:yes:* )
22560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22572
22573 ;;
22574 esac
22575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22578 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 else
22580 eval "$as_ac_Header=\$ac_header_preproc"
22581 fi
22582 ac_res=`eval echo '${'$as_ac_Header'}'`
22583 { echo "$as_me:$LINENO: result: $ac_res" >&5
22584 echo "${ECHO_T}$ac_res" >&6; }
22585
22586 fi
22587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22588 cat >>confdefs.h <<_ACEOF
22589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22590 _ACEOF
22591
22592 fi
22593
2259420014 done
2259520015
2259620016
2259720017 # Checks for typedefs, structures, and compiler characteristics.
22598 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22599 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
22600 if test "${ac_cv_c_const+set}" = set; then
22601 echo $ECHO_N "(cached) $ECHO_C" >&6
22602 else
22603 cat >conftest.$ac_ext <<_ACEOF
22604 /* confdefs.h. */
22605 _ACEOF
22606 cat confdefs.h >>conftest.$ac_ext
22607 cat >>conftest.$ac_ext <<_ACEOF
20018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20019 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20020 if ${ac_cv_c_const+:} false; then :
20021 $as_echo_n "(cached) " >&6
20022 else
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260820024 /* end confdefs.h. */
2260920025
2261020026 int
2261120027 main ()
2261220028 {
22613 /* FIXME: Include the comments suggested by Paul. */
20029
2261420030 #ifndef __cplusplus
22615 /* Ultrix mips cc rejects this. */
20031 /* Ultrix mips cc rejects this sort of thing. */
2261620032 typedef int charset[2];
22617 const charset cs;
20033 const charset cs = { 0, 0 };
2261820034 /* SunOS 4.1.1 cc rejects this. */
2261920035 char const *const *pcpcc;
2262020036 char **ppc;
2263120047 ++pcpcc;
2263220048 ppc = (char**) pcpcc;
2263320049 pcpcc = (char const *const *) ppc;
22634 { /* SCO 3.2v4 cc rejects this. */
22635 char *t;
20050 { /* SCO 3.2v4 cc rejects this sort of thing. */
20051 char tx;
20052 char *t = &tx;
2263620053 char const *s = 0 ? (char *) 0 : (char const *) 0;
2263720054
2263820055 *t++ = 0;
2264820065 iptr p = 0;
2264920066 ++p;
2265020067 }
22651 { /* AIX XL C 1.02.0.0 rejects this saying
20068 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
2265220069 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22653 struct s { int j; const int *ap[3]; };
22654 struct s *b; b->j = 5;
20070 struct s { int j; const int *ap[3]; } bx;
20071 struct s *b = &bx; b->j = 5;
2265520072 }
2265620073 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2265720074 const int foo = 10;
2266420081 return 0;
2266520082 }
2266620083 _ACEOF
22667 rm -f conftest.$ac_objext
22668 if { (ac_try="$ac_compile"
22669 case "(($ac_try" in
22670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22672 esac
22673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_compile") 2>conftest.er1
22675 ac_status=$?
22676 grep -v '^ *+' conftest.er1 >conftest.err
22677 rm -f conftest.er1
22678 cat conftest.err >&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } && {
22681 test -z "$ac_c_werror_flag" ||
22682 test ! -s conftest.err
22683 } && test -s conftest.$ac_objext; then
20084 if ac_fn_c_try_compile "$LINENO"; then :
2268420085 ac_cv_c_const=yes
2268520086 else
22686 echo "$as_me: failed program was:" >&5
22687 sed 's/^/| /' conftest.$ac_ext >&5
22688
22689 ac_cv_c_const=no
22690 fi
22691
20087 ac_cv_c_const=no
20088 fi
2269220089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2269320090 fi
22694 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22695 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20092 $as_echo "$ac_cv_c_const" >&6; }
2269620093 if test $ac_cv_c_const = no; then
2269720094
22698 cat >>confdefs.h <<\_ACEOF
22699 #define const
22700 _ACEOF
22701
22702 fi
22703
22704 { echo "$as_me:$LINENO: checking for size_t" >&5
22705 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22706 if test "${ac_cv_type_size_t+set}" = set; then
22707 echo $ECHO_N "(cached) $ECHO_C" >&6
22708 else
22709 cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h. */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 $ac_includes_default
22716 typedef size_t ac__type_new_;
22717 int
22718 main ()
22719 {
22720 if ((ac__type_new_ *) 0)
22721 return 0;
22722 if (sizeof (ac__type_new_))
22723 return 0;
22724 ;
22725 return 0;
22726 }
22727 _ACEOF
22728 rm -f conftest.$ac_objext
22729 if { (ac_try="$ac_compile"
22730 case "(($ac_try" in
22731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22732 *) ac_try_echo=$ac_try;;
22733 esac
22734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22735 (eval "$ac_compile") 2>conftest.er1
22736 ac_status=$?
22737 grep -v '^ *+' conftest.er1 >conftest.err
22738 rm -f conftest.er1
22739 cat conftest.err >&5
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); } && {
22742 test -z "$ac_c_werror_flag" ||
22743 test ! -s conftest.err
22744 } && test -s conftest.$ac_objext; then
22745 ac_cv_type_size_t=yes
22746 else
22747 echo "$as_me: failed program was:" >&5
22748 sed 's/^/| /' conftest.$ac_ext >&5
22749
22750 ac_cv_type_size_t=no
22751 fi
22752
22753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22754 fi
22755 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22756 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22757 if test $ac_cv_type_size_t = yes; then
22758 :
20095 $as_echo "#define const /**/" >>confdefs.h
20096
20097 fi
20098
20099 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20100 if test "x$ac_cv_type_size_t" = xyes; then :
20101
2275920102 else
2276020103
2276120104 cat >>confdefs.h <<_ACEOF
2277120114 #AC_FUNC_MALLOC
2277220115
2277320116
22774 { echo "$as_me:$LINENO: checking for working memcmp" >&5
22775 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
22776 if test "${ac_cv_func_memcmp_working+set}" = set; then
22777 echo $ECHO_N "(cached) $ECHO_C" >&6
22778 else
22779 if test "$cross_compiling" = yes; then
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
20118 $as_echo_n "checking for working memcmp... " >&6; }
20119 if ${ac_cv_func_memcmp_working+:} false; then :
20120 $as_echo_n "(cached) " >&6
20121 else
20122 if test "$cross_compiling" = yes; then :
2278020123 ac_cv_func_memcmp_working=no
2278120124 else
22782 cat >conftest.$ac_ext <<_ACEOF
22783 /* confdefs.h. */
22784 _ACEOF
22785 cat confdefs.h >>conftest.$ac_ext
22786 cat >>conftest.$ac_ext <<_ACEOF
20125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278720126 /* end confdefs.h. */
2278820127 $ac_includes_default
2278920128 int
2281820157 return 0;
2281920158 }
2282020159 _ACEOF
22821 rm -f conftest$ac_exeext
22822 if { (ac_try="$ac_link"
22823 case "(($ac_try" in
22824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22825 *) ac_try_echo=$ac_try;;
22826 esac
22827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22828 (eval "$ac_link") 2>&5
22829 ac_status=$?
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22832 { (case "(($ac_try" in
22833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22834 *) ac_try_echo=$ac_try;;
22835 esac
22836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22837 (eval "$ac_try") 2>&5
22838 ac_status=$?
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); }; }; then
20160 if ac_fn_c_try_run "$LINENO"; then :
2284120161 ac_cv_func_memcmp_working=yes
2284220162 else
22843 echo "$as_me: program exited with status $ac_status" >&5
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.$ac_ext >&5
22846
22847 ( exit $ac_status )
22848 ac_cv_func_memcmp_working=no
22849 fi
22850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22851 fi
22852
22853
22854 fi
22855 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22856 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
20163 ac_cv_func_memcmp_working=no
20164 fi
20165 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20166 conftest.$ac_objext conftest.beam conftest.$ac_ext
20167 fi
20168
20169 fi
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
20171 $as_echo "$ac_cv_func_memcmp_working" >&6; }
2285720172 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
2285820173 *" memcmp.$ac_objext "* ) ;;
2285920174 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
2286120176 esac
2286220177
2286320178
22864
22865
22866
2286720179 for ac_func in memset strrchr setbuf
22868 do
22869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22870 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22873 echo $ECHO_N "(cached) $ECHO_C" >&6
22874 else
22875 cat >conftest.$ac_ext <<_ACEOF
22876 /* confdefs.h. */
22877 _ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22883 #define $ac_func innocuous_$ac_func
22884
22885 /* System header to define __stub macros and hopefully few prototypes,
22886 which can conflict with char $ac_func (); below.
22887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22888 <limits.h> exists even on freestanding compilers. */
22889
22890 #ifdef __STDC__
22891 # include <limits.h>
22892 #else
22893 # include <assert.h>
22894 #endif
22895
22896 #undef $ac_func
22897
22898 /* Override any GCC internal prototype to avoid an error.
22899 Use char because int might match the return type of a GCC
22900 builtin and then its argument prototype would still apply. */
22901 #ifdef __cplusplus
22902 extern "C"
22903 #endif
22904 char $ac_func ();
22905 /* The GNU C library defines this for functions which it implements
22906 to always fail with ENOSYS. Some functions are actually named
22907 something starting with __ and the normal name is an alias. */
22908 #if defined __stub_$ac_func || defined __stub___$ac_func
22909 choke me
22910 #endif
22911
22912 int
22913 main ()
22914 {
22915 return $ac_func ();
22916 ;
22917 return 0;
22918 }
22919 _ACEOF
22920 rm -f conftest.$ac_objext conftest$ac_exeext
22921 if { (ac_try="$ac_link"
22922 case "(($ac_try" in
22923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22924 *) ac_try_echo=$ac_try;;
22925 esac
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_link") 2>conftest.er1
22928 ac_status=$?
22929 grep -v '^ *+' conftest.er1 >conftest.err
22930 rm -f conftest.er1
22931 cat conftest.err >&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); } && {
22934 test -z "$ac_c_werror_flag" ||
22935 test ! -s conftest.err
22936 } && test -s conftest$ac_exeext &&
22937 $as_test_x conftest$ac_exeext; then
22938 eval "$as_ac_var=yes"
22939 else
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22942
22943 eval "$as_ac_var=no"
22944 fi
22945
22946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22947 conftest$ac_exeext conftest.$ac_ext
22948 fi
22949 ac_res=`eval echo '${'$as_ac_var'}'`
22950 { echo "$as_me:$LINENO: result: $ac_res" >&5
22951 echo "${ECHO_T}$ac_res" >&6; }
22952 if test `eval echo '${'$as_ac_var'}'` = yes; then
20180 do :
20181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20183 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2295320184 cat >>confdefs.h <<_ACEOF
22954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2295520186 _ACEOF
2295620187
2295720188 fi
2301820249 case $ac_val in #(
2301920250 *${as_nl}*)
2302020251 case $ac_var in #(
23021 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23022 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20252 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20253 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2302320254 esac
2302420255 case $ac_var in #(
2302520256 _ | IFS | as_nl) ;; #(
23026 *) $as_unset $ac_var ;;
20257 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20258 *) { eval $ac_var=; unset $ac_var;} ;;
2302720259 esac ;;
2302820260 esac
2302920261 done
2303120263 (set) 2>&1 |
2303220264 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2303320265 *${as_nl}ac_space=\ *)
23034 # `set' does not quote correctly, so add quotes (double-quote
23035 # substitution turns \\\\ into \\, and sed turns \\ into \).
20266 # `set' does not quote correctly, so add quotes: double-quote
20267 # substitution turns \\\\ into \\, and sed turns \\ into \.
2303620268 sed -n \
2303720269 "s/'/'\\\\''/g;
2303820270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2305420286 :end' >>confcache
2305520287 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2305620288 if test -w "$cache_file"; then
23057 test "x$cache_file" != "x/dev/null" &&
23058 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23059 echo "$as_me: updating cache $cache_file" >&6;}
23060 cat confcache >$cache_file
20289 if test "x$cache_file" != "x/dev/null"; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20291 $as_echo "$as_me: updating cache $cache_file" >&6;}
20292 if test ! -f "$cache_file" || test -h "$cache_file"; then
20293 cat confcache >"$cache_file"
20294 else
20295 case $cache_file in #(
20296 */* | ?:*)
20297 mv -f confcache "$cache_file"$$ &&
20298 mv -f "$cache_file"$$ "$cache_file" ;; #(
20299 *)
20300 mv -f confcache "$cache_file" ;;
20301 esac
20302 fi
20303 fi
2306120304 else
23062 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23063 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20306 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2306420307 fi
2306520308 fi
2306620309 rm -f confcache
2307320316
2307420317 ac_libobjs=
2307520318 ac_ltlibobjs=
20319 U=
2307620320 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2307720321 # 1. Remove the extension, and $U if already installed.
2307820322 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23079 ac_i=`echo "$ac_i" | sed "$ac_script"`
20323 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2308020324 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2308120325 # will be set to the directory where LIBOBJS objects are built.
23082 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23083 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20326 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20327 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2308420328 done
2308520329 LIBOBJS=$ac_libobjs
2308620330
2308820332
2308920333
2309020334 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23091 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23092 Usually this means the macro was only invoked conditionally." >&5
23093 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23094 Usually this means the macro was only invoked conditionally." >&2;}
23095 { (exit 1); exit 1; }; }
20335 as_fn_error $? "conditional \"AMDEP\" was never defined.
20336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2309620337 fi
2309720338 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23098 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23099 Usually this means the macro was only invoked conditionally." >&5
23100 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23101 Usually this means the macro was only invoked conditionally." >&2;}
23102 { (exit 1); exit 1; }; }
20339 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2310320341 fi
2310420342 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23105 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23106 Usually this means the macro was only invoked conditionally." >&5
23107 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23108 Usually this means the macro was only invoked conditionally." >&2;}
23109 { (exit 1); exit 1; }; }
20343 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2311020345 fi
2311120346 if test -z "${USE_TIMIDITY_TRUE}" && test -z "${USE_TIMIDITY_FALSE}"; then
23112 { { echo "$as_me:$LINENO: error: conditional \"USE_TIMIDITY\" was never defined.
23113 Usually this means the macro was only invoked conditionally." >&5
23114 echo "$as_me: error: conditional \"USE_TIMIDITY\" was never defined.
23115 Usually this means the macro was only invoked conditionally." >&2;}
23116 { (exit 1); exit 1; }; }
20347 as_fn_error $? "conditional \"USE_TIMIDITY\" was never defined.
20348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2311720349 fi
2311820350 if test -z "${USE_MPGLIB_TRUE}" && test -z "${USE_MPGLIB_FALSE}"; then
23119 { { echo "$as_me:$LINENO: error: conditional \"USE_MPGLIB\" was never defined.
23120 Usually this means the macro was only invoked conditionally." >&5
23121 echo "$as_me: error: conditional \"USE_MPGLIB\" was never defined.
23122 Usually this means the macro was only invoked conditionally." >&2;}
23123 { (exit 1); exit 1; }; }
20351 as_fn_error $? "conditional \"USE_MPGLIB\" was never defined.
20352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2312420353 fi
2312520354 if test -z "${USE_PHYSICSFS_TRUE}" && test -z "${USE_PHYSICSFS_FALSE}"; then
23126 { { echo "$as_me:$LINENO: error: conditional \"USE_PHYSICSFS\" was never defined.
23127 Usually this means the macro was only invoked conditionally." >&5
23128 echo "$as_me: error: conditional \"USE_PHYSICSFS\" was never defined.
23129 Usually this means the macro was only invoked conditionally." >&2;}
23130 { (exit 1); exit 1; }; }
23131 fi
23132
23133 : ${CONFIG_STATUS=./config.status}
20355 as_fn_error $? "conditional \"USE_PHYSICSFS\" was never defined.
20356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20357 fi
20358
20359 : "${CONFIG_STATUS=./config.status}"
20360 ac_write_fail=0
2313420361 ac_clean_files_save=$ac_clean_files
2313520362 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23136 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23137 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23138 cat >$CONFIG_STATUS <<_ACEOF
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20364 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20365 as_write_fail=0
20366 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2313920367 #! $SHELL
2314020368 # Generated by $as_me.
2314120369 # Run this file to recreate the current configuration.
2314520373 debug=false
2314620374 ac_cs_recheck=false
2314720375 ac_cs_silent=false
20376
2314820377 SHELL=\${CONFIG_SHELL-$SHELL}
23149 _ACEOF
23150
23151 cat >>$CONFIG_STATUS <<\_ACEOF
23152 ## --------------------- ##
23153 ## M4sh Initialization. ##
23154 ## --------------------- ##
20378 export SHELL
20379 _ASEOF
20380 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20381 ## -------------------- ##
20382 ## M4sh Initialization. ##
20383 ## -------------------- ##
2315520384
2315620385 # Be more Bourne compatible
2315720386 DUALCASE=1; export DUALCASE # for MKS sh
23158 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20387 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2315920388 emulate sh
2316020389 NULLCMD=:
23161 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20390 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2316220391 # is contrary to our usage. Disable this feature.
2316320392 alias -g '${1+"$@"}'='"$@"'
2316420393 setopt NO_GLOB_SUBST
2316520394 else
23166 case `(set -o) 2>/dev/null` in
23167 *posix*) set -o posix ;;
20395 case `(set -o) 2>/dev/null` in #(
20396 *posix*) :
20397 set -o posix ;; #(
20398 *) :
20399 ;;
2316820400 esac
23169
23170 fi
23171
23172
23173
23174
23175 # PATH needs CR
23176 # Avoid depending upon Character Ranges.
23177 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23178 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23179 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23180 as_cr_digits='0123456789'
23181 as_cr_alnum=$as_cr_Letters$as_cr_digits
20401 fi
20402
20403
20404 as_nl='
20405 '
20406 export as_nl
20407 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20408 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20409 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20410 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20411 # Prefer a ksh shell builtin over an external printf program on Solaris,
20412 # but without wasting forks for bash or zsh.
20413 if test -z "$BASH_VERSION$ZSH_VERSION" \
20414 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20415 as_echo='print -r --'
20416 as_echo_n='print -rn --'
20417 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20418 as_echo='printf %s\n'
20419 as_echo_n='printf %s'
20420 else
20421 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20422 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20423 as_echo_n='/usr/ucb/echo -n'
20424 else
20425 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20426 as_echo_n_body='eval
20427 arg=$1;
20428 case $arg in #(
20429 *"$as_nl"*)
20430 expr "X$arg" : "X\\(.*\\)$as_nl";
20431 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20432 esac;
20433 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20434 '
20435 export as_echo_n_body
20436 as_echo_n='sh -c $as_echo_n_body as_echo'
20437 fi
20438 export as_echo_body
20439 as_echo='sh -c $as_echo_body as_echo'
20440 fi
2318220441
2318320442 # The user is always right.
2318420443 if test "${PATH_SEPARATOR+set}" != set; then
23185 echo "#! /bin/sh" >conf$$.sh
23186 echo "exit 0" >>conf$$.sh
23187 chmod +x conf$$.sh
23188 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23189 PATH_SEPARATOR=';'
23190 else
23191 PATH_SEPARATOR=:
23192 fi
23193 rm -f conf$$.sh
23194 fi
23195
23196 # Support unset when possible.
23197 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23198 as_unset=unset
23199 else
23200 as_unset=false
20444 PATH_SEPARATOR=:
20445 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20446 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20447 PATH_SEPARATOR=';'
20448 }
2320120449 fi
2320220450
2320320451
2320620454 # there to prevent editors from complaining about space-tab.
2320720455 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2320820456 # splitting by setting IFS to empty value.)
23209 as_nl='
23210 '
2321120457 IFS=" "" $as_nl"
2321220458
2321320459 # Find who we are. Look in the path if we contain no directory separator.
23214 case $0 in
20460 as_myself=
20461 case $0 in #((
2321520462 *[\\/]* ) as_myself=$0 ;;
2321620463 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321720464 for as_dir in $PATH
2321820465 do
2321920466 IFS=$as_save_IFS
2322020467 test -z "$as_dir" && as_dir=.
23221 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23222 done
20468 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20469 done
2322320470 IFS=$as_save_IFS
2322420471
2322520472 ;;
2323020477 as_myself=$0
2323120478 fi
2323220479 if test ! -f "$as_myself"; then
23233 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23234 { (exit 1); exit 1; }
23235 fi
23236
23237 # Work around bugs in pre-3.0 UWIN ksh.
23238 for as_var in ENV MAIL MAILPATH
23239 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20480 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20481 exit 1
20482 fi
20483
20484 # Unset variables that we do not need and which cause bugs (e.g. in
20485 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20486 # suppresses any "Segmentation fault" message there. '((' could
20487 # trigger a bug in pdksh 5.2.14.
20488 for as_var in BASH_ENV ENV MAIL MAILPATH
20489 do eval test x\${$as_var+set} = xset \
20490 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2324020491 done
2324120492 PS1='$ '
2324220493 PS2='> '
2324320494 PS4='+ '
2324420495
2324520496 # NLS nuisances.
23246 for as_var in \
23247 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23248 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23249 LC_TELEPHONE LC_TIME
23250 do
23251 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23252 eval $as_var=C; export $as_var
23253 else
23254 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20497 LC_ALL=C
20498 export LC_ALL
20499 LANGUAGE=C
20500 export LANGUAGE
20501
20502 # CDPATH.
20503 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20504
20505
20506 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20507 # ----------------------------------------
20508 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20509 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20510 # script with STATUS, using 1 if that was 0.
20511 as_fn_error ()
20512 {
20513 as_status=$1; test $as_status -eq 0 && as_status=1
20514 if test "$4"; then
20515 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20516 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2325520517 fi
23256 done
23257
23258 # Required to use basename.
20518 $as_echo "$as_me: error: $2" >&2
20519 as_fn_exit $as_status
20520 } # as_fn_error
20521
20522
20523 # as_fn_set_status STATUS
20524 # -----------------------
20525 # Set $? to STATUS, without forking.
20526 as_fn_set_status ()
20527 {
20528 return $1
20529 } # as_fn_set_status
20530
20531 # as_fn_exit STATUS
20532 # -----------------
20533 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20534 as_fn_exit ()
20535 {
20536 set +e
20537 as_fn_set_status $1
20538 exit $1
20539 } # as_fn_exit
20540
20541 # as_fn_unset VAR
20542 # ---------------
20543 # Portably unset VAR.
20544 as_fn_unset ()
20545 {
20546 { eval $1=; unset $1;}
20547 }
20548 as_unset=as_fn_unset
20549 # as_fn_append VAR VALUE
20550 # ----------------------
20551 # Append the text in VALUE to the end of the definition contained in VAR. Take
20552 # advantage of any shell optimizations that allow amortized linear growth over
20553 # repeated appends, instead of the typical quadratic growth present in naive
20554 # implementations.
20555 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20556 eval 'as_fn_append ()
20557 {
20558 eval $1+=\$2
20559 }'
20560 else
20561 as_fn_append ()
20562 {
20563 eval $1=\$$1\$2
20564 }
20565 fi # as_fn_append
20566
20567 # as_fn_arith ARG...
20568 # ------------------
20569 # Perform arithmetic evaluation on the ARGs, and store the result in the
20570 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20571 # must be portable across $(()) and expr.
20572 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20573 eval 'as_fn_arith ()
20574 {
20575 as_val=$(( $* ))
20576 }'
20577 else
20578 as_fn_arith ()
20579 {
20580 as_val=`expr "$@" || test $? -eq 1`
20581 }
20582 fi # as_fn_arith
20583
20584
2325920585 if expr a : '\(a\)' >/dev/null 2>&1 &&
2326020586 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2326120587 as_expr=expr
2326920595 as_basename=false
2327020596 fi
2327120597
23272
23273 # Name of the executable.
20598 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20599 as_dirname=dirname
20600 else
20601 as_dirname=false
20602 fi
20603
2327420604 as_me=`$as_basename -- "$0" ||
2327520605 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2327620606 X"$0" : 'X\(//\)$' \| \
2327720607 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23278 echo X/"$0" |
20608 $as_echo X/"$0" |
2327920609 sed '/^.*\/\([^/][^/]*\)\/*$/{
2328020610 s//\1/
2328120611 q
2329020620 }
2329120621 s/.*/./; q'`
2329220622
23293 # CDPATH.
23294 $as_unset CDPATH
23295
23296
23297
23298 as_lineno_1=$LINENO
23299 as_lineno_2=$LINENO
23300 test "x$as_lineno_1" != "x$as_lineno_2" &&
23301 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23302
23303 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23304 # uniformly replaced by the line number. The first 'sed' inserts a
23305 # line-number line after each line using $LINENO; the second 'sed'
23306 # does the real work. The second script uses 'N' to pair each
23307 # line-number line with the line containing $LINENO, and appends
23308 # trailing '-' during substitution so that $LINENO is not a special
23309 # case at line end.
23310 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23311 # scripts with optimization help from Paolo Bonzini. Blame Lee
23312 # E. McMahon (1931-1989) for sed's syntax. :-)
23313 sed -n '
23314 p
23315 /[$]LINENO/=
23316 ' <$as_myself |
23317 sed '
23318 s/[$]LINENO.*/&-/
23319 t lineno
23320 b
23321 :lineno
23322 N
23323 :loop
23324 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23325 t loop
23326 s/-\n.*//
23327 ' >$as_me.lineno &&
23328 chmod +x "$as_me.lineno" ||
23329 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23330 { (exit 1); exit 1; }; }
23331
23332 # Don't try to exec as it changes $[0], causing all sort of problems
23333 # (the dirname of $[0] is not the place where we might find the
23334 # original and so on. Autoconf is especially sensitive to this).
23335 . "./$as_me.lineno"
23336 # Exit status is that of the last command.
23337 exit
23338 }
23339
23340
23341 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23342 as_dirname=dirname
23343 else
23344 as_dirname=false
23345 fi
20623 # Avoid depending upon Character Ranges.
20624 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20625 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20626 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20627 as_cr_digits='0123456789'
20628 as_cr_alnum=$as_cr_Letters$as_cr_digits
2334620629
2334720630 ECHO_C= ECHO_N= ECHO_T=
23348 case `echo -n x` in
20631 case `echo -n x` in #(((((
2334920632 -n*)
23350 case `echo 'x\c'` in
20633 case `echo 'xy\c'` in
2335120634 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23352 *) ECHO_C='\c';;
20635 xy) ECHO_C='\c';;
20636 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20637 ECHO_T=' ';;
2335320638 esac;;
2335420639 *)
2335520640 ECHO_N='-n';;
2335620641 esac
2335720642
23358 if expr a : '\(a\)' >/dev/null 2>&1 &&
23359 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23360 as_expr=expr
23361 else
23362 as_expr=false
23363 fi
23364
2336520643 rm -f conf$$ conf$$.exe conf$$.file
2336620644 if test -d conf$$.dir; then
2336720645 rm -f conf$$.dir/conf$$.file
2336820646 else
2336920647 rm -f conf$$.dir
23370 mkdir conf$$.dir
23371 fi
23372 echo >conf$$.file
23373 if ln -s conf$$.file conf$$ 2>/dev/null; then
23374 as_ln_s='ln -s'
23375 # ... but there are two gotchas:
23376 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23377 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23378 # In both cases, we have to default to `cp -p'.
23379 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23380 as_ln_s='cp -p'
23381 elif ln conf$$.file conf$$ 2>/dev/null; then
23382 as_ln_s=ln
23383 else
23384 as_ln_s='cp -p'
20648 mkdir conf$$.dir 2>/dev/null
20649 fi
20650 if (echo >conf$$.file) 2>/dev/null; then
20651 if ln -s conf$$.file conf$$ 2>/dev/null; then
20652 as_ln_s='ln -s'
20653 # ... but there are two gotchas:
20654 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20655 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20656 # In both cases, we have to default to `cp -pR'.
20657 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20658 as_ln_s='cp -pR'
20659 elif ln conf$$.file conf$$ 2>/dev/null; then
20660 as_ln_s=ln
20661 else
20662 as_ln_s='cp -pR'
20663 fi
20664 else
20665 as_ln_s='cp -pR'
2338520666 fi
2338620667 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2338720668 rmdir conf$$.dir 2>/dev/null
2338820669
23389 if mkdir -p . 2>/dev/null; then
23390 as_mkdir_p=:
23391 else
23392 test -d ./-p && rmdir ./-p
23393 as_mkdir_p=false
23394 fi
23395
23396 if test -x / >/dev/null 2>&1; then
23397 as_test_x='test -x'
23398 else
23399 if ls -dL / >/dev/null 2>&1; then
23400 as_ls_L_option=L
23401 else
23402 as_ls_L_option=
23403 fi
23404 as_test_x='
23405 eval sh -c '\''
23406 if test -d "$1"; then
23407 test -d "$1/.";
23408 else
23409 case $1 in
23410 -*)set "./$1";;
23411 esac;
23412 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23413 ???[sx]*):;;*)false;;esac;fi
23414 '\'' sh
23415 '
23416 fi
23417 as_executable_p=$as_test_x
23418
23419 # Sed expression to map a string onto a valid CPP name.
23420 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23421
23422 # Sed expression to map a string onto a valid variable name.
23423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23424
23425
23426 exec 6>&1
23427
23428 # Save the log message, to keep $[0] and so on meaningful, and to
23429 # report actual input values of CONFIG_FILES etc. instead of their
23430 # values after options handling.
23431 ac_log="
23432 This file was extended by $as_me, which was
23433 generated by GNU Autoconf 2.61. Invocation command line was
23434
23435 CONFIG_FILES = $CONFIG_FILES
23436 CONFIG_HEADERS = $CONFIG_HEADERS
23437 CONFIG_LINKS = $CONFIG_LINKS
23438 CONFIG_COMMANDS = $CONFIG_COMMANDS
23439 $ $0 $@
23440
23441 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23442 "
23443
23444 _ACEOF
23445
23446 cat >>$CONFIG_STATUS <<_ACEOF
23447 # Files that config.status was made for.
23448 config_files="$ac_config_files"
23449 config_headers="$ac_config_headers"
23450 config_commands="$ac_config_commands"
23451
23452 _ACEOF
23453
23454 cat >>$CONFIG_STATUS <<\_ACEOF
23455 ac_cs_usage="\
23456 \`$as_me' instantiates files from templates according to the
23457 current configuration.
23458
23459 Usage: $0 [OPTIONS] [FILE]...
23460
23461 -h, --help print this help, then exit
23462 -V, --version print version number and configuration settings, then exit
23463 -q, --quiet do not print progress messages
23464 -d, --debug don't remove temporary files
23465 --recheck update $as_me by reconfiguring in the same conditions
23466 --file=FILE[:TEMPLATE]
23467 instantiate the configuration file FILE
23468 --header=FILE[:TEMPLATE]
23469 instantiate the configuration header FILE
23470
23471 Configuration files:
23472 $config_files
23473
23474 Configuration headers:
23475 $config_headers
23476
23477 Configuration commands:
23478 $config_commands
23479
23480 Report bugs to <bug-autoconf@gnu.org>."
23481
23482 _ACEOF
23483 cat >>$CONFIG_STATUS <<_ACEOF
23484 ac_cs_version="\\
23485 config.status
23486 configured by $0, generated by GNU Autoconf 2.61,
23487 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23488
23489 Copyright (C) 2006 Free Software Foundation, Inc.
23490 This config.status script is free software; the Free Software Foundation
23491 gives unlimited permission to copy, distribute and modify it."
23492
23493 ac_pwd='$ac_pwd'
23494 srcdir='$srcdir'
23495 INSTALL='$INSTALL'
23496 _ACEOF
23497
23498 cat >>$CONFIG_STATUS <<\_ACEOF
23499 # If no file are specified by the user, then we need to provide default
23500 # value. By we need to know if files were specified by the user.
23501 ac_need_defaults=:
23502 while test $# != 0
23503 do
23504 case $1 in
23505 --*=*)
23506 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23507 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23508 ac_shift=:
23509 ;;
23510 *)
23511 ac_option=$1
23512 ac_optarg=$2
23513 ac_shift=shift
23514 ;;
23515 esac
23516
23517 case $ac_option in
23518 # Handling of the options.
23519 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23520 ac_cs_recheck=: ;;
23521 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23522 echo "$ac_cs_version"; exit ;;
23523 --debug | --debu | --deb | --de | --d | -d )
23524 debug=: ;;
23525 --file | --fil | --fi | --f )
23526 $ac_shift
23527 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23528 ac_need_defaults=false;;
23529 --header | --heade | --head | --hea )
23530 $ac_shift
23531 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23532 ac_need_defaults=false;;
23533 --he | --h)
23534 # Conflict between --help and --header
23535 { echo "$as_me: error: ambiguous option: $1
23536 Try \`$0 --help' for more information." >&2
23537 { (exit 1); exit 1; }; };;
23538 --help | --hel | -h )
23539 echo "$ac_cs_usage"; exit ;;
23540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23541 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23542 ac_cs_silent=: ;;
23543
23544 # This is an error.
23545 -*) { echo "$as_me: error: unrecognized option: $1
23546 Try \`$0 --help' for more information." >&2
23547 { (exit 1); exit 1; }; } ;;
23548
23549 *) ac_config_targets="$ac_config_targets $1"
23550 ac_need_defaults=false ;;
23551
23552 esac
23553 shift
23554 done
23555
23556 ac_configure_extra_args=
23557
23558 if $ac_cs_silent; then
23559 exec 6>/dev/null
23560 ac_configure_extra_args="$ac_configure_extra_args --silent"
23561 fi
23562
23563 _ACEOF
23564 cat >>$CONFIG_STATUS <<_ACEOF
23565 if \$ac_cs_recheck; then
23566 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23567 CONFIG_SHELL=$SHELL
23568 export CONFIG_SHELL
23569 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23570 fi
23571
23572 _ACEOF
23573 cat >>$CONFIG_STATUS <<\_ACEOF
23574 exec 5>>config.log
20670
20671 # as_fn_mkdir_p
20672 # -------------
20673 # Create "$as_dir" as a directory, including parents if necessary.
20674 as_fn_mkdir_p ()
2357520675 {
23576 echo
23577 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23578 ## Running $as_me. ##
23579 _ASBOX
23580 echo "$ac_log"
23581 } >&5
23582
23583 _ACEOF
23584 cat >>$CONFIG_STATUS <<_ACEOF
23585 #
23586 # INIT-COMMANDS
23587 #
23588 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23589
23590 _ACEOF
23591
23592 cat >>$CONFIG_STATUS <<\_ACEOF
23593
23594 # Handling of arguments.
23595 for ac_config_target in $ac_config_targets
23596 do
23597 case $ac_config_target in
23598 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23599 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23600 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23601 "decoders/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/Makefile" ;;
23602 "decoders/timidity/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/timidity/Makefile" ;;
23603 "decoders/mpglib/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/mpglib/Makefile" ;;
23604 "playsound/Makefile") CONFIG_FILES="$CONFIG_FILES playsound/Makefile" ;;
23605
23606 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23607 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23608 { (exit 1); exit 1; }; };;
23609 esac
23610 done
23611
23612
23613 # If the user did not use the arguments to specify the items to instantiate,
23614 # then the envvar interface is used. Set only those that are not.
23615 # We use the long form for the default assignment because of an extremely
23616 # bizarre bug on SunOS 4.1.3.
23617 if $ac_need_defaults; then
23618 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23619 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23620 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23621 fi
23622
23623 # Have a temporary directory for convenience. Make it in the build tree
23624 # simply because there is no reason against having it here, and in addition,
23625 # creating and moving files from /tmp can sometimes cause problems.
23626 # Hook for its removal unless debugging.
23627 # Note that there is a small window in which the directory will not be cleaned:
23628 # after its creation but before its name has been assigned to `$tmp'.
23629 $debug ||
23630 {
23631 tmp=
23632 trap 'exit_status=$?
23633 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23634 ' 0
23635 trap '{ (exit 1); exit 1; }' 1 2 13 15
23636 }
23637 # Create a (secure) tmp directory for tmp files.
23638
23639 {
23640 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23641 test -n "$tmp" && test -d "$tmp"
23642 } ||
23643 {
23644 tmp=./conf$$-$RANDOM
23645 (umask 077 && mkdir "$tmp")
23646 } ||
23647 {
23648 echo "$me: cannot create a temporary directory in ." >&2
23649 { (exit 1); exit 1; }
23650 }
23651
23652 #
23653 # Set up the sed scripts for CONFIG_FILES section.
23654 #
23655
23656 # No need to generate the scripts if there are no CONFIG_FILES.
23657 # This happens for instance when ./config.status config.h
23658 if test -n "$CONFIG_FILES"; then
23659
23660 _ACEOF
23661
23662
23663
23664 ac_delim='%!_!# '
23665 for ac_last_try in false false false false false :; do
23666 cat >conf$$subs.sed <<_ACEOF
23667 SHELL!$SHELL$ac_delim
23668 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23669 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23670 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23671 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23672 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23673 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23674 exec_prefix!$exec_prefix$ac_delim
23675 prefix!$prefix$ac_delim
23676 program_transform_name!$program_transform_name$ac_delim
23677 bindir!$bindir$ac_delim
23678 sbindir!$sbindir$ac_delim
23679 libexecdir!$libexecdir$ac_delim
23680 datarootdir!$datarootdir$ac_delim
23681 datadir!$datadir$ac_delim
23682 sysconfdir!$sysconfdir$ac_delim
23683 sharedstatedir!$sharedstatedir$ac_delim
23684 localstatedir!$localstatedir$ac_delim
23685 includedir!$includedir$ac_delim
23686 oldincludedir!$oldincludedir$ac_delim
23687 docdir!$docdir$ac_delim
23688 infodir!$infodir$ac_delim
23689 htmldir!$htmldir$ac_delim
23690 dvidir!$dvidir$ac_delim
23691 pdfdir!$pdfdir$ac_delim
23692 psdir!$psdir$ac_delim
23693 libdir!$libdir$ac_delim
23694 localedir!$localedir$ac_delim
23695 mandir!$mandir$ac_delim
23696 DEFS!$DEFS$ac_delim
23697 ECHO_C!$ECHO_C$ac_delim
23698 ECHO_N!$ECHO_N$ac_delim
23699 ECHO_T!$ECHO_T$ac_delim
23700 LIBS!$LIBS$ac_delim
23701 build_alias!$build_alias$ac_delim
23702 host_alias!$host_alias$ac_delim
23703 target_alias!$target_alias$ac_delim
23704 MAJOR_VERSION!$MAJOR_VERSION$ac_delim
23705 MINOR_VERSION!$MINOR_VERSION$ac_delim
23706 MICRO_VERSION!$MICRO_VERSION$ac_delim
23707 INTERFACE_AGE!$INTERFACE_AGE$ac_delim
23708 BINARY_AGE!$BINARY_AGE$ac_delim
23709 VERSION!$VERSION$ac_delim
23710 LT_RELEASE!$LT_RELEASE$ac_delim
23711 LT_CURRENT!$LT_CURRENT$ac_delim
23712 LT_REVISION!$LT_REVISION$ac_delim
23713 LT_AGE!$LT_AGE$ac_delim
23714 build!$build$ac_delim
23715 build_cpu!$build_cpu$ac_delim
23716 build_vendor!$build_vendor$ac_delim
23717 build_os!$build_os$ac_delim
23718 host!$host$ac_delim
23719 host_cpu!$host_cpu$ac_delim
23720 host_vendor!$host_vendor$ac_delim
23721 host_os!$host_os$ac_delim
23722 target!$target$ac_delim
23723 target_cpu!$target_cpu$ac_delim
23724 target_vendor!$target_vendor$ac_delim
23725 target_os!$target_os$ac_delim
23726 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23727 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23728 INSTALL_DATA!$INSTALL_DATA$ac_delim
23729 CYGPATH_W!$CYGPATH_W$ac_delim
23730 PACKAGE!$PACKAGE$ac_delim
23731 ACLOCAL!$ACLOCAL$ac_delim
23732 AUTOCONF!$AUTOCONF$ac_delim
23733 AUTOMAKE!$AUTOMAKE$ac_delim
23734 AUTOHEADER!$AUTOHEADER$ac_delim
23735 MAKEINFO!$MAKEINFO$ac_delim
23736 install_sh!$install_sh$ac_delim
23737 STRIP!$STRIP$ac_delim
23738 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23739 mkdir_p!$mkdir_p$ac_delim
23740 AWK!$AWK$ac_delim
23741 SET_MAKE!$SET_MAKE$ac_delim
23742 am__leading_dot!$am__leading_dot$ac_delim
23743 AMTAR!$AMTAR$ac_delim
23744 am__tar!$am__tar$ac_delim
23745 am__untar!$am__untar$ac_delim
23746 CC!$CC$ac_delim
23747 CFLAGS!$CFLAGS$ac_delim
23748 LDFLAGS!$LDFLAGS$ac_delim
23749 CPPFLAGS!$CPPFLAGS$ac_delim
23750 ac_ct_CC!$ac_ct_CC$ac_delim
23751 EXEEXT!$EXEEXT$ac_delim
23752 OBJEXT!$OBJEXT$ac_delim
23753 DEPDIR!$DEPDIR$ac_delim
23754 am__include!$am__include$ac_delim
23755 am__quote!$am__quote$ac_delim
23756 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23757 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23758 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23759 CCDEPMODE!$CCDEPMODE$ac_delim
23760 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23761 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23762 LN_S!$LN_S$ac_delim
23763 SED!$SED$ac_delim
23764 _ACEOF
23765
23766 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23767 break
23768 elif $ac_last_try; then
23769 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23770 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23771 { (exit 1); exit 1; }; }
23772 else
23773 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23774 fi
23775 done
23776
23777 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23778 if test -n "$ac_eof"; then
23779 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23780 ac_eof=`expr $ac_eof + 1`
23781 fi
23782
23783 cat >>$CONFIG_STATUS <<_ACEOF
23784 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23786 _ACEOF
23787 sed '
23788 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23789 s/^/s,@/; s/!/@,|#_!!_#|/
23790 :n
23791 t n
23792 s/'"$ac_delim"'$/,g/; t
23793 s/$/\\/; p
23794 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23795 ' >>$CONFIG_STATUS <conf$$subs.sed
23796 rm -f conf$$subs.sed
23797 cat >>$CONFIG_STATUS <<_ACEOF
23798 CEOF$ac_eof
23799 _ACEOF
23800
23801
23802 ac_delim='%!_!# '
23803 for ac_last_try in false false false false false :; do
23804 cat >conf$$subs.sed <<_ACEOF
23805 GREP!$GREP$ac_delim
23806 EGREP!$EGREP$ac_delim
23807 ECHO!$ECHO$ac_delim
23808 AR!$AR$ac_delim
23809 RANLIB!$RANLIB$ac_delim
23810 CPP!$CPP$ac_delim
23811 CXX!$CXX$ac_delim
23812 CXXFLAGS!$CXXFLAGS$ac_delim
23813 ac_ct_CXX!$ac_ct_CXX$ac_delim
23814 CXXDEPMODE!$CXXDEPMODE$ac_delim
23815 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23816 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23817 CXXCPP!$CXXCPP$ac_delim
23818 F77!$F77$ac_delim
23819 FFLAGS!$FFLAGS$ac_delim
23820 ac_ct_F77!$ac_ct_F77$ac_delim
23821 LIBTOOL!$LIBTOOL$ac_delim
23822 SDL_CONFIG!$SDL_CONFIG$ac_delim
23823 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
23824 SDL_LIBS!$SDL_LIBS$ac_delim
23825 LIBOBJS!$LIBOBJS$ac_delim
23826 USE_TIMIDITY_TRUE!$USE_TIMIDITY_TRUE$ac_delim
23827 USE_TIMIDITY_FALSE!$USE_TIMIDITY_FALSE$ac_delim
23828 USE_MPGLIB_TRUE!$USE_MPGLIB_TRUE$ac_delim
23829 USE_MPGLIB_FALSE!$USE_MPGLIB_FALSE$ac_delim
23830 USE_PHYSICSFS_TRUE!$USE_PHYSICSFS_TRUE$ac_delim
23831 USE_PHYSICSFS_FALSE!$USE_PHYSICSFS_FALSE$ac_delim
23832 LTLIBOBJS!$LTLIBOBJS$ac_delim
23833 _ACEOF
23834
23835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 28; then
23836 break
23837 elif $ac_last_try; then
23838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23840 { (exit 1); exit 1; }; }
23841 else
23842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23843 fi
23844 done
23845
23846 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23847 if test -n "$ac_eof"; then
23848 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23849 ac_eof=`expr $ac_eof + 1`
23850 fi
23851
23852 cat >>$CONFIG_STATUS <<_ACEOF
23853 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23855 _ACEOF
23856 sed '
23857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23858 s/^/s,@/; s/!/@,|#_!!_#|/
23859 :n
23860 t n
23861 s/'"$ac_delim"'$/,g/; t
23862 s/$/\\/; p
23863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23864 ' >>$CONFIG_STATUS <conf$$subs.sed
23865 rm -f conf$$subs.sed
23866 cat >>$CONFIG_STATUS <<_ACEOF
23867 :end
23868 s/|#_!!_#|//g
23869 CEOF$ac_eof
23870 _ACEOF
23871
23872
23873 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23874 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23875 # trailing colons and then remove the whole line if VPATH becomes empty
23876 # (actually we leave an empty line to preserve line numbers).
23877 if test "x$srcdir" = x.; then
23878 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23879 s/:*\$(srcdir):*/:/
23880 s/:*\${srcdir}:*/:/
23881 s/:*@srcdir@:*/:/
23882 s/^\([^=]*=[ ]*\):*/\1/
23883 s/:*$//
23884 s/^[^=]*=[ ]*$//
23885 }'
23886 fi
23887
23888 cat >>$CONFIG_STATUS <<\_ACEOF
23889 fi # test -n "$CONFIG_FILES"
23890
23891
23892 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23893 do
23894 case $ac_tag in
23895 :[FHLC]) ac_mode=$ac_tag; continue;;
23896 esac
23897 case $ac_mode$ac_tag in
23898 :[FHL]*:*);;
23899 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23900 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23901 { (exit 1); exit 1; }; };;
23902 :[FH]-) ac_tag=-:-;;
23903 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23904 esac
23905 ac_save_IFS=$IFS
23906 IFS=:
23907 set x $ac_tag
23908 IFS=$ac_save_IFS
23909 shift
23910 ac_file=$1
23911 shift
23912
23913 case $ac_mode in
23914 :L) ac_source=$1;;
23915 :[FH])
23916 ac_file_inputs=
23917 for ac_f
23918 do
23919 case $ac_f in
23920 -) ac_f="$tmp/stdin";;
23921 *) # Look for the file first in the build tree, then in the source tree
23922 # (if the path is not absolute). The absolute path cannot be DOS-style,
23923 # because $ac_f cannot contain `:'.
23924 test -f "$ac_f" ||
23925 case $ac_f in
23926 [\\/$]*) false;;
23927 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23928 esac ||
23929 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23930 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23931 { (exit 1); exit 1; }; };;
23932 esac
23933 ac_file_inputs="$ac_file_inputs $ac_f"
23934 done
23935
23936 # Let's still pretend it is `configure' which instantiates (i.e., don't
23937 # use $as_me), people would be surprised to read:
23938 # /* config.h. Generated by config.status. */
23939 configure_input="Generated from "`IFS=:
23940 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23941 if test x"$ac_file" != x-; then
23942 configure_input="$ac_file. $configure_input"
23943 { echo "$as_me:$LINENO: creating $ac_file" >&5
23944 echo "$as_me: creating $ac_file" >&6;}
23945 fi
23946
23947 case $ac_tag in
23948 *:-:* | *:-) cat >"$tmp/stdin";;
23949 esac
23950 ;;
23951 esac
23952
23953 ac_dir=`$as_dirname -- "$ac_file" ||
23954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23955 X"$ac_file" : 'X\(//\)[^/]' \| \
23956 X"$ac_file" : 'X\(//\)$' \| \
23957 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23958 echo X"$ac_file" |
23959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23960 s//\1/
23961 q
23962 }
23963 /^X\(\/\/\)[^/].*/{
23964 s//\1/
23965 q
23966 }
23967 /^X\(\/\/\)$/{
23968 s//\1/
23969 q
23970 }
23971 /^X\(\/\).*/{
23972 s//\1/
23973 q
23974 }
23975 s/.*/./; q'`
23976 { as_dir="$ac_dir"
20676
2397720677 case $as_dir in #(
2397820678 -*) as_dir=./$as_dir;;
2397920679 esac
23980 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20680 test -d "$as_dir" || eval $as_mkdir_p || {
2398120681 as_dirs=
2398220682 while :; do
2398320683 case $as_dir in #(
23984 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20684 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2398520685 *) as_qdir=$as_dir;;
2398620686 esac
2398720687 as_dirs="'$as_qdir' $as_dirs"
2399020690 X"$as_dir" : 'X\(//\)[^/]' \| \
2399120691 X"$as_dir" : 'X\(//\)$' \| \
2399220692 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23993 echo X"$as_dir" |
20693 $as_echo X"$as_dir" |
2399420694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2399520695 s//\1/
2399620696 q
2401120711 test -d "$as_dir" && break
2401220712 done
2401320713 test -z "$as_dirs" || eval "mkdir $as_dirs"
24014 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24015 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24016 { (exit 1); exit 1; }; }; }
20714 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20715
20716
20717 } # as_fn_mkdir_p
20718 if mkdir -p . 2>/dev/null; then
20719 as_mkdir_p='mkdir -p "$as_dir"'
20720 else
20721 test -d ./-p && rmdir ./-p
20722 as_mkdir_p=false
20723 fi
20724
20725
20726 # as_fn_executable_p FILE
20727 # -----------------------
20728 # Test if FILE is an executable regular file.
20729 as_fn_executable_p ()
20730 {
20731 test -f "$1" && test -x "$1"
20732 } # as_fn_executable_p
20733 as_test_x='test -x'
20734 as_executable_p=as_fn_executable_p
20735
20736 # Sed expression to map a string onto a valid CPP name.
20737 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20738
20739 # Sed expression to map a string onto a valid variable name.
20740 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20741
20742
20743 exec 6>&1
20744 ## ----------------------------------- ##
20745 ## Main body of $CONFIG_STATUS script. ##
20746 ## ----------------------------------- ##
20747 _ASEOF
20748 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20749
20750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20751 # Save the log message, to keep $0 and so on meaningful, and to
20752 # report actual input values of CONFIG_FILES etc. instead of their
20753 # values after options handling.
20754 ac_log="
20755 This file was extended by $as_me, which was
20756 generated by GNU Autoconf 2.69. Invocation command line was
20757
20758 CONFIG_FILES = $CONFIG_FILES
20759 CONFIG_HEADERS = $CONFIG_HEADERS
20760 CONFIG_LINKS = $CONFIG_LINKS
20761 CONFIG_COMMANDS = $CONFIG_COMMANDS
20762 $ $0 $@
20763
20764 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20765 "
20766
20767 _ACEOF
20768
20769 case $ac_config_files in *"
20770 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20771 esac
20772
20773 case $ac_config_headers in *"
20774 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20775 esac
20776
20777
20778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20779 # Files that config.status was made for.
20780 config_files="$ac_config_files"
20781 config_headers="$ac_config_headers"
20782 config_commands="$ac_config_commands"
20783
20784 _ACEOF
20785
20786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20787 ac_cs_usage="\
20788 \`$as_me' instantiates files and other configuration actions
20789 from templates according to the current configuration. Unless the files
20790 and actions are specified as TAGs, all are instantiated by default.
20791
20792 Usage: $0 [OPTION]... [TAG]...
20793
20794 -h, --help print this help, then exit
20795 -V, --version print version number and configuration settings, then exit
20796 --config print configuration, then exit
20797 -q, --quiet, --silent
20798 do not print progress messages
20799 -d, --debug don't remove temporary files
20800 --recheck update $as_me by reconfiguring in the same conditions
20801 --file=FILE[:TEMPLATE]
20802 instantiate the configuration file FILE
20803 --header=FILE[:TEMPLATE]
20804 instantiate the configuration header FILE
20805
20806 Configuration files:
20807 $config_files
20808
20809 Configuration headers:
20810 $config_headers
20811
20812 Configuration commands:
20813 $config_commands
20814
20815 Report bugs to the package provider."
20816
20817 _ACEOF
20818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20819 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20820 ac_cs_version="\\
20821 config.status
20822 configured by $0, generated by GNU Autoconf 2.69,
20823 with options \\"\$ac_cs_config\\"
20824
20825 Copyright (C) 2012 Free Software Foundation, Inc.
20826 This config.status script is free software; the Free Software Foundation
20827 gives unlimited permission to copy, distribute and modify it."
20828
20829 ac_pwd='$ac_pwd'
20830 srcdir='$srcdir'
20831 INSTALL='$INSTALL'
20832 AWK='$AWK'
20833 test -n "\$AWK" || AWK=awk
20834 _ACEOF
20835
20836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20837 # The default lists apply if the user does not specify any file.
20838 ac_need_defaults=:
20839 while test $# != 0
20840 do
20841 case $1 in
20842 --*=?*)
20843 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20844 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20845 ac_shift=:
20846 ;;
20847 --*=)
20848 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20849 ac_optarg=
20850 ac_shift=:
20851 ;;
20852 *)
20853 ac_option=$1
20854 ac_optarg=$2
20855 ac_shift=shift
20856 ;;
20857 esac
20858
20859 case $ac_option in
20860 # Handling of the options.
20861 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20862 ac_cs_recheck=: ;;
20863 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20864 $as_echo "$ac_cs_version"; exit ;;
20865 --config | --confi | --conf | --con | --co | --c )
20866 $as_echo "$ac_cs_config"; exit ;;
20867 --debug | --debu | --deb | --de | --d | -d )
20868 debug=: ;;
20869 --file | --fil | --fi | --f )
20870 $ac_shift
20871 case $ac_optarg in
20872 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20873 '') as_fn_error $? "missing file argument" ;;
20874 esac
20875 as_fn_append CONFIG_FILES " '$ac_optarg'"
20876 ac_need_defaults=false;;
20877 --header | --heade | --head | --hea )
20878 $ac_shift
20879 case $ac_optarg in
20880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20881 esac
20882 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20883 ac_need_defaults=false;;
20884 --he | --h)
20885 # Conflict between --help and --header
20886 as_fn_error $? "ambiguous option: \`$1'
20887 Try \`$0 --help' for more information.";;
20888 --help | --hel | -h )
20889 $as_echo "$ac_cs_usage"; exit ;;
20890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20891 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20892 ac_cs_silent=: ;;
20893
20894 # This is an error.
20895 -*) as_fn_error $? "unrecognized option: \`$1'
20896 Try \`$0 --help' for more information." ;;
20897
20898 *) as_fn_append ac_config_targets " $1"
20899 ac_need_defaults=false ;;
20900
20901 esac
20902 shift
20903 done
20904
20905 ac_configure_extra_args=
20906
20907 if $ac_cs_silent; then
20908 exec 6>/dev/null
20909 ac_configure_extra_args="$ac_configure_extra_args --silent"
20910 fi
20911
20912 _ACEOF
20913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20914 if \$ac_cs_recheck; then
20915 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20916 shift
20917 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20918 CONFIG_SHELL='$SHELL'
20919 export CONFIG_SHELL
20920 exec "\$@"
20921 fi
20922
20923 _ACEOF
20924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20925 exec 5>>config.log
20926 {
20927 echo
20928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20929 ## Running $as_me. ##
20930 _ASBOX
20931 $as_echo "$ac_log"
20932 } >&5
20933
20934 _ACEOF
20935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20936 #
20937 # INIT-COMMANDS
20938 #
20939 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20940
20941 _ACEOF
20942
20943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20944
20945 # Handling of arguments.
20946 for ac_config_target in $ac_config_targets
20947 do
20948 case $ac_config_target in
20949 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20950 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20951 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20952 "decoders/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/Makefile" ;;
20953 "decoders/timidity/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/timidity/Makefile" ;;
20954 "decoders/mpglib/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/mpglib/Makefile" ;;
20955 "playsound/Makefile") CONFIG_FILES="$CONFIG_FILES playsound/Makefile" ;;
20956
20957 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20958 esac
20959 done
20960
20961
20962 # If the user did not use the arguments to specify the items to instantiate,
20963 # then the envvar interface is used. Set only those that are not.
20964 # We use the long form for the default assignment because of an extremely
20965 # bizarre bug on SunOS 4.1.3.
20966 if $ac_need_defaults; then
20967 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20968 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20969 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20970 fi
20971
20972 # Have a temporary directory for convenience. Make it in the build tree
20973 # simply because there is no reason against having it here, and in addition,
20974 # creating and moving files from /tmp can sometimes cause problems.
20975 # Hook for its removal unless debugging.
20976 # Note that there is a small window in which the directory will not be cleaned:
20977 # after its creation but before its name has been assigned to `$tmp'.
20978 $debug ||
20979 {
20980 tmp= ac_tmp=
20981 trap 'exit_status=$?
20982 : "${ac_tmp:=$tmp}"
20983 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20984 ' 0
20985 trap 'as_fn_exit 1' 1 2 13 15
20986 }
20987 # Create a (secure) tmp directory for tmp files.
20988
20989 {
20990 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20991 test -d "$tmp"
20992 } ||
20993 {
20994 tmp=./conf$$-$RANDOM
20995 (umask 077 && mkdir "$tmp")
20996 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20997 ac_tmp=$tmp
20998
20999 # Set up the scripts for CONFIG_FILES section.
21000 # No need to generate them if there are no CONFIG_FILES.
21001 # This happens for instance with `./config.status config.h'.
21002 if test -n "$CONFIG_FILES"; then
21003
21004
21005 ac_cr=`echo X | tr X '\015'`
21006 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21007 # But we know of no other shell where ac_cr would be empty at this
21008 # point, so we can use a bashism as a fallback.
21009 if test "x$ac_cr" = x; then
21010 eval ac_cr=\$\'\\r\'
21011 fi
21012 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21013 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21014 ac_cs_awk_cr='\\r'
21015 else
21016 ac_cs_awk_cr=$ac_cr
21017 fi
21018
21019 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21020 _ACEOF
21021
21022
21023 {
21024 echo "cat >conf$$subs.awk <<_ACEOF" &&
21025 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21026 echo "_ACEOF"
21027 } >conf$$subs.sh ||
21028 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21030 ac_delim='%!_!# '
21031 for ac_last_try in false false false false false :; do
21032 . ./conf$$subs.sh ||
21033 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21034
21035 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21036 if test $ac_delim_n = $ac_delim_num; then
21037 break
21038 elif $ac_last_try; then
21039 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21040 else
21041 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21042 fi
21043 done
21044 rm -f conf$$subs.sh
21045
21046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21047 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21048 _ACEOF
21049 sed -n '
21050 h
21051 s/^/S["/; s/!.*/"]=/
21052 p
21053 g
21054 s/^[^!]*!//
21055 :repl
21056 t repl
21057 s/'"$ac_delim"'$//
21058 t delim
21059 :nl
21060 h
21061 s/\(.\{148\}\)..*/\1/
21062 t more1
21063 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21064 p
21065 n
21066 b repl
21067 :more1
21068 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21069 p
21070 g
21071 s/.\{148\}//
21072 t nl
21073 :delim
21074 h
21075 s/\(.\{148\}\)..*/\1/
21076 t more2
21077 s/["\\]/\\&/g; s/^/"/; s/$/"/
21078 p
21079 b
21080 :more2
21081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21082 p
21083 g
21084 s/.\{148\}//
21085 t delim
21086 ' <conf$$subs.awk | sed '
21087 /^[^""]/{
21088 N
21089 s/\n//
21090 }
21091 ' >>$CONFIG_STATUS || ac_write_fail=1
21092 rm -f conf$$subs.awk
21093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21094 _ACAWK
21095 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21096 for (key in S) S_is_set[key] = 1
21097 FS = ""
21098
21099 }
21100 {
21101 line = $ 0
21102 nfields = split(line, field, "@")
21103 substed = 0
21104 len = length(field[1])
21105 for (i = 2; i < nfields; i++) {
21106 key = field[i]
21107 keylen = length(key)
21108 if (S_is_set[key]) {
21109 value = S[key]
21110 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21111 len += length(value) + length(field[++i])
21112 substed = 1
21113 } else
21114 len += 1 + keylen
21115 }
21116
21117 print line
21118 }
21119
21120 _ACAWK
21121 _ACEOF
21122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21123 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21124 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21125 else
21126 cat
21127 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21128 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21129 _ACEOF
21130
21131 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21132 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21133 # trailing colons and then remove the whole line if VPATH becomes empty
21134 # (actually we leave an empty line to preserve line numbers).
21135 if test "x$srcdir" = x.; then
21136 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21137 h
21138 s///
21139 s/^/:/
21140 s/[ ]*$/:/
21141 s/:\$(srcdir):/:/g
21142 s/:\${srcdir}:/:/g
21143 s/:@srcdir@:/:/g
21144 s/^:*//
21145 s/:*$//
21146 x
21147 s/\(=[ ]*\).*/\1/
21148 G
21149 s/\n//
21150 s/^[^=]*=[ ]*$//
21151 }'
21152 fi
21153
21154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21155 fi # test -n "$CONFIG_FILES"
21156
21157 # Set up the scripts for CONFIG_HEADERS section.
21158 # No need to generate them if there are no CONFIG_HEADERS.
21159 # This happens for instance with `./config.status Makefile'.
21160 if test -n "$CONFIG_HEADERS"; then
21161 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21162 BEGIN {
21163 _ACEOF
21164
21165 # Transform confdefs.h into an awk script `defines.awk', embedded as
21166 # here-document in config.status, that substitutes the proper values into
21167 # config.h.in to produce config.h.
21168
21169 # Create a delimiter string that does not exist in confdefs.h, to ease
21170 # handling of long lines.
21171 ac_delim='%!_!# '
21172 for ac_last_try in false false :; do
21173 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21174 if test -z "$ac_tt"; then
21175 break
21176 elif $ac_last_try; then
21177 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21178 else
21179 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21180 fi
21181 done
21182
21183 # For the awk script, D is an array of macro values keyed by name,
21184 # likewise P contains macro parameters if any. Preserve backslash
21185 # newline sequences.
21186
21187 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21188 sed -n '
21189 s/.\{148\}/&'"$ac_delim"'/g
21190 t rset
21191 :rset
21192 s/^[ ]*#[ ]*define[ ][ ]*/ /
21193 t def
21194 d
21195 :def
21196 s/\\$//
21197 t bsnl
21198 s/["\\]/\\&/g
21199 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21200 D["\1"]=" \3"/p
21201 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21202 d
21203 :bsnl
21204 s/["\\]/\\&/g
21205 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21206 D["\1"]=" \3\\\\\\n"\\/p
21207 t cont
21208 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21209 t cont
21210 d
21211 :cont
21212 n
21213 s/.\{148\}/&'"$ac_delim"'/g
21214 t clear
21215 :clear
21216 s/\\$//
21217 t bsnlc
21218 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21219 d
21220 :bsnlc
21221 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21222 b cont
21223 ' <confdefs.h | sed '
21224 s/'"$ac_delim"'/"\\\
21225 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21226
21227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21228 for (key in D) D_is_set[key] = 1
21229 FS = ""
21230 }
21231 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21232 line = \$ 0
21233 split(line, arg, " ")
21234 if (arg[1] == "#") {
21235 defundef = arg[2]
21236 mac1 = arg[3]
21237 } else {
21238 defundef = substr(arg[1], 2)
21239 mac1 = arg[2]
21240 }
21241 split(mac1, mac2, "(") #)
21242 macro = mac2[1]
21243 prefix = substr(line, 1, index(line, defundef) - 1)
21244 if (D_is_set[macro]) {
21245 # Preserve the white space surrounding the "#".
21246 print prefix "define", macro P[macro] D[macro]
21247 next
21248 } else {
21249 # Replace #undef with comments. This is necessary, for example,
21250 # in the case of _POSIX_SOURCE, which is predefined and required
21251 # on some systems where configure will not decide to define it.
21252 if (defundef == "undef") {
21253 print "/*", prefix defundef, macro, "*/"
21254 next
21255 }
21256 }
21257 }
21258 { print }
21259 _ACAWK
21260 _ACEOF
21261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21262 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21263 fi # test -n "$CONFIG_HEADERS"
21264
21265
21266 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21267 shift
21268 for ac_tag
21269 do
21270 case $ac_tag in
21271 :[FHLC]) ac_mode=$ac_tag; continue;;
21272 esac
21273 case $ac_mode$ac_tag in
21274 :[FHL]*:*);;
21275 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21276 :[FH]-) ac_tag=-:-;;
21277 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21278 esac
21279 ac_save_IFS=$IFS
21280 IFS=:
21281 set x $ac_tag
21282 IFS=$ac_save_IFS
21283 shift
21284 ac_file=$1
21285 shift
21286
21287 case $ac_mode in
21288 :L) ac_source=$1;;
21289 :[FH])
21290 ac_file_inputs=
21291 for ac_f
21292 do
21293 case $ac_f in
21294 -) ac_f="$ac_tmp/stdin";;
21295 *) # Look for the file first in the build tree, then in the source tree
21296 # (if the path is not absolute). The absolute path cannot be DOS-style,
21297 # because $ac_f cannot contain `:'.
21298 test -f "$ac_f" ||
21299 case $ac_f in
21300 [\\/$]*) false;;
21301 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21302 esac ||
21303 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21304 esac
21305 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21306 as_fn_append ac_file_inputs " '$ac_f'"
21307 done
21308
21309 # Let's still pretend it is `configure' which instantiates (i.e., don't
21310 # use $as_me), people would be surprised to read:
21311 # /* config.h. Generated by config.status. */
21312 configure_input='Generated from '`
21313 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21314 `' by configure.'
21315 if test x"$ac_file" != x-; then
21316 configure_input="$ac_file. $configure_input"
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21318 $as_echo "$as_me: creating $ac_file" >&6;}
21319 fi
21320 # Neutralize special characters interpreted by sed in replacement strings.
21321 case $configure_input in #(
21322 *\&* | *\|* | *\\* )
21323 ac_sed_conf_input=`$as_echo "$configure_input" |
21324 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21325 *) ac_sed_conf_input=$configure_input;;
21326 esac
21327
21328 case $ac_tag in
21329 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21330 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21331 esac
21332 ;;
21333 esac
21334
21335 ac_dir=`$as_dirname -- "$ac_file" ||
21336 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21337 X"$ac_file" : 'X\(//\)[^/]' \| \
21338 X"$ac_file" : 'X\(//\)$' \| \
21339 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21340 $as_echo X"$ac_file" |
21341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21342 s//\1/
21343 q
21344 }
21345 /^X\(\/\/\)[^/].*/{
21346 s//\1/
21347 q
21348 }
21349 /^X\(\/\/\)$/{
21350 s//\1/
21351 q
21352 }
21353 /^X\(\/\).*/{
21354 s//\1/
21355 q
21356 }
21357 s/.*/./; q'`
21358 as_dir="$ac_dir"; as_fn_mkdir_p
2401721359 ac_builddir=.
2401821360
2401921361 case "$ac_dir" in
2402021362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2402121363 *)
24022 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2402321365 # A ".." for each directory in $ac_dir_suffix.
24024 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2402521367 case $ac_top_builddir_sub in
2402621368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2402721369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2406121403 esac
2406221404 _ACEOF
2406321405
24064 cat >>$CONFIG_STATUS <<\_ACEOF
21406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2406521407 # If the template does not know about datarootdir, expand it.
2406621408 # FIXME: This hack should be removed a few years after 2.60.
2406721409 ac_datarootdir_hack=; ac_datarootdir_seen=
24068
24069 case `sed -n '/datarootdir/ {
21410 ac_sed_dataroot='
21411 /datarootdir/ {
2407021412 p
2407121413 q
2407221414 }
2407421416 /@docdir@/p
2407521417 /@infodir@/p
2407621418 /@localedir@/p
24077 /@mandir@/p
24078 ' $ac_file_inputs` in
21419 /@mandir@/p'
21420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2407921421 *datarootdir*) ac_datarootdir_seen=yes;;
2408021422 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24081 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24082 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2408321425 _ACEOF
24084 cat >>$CONFIG_STATUS <<_ACEOF
21426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2408521427 ac_datarootdir_hack='
2408621428 s&@datadir@&$datadir&g
2408721429 s&@docdir@&$docdir&g
2408821430 s&@infodir@&$infodir&g
2408921431 s&@localedir@&$localedir&g
2409021432 s&@mandir@&$mandir&g
24091 s&\\\${datarootdir}&$datarootdir&g' ;;
21433 s&\\\${datarootdir}&$datarootdir&g' ;;
2409221434 esac
2409321435 _ACEOF
2409421436
2409521437 # Neutralize VPATH when `$srcdir' = `.'.
2409621438 # Shell code in configure.ac might set extrasub.
2409721439 # FIXME: do we really want to maintain this feature?
24098 cat >>$CONFIG_STATUS <<_ACEOF
24099 sed "$ac_vpsub
21440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21441 ac_sed_extra="$ac_vpsub
2410021442 $extrasub
2410121443 _ACEOF
24102 cat >>$CONFIG_STATUS <<\_ACEOF
21444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2410321445 :t
2410421446 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24105 s&@configure_input@&$configure_input&;t t
21447 s|@configure_input@|$ac_sed_conf_input|;t t
2410621448 s&@top_builddir@&$ac_top_builddir_sub&;t t
21449 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2410721450 s&@srcdir@&$ac_srcdir&;t t
2410821451 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2410921452 s&@top_srcdir@&$ac_top_srcdir&;t t
2411321456 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2411421457 s&@INSTALL@&$ac_INSTALL&;t t
2411521458 $ac_datarootdir_hack
24116 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
21459 "
21460 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21461 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2411721462
2411821463 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24119 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24120 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24121 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24122 which seems to be undefined. Please make sure it is defined." >&5
24123 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24124 which seems to be undefined. Please make sure it is defined." >&2;}
24125
24126 rm -f "$tmp/stdin"
21464 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21465 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21466 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21468 which seems to be undefined. Please make sure it is defined" >&5
21469 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21470 which seems to be undefined. Please make sure it is defined" >&2;}
21471
21472 rm -f "$ac_tmp/stdin"
2412721473 case $ac_file in
24128 -) cat "$tmp/out"; rm -f "$tmp/out";;
24129 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24130 esac
21474 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21475 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21476 esac \
21477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2413121478 ;;
2413221479 :H)
2413321480 #
2413421481 # CONFIG_HEADER
2413521482 #
24136 _ACEOF
24137
24138 # Transform confdefs.h into a sed script `conftest.defines', that
24139 # substitutes the proper values into config.h.in to produce config.h.
24140 rm -f conftest.defines conftest.tail
24141 # First, append a space to every undef/define line, to ease matching.
24142 echo 's/$/ /' >conftest.defines
24143 # Then, protect against being on the right side of a sed subst, or in
24144 # an unquoted here document, in config.status. If some macros were
24145 # called several times there might be several #defines for the same
24146 # symbol, which is useless. But do not sort them, since the last
24147 # AC_DEFINE must be honored.
24148 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24149 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24150 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24151 # PARAMS is the parameter list in the macro definition--in most cases, it's
24152 # just an empty string.
24153 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24154 ac_dB='\\)[ (].*,\\1define\\2'
24155 ac_dC=' '
24156 ac_dD=' ,'
24157
24158 uniq confdefs.h |
24159 sed -n '
24160 t rset
24161 :rset
24162 s/^[ ]*#[ ]*define[ ][ ]*//
24163 t ok
24164 d
24165 :ok
24166 s/[\\&,]/\\&/g
24167 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24168 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24169 ' >>conftest.defines
24170
24171 # Remove the space that was appended to ease matching.
24172 # Then replace #undef with comments. This is necessary, for
24173 # example, in the case of _POSIX_SOURCE, which is predefined and required
24174 # on some systems where configure will not decide to define it.
24175 # (The regexp can be short, since the line contains either #define or #undef.)
24176 echo 's/ $//
24177 s,^[ #]*u.*,/* & */,' >>conftest.defines
24178
24179 # Break up conftest.defines:
24180 ac_max_sed_lines=50
24181
24182 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24183 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24184 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24185 # et cetera.
24186 ac_in='$ac_file_inputs'
24187 ac_out='"$tmp/out1"'
24188 ac_nxt='"$tmp/out2"'
24189
24190 while :
24191 do
24192 # Write a here document:
24193 cat >>$CONFIG_STATUS <<_ACEOF
24194 # First, check the format of the line:
24195 cat >"\$tmp/defines.sed" <<\\CEOF
24196 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24197 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24198 b
24199 :def
24200 _ACEOF
24201 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24202 echo 'CEOF
24203 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24204 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24205 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24206 grep . conftest.tail >/dev/null || break
24207 rm -f conftest.defines
24208 mv conftest.tail conftest.defines
24209 done
24210 rm -f conftest.defines conftest.tail
24211
24212 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24213 cat >>$CONFIG_STATUS <<\_ACEOF
2421421483 if test x"$ac_file" != x-; then
24215 echo "/* $configure_input */" >"$tmp/config.h"
24216 cat "$ac_result" >>"$tmp/config.h"
24217 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24218 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24219 echo "$as_me: $ac_file is unchanged" >&6;}
21484 {
21485 $as_echo "/* $configure_input */" \
21486 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21487 } >"$ac_tmp/config.h" \
21488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21489 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21491 $as_echo "$as_me: $ac_file is unchanged" >&6;}
2422021492 else
24221 rm -f $ac_file
24222 mv "$tmp/config.h" $ac_file
21493 rm -f "$ac_file"
21494 mv "$ac_tmp/config.h" "$ac_file" \
21495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2422321496 fi
2422421497 else
24225 echo "/* $configure_input */"
24226 cat "$ac_result"
21498 $as_echo "/* $configure_input */" \
21499 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21500 || as_fn_error $? "could not create -" "$LINENO" 5
2422721501 fi
24228 rm -f "$tmp/out12"
24229 # Compute $ac_file's index in $config_headers.
21502 # Compute "$ac_file"'s index in $config_headers.
2423021503 _am_stamp_count=1
2423121504 for _am_header in $config_headers :; do
2423221505 case $_am_header in
24233 $ac_file | $ac_file:* )
21506 "$ac_file" | "$ac_file":* )
2423421507 break ;;
2423521508 * )
2423621509 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
2423721510 esac
2423821511 done
24239 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24240 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24241 X$ac_file : 'X\(//\)[^/]' \| \
24242 X$ac_file : 'X\(//\)$' \| \
24243 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24244 echo X$ac_file |
21512 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
21513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21514 X"$ac_file" : 'X\(//\)[^/]' \| \
21515 X"$ac_file" : 'X\(//\)$' \| \
21516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21517 $as_echo X"$ac_file" |
2424521518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2424621519 s//\1/
2424721520 q
2426121534 s/.*/./; q'`/stamp-h$_am_stamp_count
2426221535 ;;
2426321536
24264 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24265 echo "$as_me: executing $ac_file commands" >&6;}
21537 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21538 $as_echo "$as_me: executing $ac_file commands" >&6;}
2426621539 ;;
2426721540 esac
2426821541
2428321556 X"$mf" : 'X\(//\)[^/]' \| \
2428421557 X"$mf" : 'X\(//\)$' \| \
2428521558 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24286 echo X"$mf" |
21559 $as_echo X"$mf" |
2428721560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2428821561 s//\1/
2428921562 q
2432721600 X"$file" : 'X\(//\)[^/]' \| \
2432821601 X"$file" : 'X\(//\)$' \| \
2432921602 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24330 echo X"$file" |
21603 $as_echo X"$file" |
2433121604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2433221605 s//\1/
2433321606 q
2434521618 q
2434621619 }
2434721620 s/.*/./; q'`
24348 { as_dir=$dirpart/$fdir
24349 case $as_dir in #(
24350 -*) as_dir=./$as_dir;;
24351 esac
24352 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24353 as_dirs=
24354 while :; do
24355 case $as_dir in #(
24356 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24357 *) as_qdir=$as_dir;;
24358 esac
24359 as_dirs="'$as_qdir' $as_dirs"
24360 as_dir=`$as_dirname -- "$as_dir" ||
24361 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24362 X"$as_dir" : 'X\(//\)[^/]' \| \
24363 X"$as_dir" : 'X\(//\)$' \| \
24364 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24365 echo X"$as_dir" |
24366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24367 s//\1/
24368 q
24369 }
24370 /^X\(\/\/\)[^/].*/{
24371 s//\1/
24372 q
24373 }
24374 /^X\(\/\/\)$/{
24375 s//\1/
24376 q
24377 }
24378 /^X\(\/\).*/{
24379 s//\1/
24380 q
24381 }
24382 s/.*/./; q'`
24383 test -d "$as_dir" && break
24384 done
24385 test -z "$as_dirs" || eval "mkdir $as_dirs"
24386 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24387 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24388 { (exit 1); exit 1; }; }; }
21621 as_dir=$dirpart/$fdir; as_fn_mkdir_p
2438921622 # echo "creating $dirpart/$file"
2439021623 echo '# dummy' > "$dirpart/$file"
2439121624 done
2439621629 done # for ac_tag
2439721630
2439821631
24399 { (exit 0); exit 0; }
21632 as_fn_exit 0
2440021633 _ACEOF
24401 chmod +x $CONFIG_STATUS
2440221634 ac_clean_files=$ac_clean_files_save
21635
21636 test $ac_write_fail = 0 ||
21637 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2440321638
2440421639
2440521640 # configure is writing to config.log, and then calls config.status.
2442021655 exec 5>>config.log
2442121656 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2442221657 # would make configure fail if this is the last instruction.
24423 $ac_cs_success || { (exit 1); exit 1; }
24424 fi
24425
21658 $ac_cs_success || as_fn_exit 1
21659 fi
21660 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21662 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21663 fi
21664
0 sdl-sound1.2 (1.0.3+git20181023.1.8008924-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Sun, 06 Jun 2021 14:23:24 -0000
5
06 sdl-sound1.2 (1.0.3-9) unstable; urgency=medium
17
28 * Bump Policy Standards-Version to 4.2.1 (no changes needed)