Codebase list pong2 / bd7e3340-a07b-436b-9486-ac70d59dcfd7/main
New upstream snapshot. Debian Janitor 2 years ago
3 changed file(s) with 1742 addition(s) and 2370 deletion(s). Raw diff Collapse all Expand all
5353 /* Define to the one symbol short name of this package. */
5454 #undef PACKAGE_TARNAME
5555
56 /* Define to the home page for this package. */
57 #undef PACKAGE_URL
58
5659 /* Define to the version of this package. */
5760 #undef PACKAGE_VERSION
5861
+1733
-2370
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63.
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, 2007, 2008 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=:
1719 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
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
3832
3933 as_nl='
4034 '
4337 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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
4747 as_echo='printf %s\n'
4848 as_echo_n='printf %s'
4949 else
5454 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5555 as_echo_n_body='eval
5656 arg=$1;
57 case $arg in
57 case $arg in #(
5858 *"$as_nl"*)
5959 expr "X$arg" : "X\\(.*\\)$as_nl";
6060 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7777 }
7878 fi
7979
80 # Support unset when possible.
81 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
82 as_unset=unset
83 else
84 as_unset=false
85 fi
86
8780
8881 # IFS
8982 # We need space, tab and new line, in precisely that order. Quoting is
9386 IFS=" "" $as_nl"
9487
9588 # Find who we are. Look in the path if we contain no directory separator.
96 case $0 in
89 as_myself=
90 case $0 in #((
9791 *[\\/]* ) as_myself=$0 ;;
9892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9993 for as_dir in $PATH
10094 do
10195 IFS=$as_save_IFS
10296 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 done
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
10599 IFS=$as_save_IFS
106100
107101 ;;
113107 fi
114108 if test ! -f "$as_myself"; then
115109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 { (exit 1); exit 1; }
117 fi
118
119 # Work around bugs in pre-3.0 UWIN ksh.
120 for as_var in ENV MAIL MAILPATH
121 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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 || :
122120 done
123121 PS1='$ '
124122 PS2='> '
130128 LANGUAGE=C
131129 export LANGUAGE
132130
133 # Required to use basename.
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
210 do
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."
265 else
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."
270 fi
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
134418 if expr a : '\(a\)' >/dev/null 2>&1 &&
135419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
136420 as_expr=expr
144428 as_basename=false
145429 fi
146430
147
148 # 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
149437 as_me=`$as_basename -- "$0" ||
150438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
151439 X"$0" : 'X\(//\)$' \| \
165453 }
166454 s/.*/./; q'`
167455
168 # CDPATH.
169 $as_unset CDPATH
170
171
172 if test "x$CONFIG_SHELL" = x; then
173 if (eval ":") 2>/dev/null; then
174 as_have_required=yes
175 else
176 as_have_required=no
177 fi
178
179 if test $as_have_required = yes && (eval ":
180 (as_func_return () {
181 (exit \$1)
182 }
183 as_func_success () {
184 as_func_return 0
185 }
186 as_func_failure () {
187 as_func_return 1
188 }
189 as_func_ret_success () {
190 return 0
191 }
192 as_func_ret_failure () {
193 return 1
194 }
195
196 exitcode=0
197 if as_func_success; then
198 :
199 else
200 exitcode=1
201 echo as_func_success failed.
202 fi
203
204 if as_func_failure; then
205 exitcode=1
206 echo as_func_failure succeeded.
207 fi
208
209 if as_func_ret_success; then
210 :
211 else
212 exitcode=1
213 echo as_func_ret_success failed.
214 fi
215
216 if as_func_ret_failure; then
217 exitcode=1
218 echo as_func_ret_failure succeeded.
219 fi
220
221 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
222 :
223 else
224 exitcode=1
225 echo positional parameters were not saved.
226 fi
227
228 test \$exitcode = 0) || { (exit 1); exit 1; }
229
230 (
231 as_lineno_1=\$LINENO
232 as_lineno_2=\$LINENO
233 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
234 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
235 ") 2> /dev/null; then
236 :
237 else
238 as_candidate_shells=
239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
241 do
242 IFS=$as_save_IFS
243 test -z "$as_dir" && as_dir=.
244 case $as_dir in
245 /*)
246 for as_base in sh bash ksh sh5; do
247 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
248 done;;
249 esac
250 done
251 IFS=$as_save_IFS
252
253
254 for as_shell in $as_candidate_shells $SHELL; do
255 # Try only shells that exist, to save several forks.
256 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
257 { ("$as_shell") 2> /dev/null <<\_ASEOF
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259 emulate sh
260 NULLCMD=:
261 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
264 setopt NO_GLOB_SUBST
265 else
266 case `(set -o) 2>/dev/null` in
267 *posix*) set -o posix ;;
268 esac
269
270 fi
271
272
273 :
274 _ASEOF
275 }; then
276 CONFIG_SHELL=$as_shell
277 as_have_required=yes
278 if { "$as_shell" 2> /dev/null <<\_ASEOF
279 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
280 emulate sh
281 NULLCMD=:
282 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
283 # is contrary to our usage. Disable this feature.
284 alias -g '${1+"$@"}'='"$@"'
285 setopt NO_GLOB_SUBST
286 else
287 case `(set -o) 2>/dev/null` in
288 *posix*) set -o posix ;;
289 esac
290
291 fi
292
293
294 :
295 (as_func_return () {
296 (exit $1)
297 }
298 as_func_success () {
299 as_func_return 0
300 }
301 as_func_failure () {
302 as_func_return 1
303 }
304 as_func_ret_success () {
305 return 0
306 }
307 as_func_ret_failure () {
308 return 1
309 }
310
311 exitcode=0
312 if as_func_success; then
313 :
314 else
315 exitcode=1
316 echo as_func_success failed.
317 fi
318
319 if as_func_failure; then
320 exitcode=1
321 echo as_func_failure succeeded.
322 fi
323
324 if as_func_ret_success; then
325 :
326 else
327 exitcode=1
328 echo as_func_ret_success failed.
329 fi
330
331 if as_func_ret_failure; then
332 exitcode=1
333 echo as_func_ret_failure succeeded.
334 fi
335
336 if ( set x; as_func_ret_success y && test x = "$1" ); then
337 :
338 else
339 exitcode=1
340 echo positional parameters were not saved.
341 fi
342
343 test $exitcode = 0) || { (exit 1); exit 1; }
344
345 (
346 as_lineno_1=$LINENO
347 as_lineno_2=$LINENO
348 test "x$as_lineno_1" != "x$as_lineno_2" &&
349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
350
351 _ASEOF
352 }; then
353 break
354 fi
355
356 fi
357
358 done
359
360 if test "x$CONFIG_SHELL" != x; then
361 for as_var in BASH_ENV ENV
362 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
363 done
364 export CONFIG_SHELL
365 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
366 fi
367
368
369 if test $as_have_required = no; then
370 echo This script requires a shell more modern than all the
371 echo shells that I found on your system. Please install a
372 echo modern shell, or manually run the script under such a
373 echo shell if you do have one.
374 { (exit 1); exit 1; }
375 fi
376
377
378 fi
379
380 fi
381
382
383
384 (eval "as_func_return () {
385 (exit \$1)
386 }
387 as_func_success () {
388 as_func_return 0
389 }
390 as_func_failure () {
391 as_func_return 1
392 }
393 as_func_ret_success () {
394 return 0
395 }
396 as_func_ret_failure () {
397 return 1
398 }
399
400 exitcode=0
401 if as_func_success; then
402 :
403 else
404 exitcode=1
405 echo as_func_success failed.
406 fi
407
408 if as_func_failure; then
409 exitcode=1
410 echo as_func_failure succeeded.
411 fi
412
413 if as_func_ret_success; then
414 :
415 else
416 exitcode=1
417 echo as_func_ret_success failed.
418 fi
419
420 if as_func_ret_failure; then
421 exitcode=1
422 echo as_func_ret_failure succeeded.
423 fi
424
425 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
426 :
427 else
428 exitcode=1
429 echo positional parameters were not saved.
430 fi
431
432 test \$exitcode = 0") || {
433 echo No shell found that supports shell functions.
434 echo Please tell bug-autoconf@gnu.org about your system,
435 echo including any error possibly output before this message.
436 echo This can help us improve future autoconf versions.
437 echo Configuration will now proceed without shell functions.
438 }
439
440
441
442 as_lineno_1=$LINENO
443 as_lineno_2=$LINENO
444 test "x$as_lineno_1" != "x$as_lineno_2" &&
445 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
446
447 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
448 # uniformly replaced by the line number. The first 'sed' inserts a
449 # line-number line after each line using $LINENO; the second 'sed'
450 # does the real work. The second script uses 'N' to pair each
451 # line-number line with the line containing $LINENO, and appends
452 # trailing '-' during substitution so that $LINENO is not a special
453 # case at line end.
454 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
455 # scripts with optimization help from Paolo Bonzini. Blame Lee
456 # 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. :-)
457469 sed -n '
458470 p
459471 /[$]LINENO/=
470482 s/-\n.*//
471483 ' >$as_me.lineno &&
472484 chmod +x "$as_me.lineno" ||
473 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474 { (exit 1); exit 1; }; }
475
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
476491 # Don't try to exec as it changes $[0], causing all sort of problems
477492 # (the dirname of $[0] is not the place where we might find the
478493 # original and so on. Autoconf is especially sensitive to this).
481496 exit
482497 }
483498
484
485 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
486 as_dirname=dirname
487 else
488 as_dirname=false
489 fi
490
491499 ECHO_C= ECHO_N= ECHO_T=
492 case `echo -n x` in
500 case `echo -n x` in #(((((
493501 -n*)
494 case `echo 'x\c'` in
502 case `echo 'xy\c'` in
495503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
496 *) ECHO_C='\c';;
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
497507 esac;;
498508 *)
499509 ECHO_N='-n';;
500510 esac
501 if expr a : '\(a\)' >/dev/null 2>&1 &&
502 test "X`expr 00001 : '.*\(...\)'`" = X001; then
503 as_expr=expr
504 else
505 as_expr=false
506 fi
507511
508512 rm -f conf$$ conf$$.exe conf$$.file
509513 if test -d conf$$.dir; then
518522 # ... but there are two gotchas:
519523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
520524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
521 # In both cases, we have to default to `cp -p'.
525 # In both cases, we have to default to `cp -pR'.
522526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
523 as_ln_s='cp -p'
527 as_ln_s='cp -pR'
524528 elif ln conf$$.file conf$$ 2>/dev/null; then
525529 as_ln_s=ln
526530 else
527 as_ln_s='cp -p'
531 as_ln_s='cp -pR'
528532 fi
529533 else
530 as_ln_s='cp -p'
534 as_ln_s='cp -pR'
531535 fi
532536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
533537 rmdir conf$$.dir 2>/dev/null
534538
535539 if mkdir -p . 2>/dev/null; then
536 as_mkdir_p=:
540 as_mkdir_p='mkdir -p "$as_dir"'
537541 else
538542 test -d ./-p && rmdir ./-p
539543 as_mkdir_p=false
540544 fi
541545
542 if test -x / >/dev/null 2>&1; then
543 as_test_x='test -x'
544 else
545 if ls -dL / >/dev/null 2>&1; then
546 as_ls_L_option=L
547 else
548 as_ls_L_option=
549 fi
550 as_test_x='
551 eval sh -c '\''
552 if test -d "$1"; then
553 test -d "$1/.";
554 else
555 case $1 in
556 -*)set "./$1";;
557 esac;
558 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
559 ???[sx]*):;;*)false;;esac;fi
560 '\'' sh
561 '
562 fi
563 as_executable_p=$as_test_x
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
564548
565549 # Sed expression to map a string onto a valid CPP name.
566550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570554
571555
572
573 exec 7<&0 </dev/null 6>&1
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
574558
575559 # Name of the host.
576 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577561 # so uname gets run too.
578562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
579563
588572 subdirs=
589573 MFLAGS=
590574 MAKEFLAGS=
591 SHELL=${CONFIG_SHELL-/bin/sh}
592575
593576 # Identity of this package.
594577 PACKAGE_NAME=
596579 PACKAGE_VERSION=
597580 PACKAGE_STRING=
598581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
599583
600584 ac_unique_file="src/main.cpp"
601585 # Factoring default headers for most tests.
721705 docdir
722706 oldincludedir
723707 includedir
708 runstatedir
724709 localstatedir
725710 sharedstatedir
726711 sysconfdir
732717 program_transform_name
733718 prefix
734719 exec_prefix
720 PACKAGE_URL
735721 PACKAGE_BUGREPORT
736722 PACKAGE_STRING
737723 PACKAGE_VERSION
797783 sysconfdir='${prefix}/etc'
798784 sharedstatedir='${prefix}/com'
799785 localstatedir='${prefix}/var'
786 runstatedir='${localstatedir}/run'
800787 includedir='${prefix}/include'
801788 oldincludedir='/usr/include'
802789 docdir='${datarootdir}/doc/${PACKAGE}'
821808 fi
822809
823810 case $ac_option in
824 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 *) ac_optarg=yes ;;
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812 *=) ac_optarg= ;;
813 *) ac_optarg=yes ;;
826814 esac
827815
828816 # Accept the important Cygnus configure options, so we can diagnose typos.
867855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868856 # Reject names that are not valid shell variable names.
869857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
871 { (exit 1); exit 1; }; }
858 as_fn_error $? "invalid feature name: $ac_useropt"
872859 ac_useropt_orig=$ac_useropt
873860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874861 case $ac_user_opts in
894881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895882 # Reject names that are not valid shell variable names.
896883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
898 { (exit 1); exit 1; }; }
884 as_fn_error $? "invalid feature name: $ac_useropt"
899885 ac_useropt_orig=$ac_useropt
900886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901887 case $ac_user_opts in
10501036 | -silent | --silent | --silen | --sile | --sil)
10511037 silent=yes ;;
10521038
1039 -runstatedir | --runstatedir | --runstatedi | --runstated \
1040 | --runstate | --runstat | --runsta | --runst | --runs \
1041 | --run | --ru | --r)
1042 ac_prev=runstatedir ;;
1043 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1044 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1045 | --run=* | --ru=* | --r=*)
1046 runstatedir=$ac_optarg ;;
1047
10531048 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10541049 ac_prev=sbindir ;;
10551050 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10991094 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11001095 # Reject names that are not valid shell variable names.
11011096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1103 { (exit 1); exit 1; }; }
1097 as_fn_error $? "invalid package name: $ac_useropt"
11041098 ac_useropt_orig=$ac_useropt
11051099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11061100 case $ac_user_opts in
11161110 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11171111 # Reject names that are not valid shell variable names.
11181112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1120 { (exit 1); exit 1; }; }
1113 as_fn_error $? "invalid package name: $ac_useropt"
11211114 ac_useropt_orig=$ac_useropt
11221115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11231116 case $ac_user_opts in
11471140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11481141 x_libraries=$ac_optarg ;;
11491142
1150 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1143 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
11531145 ;;
11541146
11551147 *=*)
11561148 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11571149 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1159 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1150 case $ac_envvar in #(
1151 '' | [0-9]* | *[!_$as_cr_alnum]* )
1152 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1153 esac
11611154 eval $ac_envvar=\$ac_optarg
11621155 export $ac_envvar ;;
11631156
11661159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11671160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11681161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1162 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11701163 ;;
11711164
11721165 esac
11741167
11751168 if test -n "$ac_prev"; then
11761169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1170 as_fn_error $? "missing argument to $ac_option"
11791171 fi
11801172
11811173 if test -n "$ac_unrecognized_opts"; then
11821174 case $enable_option_checking in
11831175 no) ;;
1184 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1185 { (exit 1); exit 1; }; } ;;
1176 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11861177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11871178 esac
11881179 fi
11911182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11921183 datadir sysconfdir sharedstatedir localstatedir includedir \
11931184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194 libdir localedir mandir
1185 libdir localedir mandir runstatedir
11951186 do
11961187 eval ac_val=\$$ac_var
11971188 # Remove trailing slashes.
12051196 [\\/$]* | ?:[\\/]* ) continue;;
12061197 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12071198 esac
1208 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1209 { (exit 1); exit 1; }; }
1199 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
12101200 done
12111201
12121202 # There might be people who depend on the old broken behavior: `$host'
12201210 if test "x$host_alias" != x; then
12211211 if test "x$build_alias" = x; then
12221212 cross_compiling=maybe
1223 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1224 If a cross compiler is detected then cross compile mode will be used." >&2
12251213 elif test "x$build_alias" != "x$host_alias"; then
12261214 cross_compiling=yes
12271215 fi
12361224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
12371225 ac_ls_di=`ls -di .` &&
12381226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1239 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1240 { (exit 1); exit 1; }; }
1227 as_fn_error $? "working directory cannot be determined"
12411228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1243 { (exit 1); exit 1; }; }
1229 as_fn_error $? "pwd does not report name of working directory"
12441230
12451231
12461232 # Find the source files, if location was not specified.
12791265 fi
12801266 if test ! -r "$srcdir/$ac_unique_file"; then
12811267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1282 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1283 { (exit 1); exit 1; }; }
1268 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12841269 fi
12851270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12861271 ac_abs_confdir=`(
1287 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1288 { (exit 1); exit 1; }; }
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12891273 pwd)`
12901274 # When building in place, set srcdir=.
12911275 if test "$ac_abs_confdir" = "$ac_pwd"; then
13251309 --help=short display options specific to this package
13261310 --help=recursive display the short help of all the included packages
13271311 -V, --version display version information and exit
1328 -q, --quiet, --silent do not print \`checking...' messages
1312 -q, --quiet, --silent do not print \`checking ...' messages
13291313 --cache-file=FILE cache test results in FILE [disabled]
13301314 -C, --config-cache alias for \`--cache-file=config.cache'
13311315 -n, --no-create do not create output files
13511335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13521336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13531337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
13541339 --libdir=DIR object code libraries [EPREFIX/lib]
13551340 --includedir=DIR C header files [PREFIX/include]
13561341 --oldincludedir=DIR C header files for non-gcc [/usr/include]
14041389 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
14051390 nonstandard directory <lib dir>
14061391 LIBS libraries to pass to the linker, e.g. -l<library>
1407 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1392 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
14081393 you have headers in a nonstandard directory <include dir>
14091394 CXX C++ compiler command
14101395 CXXFLAGS C++ compiler flags
14131398 Use these variables to override the choices made by `configure' or to help
14141399 it to find libraries and programs with nonstandard names/locations.
14151400
1401 Report bugs to the package provider.
14161402 _ACEOF
14171403 ac_status=$?
14181404 fi
14761462 if $ac_init_version; then
14771463 cat <<\_ACEOF
14781464 configure
1479 generated by GNU Autoconf 2.63
1480
1481 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1482 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1465 generated by GNU Autoconf 2.69
1466
1467 Copyright (C) 2012 Free Software Foundation, Inc.
14831468 This configure script is free software; the Free Software Foundation
14841469 gives unlimited permission to copy, distribute and modify it.
14851470 _ACEOF
14861471 exit
14871472 fi
1473
1474 ## ------------------------ ##
1475 ## Autoconf initialization. ##
1476 ## ------------------------ ##
1477
1478 # ac_fn_c_try_compile LINENO
1479 # --------------------------
1480 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1481 ac_fn_c_try_compile ()
1482 {
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 rm -f conftest.$ac_objext
1485 if { { ac_try="$ac_compile"
1486 case "(($ac_try" in
1487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488 *) ac_try_echo=$ac_try;;
1489 esac
1490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_compile") 2>conftest.err
1493 ac_status=$?
1494 if test -s conftest.err; then
1495 grep -v '^ *+' conftest.err >conftest.er1
1496 cat conftest.er1 >&5
1497 mv -f conftest.er1 conftest.err
1498 fi
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } && {
1501 test -z "$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1503 } && test -s conftest.$ac_objext; then :
1504 ac_retval=0
1505 else
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1508
1509 ac_retval=1
1510 fi
1511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512 as_fn_set_status $ac_retval
1513
1514 } # ac_fn_c_try_compile
1515
1516 # ac_fn_cxx_try_compile LINENO
1517 # ----------------------------
1518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1519 ac_fn_cxx_try_compile ()
1520 {
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 rm -f conftest.$ac_objext
1523 if { { ac_try="$ac_compile"
1524 case "(($ac_try" in
1525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1527 esac
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_compile") 2>conftest.err
1531 ac_status=$?
1532 if test -s conftest.err; then
1533 grep -v '^ *+' conftest.err >conftest.er1
1534 cat conftest.er1 >&5
1535 mv -f conftest.er1 conftest.err
1536 fi
1537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538 test $ac_status = 0; } && {
1539 test -z "$ac_cxx_werror_flag" ||
1540 test ! -s conftest.err
1541 } && test -s conftest.$ac_objext; then :
1542 ac_retval=0
1543 else
1544 $as_echo "$as_me: failed program was:" >&5
1545 sed 's/^/| /' conftest.$ac_ext >&5
1546
1547 ac_retval=1
1548 fi
1549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1550 as_fn_set_status $ac_retval
1551
1552 } # ac_fn_cxx_try_compile
1553
1554 # ac_fn_c_try_cpp LINENO
1555 # ----------------------
1556 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1557 ac_fn_c_try_cpp ()
1558 {
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 if { { ac_try="$ac_cpp conftest.$ac_ext"
1561 case "(($ac_try" in
1562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1564 esac
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1568 ac_status=$?
1569 if test -s conftest.err; then
1570 grep -v '^ *+' conftest.err >conftest.er1
1571 cat conftest.er1 >&5
1572 mv -f conftest.er1 conftest.err
1573 fi
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } > conftest.i && {
1576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1577 test ! -s conftest.err
1578 }; then :
1579 ac_retval=0
1580 else
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1583
1584 ac_retval=1
1585 fi
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587 as_fn_set_status $ac_retval
1588
1589 } # ac_fn_c_try_cpp
1590
1591 # ac_fn_c_try_run LINENO
1592 # ----------------------
1593 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1594 # that executables *can* be run.
1595 ac_fn_c_try_run ()
1596 {
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 if { { ac_try="$ac_link"
1599 case "(($ac_try" in
1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1602 esac
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_link") 2>&5
1606 ac_status=$?
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1609 { { case "(($ac_try" in
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1612 esac
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_try") 2>&5
1616 ac_status=$?
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; }; }; then :
1619 ac_retval=0
1620 else
1621 $as_echo "$as_me: program exited with status $ac_status" >&5
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1624
1625 ac_retval=$ac_status
1626 fi
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1630
1631 } # ac_fn_c_try_run
1632
1633 # ac_fn_c_try_link LINENO
1634 # -----------------------
1635 # Try to link conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_c_try_link ()
1637 {
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 rm -f conftest.$ac_objext conftest$ac_exeext
1640 if { { ac_try="$ac_link"
1641 case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1644 esac
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_link") 2>conftest.err
1648 ac_status=$?
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1653 fi
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && {
1656 test -z "$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1658 } && test -s conftest$ac_exeext && {
1659 test "$cross_compiling" = yes ||
1660 test -x conftest$ac_exeext
1661 }; then :
1662 ac_retval=0
1663 else
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1666
1667 ac_retval=1
1668 fi
1669 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1670 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1671 # interfere with the next link command; also delete a directory that is
1672 # left behind by Apple's compiler. We do this before executing the actions.
1673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675 as_fn_set_status $ac_retval
1676
1677 } # ac_fn_c_try_link
1678
1679 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1680 # -------------------------------------------------------
1681 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1682 # the include files in INCLUDES and setting the cache variable VAR
1683 # accordingly.
1684 ac_fn_c_check_header_mongrel ()
1685 {
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 if eval \${$3+:} false; then :
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1689 $as_echo_n "checking for $2... " >&6; }
1690 if eval \${$3+:} false; then :
1691 $as_echo_n "(cached) " >&6
1692 fi
1693 eval ac_res=\$$3
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1696 else
1697 # Is the header compilable?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1699 $as_echo_n "checking $2 usability... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1702 $4
1703 #include <$2>
1704 _ACEOF
1705 if ac_fn_c_try_compile "$LINENO"; then :
1706 ac_header_compiler=yes
1707 else
1708 ac_header_compiler=no
1709 fi
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1712 $as_echo "$ac_header_compiler" >&6; }
1713
1714 # Is the header present?
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1716 $as_echo_n "checking $2 presence... " >&6; }
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1719 #include <$2>
1720 _ACEOF
1721 if ac_fn_c_try_cpp "$LINENO"; then :
1722 ac_header_preproc=yes
1723 else
1724 ac_header_preproc=no
1725 fi
1726 rm -f conftest.err conftest.i conftest.$ac_ext
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1728 $as_echo "$ac_header_preproc" >&6; }
1729
1730 # So? What about this header?
1731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1732 yes:no: )
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1734 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 ;;
1738 no:yes:* )
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1740 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1742 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1744 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1746 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1749 ;;
1750 esac
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if eval \${$3+:} false; then :
1754 $as_echo_n "(cached) " >&6
1755 else
1756 eval "$3=\$ac_header_compiler"
1757 fi
1758 eval ac_res=\$$3
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 fi
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763
1764 } # ac_fn_c_check_header_mongrel
1765
1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists and can be compiled using the include files in
1769 # INCLUDES, setting the cache variable VAR accordingly.
1770 ac_fn_c_check_header_compile ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6
1777 else
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 $4
1781 #include <$2>
1782 _ACEOF
1783 if ac_fn_c_try_compile "$LINENO"; then :
1784 eval "$3=yes"
1785 else
1786 eval "$3=no"
1787 fi
1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789 fi
1790 eval ac_res=\$$3
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794
1795 } # ac_fn_c_check_header_compile
14881796 cat >config.log <<_ACEOF
14891797 This file contains any messages produced by compilers while
14901798 running configure, to aid debugging if configure makes a mistake.
14911799
14921800 It was created by $as_me, which was
1493 generated by GNU Autoconf 2.63. Invocation command line was
1801 generated by GNU Autoconf 2.69. Invocation command line was
14941802
14951803 $ $0 $@
14961804
15261834 do
15271835 IFS=$as_save_IFS
15281836 test -z "$as_dir" && as_dir=.
1529 $as_echo "PATH: $as_dir"
1530 done
1837 $as_echo "PATH: $as_dir"
1838 done
15311839 IFS=$as_save_IFS
15321840
15331841 } >&5
15641872 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15651873 esac
15661874 case $ac_pass in
1567 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1875 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
15681876 2)
1569 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1877 as_fn_append ac_configure_args1 " '$ac_arg'"
15701878 if test $ac_must_keep_next = true; then
15711879 ac_must_keep_next=false # Got value, back to normal.
15721880 else
15821890 -* ) ac_must_keep_next=true ;;
15831891 esac
15841892 fi
1585 ac_configure_args="$ac_configure_args '$ac_arg'"
1893 as_fn_append ac_configure_args " '$ac_arg'"
15861894 ;;
15871895 esac
15881896 done
15891897 done
1590 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1591 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1898 { ac_configure_args0=; unset ac_configure_args0;}
1899 { ac_configure_args1=; unset ac_configure_args1;}
15921900
15931901 # When interrupted or exit'd, cleanup temporary files, and complete
15941902 # config.log. We remove comments because anyway the quotes in there
16001908 {
16011909 echo
16021910
1603 cat <<\_ASBOX
1604 ## ---------------- ##
1911 $as_echo "## ---------------- ##
16051912 ## Cache variables. ##
1606 ## ---------------- ##
1607 _ASBOX
1913 ## ---------------- ##"
16081914 echo
16091915 # The following way of writing the cache mishandles newlines in values,
16101916 (
16131919 case $ac_val in #(
16141920 *${as_nl}*)
16151921 case $ac_var in #(
1616 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1922 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16171923 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16181924 esac
16191925 case $ac_var in #(
16201926 _ | IFS | as_nl) ;; #(
16211927 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1622 *) $as_unset $ac_var ;;
1928 *) { eval $ac_var=; unset $ac_var;} ;;
16231929 esac ;;
16241930 esac
16251931 done
16381944 )
16391945 echo
16401946
1641 cat <<\_ASBOX
1642 ## ----------------- ##
1947 $as_echo "## ----------------- ##
16431948 ## Output variables. ##
1644 ## ----------------- ##
1645 _ASBOX
1949 ## ----------------- ##"
16461950 echo
16471951 for ac_var in $ac_subst_vars
16481952 do
16551959 echo
16561960
16571961 if test -n "$ac_subst_files"; then
1658 cat <<\_ASBOX
1659 ## ------------------- ##
1962 $as_echo "## ------------------- ##
16601963 ## File substitutions. ##
1661 ## ------------------- ##
1662 _ASBOX
1964 ## ------------------- ##"
16631965 echo
16641966 for ac_var in $ac_subst_files
16651967 do
16731975 fi
16741976
16751977 if test -s confdefs.h; then
1676 cat <<\_ASBOX
1677 ## ----------- ##
1978 $as_echo "## ----------- ##
16781979 ## confdefs.h. ##
1679 ## ----------- ##
1680 _ASBOX
1980 ## ----------- ##"
16811981 echo
16821982 cat confdefs.h
16831983 echo
16911991 exit $exit_status
16921992 ' 0
16931993 for ac_signal in 1 2 13 15; do
1694 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1994 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16951995 done
16961996 ac_signal=0
16971997
16981998 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16991999 rm -f -r conftest* confdefs.h
17002000
2001 $as_echo "/* confdefs.h */" > confdefs.h
2002
17012003 # Predefined preprocessor variables.
17022004
17032005 cat >>confdefs.h <<_ACEOF
17042006 #define PACKAGE_NAME "$PACKAGE_NAME"
17052007 _ACEOF
17062008
1707
17082009 cat >>confdefs.h <<_ACEOF
17092010 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
17102011 _ACEOF
17112012
1712
17132013 cat >>confdefs.h <<_ACEOF
17142014 #define PACKAGE_VERSION "$PACKAGE_VERSION"
17152015 _ACEOF
17162016
1717
17182017 cat >>confdefs.h <<_ACEOF
17192018 #define PACKAGE_STRING "$PACKAGE_STRING"
17202019 _ACEOF
17212020
1722
17232021 cat >>confdefs.h <<_ACEOF
17242022 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2023 _ACEOF
2024
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_URL "$PACKAGE_URL"
17252027 _ACEOF
17262028
17272029
17302032 ac_site_file1=NONE
17312033 ac_site_file2=NONE
17322034 if test -n "$CONFIG_SITE"; then
1733 ac_site_file1=$CONFIG_SITE
2035 # We do not want a PATH search for config.site.
2036 case $CONFIG_SITE in #((
2037 -*) ac_site_file1=./$CONFIG_SITE;;
2038 */*) ac_site_file1=$CONFIG_SITE;;
2039 *) ac_site_file1=./$CONFIG_SITE;;
2040 esac
17342041 elif test "x$prefix" != xNONE; then
17352042 ac_site_file1=$prefix/share/config.site
17362043 ac_site_file2=$prefix/etc/config.site
17412048 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
17422049 do
17432050 test "x$ac_site_file" = xNONE && continue
1744 if test -r "$ac_site_file"; then
1745 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2051 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17462053 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
17472054 sed 's/^/| /' "$ac_site_file" >&5
1748 . "$ac_site_file"
2055 . "$ac_site_file" \
2056 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2058 as_fn_error $? "failed to load site script $ac_site_file
2059 See \`config.log' for more details" "$LINENO" 5; }
17492060 fi
17502061 done
17512062
17522063 if test -r "$cache_file"; then
1753 # Some versions of bash will fail to source /dev/null (special
1754 # files actually), so we avoid doing that.
1755 if test -f "$cache_file"; then
1756 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2064 # Some versions of bash will fail to source /dev/null (special files
2065 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2066 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17572068 $as_echo "$as_me: loading cache $cache_file" >&6;}
17582069 case $cache_file in
17592070 [\\/]* | ?:[\\/]* ) . "$cache_file";;
17612072 esac
17622073 fi
17632074 else
1764 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17652076 $as_echo "$as_me: creating cache $cache_file" >&6;}
17662077 >$cache_file
17672078 fi
17762087 eval ac_new_val=\$ac_env_${ac_var}_value
17772088 case $ac_old_set,$ac_new_set in
17782089 set,)
1779 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17802091 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17812092 ac_cache_corrupted=: ;;
17822093 ,set)
1783 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
17842095 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17852096 ac_cache_corrupted=: ;;
17862097 ,);;
17902101 ac_old_val_w=`echo x $ac_old_val`
17912102 ac_new_val_w=`echo x $ac_new_val`
17922103 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1793 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
17942105 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17952106 ac_cache_corrupted=:
17962107 else
1797 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
17982109 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
17992110 eval $ac_var=\$ac_old_val
18002111 fi
1801 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
18022113 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1803 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
18042115 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
18052116 fi;;
18062117 esac
18122123 esac
18132124 case " $ac_configure_args " in
18142125 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1815 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2126 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
18162127 esac
18172128 fi
18182129 done
18192130 if $ac_cache_corrupted; then
1820 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18212132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1822 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
18232134 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1824 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1825 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1826 { (exit 1); exit 1; }; }
1827 fi
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
2135 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2136 fi
2137 ## -------------------- ##
2138 ## Main body of script. ##
2139 ## -------------------- ##
18442140
18452141 ac_ext=c
18462142 ac_cpp='$CPP $CPPFLAGS'
18662162 fi
18672163 done
18682164 if test -z "$ac_aux_dir"; then
1869 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1870 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1871 { (exit 1); exit 1; }; }
2165 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
18722166 fi
18732167
18742168 # These three variables are undocumented and unsupported,
18822176
18832177 # Make sure we can run config.sub.
18842178 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1888
1889 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2179 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2180
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
18902182 $as_echo_n "checking build system type... " >&6; }
1891 if test "${ac_cv_build+set}" = set; then
2183 if ${ac_cv_build+:} false; then :
18922184 $as_echo_n "(cached) " >&6
18932185 else
18942186 ac_build_alias=$build_alias
18952187 test "x$ac_build_alias" = x &&
18962188 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
18972189 test "x$ac_build_alias" = x &&
1898 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
2190 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
19012191 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1905
1906 fi
1907 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2192 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2193
2194 fi
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
19082196 $as_echo "$ac_cv_build" >&6; }
19092197 case $ac_cv_build in
19102198 *-*-*) ;;
1911 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
2199 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
19142200 esac
19152201 build=$ac_cv_build
19162202 ac_save_IFS=$IFS; IFS='-'
19262212 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
19272213
19282214
1929 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
19302216 $as_echo_n "checking host system type... " >&6; }
1931 if test "${ac_cv_host+set}" = set; then
2217 if ${ac_cv_host+:} false; then :
19322218 $as_echo_n "(cached) " >&6
19332219 else
19342220 if test "x$host_alias" = x; then
19352221 ac_cv_host=$ac_cv_build
19362222 else
19372223 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1941 fi
1942
1943 fi
1944 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2224 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2225 fi
2226
2227 fi
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
19452229 $as_echo "$ac_cv_host" >&6; }
19462230 case $ac_cv_host in
19472231 *-*-*) ;;
1948 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
2232 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
19512233 esac
19522234 host=$ac_cv_host
19532235 ac_save_IFS=$IFS; IFS='-'
19632245 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
19642246
19652247
1966 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
19672249 $as_echo_n "checking target system type... " >&6; }
1968 if test "${ac_cv_target+set}" = set; then
2250 if ${ac_cv_target+:} false; then :
19692251 $as_echo_n "(cached) " >&6
19702252 else
19712253 if test "x$target_alias" = x; then
19722254 ac_cv_target=$ac_cv_host
19732255 else
19742256 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1975 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1976 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1977 { (exit 1); exit 1; }; }
1978 fi
1979
1980 fi
1981 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2258 fi
2259
2260 fi
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
19822262 $as_echo "$ac_cv_target" >&6; }
19832263 case $ac_cv_target in
19842264 *-*-*) ;;
1985 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1986 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1987 { (exit 1); exit 1; }; };;
2265 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
19882266 esac
19892267 target=$ac_cv_target
19902268 ac_save_IFS=$IFS; IFS='-'
20212299 # OS/2's system install, which has a completely different semantic
20222300 # ./install, which can be erroneously created by make from ./install.sh.
20232301 # Reject install programs that cannot install multiple files.
2024 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
20252303 $as_echo_n "checking for a BSD-compatible install... " >&6; }
20262304 if test -z "$INSTALL"; then
2027 if test "${ac_cv_path_install+set}" = set; then
2305 if ${ac_cv_path_install+:} false; then :
20282306 $as_echo_n "(cached) " >&6
20292307 else
20302308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20322310 do
20332311 IFS=$as_save_IFS
20342312 test -z "$as_dir" && as_dir=.
2035 # Account for people who put trailing slashes in PATH elements.
2036 case $as_dir/ in
2037 ./ | .// | /cC/* | \
2313 # Account for people who put trailing slashes in PATH elements.
2314 case $as_dir/ in #((
2315 ./ | .// | /[cC]/* | \
20382316 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2039 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2317 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
20402318 /usr/ucb/* ) ;;
20412319 *)
20422320 # OSF1 and SCO ODT 3.0 have their own names for install.
20442322 # by default.
20452323 for ac_prog in ginstall scoinst install; do
20462324 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2325 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
20482326 if test $ac_prog = install &&
20492327 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20502328 # AIX install. It has an incompatible calling convention.
20732351 ;;
20742352 esac
20752353
2076 done
2354 done
20772355 IFS=$as_save_IFS
20782356
20792357 rm -rf conftest.one conftest.two conftest.dir
20892367 INSTALL=$ac_install_sh
20902368 fi
20912369 fi
2092 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
20932371 $as_echo "$INSTALL" >&6; }
20942372
20952373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21002378
21012379 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21022380
2103 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
21042382 $as_echo_n "checking whether build environment is sane... " >&6; }
21052383 # Just in case
21062384 sleep 1
21242402 # if, for instance, CONFIG_SHELL is bash and it inherits a
21252403 # broken ls alias from the environment. This has actually
21262404 # happened. Such a system could not be considered "sane".
2127 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2128 alias in your environment" >&5
2129 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2130 alias in your environment" >&2;}
2131 { (exit 1); exit 1; }; }
2405 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2406 alias in your environment" "$LINENO" 5
21322407 fi
21332408
21342409 test "$2" = conftest.file
21372412 # Ok.
21382413 :
21392414 else
2140 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2141 Check your system clock" >&5
2142 $as_echo "$as_me: error: newly created file is older than distributed files!
2143 Check your system clock" >&2;}
2144 { (exit 1); exit 1; }; }
2145 fi
2146 { $as_echo "$as_me:$LINENO: result: yes" >&5
2415 as_fn_error $? "newly created file is older than distributed files!
2416 Check your system clock" "$LINENO" 5
2417 fi
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21472419 $as_echo "yes" >&6; }
21482420 test "$program_prefix" != NONE &&
21492421 program_transform_name="s&^&$program_prefix&;$program_transform_name"
21642436 am_missing_run="$MISSING --run "
21652437 else
21662438 am_missing_run=
2167 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
21682440 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
21692441 fi
21702442
22052477 do
22062478 # Extract the first word of "$ac_prog", so it can be a program name with args.
22072479 set dummy $ac_prog; ac_word=$2
2208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22092481 $as_echo_n "checking for $ac_word... " >&6; }
2210 if test "${ac_cv_prog_AWK+set}" = set; then
2482 if ${ac_cv_prog_AWK+:} false; then :
22112483 $as_echo_n "(cached) " >&6
22122484 else
22132485 if test -n "$AWK"; then
22182490 do
22192491 IFS=$as_save_IFS
22202492 test -z "$as_dir" && as_dir=.
2221 for ac_exec_ext in '' $ac_executable_extensions; do
2222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22232495 ac_cv_prog_AWK="$ac_prog"
2224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22252497 break 2
22262498 fi
22272499 done
2228 done
2500 done
22292501 IFS=$as_save_IFS
22302502
22312503 fi
22322504 fi
22332505 AWK=$ac_cv_prog_AWK
22342506 if test -n "$AWK"; then
2235 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
22362508 $as_echo "$AWK" >&6; }
22372509 else
2238 { $as_echo "$as_me:$LINENO: result: no" >&5
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22392511 $as_echo "no" >&6; }
22402512 fi
22412513
22432515 test -n "$AWK" && break
22442516 done
22452517
2246 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
22472519 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
22482520 set x ${MAKE-make}
22492521 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2250 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2522 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
22512523 $as_echo_n "(cached) " >&6
22522524 else
22532525 cat >conftest.make <<\_ACEOF
22552527 all:
22562528 @echo '@@@%%%=$(MAKE)=@@@%%%'
22572529 _ACEOF
2258 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2530 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22592531 case `${MAKE-make} -f conftest.make 2>/dev/null` in
22602532 *@@@%%%=?*=@@@%%%*)
22612533 eval ac_cv_prog_make_${ac_make}_set=yes;;
22652537 rm -f conftest.make
22662538 fi
22672539 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2268 { $as_echo "$as_me:$LINENO: result: yes" >&5
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22692541 $as_echo "yes" >&6; }
22702542 SET_MAKE=
22712543 else
2272 { $as_echo "$as_me:$LINENO: result: no" >&5
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22732545 $as_echo "no" >&6; }
22742546 SET_MAKE="MAKE=${MAKE-make}"
22752547 fi
22862558 # test to see if srcdir already configured
22872559 if test "`cd $srcdir && pwd`" != "`pwd`" &&
22882560 test -f $srcdir/config.status; then
2289 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2290 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2291 { (exit 1); exit 1; }; }
2561 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
22922562 fi
22932563
22942564 # test whether we have cygpath
23412611 if test -n "$ac_tool_prefix"; then
23422612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
23432613 set dummy ${ac_tool_prefix}strip; ac_word=$2
2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23452615 $as_echo_n "checking for $ac_word... " >&6; }
2346 if test "${ac_cv_prog_STRIP+set}" = set; then
2616 if ${ac_cv_prog_STRIP+:} false; then :
23472617 $as_echo_n "(cached) " >&6
23482618 else
23492619 if test -n "$STRIP"; then
23542624 do
23552625 IFS=$as_save_IFS
23562626 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23592629 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2360 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23612631 break 2
23622632 fi
23632633 done
2364 done
2634 done
23652635 IFS=$as_save_IFS
23662636
23672637 fi
23682638 fi
23692639 STRIP=$ac_cv_prog_STRIP
23702640 if test -n "$STRIP"; then
2371 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
23722642 $as_echo "$STRIP" >&6; }
23732643 else
2374 { $as_echo "$as_me:$LINENO: result: no" >&5
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23752645 $as_echo "no" >&6; }
23762646 fi
23772647
23812651 ac_ct_STRIP=$STRIP
23822652 # Extract the first word of "strip", so it can be a program name with args.
23832653 set dummy strip; ac_word=$2
2384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23852655 $as_echo_n "checking for $ac_word... " >&6; }
2386 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2656 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
23872657 $as_echo_n "(cached) " >&6
23882658 else
23892659 if test -n "$ac_ct_STRIP"; then
23942664 do
23952665 IFS=$as_save_IFS
23962666 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23992669 ac_cv_prog_ac_ct_STRIP="strip"
2400 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24012671 break 2
24022672 fi
24032673 done
2404 done
2674 done
24052675 IFS=$as_save_IFS
24062676
24072677 fi
24082678 fi
24092679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
24102680 if test -n "$ac_ct_STRIP"; then
2411 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
24122682 $as_echo "$ac_ct_STRIP" >&6; }
24132683 else
2414 { $as_echo "$as_me:$LINENO: result: no" >&5
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24152685 $as_echo "no" >&6; }
24162686 fi
24172687
24202690 else
24212691 case $cross_compiling:$ac_tool_warned in
24222692 yes:)
2423 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24242694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24252695 ac_tool_warned=yes ;;
24262696 esac
24572727 if test -n "$ac_tool_prefix"; then
24582728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
24592729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2460 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24612731 $as_echo_n "checking for $ac_word... " >&6; }
2462 if test "${ac_cv_prog_CC+set}" = set; then
2732 if ${ac_cv_prog_CC+:} false; then :
24632733 $as_echo_n "(cached) " >&6
24642734 else
24652735 if test -n "$CC"; then
24702740 do
24712741 IFS=$as_save_IFS
24722742 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24752745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2476 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24772747 break 2
24782748 fi
24792749 done
2480 done
2750 done
24812751 IFS=$as_save_IFS
24822752
24832753 fi
24842754 fi
24852755 CC=$ac_cv_prog_CC
24862756 if test -n "$CC"; then
2487 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
24882758 $as_echo "$CC" >&6; }
24892759 else
2490 { $as_echo "$as_me:$LINENO: result: no" >&5
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24912761 $as_echo "no" >&6; }
24922762 fi
24932763
24972767 ac_ct_CC=$CC
24982768 # Extract the first word of "gcc", so it can be a program name with args.
24992769 set dummy gcc; ac_word=$2
2500 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25012771 $as_echo_n "checking for $ac_word... " >&6; }
2502 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
25032773 $as_echo_n "(cached) " >&6
25042774 else
25052775 if test -n "$ac_ct_CC"; then
25102780 do
25112781 IFS=$as_save_IFS
25122782 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25152785 ac_cv_prog_ac_ct_CC="gcc"
2516 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25172787 break 2
25182788 fi
25192789 done
2520 done
2790 done
25212791 IFS=$as_save_IFS
25222792
25232793 fi
25242794 fi
25252795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25262796 if test -n "$ac_ct_CC"; then
2527 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
25282798 $as_echo "$ac_ct_CC" >&6; }
25292799 else
2530 { $as_echo "$as_me:$LINENO: result: no" >&5
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25312801 $as_echo "no" >&6; }
25322802 fi
25332803
25362806 else
25372807 case $cross_compiling:$ac_tool_warned in
25382808 yes:)
2539 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25402810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25412811 ac_tool_warned=yes ;;
25422812 esac
25502820 if test -n "$ac_tool_prefix"; then
25512821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
25522822 set dummy ${ac_tool_prefix}cc; ac_word=$2
2553 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25542824 $as_echo_n "checking for $ac_word... " >&6; }
2555 if test "${ac_cv_prog_CC+set}" = set; then
2825 if ${ac_cv_prog_CC+:} false; then :
25562826 $as_echo_n "(cached) " >&6
25572827 else
25582828 if test -n "$CC"; then
25632833 do
25642834 IFS=$as_save_IFS
25652835 test -z "$as_dir" && as_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25682838 ac_cv_prog_CC="${ac_tool_prefix}cc"
2569 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25702840 break 2
25712841 fi
25722842 done
2573 done
2843 done
25742844 IFS=$as_save_IFS
25752845
25762846 fi
25772847 fi
25782848 CC=$ac_cv_prog_CC
25792849 if test -n "$CC"; then
2580 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
25812851 $as_echo "$CC" >&6; }
25822852 else
2583 { $as_echo "$as_me:$LINENO: result: no" >&5
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25842854 $as_echo "no" >&6; }
25852855 fi
25862856
25902860 if test -z "$CC"; then
25912861 # Extract the first word of "cc", so it can be a program name with args.
25922862 set dummy cc; ac_word=$2
2593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25942864 $as_echo_n "checking for $ac_word... " >&6; }
2595 if test "${ac_cv_prog_CC+set}" = set; then
2865 if ${ac_cv_prog_CC+:} false; then :
25962866 $as_echo_n "(cached) " >&6
25972867 else
25982868 if test -n "$CC"; then
26042874 do
26052875 IFS=$as_save_IFS
26062876 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26092879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
26102880 ac_prog_rejected=yes
26112881 continue
26122882 fi
26132883 ac_cv_prog_CC="cc"
2614 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26152885 break 2
26162886 fi
26172887 done
2618 done
2888 done
26192889 IFS=$as_save_IFS
26202890
26212891 if test $ac_prog_rejected = yes; then
26342904 fi
26352905 CC=$ac_cv_prog_CC
26362906 if test -n "$CC"; then
2637 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
26382908 $as_echo "$CC" >&6; }
26392909 else
2640 { $as_echo "$as_me:$LINENO: result: no" >&5
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26412911 $as_echo "no" >&6; }
26422912 fi
26432913
26492919 do
26502920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
26512921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2652 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26532923 $as_echo_n "checking for $ac_word... " >&6; }
2654 if test "${ac_cv_prog_CC+set}" = set; then
2924 if ${ac_cv_prog_CC+:} false; then :
26552925 $as_echo_n "(cached) " >&6
26562926 else
26572927 if test -n "$CC"; then
26622932 do
26632933 IFS=$as_save_IFS
26642934 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26672937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2668 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26692939 break 2
26702940 fi
26712941 done
2672 done
2942 done
26732943 IFS=$as_save_IFS
26742944
26752945 fi
26762946 fi
26772947 CC=$ac_cv_prog_CC
26782948 if test -n "$CC"; then
2679 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
26802950 $as_echo "$CC" >&6; }
26812951 else
2682 { $as_echo "$as_me:$LINENO: result: no" >&5
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26832953 $as_echo "no" >&6; }
26842954 fi
26852955
26932963 do
26942964 # Extract the first word of "$ac_prog", so it can be a program name with args.
26952965 set dummy $ac_prog; ac_word=$2
2696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26972967 $as_echo_n "checking for $ac_word... " >&6; }
2698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
26992969 $as_echo_n "(cached) " >&6
27002970 else
27012971 if test -n "$ac_ct_CC"; then
27062976 do
27072977 IFS=$as_save_IFS
27082978 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
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27112981 ac_cv_prog_ac_ct_CC="$ac_prog"
2712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27132983 break 2
27142984 fi
27152985 done
2716 done
2986 done
27172987 IFS=$as_save_IFS
27182988
27192989 fi
27202990 fi
27212991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
27222992 if test -n "$ac_ct_CC"; then
2723 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
27242994 $as_echo "$ac_ct_CC" >&6; }
27252995 else
2726 { $as_echo "$as_me:$LINENO: result: no" >&5
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27272997 $as_echo "no" >&6; }
27282998 fi
27292999
27363006 else
27373007 case $cross_compiling:$ac_tool_warned in
27383008 yes:)
2739 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27403010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27413011 ac_tool_warned=yes ;;
27423012 esac
27473017 fi
27483018
27493019
2750 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27513021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2752 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2753 See \`config.log' for more details." >&5
2754 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2755 See \`config.log' for more details." >&2;}
2756 { (exit 1); exit 1; }; }; }
3022 as_fn_error $? "no acceptable C compiler found in \$PATH
3023 See \`config.log' for more details" "$LINENO" 5; }
27573024
27583025 # Provide some information about the compiler.
2759 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
27603027 set X $ac_compile
27613028 ac_compiler=$2
2762 { (ac_try="$ac_compiler --version >&5"
3029 for ac_option in --version -v -V -qversion; do
3030 { { ac_try="$ac_compiler $ac_option >&5"
27633031 case "(($ac_try" in
27643032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27653033 *) ac_try_echo=$ac_try;;
27663034 esac
2767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2768 $as_echo "$ac_try_echo") >&5
2769 (eval "$ac_compiler --version >&5") 2>&5
3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
27703038 ac_status=$?
2771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }
2773 { (ac_try="$ac_compiler -v >&5"
2774 case "(($ac_try" in
2775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2777 esac
2778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2779 $as_echo "$ac_try_echo") >&5
2780 (eval "$ac_compiler -v >&5") 2>&5
2781 ac_status=$?
2782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }
2784 { (ac_try="$ac_compiler -V >&5"
2785 case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2790 $as_echo "$ac_try_echo") >&5
2791 (eval "$ac_compiler -V >&5") 2>&5
2792 ac_status=$?
2793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }
2795
2796 cat >conftest.$ac_ext <<_ACEOF
2797 /* confdefs.h. */
2798 _ACEOF
2799 cat confdefs.h >>conftest.$ac_ext
2800 cat >>conftest.$ac_ext <<_ACEOF
3039 if test -s conftest.err; then
3040 sed '10a\
3041 ... rest of stderr output deleted ...
3042 10q' conftest.err >conftest.er1
3043 cat conftest.er1 >&5
3044 fi
3045 rm -f conftest.er1 conftest.err
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }
3048 done
3049
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013051 /* end confdefs.h. */
28023052
28033053 int
28133063 # Try to create an executable without -o first, disregard a.out.
28143064 # It will help us diagnose broken compilers, and finding out an intuition
28153065 # of exeext.
2816 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2817 $as_echo_n "checking for C compiler default output file name... " >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3067 $as_echo_n "checking whether the C compiler works... " >&6; }
28183068 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
28193069
28203070 # The possible output files:
28303080 done
28313081 rm -f $ac_rmfiles
28323082
2833 if { (ac_try="$ac_link_default"
3083 if { { ac_try="$ac_link_default"
28343084 case "(($ac_try" in
28353085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28363086 *) ac_try_echo=$ac_try;;
28373087 esac
2838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2839 $as_echo "$ac_try_echo") >&5
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
28403090 (eval "$ac_link_default") 2>&5
28413091 ac_status=$?
2842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; then
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }; then :
28443094 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
28453095 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
28463096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
28573107 # certainly right.
28583108 break;;
28593109 *.* )
2860 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3110 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
28613111 then :; else
28623112 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28633113 fi
28763126 else
28773127 ac_file=''
28783128 fi
2879
2880 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3129 if test -z "$ac_file"; then :
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3134
3135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 as_fn_error 77 "C compiler cannot create executables
3138 See \`config.log' for more details" "$LINENO" 5; }
3139 else
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3141 $as_echo "yes" >&6; }
3142 fi
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3144 $as_echo_n "checking for C compiler default output file name... " >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
28813146 $as_echo "$ac_file" >&6; }
2882 if test -z "$ac_file"; then
2883 $as_echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2885
2886 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2888 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2889 See \`config.log' for more details." >&5
2890 $as_echo "$as_me: error: C compiler cannot create executables
2891 See \`config.log' for more details." >&2;}
2892 { (exit 77); exit 77; }; }; }
2893 fi
2894
28953147 ac_exeext=$ac_cv_exeext
2896
2897 # Check that the compiler produces executables we can run. If not, either
2898 # the compiler is broken, or we cross compile.
2899 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2900 $as_echo_n "checking whether the C compiler works... " >&6; }
2901 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2902 # If not cross compiling, check that we can run a simple program.
2903 if test "$cross_compiling" != yes; then
2904 if { ac_try='./$ac_file'
2905 { (case "(($ac_try" in
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2908 esac
2909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2910 $as_echo "$ac_try_echo") >&5
2911 (eval "$ac_try") 2>&5
2912 ac_status=$?
2913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; }; then
2915 cross_compiling=no
2916 else
2917 if test "$cross_compiling" = maybe; then
2918 cross_compiling=yes
2919 else
2920 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2922 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2923 If you meant to cross compile, use \`--host'.
2924 See \`config.log' for more details." >&5
2925 $as_echo "$as_me: error: cannot run C compiled programs.
2926 If you meant to cross compile, use \`--host'.
2927 See \`config.log' for more details." >&2;}
2928 { (exit 1); exit 1; }; }; }
2929 fi
2930 fi
2931 fi
2932 { $as_echo "$as_me:$LINENO: result: yes" >&5
2933 $as_echo "yes" >&6; }
29343148
29353149 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
29363150 ac_clean_files=$ac_clean_files_save
2937 # Check that the compiler produces executables we can run. If not, either
2938 # the compiler is broken, or we cross compile.
2939 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2940 $as_echo_n "checking whether we are cross compiling... " >&6; }
2941 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2942 $as_echo "$cross_compiling" >&6; }
2943
2944 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
29453152 $as_echo_n "checking for suffix of executables... " >&6; }
2946 if { (ac_try="$ac_link"
3153 if { { ac_try="$ac_link"
29473154 case "(($ac_try" in
29483155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29493156 *) ac_try_echo=$ac_try;;
29503157 esac
2951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2952 $as_echo "$ac_try_echo") >&5
3158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159 $as_echo "$ac_try_echo"; } >&5
29533160 (eval "$ac_link") 2>&5
29543161 ac_status=$?
2955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; then
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; }; then :
29573164 # If both `conftest.exe' and `conftest' are `present' (well, observable)
29583165 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
29593166 # work properly (i.e., refer to `conftest.exe'), while it won't with
29683175 esac
29693176 done
29703177 else
2971 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29723179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2973 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2974 See \`config.log' for more details." >&5
2975 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details." >&2;}
2977 { (exit 1); exit 1; }; }; }
2978 fi
2979
2980 rm -f conftest$ac_cv_exeext
2981 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3180 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3181 See \`config.log' for more details" "$LINENO" 5; }
3182 fi
3183 rm -f conftest conftest$ac_cv_exeext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
29823185 $as_echo "$ac_cv_exeext" >&6; }
29833186
29843187 rm -f conftest.$ac_ext
29853188 EXEEXT=$ac_cv_exeext
29863189 ac_exeext=$EXEEXT
2987 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2988 $as_echo_n "checking for suffix of object files... " >&6; }
2989 if test "${ac_cv_objext+set}" = set; then
2990 $as_echo_n "(cached) " >&6
2991 else
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29973191 /* end confdefs.h. */
2998
3192 #include <stdio.h>
29993193 int
30003194 main ()
30013195 {
3196 FILE *f = fopen ("conftest.out", "w");
3197 return ferror (f) || fclose (f) != 0;
30023198
30033199 ;
30043200 return 0;
30053201 }
30063202 _ACEOF
3007 rm -f conftest.o conftest.obj
3008 if { (ac_try="$ac_compile"
3203 ac_clean_files="$ac_clean_files conftest.out"
3204 # Check that the compiler produces executables we can run. If not, either
3205 # the compiler is broken, or we cross compile.
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3207 $as_echo_n "checking whether we are cross compiling... " >&6; }
3208 if test "$cross_compiling" != yes; then
3209 { { ac_try="$ac_link"
30093210 case "(($ac_try" in
30103211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30113212 *) ac_try_echo=$ac_try;;
30123213 esac
3013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3014 $as_echo "$ac_try_echo") >&5
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_link") 2>&5
3217 ac_status=$?
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }
3220 if { ac_try='./conftest$ac_cv_exeext'
3221 { { case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224 esac
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_try") 2>&5
3228 ac_status=$?
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; }; then
3231 cross_compiling=no
3232 else
3233 if test "$cross_compiling" = maybe; then
3234 cross_compiling=yes
3235 else
3236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3238 as_fn_error $? "cannot run C compiled programs.
3239 If you meant to cross compile, use \`--host'.
3240 See \`config.log' for more details" "$LINENO" 5; }
3241 fi
3242 fi
3243 fi
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3245 $as_echo "$cross_compiling" >&6; }
3246
3247 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3248 ac_clean_files=$ac_clean_files_save
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3250 $as_echo_n "checking for suffix of object files... " >&6; }
3251 if ${ac_cv_objext+:} false; then :
3252 $as_echo_n "(cached) " >&6
3253 else
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h. */
3256
3257 int
3258 main ()
3259 {
3260
3261 ;
3262 return 0;
3263 }
3264 _ACEOF
3265 rm -f conftest.o conftest.obj
3266 if { { ac_try="$ac_compile"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
30153273 (eval "$ac_compile") 2>&5
30163274 ac_status=$?
3017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; then
3275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3276 test $ac_status = 0; }; then :
30193277 for ac_file in conftest.o conftest.obj conftest.*; do
30203278 test -f "$ac_file" || continue;
30213279 case $ac_file in
30283286 $as_echo "$as_me: failed program was:" >&5
30293287 sed 's/^/| /' conftest.$ac_ext >&5
30303288
3031 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30323290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3034 See \`config.log' for more details." >&5
3035 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3036 See \`config.log' for more details." >&2;}
3037 { (exit 1); exit 1; }; }; }
3038 fi
3039
3291 as_fn_error $? "cannot compute suffix of object files: cannot compile
3292 See \`config.log' for more details" "$LINENO" 5; }
3293 fi
30403294 rm -f conftest.$ac_cv_objext conftest.$ac_ext
30413295 fi
3042 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
30433297 $as_echo "$ac_cv_objext" >&6; }
30443298 OBJEXT=$ac_cv_objext
30453299 ac_objext=$OBJEXT
3046 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
30473301 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3302 if ${ac_cv_c_compiler_gnu+:} false; then :
30493303 $as_echo_n "(cached) " >&6
30503304 else
3051 cat >conftest.$ac_ext <<_ACEOF
3052 /* confdefs.h. */
3053 _ACEOF
3054 cat confdefs.h >>conftest.$ac_ext
3055 cat >>conftest.$ac_ext <<_ACEOF
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30563306 /* end confdefs.h. */
30573307
30583308 int
30663316 return 0;
30673317 }
30683318 _ACEOF
3069 rm -f conftest.$ac_objext
3070 if { (ac_try="$ac_compile"
3071 case "(($ac_try" in
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3074 esac
3075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3076 $as_echo "$ac_try_echo") >&5
3077 (eval "$ac_compile") 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } && {
3084 test -z "$ac_c_werror_flag" ||
3085 test ! -s conftest.err
3086 } && test -s conftest.$ac_objext; then
3319 if ac_fn_c_try_compile "$LINENO"; then :
30873320 ac_compiler_gnu=yes
30883321 else
3089 $as_echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3091
3092 ac_compiler_gnu=no
3093 fi
3094
3322 ac_compiler_gnu=no
3323 fi
30953324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30963325 ac_cv_c_compiler_gnu=$ac_compiler_gnu
30973326
30983327 fi
3099 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
31003329 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
31013330 if test $ac_compiler_gnu = yes; then
31023331 GCC=yes
31053334 fi
31063335 ac_test_CFLAGS=${CFLAGS+set}
31073336 ac_save_CFLAGS=$CFLAGS
3108 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
31093338 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3110 if test "${ac_cv_prog_cc_g+set}" = set; then
3339 if ${ac_cv_prog_cc_g+:} false; then :
31113340 $as_echo_n "(cached) " >&6
31123341 else
31133342 ac_save_c_werror_flag=$ac_c_werror_flag
31143343 ac_c_werror_flag=yes
31153344 ac_cv_prog_cc_g=no
31163345 CFLAGS="-g"
3117 cat >conftest.$ac_ext <<_ACEOF
3118 /* confdefs.h. */
3119 _ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31223347 /* end confdefs.h. */
31233348
31243349 int
31293354 return 0;
31303355 }
31313356 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3134 case "(($ac_try" in
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3137 esac
3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3139 $as_echo "$ac_try_echo") >&5
3140 (eval "$ac_compile") 2>conftest.er1
3141 ac_status=$?
3142 grep -v '^ *+' conftest.er1 >conftest.err
3143 rm -f conftest.er1
3144 cat conftest.err >&5
3145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); } && {
3147 test -z "$ac_c_werror_flag" ||
3148 test ! -s conftest.err
3149 } && test -s conftest.$ac_objext; then
3357 if ac_fn_c_try_compile "$LINENO"; then :
31503358 ac_cv_prog_cc_g=yes
31513359 else
3152 $as_echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3154
3155 CFLAGS=""
3156 cat >conftest.$ac_ext <<_ACEOF
3157 /* confdefs.h. */
3158 _ACEOF
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3360 CFLAGS=""
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613362 /* end confdefs.h. */
31623363
31633364 int
31683369 return 0;
31693370 }
31703371 _ACEOF
3171 rm -f conftest.$ac_objext
3172 if { (ac_try="$ac_compile"
3173 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3176 esac
3177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3178 $as_echo "$ac_try_echo") >&5
3179 (eval "$ac_compile") 2>conftest.er1
3180 ac_status=$?
3181 grep -v '^ *+' conftest.er1 >conftest.err
3182 rm -f conftest.er1
3183 cat conftest.err >&5
3184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); } && {
3186 test -z "$ac_c_werror_flag" ||
3187 test ! -s conftest.err
3188 } && test -s conftest.$ac_objext; then
3189 :
3190 else
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3193
3194 ac_c_werror_flag=$ac_save_c_werror_flag
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373
3374 else
3375 ac_c_werror_flag=$ac_save_c_werror_flag
31953376 CFLAGS="-g"
3196 cat >conftest.$ac_ext <<_ACEOF
3197 /* confdefs.h. */
3198 _ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32013378 /* end confdefs.h. */
32023379
32033380 int
32083385 return 0;
32093386 }
32103387 _ACEOF
3211 rm -f conftest.$ac_objext
3212 if { (ac_try="$ac_compile"
3213 case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3216 esac
3217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3218 $as_echo "$ac_try_echo") >&5
3219 (eval "$ac_compile") 2>conftest.er1
3220 ac_status=$?
3221 grep -v '^ *+' conftest.er1 >conftest.err
3222 rm -f conftest.er1
3223 cat conftest.err >&5
3224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); } && {
3226 test -z "$ac_c_werror_flag" ||
3227 test ! -s conftest.err
3228 } && test -s conftest.$ac_objext; then
3388 if ac_fn_c_try_compile "$LINENO"; then :
32293389 ac_cv_prog_cc_g=yes
3230 else
3231 $as_echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3233
3234
3235 fi
3236
3390 fi
32373391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32383392 fi
3239
32403393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32413394 fi
3242
32433395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32443396 ac_c_werror_flag=$ac_save_c_werror_flag
32453397 fi
3246 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
32473399 $as_echo "$ac_cv_prog_cc_g" >&6; }
32483400 if test "$ac_test_CFLAGS" = set; then
32493401 CFLAGS=$ac_save_CFLAGS
32603412 CFLAGS=
32613413 fi
32623414 fi
3263 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
32643416 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3265 if test "${ac_cv_prog_cc_c89+set}" = set; then
3417 if ${ac_cv_prog_cc_c89+:} false; then :
32663418 $as_echo_n "(cached) " >&6
32673419 else
32683420 ac_cv_prog_cc_c89=no
32693421 ac_save_CC=$CC
3270 cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h. */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32753423 /* end confdefs.h. */
32763424 #include <stdarg.h>
32773425 #include <stdio.h>
3278 #include <sys/types.h>
3279 #include <sys/stat.h>
3426 struct stat;
32803427 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
32813428 struct buf { int x; };
32823429 FILE * (*rcsopen) (struct buf *, struct stat *, int);
33283475 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
33293476 do
33303477 CC="$ac_save_CC $ac_arg"
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3333 case "(($ac_try" in
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3336 esac
3337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3338 $as_echo "$ac_try_echo") >&5
3339 (eval "$ac_compile") 2>conftest.er1
3340 ac_status=$?
3341 grep -v '^ *+' conftest.er1 >conftest.err
3342 rm -f conftest.er1
3343 cat conftest.err >&5
3344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } && {
3346 test -z "$ac_c_werror_flag" ||
3347 test ! -s conftest.err
3348 } && test -s conftest.$ac_objext; then
3478 if ac_fn_c_try_compile "$LINENO"; then :
33493479 ac_cv_prog_cc_c89=$ac_arg
3350 else
3351 $as_echo "$as_me: failed program was:" >&5
3352 sed 's/^/| /' conftest.$ac_ext >&5
3353
3354
3355 fi
3356
3480 fi
33573481 rm -f core conftest.err conftest.$ac_objext
33583482 test "x$ac_cv_prog_cc_c89" != "xno" && break
33593483 done
33643488 # AC_CACHE_VAL
33653489 case "x$ac_cv_prog_cc_c89" in
33663490 x)
3367 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
33683492 $as_echo "none needed" >&6; } ;;
33693493 xno)
3370 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
33713495 $as_echo "unsupported" >&6; } ;;
33723496 *)
33733497 CC="$CC $ac_cv_prog_cc_c89"
3374 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
33753499 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
33763500 esac
3377
3501 if test "x$ac_cv_prog_cc_c89" != xno; then :
3502
3503 fi
33783504
33793505 ac_ext=c
33803506 ac_cpp='$CPP $CPPFLAGS'
33933519 .PHONY: am__doit
33943520 END
33953521 # If we don't find an include directive, just comment out the code.
3396 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
33973523 $as_echo_n "checking for style of include used by $am_make... " >&6; }
33983524 am__include="#"
33993525 am__quote=
34213547 fi
34223548
34233549
3424 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
34253551 $as_echo "$_am_result" >&6; }
34263552 rm -f confinc confmf
34273553
34283554 # Check whether --enable-dependency-tracking was given.
3429 if test "${enable_dependency_tracking+set}" = set; then
3555 if test "${enable_dependency_tracking+set}" = set; then :
34303556 enableval=$enable_dependency_tracking;
34313557 fi
34323558
34493575
34503576 depcc="$CC" am_compiler_list=
34513577
3452 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
34533579 $as_echo_n "checking dependency style of $depcc... " >&6; }
3454 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3580 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
34553581 $as_echo_n "(cached) " >&6
34563582 else
34573583 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
35393665 fi
35403666
35413667 fi
3542 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
35433669 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
35443670 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
35453671
35703696 do
35713697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
35723698 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35743700 $as_echo_n "checking for $ac_word... " >&6; }
3575 if test "${ac_cv_prog_CXX+set}" = set; then
3701 if ${ac_cv_prog_CXX+:} false; then :
35763702 $as_echo_n "(cached) " >&6
35773703 else
35783704 if test -n "$CXX"; then
35833709 do
35843710 IFS=$as_save_IFS
35853711 test -z "$as_dir" && as_dir=.
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35883714 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35903716 break 2
35913717 fi
35923718 done
3593 done
3719 done
35943720 IFS=$as_save_IFS
35953721
35963722 fi
35973723 fi
35983724 CXX=$ac_cv_prog_CXX
35993725 if test -n "$CXX"; then
3600 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
36013727 $as_echo "$CXX" >&6; }
36023728 else
3603 { $as_echo "$as_me:$LINENO: result: no" >&5
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36043730 $as_echo "no" >&6; }
36053731 fi
36063732
36143740 do
36153741 # Extract the first word of "$ac_prog", so it can be a program name with args.
36163742 set dummy $ac_prog; ac_word=$2
3617 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36183744 $as_echo_n "checking for $ac_word... " >&6; }
3619 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3745 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
36203746 $as_echo_n "(cached) " >&6
36213747 else
36223748 if test -n "$ac_ct_CXX"; then
36273753 do
36283754 IFS=$as_save_IFS
36293755 test -z "$as_dir" && as_dir=.
3630 for ac_exec_ext in '' $ac_executable_extensions; do
3631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36323758 ac_cv_prog_ac_ct_CXX="$ac_prog"
3633 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36343760 break 2
36353761 fi
36363762 done
3637 done
3763 done
36383764 IFS=$as_save_IFS
36393765
36403766 fi
36413767 fi
36423768 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
36433769 if test -n "$ac_ct_CXX"; then
3644 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
36453771 $as_echo "$ac_ct_CXX" >&6; }
36463772 else
3647 { $as_echo "$as_me:$LINENO: result: no" >&5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36483774 $as_echo "no" >&6; }
36493775 fi
36503776
36573783 else
36583784 case $cross_compiling:$ac_tool_warned in
36593785 yes:)
3660 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
36613787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
36623788 ac_tool_warned=yes ;;
36633789 esac
36683794 fi
36693795 fi
36703796 # Provide some information about the compiler.
3671 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
36723798 set X $ac_compile
36733799 ac_compiler=$2
3674 { (ac_try="$ac_compiler --version >&5"
3800 for ac_option in --version -v -V -qversion; do
3801 { { ac_try="$ac_compiler $ac_option >&5"
36753802 case "(($ac_try" in
36763803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36773804 *) ac_try_echo=$ac_try;;
36783805 esac
3679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3680 $as_echo "$ac_try_echo") >&5
3681 (eval "$ac_compiler --version >&5") 2>&5
3806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3807 $as_echo "$ac_try_echo"; } >&5
3808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
36823809 ac_status=$?
3683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }
3685 { (ac_try="$ac_compiler -v >&5"
3686 case "(($ac_try" in
3687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688 *) ac_try_echo=$ac_try;;
3689 esac
3690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3691 $as_echo "$ac_try_echo") >&5
3692 (eval "$ac_compiler -v >&5") 2>&5
3693 ac_status=$?
3694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695 (exit $ac_status); }
3696 { (ac_try="$ac_compiler -V >&5"
3697 case "(($ac_try" in
3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3700 esac
3701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3702 $as_echo "$ac_try_echo") >&5
3703 (eval "$ac_compiler -V >&5") 2>&5
3704 ac_status=$?
3705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }
3707
3708 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3810 if test -s conftest.err; then
3811 sed '10a\
3812 ... rest of stderr output deleted ...
3813 10q' conftest.err >conftest.er1
3814 cat conftest.er1 >&5
3815 fi
3816 rm -f conftest.er1 conftest.err
3817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818 test $ac_status = 0; }
3819 done
3820
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
37093822 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3710 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3823 if ${ac_cv_cxx_compiler_gnu+:} false; then :
37113824 $as_echo_n "(cached) " >&6
37123825 else
3713 cat >conftest.$ac_ext <<_ACEOF
3714 /* confdefs.h. */
3715 _ACEOF
3716 cat confdefs.h >>conftest.$ac_ext
3717 cat >>conftest.$ac_ext <<_ACEOF
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37183827 /* end confdefs.h. */
37193828
37203829 int
37283837 return 0;
37293838 }
37303839 _ACEOF
3731 rm -f conftest.$ac_objext
3732 if { (ac_try="$ac_compile"
3733 case "(($ac_try" in
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3736 esac
3737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3738 $as_echo "$ac_try_echo") >&5
3739 (eval "$ac_compile") 2>conftest.er1
3740 ac_status=$?
3741 grep -v '^ *+' conftest.er1 >conftest.err
3742 rm -f conftest.er1
3743 cat conftest.err >&5
3744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } && {
3746 test -z "$ac_cxx_werror_flag" ||
3747 test ! -s conftest.err
3748 } && test -s conftest.$ac_objext; then
3840 if ac_fn_cxx_try_compile "$LINENO"; then :
37493841 ac_compiler_gnu=yes
37503842 else
3751 $as_echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3753
3754 ac_compiler_gnu=no
3755 fi
3756
3843 ac_compiler_gnu=no
3844 fi
37573845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37583846 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
37593847
37603848 fi
3761 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
37623850 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
37633851 if test $ac_compiler_gnu = yes; then
37643852 GXX=yes
37673855 fi
37683856 ac_test_CXXFLAGS=${CXXFLAGS+set}
37693857 ac_save_CXXFLAGS=$CXXFLAGS
3770 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
37713859 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3772 if test "${ac_cv_prog_cxx_g+set}" = set; then
3860 if ${ac_cv_prog_cxx_g+:} false; then :
37733861 $as_echo_n "(cached) " >&6
37743862 else
37753863 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
37763864 ac_cxx_werror_flag=yes
37773865 ac_cv_prog_cxx_g=no
37783866 CXXFLAGS="-g"
3779 cat >conftest.$ac_ext <<_ACEOF
3780 /* confdefs.h. */
3781 _ACEOF
3782 cat confdefs.h >>conftest.$ac_ext
3783 cat >>conftest.$ac_ext <<_ACEOF
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37843868 /* end confdefs.h. */
37853869
37863870 int
37913875 return 0;
37923876 }
37933877 _ACEOF
3794 rm -f conftest.$ac_objext
3795 if { (ac_try="$ac_compile"
3796 case "(($ac_try" in
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3799 esac
3800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3801 $as_echo "$ac_try_echo") >&5
3802 (eval "$ac_compile") 2>conftest.er1
3803 ac_status=$?
3804 grep -v '^ *+' conftest.er1 >conftest.err
3805 rm -f conftest.er1
3806 cat conftest.err >&5
3807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } && {
3809 test -z "$ac_cxx_werror_flag" ||
3810 test ! -s conftest.err
3811 } && test -s conftest.$ac_objext; then
3878 if ac_fn_cxx_try_compile "$LINENO"; then :
38123879 ac_cv_prog_cxx_g=yes
38133880 else
3814 $as_echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3816
3817 CXXFLAGS=""
3818 cat >conftest.$ac_ext <<_ACEOF
3819 /* confdefs.h. */
3820 _ACEOF
3821 cat confdefs.h >>conftest.$ac_ext
3822 cat >>conftest.$ac_ext <<_ACEOF
3881 CXXFLAGS=""
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38233883 /* end confdefs.h. */
38243884
38253885 int
38303890 return 0;
38313891 }
38323892 _ACEOF
3833 rm -f conftest.$ac_objext
3834 if { (ac_try="$ac_compile"
3835 case "(($ac_try" in
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3838 esac
3839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3840 $as_echo "$ac_try_echo") >&5
3841 (eval "$ac_compile") 2>conftest.er1
3842 ac_status=$?
3843 grep -v '^ *+' conftest.er1 >conftest.err
3844 rm -f conftest.er1
3845 cat conftest.err >&5
3846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); } && {
3848 test -z "$ac_cxx_werror_flag" ||
3849 test ! -s conftest.err
3850 } && test -s conftest.$ac_objext; then
3851 :
3852 else
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3855
3856 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3893 if ac_fn_cxx_try_compile "$LINENO"; then :
3894
3895 else
3896 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38573897 CXXFLAGS="-g"
3858 cat >conftest.$ac_ext <<_ACEOF
3859 /* confdefs.h. */
3860 _ACEOF
3861 cat confdefs.h >>conftest.$ac_ext
3862 cat >>conftest.$ac_ext <<_ACEOF
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38633899 /* end confdefs.h. */
38643900
38653901 int
38703906 return 0;
38713907 }
38723908 _ACEOF
3873 rm -f conftest.$ac_objext
3874 if { (ac_try="$ac_compile"
3875 case "(($ac_try" in
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3878 esac
3879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3880 $as_echo "$ac_try_echo") >&5
3881 (eval "$ac_compile") 2>conftest.er1
3882 ac_status=$?
3883 grep -v '^ *+' conftest.er1 >conftest.err
3884 rm -f conftest.er1
3885 cat conftest.err >&5
3886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } && {
3888 test -z "$ac_cxx_werror_flag" ||
3889 test ! -s conftest.err
3890 } && test -s conftest.$ac_objext; then
3909 if ac_fn_cxx_try_compile "$LINENO"; then :
38913910 ac_cv_prog_cxx_g=yes
3892 else
3893 $as_echo "$as_me: failed program was:" >&5
3894 sed 's/^/| /' conftest.$ac_ext >&5
3895
3896
3897 fi
3898
3911 fi
38993912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39003913 fi
3901
39023914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39033915 fi
3904
39053916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39063917 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
39073918 fi
3908 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
39093920 $as_echo "$ac_cv_prog_cxx_g" >&6; }
39103921 if test "$ac_test_CXXFLAGS" = set; then
39113922 CXXFLAGS=$ac_save_CXXFLAGS
39303941
39313942 depcc="$CXX" am_compiler_list=
39323943
3933 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
39343945 $as_echo_n "checking dependency style of $depcc... " >&6; }
3935 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3946 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
39363947 $as_echo_n "(cached) " >&6
39373948 else
39383949 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
40204031 fi
40214032
40224033 fi
4023 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
40244035 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
40254036 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
40264037
40414052 if test -n "$ac_tool_prefix"; then
40424053 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40434054 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4044 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40454056 $as_echo_n "checking for $ac_word... " >&6; }
4046 if test "${ac_cv_prog_RANLIB+set}" = set; then
4057 if ${ac_cv_prog_RANLIB+:} false; then :
40474058 $as_echo_n "(cached) " >&6
40484059 else
40494060 if test -n "$RANLIB"; then
40544065 do
40554066 IFS=$as_save_IFS
40564067 test -z "$as_dir" && as_dir=.
4057 for ac_exec_ext in '' $ac_executable_extensions; do
4058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40594070 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4060 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40614072 break 2
40624073 fi
40634074 done
4064 done
4075 done
40654076 IFS=$as_save_IFS
40664077
40674078 fi
40684079 fi
40694080 RANLIB=$ac_cv_prog_RANLIB
40704081 if test -n "$RANLIB"; then
4071 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
40724083 $as_echo "$RANLIB" >&6; }
40734084 else
4074 { $as_echo "$as_me:$LINENO: result: no" >&5
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40754086 $as_echo "no" >&6; }
40764087 fi
40774088
40814092 ac_ct_RANLIB=$RANLIB
40824093 # Extract the first word of "ranlib", so it can be a program name with args.
40834094 set dummy ranlib; ac_word=$2
4084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40854096 $as_echo_n "checking for $ac_word... " >&6; }
4086 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4097 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
40874098 $as_echo_n "(cached) " >&6
40884099 else
40894100 if test -n "$ac_ct_RANLIB"; then
40944105 do
40954106 IFS=$as_save_IFS
40964107 test -z "$as_dir" && as_dir=.
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40994110 ac_cv_prog_ac_ct_RANLIB="ranlib"
4100 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41014112 break 2
41024113 fi
41034114 done
4104 done
4115 done
41054116 IFS=$as_save_IFS
41064117
41074118 fi
41084119 fi
41094120 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41104121 if test -n "$ac_ct_RANLIB"; then
4111 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
41124123 $as_echo "$ac_ct_RANLIB" >&6; }
41134124 else
4114 { $as_echo "$as_me:$LINENO: result: no" >&5
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41154126 $as_echo "no" >&6; }
41164127 fi
41174128
41204131 else
41214132 case $cross_compiling:$ac_tool_warned in
41224133 yes:)
4123 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
41244135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
41254136 ac_tool_warned=yes ;;
41264137 esac
41374148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
41414152 $as_echo_n "checking how to run the C preprocessor... " >&6; }
41424153 # On Suns, sometimes $CPP names a directory.
41434154 if test -n "$CPP" && test -d "$CPP"; then
41444155 CPP=
41454156 fi
41464157 if test -z "$CPP"; then
4147 if test "${ac_cv_prog_CPP+set}" = set; then
4158 if ${ac_cv_prog_CPP+:} false; then :
41484159 $as_echo_n "(cached) " >&6
41494160 else
41504161 # Double quotes because CPP needs to be expanded
41594170 # <limits.h> exists even on freestanding compilers.
41604171 # On the NeXT, cc -E runs the code through the compiler's parser,
41614172 # not just through cpp. "Syntax error" is here to catch this case.
4162 cat >conftest.$ac_ext <<_ACEOF
4163 /* confdefs.h. */
4164 _ACEOF
4165 cat confdefs.h >>conftest.$ac_ext
4166 cat >>conftest.$ac_ext <<_ACEOF
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41674174 /* end confdefs.h. */
41684175 #ifdef __STDC__
41694176 # include <limits.h>
41724179 #endif
41734180 Syntax error
41744181 _ACEOF
4175 if { (ac_try="$ac_cpp conftest.$ac_ext"
4176 case "(($ac_try" in
4177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178 *) ac_try_echo=$ac_try;;
4179 esac
4180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4181 $as_echo "$ac_try_echo") >&5
4182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4183 ac_status=$?
4184 grep -v '^ *+' conftest.er1 >conftest.err
4185 rm -f conftest.er1
4186 cat conftest.err >&5
4187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } >/dev/null && {
4189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4190 test ! -s conftest.err
4191 }; then
4192 :
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4196
4182 if ac_fn_c_try_cpp "$LINENO"; then :
4183
4184 else
41974185 # Broken: fails on valid input.
41984186 continue
41994187 fi
4200
4201 rm -f conftest.err conftest.$ac_ext
4188 rm -f conftest.err conftest.i conftest.$ac_ext
42024189
42034190 # OK, works on sane cases. Now check whether nonexistent headers
42044191 # can be detected and how.
4205 cat >conftest.$ac_ext <<_ACEOF
4206 /* confdefs.h. */
4207 _ACEOF
4208 cat confdefs.h >>conftest.$ac_ext
4209 cat >>conftest.$ac_ext <<_ACEOF
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42104193 /* end confdefs.h. */
42114194 #include <ac_nonexistent.h>
42124195 _ACEOF
4213 if { (ac_try="$ac_cpp conftest.$ac_ext"
4214 case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4219 $as_echo "$ac_try_echo") >&5
4220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4221 ac_status=$?
4222 grep -v '^ *+' conftest.er1 >conftest.err
4223 rm -f conftest.er1
4224 cat conftest.err >&5
4225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } >/dev/null && {
4227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4228 test ! -s conftest.err
4229 }; then
4196 if ac_fn_c_try_cpp "$LINENO"; then :
42304197 # Broken: success on invalid input.
42314198 continue
42324199 else
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4235
42364200 # Passes both tests.
42374201 ac_preproc_ok=:
42384202 break
42394203 fi
4240
4241 rm -f conftest.err conftest.$ac_ext
4204 rm -f conftest.err conftest.i conftest.$ac_ext
42424205
42434206 done
42444207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4245 rm -f conftest.err conftest.$ac_ext
4246 if $ac_preproc_ok; then
4208 rm -f conftest.i conftest.err conftest.$ac_ext
4209 if $ac_preproc_ok; then :
42474210 break
42484211 fi
42494212
42554218 else
42564219 ac_cv_prog_CPP=$CPP
42574220 fi
4258 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
42594222 $as_echo "$CPP" >&6; }
42604223 ac_preproc_ok=false
42614224 for ac_c_preproc_warn_flag in '' yes
42664229 # <limits.h> exists even on freestanding compilers.
42674230 # On the NeXT, cc -E runs the code through the compiler's parser,
42684231 # not just through cpp. "Syntax error" is here to catch this case.
4269 cat >conftest.$ac_ext <<_ACEOF
4270 /* confdefs.h. */
4271 _ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42744233 /* end confdefs.h. */
42754234 #ifdef __STDC__
42764235 # include <limits.h>
42794238 #endif
42804239 Syntax error
42814240 _ACEOF
4282 if { (ac_try="$ac_cpp conftest.$ac_ext"
4283 case "(($ac_try" in
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4286 esac
4287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4288 $as_echo "$ac_try_echo") >&5
4289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4290 ac_status=$?
4291 grep -v '^ *+' conftest.er1 >conftest.err
4292 rm -f conftest.er1
4293 cat conftest.err >&5
4294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } >/dev/null && {
4296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4297 test ! -s conftest.err
4298 }; then
4299 :
4300 else
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4303
4241 if ac_fn_c_try_cpp "$LINENO"; then :
4242
4243 else
43044244 # Broken: fails on valid input.
43054245 continue
43064246 fi
4307
4308 rm -f conftest.err conftest.$ac_ext
4247 rm -f conftest.err conftest.i conftest.$ac_ext
43094248
43104249 # OK, works on sane cases. Now check whether nonexistent headers
43114250 # can be detected and how.
4312 cat >conftest.$ac_ext <<_ACEOF
4313 /* confdefs.h. */
4314 _ACEOF
4315 cat confdefs.h >>conftest.$ac_ext
4316 cat >>conftest.$ac_ext <<_ACEOF
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43174252 /* end confdefs.h. */
43184253 #include <ac_nonexistent.h>
43194254 _ACEOF
4320 if { (ac_try="$ac_cpp conftest.$ac_ext"
4321 case "(($ac_try" in
4322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4323 *) ac_try_echo=$ac_try;;
4324 esac
4325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4326 $as_echo "$ac_try_echo") >&5
4327 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4328 ac_status=$?
4329 grep -v '^ *+' conftest.er1 >conftest.err
4330 rm -f conftest.er1
4331 cat conftest.err >&5
4332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); } >/dev/null && {
4334 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4335 test ! -s conftest.err
4336 }; then
4255 if ac_fn_c_try_cpp "$LINENO"; then :
43374256 # Broken: success on invalid input.
43384257 continue
43394258 else
4340 $as_echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.$ac_ext >&5
4342
43434259 # Passes both tests.
43444260 ac_preproc_ok=:
43454261 break
43464262 fi
4347
4348 rm -f conftest.err conftest.$ac_ext
4263 rm -f conftest.err conftest.i conftest.$ac_ext
43494264
43504265 done
43514266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4352 rm -f conftest.err conftest.$ac_ext
4353 if $ac_preproc_ok; then
4354 :
4355 else
4356 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4267 rm -f conftest.i conftest.err conftest.$ac_ext
4268 if $ac_preproc_ok; then :
4269
4270 else
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43574272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4358 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4359 See \`config.log' for more details." >&5
4360 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4361 See \`config.log' for more details." >&2;}
4362 { (exit 1); exit 1; }; }; }
4273 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4274 See \`config.log' for more details" "$LINENO" 5; }
43634275 fi
43644276
43654277 ac_ext=c
43694281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43704282
43714283
4372 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
43734285 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4374 if test "${ac_cv_path_GREP+set}" = set; then
4286 if ${ac_cv_path_GREP+:} false; then :
43754287 $as_echo_n "(cached) " >&6
43764288 else
43774289 if test -z "$GREP"; then
43824294 do
43834295 IFS=$as_save_IFS
43844296 test -z "$as_dir" && as_dir=.
4385 for ac_prog in grep ggrep; do
4297 for ac_prog in grep ggrep; do
43864298 for ac_exec_ext in '' $ac_executable_extensions; do
43874299 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4388 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4300 as_fn_executable_p "$ac_path_GREP" || continue
43894301 # Check for GNU ac_path_GREP and select it if it is found.
43904302 # Check for GNU $ac_path_GREP
43914303 case `"$ac_path_GREP" --version 2>&1` in
44024314 $as_echo 'GREP' >> "conftest.nl"
44034315 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
44044316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4405 ac_count=`expr $ac_count + 1`
4317 as_fn_arith $ac_count + 1 && ac_count=$as_val
44064318 if test $ac_count -gt ${ac_path_GREP_max-0}; then
44074319 # Best one so far, save it but keep looking for a better one
44084320 ac_cv_path_GREP="$ac_path_GREP"
44174329 $ac_path_GREP_found && break 3
44184330 done
44194331 done
4420 done
4332 done
44214333 IFS=$as_save_IFS
44224334 if test -z "$ac_cv_path_GREP"; then
4423 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4424 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4425 { (exit 1); exit 1; }; }
4335 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
44264336 fi
44274337 else
44284338 ac_cv_path_GREP=$GREP
44294339 fi
44304340
44314341 fi
4432 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
44334343 $as_echo "$ac_cv_path_GREP" >&6; }
44344344 GREP="$ac_cv_path_GREP"
44354345
44364346
4437 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
44384348 $as_echo_n "checking for egrep... " >&6; }
4439 if test "${ac_cv_path_EGREP+set}" = set; then
4349 if ${ac_cv_path_EGREP+:} false; then :
44404350 $as_echo_n "(cached) " >&6
44414351 else
44424352 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
44504360 do
44514361 IFS=$as_save_IFS
44524362 test -z "$as_dir" && as_dir=.
4453 for ac_prog in egrep; do
4363 for ac_prog in egrep; do
44544364 for ac_exec_ext in '' $ac_executable_extensions; do
44554365 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4456 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4366 as_fn_executable_p "$ac_path_EGREP" || continue
44574367 # Check for GNU ac_path_EGREP and select it if it is found.
44584368 # Check for GNU $ac_path_EGREP
44594369 case `"$ac_path_EGREP" --version 2>&1` in
44704380 $as_echo 'EGREP' >> "conftest.nl"
44714381 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
44724382 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4473 ac_count=`expr $ac_count + 1`
4383 as_fn_arith $ac_count + 1 && ac_count=$as_val
44744384 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
44754385 # Best one so far, save it but keep looking for a better one
44764386 ac_cv_path_EGREP="$ac_path_EGREP"
44854395 $ac_path_EGREP_found && break 3
44864396 done
44874397 done
4488 done
4398 done
44894399 IFS=$as_save_IFS
44904400 if test -z "$ac_cv_path_EGREP"; then
4491 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4492 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4493 { (exit 1); exit 1; }; }
4401 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
44944402 fi
44954403 else
44964404 ac_cv_path_EGREP=$EGREP
44984406
44994407 fi
45004408 fi
4501 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
45024410 $as_echo "$ac_cv_path_EGREP" >&6; }
45034411 EGREP="$ac_cv_path_EGREP"
45044412
45054413
4506 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
45074415 $as_echo_n "checking for ANSI C header files... " >&6; }
4508 if test "${ac_cv_header_stdc+set}" = set; then
4416 if ${ac_cv_header_stdc+:} false; then :
45094417 $as_echo_n "(cached) " >&6
45104418 else
4511 cat >conftest.$ac_ext <<_ACEOF
4512 /* confdefs.h. */
4513 _ACEOF
4514 cat confdefs.h >>conftest.$ac_ext
4515 cat >>conftest.$ac_ext <<_ACEOF
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45164420 /* end confdefs.h. */
45174421 #include <stdlib.h>
45184422 #include <stdarg.h>
45274431 return 0;
45284432 }
45294433 _ACEOF
4530 rm -f conftest.$ac_objext
4531 if { (ac_try="$ac_compile"
4532 case "(($ac_try" in
4533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4534 *) ac_try_echo=$ac_try;;
4535 esac
4536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4537 $as_echo "$ac_try_echo") >&5
4538 (eval "$ac_compile") 2>conftest.er1
4539 ac_status=$?
4540 grep -v '^ *+' conftest.er1 >conftest.err
4541 rm -f conftest.er1
4542 cat conftest.err >&5
4543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } && {
4545 test -z "$ac_c_werror_flag" ||
4546 test ! -s conftest.err
4547 } && test -s conftest.$ac_objext; then
4434 if ac_fn_c_try_compile "$LINENO"; then :
45484435 ac_cv_header_stdc=yes
45494436 else
4550 $as_echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4552
4553 ac_cv_header_stdc=no
4554 fi
4555
4437 ac_cv_header_stdc=no
4438 fi
45564439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45574440
45584441 if test $ac_cv_header_stdc = yes; then
45594442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4560 cat >conftest.$ac_ext <<_ACEOF
4561 /* confdefs.h. */
4562 _ACEOF
4563 cat confdefs.h >>conftest.$ac_ext
4564 cat >>conftest.$ac_ext <<_ACEOF
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45654444 /* end confdefs.h. */
45664445 #include <string.h>
45674446
45684447 _ACEOF
45694448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4570 $EGREP "memchr" >/dev/null 2>&1; then
4571 :
4449 $EGREP "memchr" >/dev/null 2>&1; then :
4450
45724451 else
45734452 ac_cv_header_stdc=no
45744453 fi
45784457
45794458 if test $ac_cv_header_stdc = yes; then
45804459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4581 cat >conftest.$ac_ext <<_ACEOF
4582 /* confdefs.h. */
4583 _ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45864461 /* end confdefs.h. */
45874462 #include <stdlib.h>
45884463
45894464 _ACEOF
45904465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4591 $EGREP "free" >/dev/null 2>&1; then
4592 :
4466 $EGREP "free" >/dev/null 2>&1; then :
4467
45934468 else
45944469 ac_cv_header_stdc=no
45954470 fi
45994474
46004475 if test $ac_cv_header_stdc = yes; then
46014476 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4602 if test "$cross_compiling" = yes; then
4477 if test "$cross_compiling" = yes; then :
46034478 :
46044479 else
4605 cat >conftest.$ac_ext <<_ACEOF
4606 /* confdefs.h. */
4607 _ACEOF
4608 cat confdefs.h >>conftest.$ac_ext
4609 cat >>conftest.$ac_ext <<_ACEOF
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46104481 /* end confdefs.h. */
46114482 #include <ctype.h>
46124483 #include <stdlib.h>
46334504 return 0;
46344505 }
46354506 _ACEOF
4636 rm -f conftest$ac_exeext
4637 if { (ac_try="$ac_link"
4638 case "(($ac_try" in
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4641 esac
4642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4643 $as_echo "$ac_try_echo") >&5
4644 (eval "$ac_link") 2>&5
4645 ac_status=$?
4646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4648 { (case "(($ac_try" in
4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4651 esac
4652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4653 $as_echo "$ac_try_echo") >&5
4654 (eval "$ac_try") 2>&5
4655 ac_status=$?
4656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }; }; then
4658 :
4659 else
4660 $as_echo "$as_me: program exited with status $ac_status" >&5
4661 $as_echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.$ac_ext >&5
4663
4664 ( exit $ac_status )
4665 ac_cv_header_stdc=no
4666 fi
4667 rm -rf conftest.dSYM
4668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4669 fi
4670
4671
4672 fi
4673 fi
4674 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4507 if ac_fn_c_try_run "$LINENO"; then :
4508
4509 else
4510 ac_cv_header_stdc=no
4511 fi
4512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4513 conftest.$ac_objext conftest.beam conftest.$ac_ext
4514 fi
4515
4516 fi
4517 fi
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
46754519 $as_echo "$ac_cv_header_stdc" >&6; }
46764520 if test $ac_cv_header_stdc = yes; then
46774521
4678 cat >>confdefs.h <<\_ACEOF
4679 #define STDC_HEADERS 1
4680 _ACEOF
4681
4682 fi
4683
4684
4685 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4522 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4523
4524 fi
4525
4526
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
46864528 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4687 if test "${ac_cv_c_const+set}" = set; then
4529 if ${ac_cv_c_const+:} false; then :
46884530 $as_echo_n "(cached) " >&6
46894531 else
4690 cat >conftest.$ac_ext <<_ACEOF
4691 /* confdefs.h. */
4692 _ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46954533 /* end confdefs.h. */
46964534
46974535 int
46984536 main ()
46994537 {
4700 /* FIXME: Include the comments suggested by Paul. */
4538
47014539 #ifndef __cplusplus
4702 /* Ultrix mips cc rejects this. */
4540 /* Ultrix mips cc rejects this sort of thing. */
47034541 typedef int charset[2];
4704 const charset cs;
4542 const charset cs = { 0, 0 };
47054543 /* SunOS 4.1.1 cc rejects this. */
47064544 char const *const *pcpcc;
47074545 char **ppc;
47184556 ++pcpcc;
47194557 ppc = (char**) pcpcc;
47204558 pcpcc = (char const *const *) ppc;
4721 { /* SCO 3.2v4 cc rejects this. */
4722 char *t;
4559 { /* SCO 3.2v4 cc rejects this sort of thing. */
4560 char tx;
4561 char *t = &tx;
47234562 char const *s = 0 ? (char *) 0 : (char const *) 0;
47244563
47254564 *t++ = 0;
47354574 iptr p = 0;
47364575 ++p;
47374576 }
4738 { /* AIX XL C 1.02.0.0 rejects this saying
4577 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
47394578 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4740 struct s { int j; const int *ap[3]; };
4741 struct s *b; b->j = 5;
4579 struct s { int j; const int *ap[3]; } bx;
4580 struct s *b = &bx; b->j = 5;
47424581 }
47434582 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
47444583 const int foo = 10;
47514590 return 0;
47524591 }
47534592 _ACEOF
4754 rm -f conftest.$ac_objext
4755 if { (ac_try="$ac_compile"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4761 $as_echo "$ac_try_echo") >&5
4762 (eval "$ac_compile") 2>conftest.er1
4763 ac_status=$?
4764 grep -v '^ *+' conftest.er1 >conftest.err
4765 rm -f conftest.er1
4766 cat conftest.err >&5
4767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && {
4769 test -z "$ac_c_werror_flag" ||
4770 test ! -s conftest.err
4771 } && test -s conftest.$ac_objext; then
4593 if ac_fn_c_try_compile "$LINENO"; then :
47724594 ac_cv_c_const=yes
47734595 else
4774 $as_echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4776
4777 ac_cv_c_const=no
4778 fi
4779
4596 ac_cv_c_const=no
4597 fi
47804598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47814599 fi
4782 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
47834601 $as_echo "$ac_cv_c_const" >&6; }
47844602 if test $ac_cv_c_const = no; then
47854603
4786 cat >>confdefs.h <<\_ACEOF
4787 #define const /**/
4788 _ACEOF
4604 $as_echo "#define const /**/" >>confdefs.h
47894605
47904606 fi
47914607
48134629 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
48144630 save_LIBS="$LIBS"
48154631 LIBS="$PTHREAD_LIBS $LIBS"
4816 { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
48174633 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
4818 cat >conftest.$ac_ext <<_ACEOF
4819 /* confdefs.h. */
4820 _ACEOF
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48234635 /* end confdefs.h. */
48244636
48254637 /* Override any GCC internal prototype to avoid an error.
48374649 return 0;
48384650 }
48394651 _ACEOF
4840 rm -f conftest.$ac_objext conftest$ac_exeext
4841 if { (ac_try="$ac_link"
4842 case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4847 $as_echo "$ac_try_echo") >&5
4848 (eval "$ac_link") 2>conftest.er1
4849 ac_status=$?
4850 grep -v '^ *+' conftest.er1 >conftest.err
4851 rm -f conftest.er1
4852 cat conftest.err >&5
4853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest$ac_exeext && {
4858 test "$cross_compiling" = yes ||
4859 $as_test_x conftest$ac_exeext
4860 }; then
4652 if ac_fn_c_try_link "$LINENO"; then :
48614653 acx_pthread_ok=yes
4862 else
4863 $as_echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4865
4866
4867 fi
4868
4869 rm -rf conftest.dSYM
4870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4871 conftest$ac_exeext conftest.$ac_ext
4872 { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
4654 fi
4655 rm -f core conftest.err conftest.$ac_objext \
4656 conftest$ac_exeext conftest.$ac_ext
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
48734658 $as_echo "$acx_pthread_ok" >&6; }
48744659 if test x"$acx_pthread_ok" = xno; then
48754660 PTHREAD_LIBS=""
49314716
49324717 case $flag in
49334718 none)
4934 { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
49354720 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
49364721 ;;
49374722
49384723 -*)
4939 { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
49404725 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
49414726 PTHREAD_CFLAGS="$flag"
49424727 ;;
49444729 pthread-config)
49454730 # Extract the first word of "pthread-config", so it can be a program name with args.
49464731 set dummy pthread-config; ac_word=$2
4947 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49484733 $as_echo_n "checking for $ac_word... " >&6; }
4949 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
4734 if ${ac_cv_prog_acx_pthread_config+:} false; then :
49504735 $as_echo_n "(cached) " >&6
49514736 else
49524737 if test -n "$acx_pthread_config"; then
49574742 do
49584743 IFS=$as_save_IFS
49594744 test -z "$as_dir" && as_dir=.
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49624747 ac_cv_prog_acx_pthread_config="yes"
4963 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49644749 break 2
49654750 fi
49664751 done
4967 done
4752 done
49684753 IFS=$as_save_IFS
49694754
49704755 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
49724757 fi
49734758 acx_pthread_config=$ac_cv_prog_acx_pthread_config
49744759 if test -n "$acx_pthread_config"; then
4975 { $as_echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
49764761 $as_echo "$acx_pthread_config" >&6; }
49774762 else
4978 { $as_echo "$as_me:$LINENO: result: no" >&5
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49794764 $as_echo "no" >&6; }
49804765 fi
49814766
49864771 ;;
49874772
49884773 *)
4989 { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
49904775 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
49914776 PTHREAD_LIBS="-l$flag"
49924777 ;;
50064791 # pthread_cleanup_push because it is one of the few pthread
50074792 # functions on Solaris that doesn't have a non-functional libc stub.
50084793 # We try pthread_create on general principles.
5009 cat >conftest.$ac_ext <<_ACEOF
5010 /* confdefs.h. */
5011 _ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50144795 /* end confdefs.h. */
50154796 #include <pthread.h>
50164797 int
50234804 return 0;
50244805 }
50254806 _ACEOF
5026 rm -f conftest.$ac_objext conftest$ac_exeext
5027 if { (ac_try="$ac_link"
5028 case "(($ac_try" in
5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5031 esac
5032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5033 $as_echo "$ac_try_echo") >&5
5034 (eval "$ac_link") 2>conftest.er1
5035 ac_status=$?
5036 grep -v '^ *+' conftest.er1 >conftest.err
5037 rm -f conftest.er1
5038 cat conftest.err >&5
5039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } && {
5041 test -z "$ac_c_werror_flag" ||
5042 test ! -s conftest.err
5043 } && test -s conftest$ac_exeext && {
5044 test "$cross_compiling" = yes ||
5045 $as_test_x conftest$ac_exeext
5046 }; then
4807 if ac_fn_c_try_link "$LINENO"; then :
50474808 acx_pthread_ok=yes
5048 else
5049 $as_echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5051
5052
5053 fi
5054
5055 rm -rf conftest.dSYM
5056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5057 conftest$ac_exeext conftest.$ac_ext
4809 fi
4810 rm -f core conftest.err conftest.$ac_objext \
4811 conftest$ac_exeext conftest.$ac_ext
50584812
50594813 LIBS="$save_LIBS"
50604814 CFLAGS="$save_CFLAGS"
50614815
5062 { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
50634817 $as_echo "$acx_pthread_ok" >&6; }
50644818 if test "x$acx_pthread_ok" = xyes; then
50654819 break;
50784832 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
50794833
50804834 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
5081 { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
50824836 $as_echo_n "checking for joinable pthread attribute... " >&6; }
50834837 attr_name=unknown
50844838 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
5085 cat >conftest.$ac_ext <<_ACEOF
5086 /* confdefs.h. */
5087 _ACEOF
5088 cat confdefs.h >>conftest.$ac_ext
5089 cat >>conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50904840 /* end confdefs.h. */
50914841 #include <pthread.h>
50924842 int
50974847 return 0;
50984848 }
50994849 _ACEOF
5100 rm -f conftest.$ac_objext conftest$ac_exeext
5101 if { (ac_try="$ac_link"
5102 case "(($ac_try" in
5103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5104 *) ac_try_echo=$ac_try;;
5105 esac
5106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5107 $as_echo "$ac_try_echo") >&5
5108 (eval "$ac_link") 2>conftest.er1
5109 ac_status=$?
5110 grep -v '^ *+' conftest.er1 >conftest.err
5111 rm -f conftest.er1
5112 cat conftest.err >&5
5113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } && {
5115 test -z "$ac_c_werror_flag" ||
5116 test ! -s conftest.err
5117 } && test -s conftest$ac_exeext && {
5118 test "$cross_compiling" = yes ||
5119 $as_test_x conftest$ac_exeext
5120 }; then
4850 if ac_fn_c_try_link "$LINENO"; then :
51214851 attr_name=$attr; break
5122 else
5123 $as_echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5125
5126
5127 fi
5128
5129 rm -rf conftest.dSYM
5130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5131 conftest$ac_exeext conftest.$ac_ext
4852 fi
4853 rm -f core conftest.err conftest.$ac_objext \
4854 conftest$ac_exeext conftest.$ac_ext
51324855 done
5133 { $as_echo "$as_me:$LINENO: result: $attr_name" >&5
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
51344857 $as_echo "$attr_name" >&6; }
51354858 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
51364859
51404863
51414864 fi
51424865
5143 { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
51444867 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
51454868 flag=no
51464869 case "${host_cpu}-${host_os}" in
51474870 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
51484871 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
51494872 esac
5150 { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
51514874 $as_echo "${flag}" >&6; }
51524875 if test "x$flag" != xno; then
51534876 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
51594882 # More AIX lossage: must compile with cc_r
51604883 # Extract the first word of "cc_r", so it can be a program name with args.
51614884 set dummy cc_r; ac_word=$2
5162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
51634886 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
4887 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
51654888 $as_echo_n "(cached) " >&6
51664889 else
51674890 if test -n "$PTHREAD_CC"; then
51724895 do
51734896 IFS=$as_save_IFS
51744897 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51774900 ac_cv_prog_PTHREAD_CC="cc_r"
5178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
51794902 break 2
51804903 fi
51814904 done
5182 done
4905 done
51834906 IFS=$as_save_IFS
51844907
51854908 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
51874910 fi
51884911 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
51894912 if test -n "$PTHREAD_CC"; then
5190 { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
51914914 $as_echo "$PTHREAD_CC" >&6; }
51924915 else
5193 { $as_echo "$as_me:$LINENO: result: no" >&5
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
51944917 $as_echo "no" >&6; }
51954918 fi
51964919
52204943
52214944
52224945 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5223
5224
5225
5226
5227
5228
5229
5230
5231
52324946 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
52334947 inttypes.h stdint.h unistd.h
5234 do
5235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5236 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5237 $as_echo_n "checking for $ac_header... " >&6; }
5238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5239 $as_echo_n "(cached) " >&6
5240 else
5241 cat >conftest.$ac_ext <<_ACEOF
5242 /* confdefs.h. */
5243 _ACEOF
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 $ac_includes_default
5248
5249 #include <$ac_header>
5250 _ACEOF
5251 rm -f conftest.$ac_objext
5252 if { (ac_try="$ac_compile"
5253 case "(($ac_try" in
5254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5256 esac
5257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5258 $as_echo "$ac_try_echo") >&5
5259 (eval "$ac_compile") 2>conftest.er1
5260 ac_status=$?
5261 grep -v '^ *+' conftest.er1 >conftest.err
5262 rm -f conftest.er1
5263 cat conftest.err >&5
5264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); } && {
5266 test -z "$ac_c_werror_flag" ||
5267 test ! -s conftest.err
5268 } && test -s conftest.$ac_objext; then
5269 eval "$as_ac_Header=yes"
5270 else
5271 $as_echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5273
5274 eval "$as_ac_Header=no"
5275 fi
5276
5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 fi
5279 ac_res=`eval 'as_val=${'$as_ac_Header'}
5280 $as_echo "$as_val"'`
5281 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5282 $as_echo "$ac_res" >&6; }
5283 as_val=`eval 'as_val=${'$as_ac_Header'}
5284 $as_echo "$as_val"'`
5285 if test "x$as_val" = x""yes; then
4948 do :
4949 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4950 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4951 "
4952 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
52864953 cat >>confdefs.h <<_ACEOF
52874954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
52884955 _ACEOF
52924959 done
52934960
52944961
5295 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
5296 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
5297 $as_echo_n "checking for openssl/ssl.h... " >&6; }
5298 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
5299 $as_echo_n "(cached) " >&6
5300 fi
5301 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
5302 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
5303 else
5304 # Is the header compilable?
5305 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
5306 $as_echo_n "checking openssl/ssl.h usability... " >&6; }
5307 cat >conftest.$ac_ext <<_ACEOF
5308 /* confdefs.h. */
5309 _ACEOF
5310 cat confdefs.h >>conftest.$ac_ext
5311 cat >>conftest.$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5313 $ac_includes_default
5314 #include <openssl/ssl.h>
5315 _ACEOF
5316 rm -f conftest.$ac_objext
5317 if { (ac_try="$ac_compile"
5318 case "(($ac_try" in
5319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5320 *) ac_try_echo=$ac_try;;
5321 esac
5322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5323 $as_echo "$ac_try_echo") >&5
5324 (eval "$ac_compile") 2>conftest.er1
5325 ac_status=$?
5326 grep -v '^ *+' conftest.er1 >conftest.err
5327 rm -f conftest.er1
5328 cat conftest.err >&5
5329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } && {
5331 test -z "$ac_c_werror_flag" ||
5332 test ! -s conftest.err
5333 } && test -s conftest.$ac_objext; then
5334 ac_header_compiler=yes
5335 else
5336 $as_echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5338
5339 ac_header_compiler=no
5340 fi
5341
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5343 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5344 $as_echo "$ac_header_compiler" >&6; }
5345
5346 # Is the header present?
5347 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
5348 $as_echo_n "checking openssl/ssl.h presence... " >&6; }
5349 cat >conftest.$ac_ext <<_ACEOF
5350 /* confdefs.h. */
5351 _ACEOF
5352 cat confdefs.h >>conftest.$ac_ext
5353 cat >>conftest.$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5355 #include <openssl/ssl.h>
5356 _ACEOF
5357 if { (ac_try="$ac_cpp conftest.$ac_ext"
5358 case "(($ac_try" in
5359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5360 *) ac_try_echo=$ac_try;;
5361 esac
5362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5363 $as_echo "$ac_try_echo") >&5
5364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5365 ac_status=$?
5366 grep -v '^ *+' conftest.er1 >conftest.err
5367 rm -f conftest.er1
5368 cat conftest.err >&5
5369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } >/dev/null && {
5371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5372 test ! -s conftest.err
5373 }; then
5374 ac_header_preproc=yes
5375 else
5376 $as_echo "$as_me: failed program was:" >&5
5377 sed 's/^/| /' conftest.$ac_ext >&5
5378
5379 ac_header_preproc=no
5380 fi
5381
5382 rm -f conftest.err conftest.$ac_ext
5383 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5384 $as_echo "$ac_header_preproc" >&6; }
5385
5386 # So? What about this header?
5387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5388 yes:no: )
5389 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5390 $as_echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5391 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
5392 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
5393 ac_header_preproc=yes
5394 ;;
5395 no:yes:* )
5396 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
5397 $as_echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
5398 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
5399 $as_echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
5400 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
5401 $as_echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
5402 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
5403 $as_echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5404 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
5405 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
5406 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
5407 $as_echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
5408
5409 ;;
5410 esac
5411 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
5412 $as_echo_n "checking for openssl/ssl.h... " >&6; }
5413 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
5414 $as_echo_n "(cached) " >&6
5415 else
5416 ac_cv_header_openssl_ssl_h=$ac_header_preproc
5417 fi
5418 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
5419 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
5420
5421 fi
5422 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then
4962 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
4963 if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
54234964 CFLAGS="$CFLAGS -DSOCK_SSL" LIBS="$LIBS -lssl"
54244965 fi
54254966
54304971 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
54314972 CC="$PTHREAD_CC"
54324973 else
5433 { { $as_echo "$as_me:$LINENO: error: cannot find pthreads" >&5
5434 $as_echo "$as_me: error: cannot find pthreads" >&2;}
5435 { (exit 1); exit 1; }; }
5436 fi
5437
5438
5439 { $as_echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
4974 as_fn_error $? "cannot find pthreads" "$LINENO" 5
4975 fi
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
54404978 $as_echo_n "checking for glBegin in -lGL... " >&6; }
5441 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
4979 if ${ac_cv_lib_GL_glBegin+:} false; then :
54424980 $as_echo_n "(cached) " >&6
54434981 else
54444982 ac_check_lib_save_LIBS=$LIBS
54454983 LIBS="-lGL $LIBS"
5446 cat >conftest.$ac_ext <<_ACEOF
5447 /* confdefs.h. */
5448 _ACEOF
5449 cat confdefs.h >>conftest.$ac_ext
5450 cat >>conftest.$ac_ext <<_ACEOF
4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54514985 /* end confdefs.h. */
54524986
54534987 /* Override any GCC internal prototype to avoid an error.
54654999 return 0;
54665000 }
54675001 _ACEOF
5468 rm -f conftest.$ac_objext conftest$ac_exeext
5469 if { (ac_try="$ac_link"
5470 case "(($ac_try" in
5471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5472 *) ac_try_echo=$ac_try;;
5473 esac
5474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5475 $as_echo "$ac_try_echo") >&5
5476 (eval "$ac_link") 2>conftest.er1
5477 ac_status=$?
5478 grep -v '^ *+' conftest.er1 >conftest.err
5479 rm -f conftest.er1
5480 cat conftest.err >&5
5481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); } && {
5483 test -z "$ac_c_werror_flag" ||
5484 test ! -s conftest.err
5485 } && test -s conftest$ac_exeext && {
5486 test "$cross_compiling" = yes ||
5487 $as_test_x conftest$ac_exeext
5488 }; then
5002 if ac_fn_c_try_link "$LINENO"; then :
54895003 ac_cv_lib_GL_glBegin=yes
54905004 else
5491 $as_echo "$as_me: failed program was:" >&5
5492 sed 's/^/| /' conftest.$ac_ext >&5
5493
5494 ac_cv_lib_GL_glBegin=no
5495 fi
5496
5497 rm -rf conftest.dSYM
5498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5499 conftest$ac_exeext conftest.$ac_ext
5005 ac_cv_lib_GL_glBegin=no
5006 fi
5007 rm -f core conftest.err conftest.$ac_objext \
5008 conftest$ac_exeext conftest.$ac_ext
55005009 LIBS=$ac_check_lib_save_LIBS
55015010 fi
5502 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
55035012 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
5504 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then
5013 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
55055014 cat >>confdefs.h <<_ACEOF
55065015 #define HAVE_LIBGL 1
55075016 _ACEOF
55095018 LIBS="-lGL $LIBS"
55105019
55115020 else
5512 { { $as_echo "$as_me:$LINENO: error: Error! You do not have OpenGL
5513 installed. You will not be able to play this game." >&5
5514 $as_echo "$as_me: error: Error! You do not have OpenGL
5515 installed. You will not be able to play this game." >&2;}
5516 { (exit 1); exit 1; }; }
5517 fi
5518
5519
5520
5521 { $as_echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
5021 as_fn_error $? "Error! You do not have OpenGL
5022 installed. You will not be able to play this game." "$LINENO" 5
5023 fi
5024
5025
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
55225027 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
5523 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
5028 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
55245029 $as_echo_n "(cached) " >&6
55255030 else
55265031 ac_check_lib_save_LIBS=$LIBS
55275032 LIBS="-lGLU $LIBS"
5528 cat >conftest.$ac_ext <<_ACEOF
5529 /* confdefs.h. */
5530 _ACEOF
5531 cat confdefs.h >>conftest.$ac_ext
5532 cat >>conftest.$ac_ext <<_ACEOF
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55335034 /* end confdefs.h. */
55345035
55355036 /* Override any GCC internal prototype to avoid an error.
55475048 return 0;
55485049 }
55495050 _ACEOF
5550 rm -f conftest.$ac_objext conftest$ac_exeext
5551 if { (ac_try="$ac_link"
5552 case "(($ac_try" in
5553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5554 *) ac_try_echo=$ac_try;;
5555 esac
5556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5557 $as_echo "$ac_try_echo") >&5
5558 (eval "$ac_link") 2>conftest.er1
5559 ac_status=$?
5560 grep -v '^ *+' conftest.er1 >conftest.err
5561 rm -f conftest.er1
5562 cat conftest.err >&5
5563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } && {
5565 test -z "$ac_c_werror_flag" ||
5566 test ! -s conftest.err
5567 } && test -s conftest$ac_exeext && {
5568 test "$cross_compiling" = yes ||
5569 $as_test_x conftest$ac_exeext
5570 }; then
5051 if ac_fn_c_try_link "$LINENO"; then :
55715052 ac_cv_lib_GLU_gluLookAt=yes
55725053 else
5573 $as_echo "$as_me: failed program was:" >&5
5574 sed 's/^/| /' conftest.$ac_ext >&5
5575
5576 ac_cv_lib_GLU_gluLookAt=no
5577 fi
5578
5579 rm -rf conftest.dSYM
5580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5581 conftest$ac_exeext conftest.$ac_ext
5054 ac_cv_lib_GLU_gluLookAt=no
5055 fi
5056 rm -f core conftest.err conftest.$ac_objext \
5057 conftest$ac_exeext conftest.$ac_ext
55825058 LIBS=$ac_check_lib_save_LIBS
55835059 fi
5584 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
55855061 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
5586 if test "x$ac_cv_lib_GLU_gluLookAt" = x""yes; then
5062 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
55875063 cat >>confdefs.h <<_ACEOF
55885064 #define HAVE_LIBGLU 1
55895065 _ACEOF
55915067 LIBS="-lGLU $LIBS"
55925068
55935069 else
5594 { { $as_echo "$as_me:$LINENO: error: Error! You do not have OpenGL
5595 installed. You will not be able to play this game." >&5
5596 $as_echo "$as_me: error: Error! You do not have OpenGL
5597 installed. You will not be able to play this game." >&2;}
5598 { (exit 1); exit 1; }; }
5070 as_fn_error $? "Error! You do not have OpenGL
5071 installed. You will not be able to play this game." "$LINENO" 5
55995072 fi
56005073
56015074
56065079 # AC_CHECK_LIB([SDL_ttf], [TTF_OpenFont],, AC_MSG_ERROR([Error! You need SDL_ttf.
56075080 # Check out http://www.libsdl.org/projects/SDL_ttf/ for more info.]))
56085081
5609
5610 { $as_echo "$as_me:$LINENO: checking for IMG_Load in -lSDL_image" >&5
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMG_Load in -lSDL_image" >&5
56115083 $as_echo_n "checking for IMG_Load in -lSDL_image... " >&6; }
5612 if test "${ac_cv_lib_SDL_image_IMG_Load+set}" = set; then
5084 if ${ac_cv_lib_SDL_image_IMG_Load+:} false; then :
56135085 $as_echo_n "(cached) " >&6
56145086 else
56155087 ac_check_lib_save_LIBS=$LIBS
56165088 LIBS="-lSDL_image $LIBS"
5617 cat >conftest.$ac_ext <<_ACEOF
5618 /* confdefs.h. */
5619 _ACEOF
5620 cat confdefs.h >>conftest.$ac_ext
5621 cat >>conftest.$ac_ext <<_ACEOF
5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56225090 /* end confdefs.h. */
56235091
56245092 /* Override any GCC internal prototype to avoid an error.
56365104 return 0;
56375105 }
56385106 _ACEOF
5639 rm -f conftest.$ac_objext conftest$ac_exeext
5640 if { (ac_try="$ac_link"
5641 case "(($ac_try" in
5642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5643 *) ac_try_echo=$ac_try;;
5644 esac
5645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5646 $as_echo "$ac_try_echo") >&5
5647 (eval "$ac_link") 2>conftest.er1
5648 ac_status=$?
5649 grep -v '^ *+' conftest.er1 >conftest.err
5650 rm -f conftest.er1
5651 cat conftest.err >&5
5652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } && {
5654 test -z "$ac_c_werror_flag" ||
5655 test ! -s conftest.err
5656 } && test -s conftest$ac_exeext && {
5657 test "$cross_compiling" = yes ||
5658 $as_test_x conftest$ac_exeext
5659 }; then
5107 if ac_fn_c_try_link "$LINENO"; then :
56605108 ac_cv_lib_SDL_image_IMG_Load=yes
56615109 else
5662 $as_echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.$ac_ext >&5
5664
5665 ac_cv_lib_SDL_image_IMG_Load=no
5666 fi
5667
5668 rm -rf conftest.dSYM
5669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5670 conftest$ac_exeext conftest.$ac_ext
5110 ac_cv_lib_SDL_image_IMG_Load=no
5111 fi
5112 rm -f core conftest.err conftest.$ac_objext \
5113 conftest$ac_exeext conftest.$ac_ext
56715114 LIBS=$ac_check_lib_save_LIBS
56725115 fi
5673 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_IMG_Load" >&5
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_image_IMG_Load" >&5
56745117 $as_echo "$ac_cv_lib_SDL_image_IMG_Load" >&6; }
5675 if test "x$ac_cv_lib_SDL_image_IMG_Load" = x""yes; then
5118 if test "x$ac_cv_lib_SDL_image_IMG_Load" = xyes; then :
56765119 cat >>confdefs.h <<_ACEOF
56775120 #define HAVE_LIBSDL_IMAGE 1
56785121 _ACEOF
56805123 LIBS="-lSDL_image $LIBS"
56815124
56825125 else
5683 { { $as_echo "$as_me:$LINENO: error: SDL_image not found!" >&5
5684 $as_echo "$as_me: error: SDL_image not found!" >&2;}
5685 { (exit 1); exit 1; }; }
5126 as_fn_error $? "SDL_image not found!" "$LINENO" 5
56865127 fi
56875128
56885129
56895130 SDL_VERSION=1.2.4
56905131
56915132 # Check whether --with-sdl-prefix was given.
5692 if test "${with_sdl_prefix+set}" = set; then
5133 if test "${with_sdl_prefix+set}" = set; then :
56935134 withval=$with_sdl_prefix; sdl_prefix="$withval"
56945135 else
56955136 sdl_prefix=""
56975138
56985139
56995140 # Check whether --with-sdl-exec-prefix was given.
5700 if test "${with_sdl_exec_prefix+set}" = set; then
5141 if test "${with_sdl_exec_prefix+set}" = set; then :
57015142 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
57025143 else
57035144 sdl_exec_prefix=""
57045145 fi
57055146
57065147 # Check whether --enable-sdltest was given.
5707 if test "${enable_sdltest+set}" = set; then
5148 if test "${enable_sdltest+set}" = set; then :
57085149 enableval=$enable_sdltest;
57095150 else
57105151 enable_sdltest=yes
57295170 fi
57305171 # Extract the first word of "sdl-config", so it can be a program name with args.
57315172 set dummy sdl-config; ac_word=$2
5732 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
57335174 $as_echo_n "checking for $ac_word... " >&6; }
5734 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
5175 if ${ac_cv_path_SDL_CONFIG+:} false; then :
57355176 $as_echo_n "(cached) " >&6
57365177 else
57375178 case $SDL_CONFIG in
57445185 do
57455186 IFS=$as_save_IFS
57465187 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57495190 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5750 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
57515192 break 2
57525193 fi
57535194 done
5754 done
5195 done
57555196 IFS=$as_save_IFS
57565197
57575198 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
57605201 fi
57615202 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
57625203 if test -n "$SDL_CONFIG"; then
5763 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
57645205 $as_echo "$SDL_CONFIG" >&6; }
57655206 else
5766 { $as_echo "$as_me:$LINENO: result: no" >&5
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57675208 $as_echo "no" >&6; }
57685209 fi
57695210
57705211
57715212 min_sdl_version=$SDL_VERSION
5772 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
57735214 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
57745215 no_sdl=""
57755216 if test "$SDL_CONFIG" = "no" ; then
57925233 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
57935234 LIBS="$LIBS $SDL_LIBS"
57945235 rm -f conf.sdltest
5795 if test "$cross_compiling" = yes; then
5236 if test "$cross_compiling" = yes; then :
57965237 echo $ac_n "cross compiling; assumed OK... $ac_c"
57975238 else
5798 cat >conftest.$ac_ext <<_ACEOF
5799 /* confdefs.h. */
5800 _ACEOF
5801 cat confdefs.h >>conftest.$ac_ext
5802 cat >>conftest.$ac_ext <<_ACEOF
5239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58035240 /* end confdefs.h. */
58045241
58055242 #include <stdio.h>
58605297
58615298
58625299 _ACEOF
5863 rm -f conftest$ac_exeext
5864 if { (ac_try="$ac_link"
5865 case "(($ac_try" in
5866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5867 *) ac_try_echo=$ac_try;;
5868 esac
5869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5870 $as_echo "$ac_try_echo") >&5
5871 (eval "$ac_link") 2>&5
5872 ac_status=$?
5873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5875 { (case "(($ac_try" in
5876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5877 *) ac_try_echo=$ac_try;;
5878 esac
5879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5880 $as_echo "$ac_try_echo") >&5
5881 (eval "$ac_try") 2>&5
5882 ac_status=$?
5883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; }; then
5885 :
5886 else
5887 $as_echo "$as_me: program exited with status $ac_status" >&5
5888 $as_echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5890
5891 ( exit $ac_status )
5892 no_sdl=yes
5893 fi
5894 rm -rf conftest.dSYM
5895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5896 fi
5897
5300 if ac_fn_c_try_run "$LINENO"; then :
5301
5302 else
5303 no_sdl=yes
5304 fi
5305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5306 conftest.$ac_objext conftest.beam conftest.$ac_ext
5307 fi
58985308
58995309 CFLAGS="$ac_save_CFLAGS"
59005310 CXXFLAGS="$ac_save_CXXFLAGS"
59025312 fi
59035313 fi
59045314 if test "x$no_sdl" = x ; then
5905 { $as_echo "$as_me:$LINENO: result: yes" >&5
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
59065316 $as_echo "yes" >&6; }
59075317 :
59085318 else
5909 { $as_echo "$as_me:$LINENO: result: no" >&5
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
59105320 $as_echo "no" >&6; }
59115321 if test "$SDL_CONFIG" = "no" ; then
59125322 echo "*** The sdl-config script installed by SDL could not be found"
59215331 CFLAGS="$CFLAGS $SDL_CFLAGS"
59225332 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
59235333 LIBS="$LIBS $SDL_LIBS"
5924 cat >conftest.$ac_ext <<_ACEOF
5925 /* confdefs.h. */
5926 _ACEOF
5927 cat confdefs.h >>conftest.$ac_ext
5928 cat >>conftest.$ac_ext <<_ACEOF
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59295335 /* end confdefs.h. */
59305336
59315337 #include <stdio.h>
59445350 return 0;
59455351 }
59465352 _ACEOF
5947 rm -f conftest.$ac_objext conftest$ac_exeext
5948 if { (ac_try="$ac_link"
5949 case "(($ac_try" in
5950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5951 *) ac_try_echo=$ac_try;;
5952 esac
5953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5954 $as_echo "$ac_try_echo") >&5
5955 (eval "$ac_link") 2>conftest.er1
5956 ac_status=$?
5957 grep -v '^ *+' conftest.er1 >conftest.err
5958 rm -f conftest.er1
5959 cat conftest.err >&5
5960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } && {
5962 test -z "$ac_c_werror_flag" ||
5963 test ! -s conftest.err
5964 } && test -s conftest$ac_exeext && {
5965 test "$cross_compiling" = yes ||
5966 $as_test_x conftest$ac_exeext
5967 }; then
5353 if ac_fn_c_try_link "$LINENO"; then :
59685354 echo "*** The test program compiled, but did not run. This usually means"
59695355 echo "*** that the run-time linker is not finding SDL or finding the wrong"
59705356 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
59755361 echo "*** If you have an old version installed, it is best to remove it, although"
59765362 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
59775363 else
5978 $as_echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5980
5981 echo "*** The test program failed to compile or link. See the file config.log for the"
5364 echo "*** The test program failed to compile or link. See the file config.log for the"
59825365 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
59835366 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
59845367 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
59855368 fi
5986
5987 rm -rf conftest.dSYM
5988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5989 conftest$ac_exeext conftest.$ac_ext
5369 rm -f core conftest.err conftest.$ac_objext \
5370 conftest$ac_exeext conftest.$ac_ext
59905371 CFLAGS="$ac_save_CFLAGS"
59915372 CXXFLAGS="$ac_save_CXXFLAGS"
59925373 LIBS="$ac_save_LIBS"
59945375 fi
59955376 SDL_CFLAGS=""
59965377 SDL_LIBS=""
5997 { { $as_echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
5998 $as_echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
5999 { (exit 1); exit 1; }; }
5378 as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
60005379 fi
60015380
60025381
60355414 case $ac_val in #(
60365415 *${as_nl}*)
60375416 case $ac_var in #(
6038 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5417 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
60395418 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
60405419 esac
60415420 case $ac_var in #(
60425421 _ | IFS | as_nl) ;; #(
60435422 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6044 *) $as_unset $ac_var ;;
5423 *) { eval $ac_var=; unset $ac_var;} ;;
60455424 esac ;;
60465425 esac
60475426 done
60495428 (set) 2>&1 |
60505429 case $as_nl`(ac_space=' '; set) 2>&1` in #(
60515430 *${as_nl}ac_space=\ *)
6052 # `set' does not quote correctly, so add quotes (double-quote
6053 # substitution turns \\\\ into \\, and sed turns \\ into \).
5431 # `set' does not quote correctly, so add quotes: double-quote
5432 # substitution turns \\\\ into \\, and sed turns \\ into \.
60545433 sed -n \
60555434 "s/'/'\\\\''/g;
60565435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
60725451 :end' >>confcache
60735452 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
60745453 if test -w "$cache_file"; then
6075 test "x$cache_file" != "x/dev/null" &&
6076 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5454 if test "x$cache_file" != "x/dev/null"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
60775456 $as_echo "$as_me: updating cache $cache_file" >&6;}
6078 cat confcache >$cache_file
5457 if test ! -f "$cache_file" || test -h "$cache_file"; then
5458 cat confcache >"$cache_file"
5459 else
5460 case $cache_file in #(
5461 */* | ?:*)
5462 mv -f confcache "$cache_file"$$ &&
5463 mv -f "$cache_file"$$ "$cache_file" ;; #(
5464 *)
5465 mv -f confcache "$cache_file" ;;
5466 esac
5467 fi
5468 fi
60795469 else
6080 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
60815471 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
60825472 fi
60835473 fi
60915481
60925482 ac_libobjs=
60935483 ac_ltlibobjs=
5484 U=
60945485 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
60955486 # 1. Remove the extension, and $U if already installed.
60965487 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
60975488 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
60985489 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
60995490 # will be set to the directory where LIBOBJS objects are built.
6100 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6101 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5491 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5492 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
61025493 done
61035494 LIBOBJS=$ac_libobjs
61045495
61065497
61075498
61085499 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6109 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6110 Usually this means the macro was only invoked conditionally." >&5
6111 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6112 Usually this means the macro was only invoked conditionally." >&2;}
6113 { (exit 1); exit 1; }; }
5500 as_fn_error $? "conditional \"AMDEP\" was never defined.
5501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
61145502 fi
61155503 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6116 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6117 Usually this means the macro was only invoked conditionally." >&5
6118 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6119 Usually this means the macro was only invoked conditionally." >&2;}
6120 { (exit 1); exit 1; }; }
5504 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
61215506 fi
61225507 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6123 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6124 Usually this means the macro was only invoked conditionally." >&5
6125 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6126 Usually this means the macro was only invoked conditionally." >&2;}
6127 { (exit 1); exit 1; }; }
6128 fi
6129
6130 : ${CONFIG_STATUS=./config.status}
5508 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5510 fi
5511
5512 : "${CONFIG_STATUS=./config.status}"
61315513 ac_write_fail=0
61325514 ac_clean_files_save=$ac_clean_files
61335515 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6134 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
61355517 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6136 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5518 as_write_fail=0
5519 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
61375520 #! $SHELL
61385521 # Generated by $as_me.
61395522 # Run this file to recreate the current configuration.
61435526 debug=false
61445527 ac_cs_recheck=false
61455528 ac_cs_silent=false
5529
61465530 SHELL=\${CONFIG_SHELL-$SHELL}
6147 _ACEOF
6148
6149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6150 ## --------------------- ##
6151 ## M4sh Initialization. ##
6152 ## --------------------- ##
5531 export SHELL
5532 _ASEOF
5533 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5534 ## -------------------- ##
5535 ## M4sh Initialization. ##
5536 ## -------------------- ##
61535537
61545538 # Be more Bourne compatible
61555539 DUALCASE=1; export DUALCASE # for MKS sh
6156 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5540 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
61575541 emulate sh
61585542 NULLCMD=:
61595543 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
61615545 alias -g '${1+"$@"}'='"$@"'
61625546 setopt NO_GLOB_SUBST
61635547 else
6164 case `(set -o) 2>/dev/null` in
6165 *posix*) set -o posix ;;
5548 case `(set -o) 2>/dev/null` in #(
5549 *posix*) :
5550 set -o posix ;; #(
5551 *) :
5552 ;;
61665553 esac
6167
6168 fi
6169
6170
6171
6172
6173 # PATH needs CR
6174 # Avoid depending upon Character Ranges.
6175 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6176 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6177 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6178 as_cr_digits='0123456789'
6179 as_cr_alnum=$as_cr_Letters$as_cr_digits
5554 fi
5555
61805556
61815557 as_nl='
61825558 '
61855561 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
61865562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
61875563 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6188 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5564 # Prefer a ksh shell builtin over an external printf program on Solaris,
5565 # but without wasting forks for bash or zsh.
5566 if test -z "$BASH_VERSION$ZSH_VERSION" \
5567 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5568 as_echo='print -r --'
5569 as_echo_n='print -rn --'
5570 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
61895571 as_echo='printf %s\n'
61905572 as_echo_n='printf %s'
61915573 else
61965578 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61975579 as_echo_n_body='eval
61985580 arg=$1;
6199 case $arg in
5581 case $arg in #(
62005582 *"$as_nl"*)
62015583 expr "X$arg" : "X\\(.*\\)$as_nl";
62025584 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62195601 }
62205602 fi
62215603
6222 # Support unset when possible.
6223 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6224 as_unset=unset
6225 else
6226 as_unset=false
6227 fi
6228
62295604
62305605 # IFS
62315606 # We need space, tab and new line, in precisely that order. Quoting is
62355610 IFS=" "" $as_nl"
62365611
62375612 # Find who we are. Look in the path if we contain no directory separator.
6238 case $0 in
5613 as_myself=
5614 case $0 in #((
62395615 *[\\/]* ) as_myself=$0 ;;
62405616 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62415617 for as_dir in $PATH
62425618 do
62435619 IFS=$as_save_IFS
62445620 test -z "$as_dir" && as_dir=.
6245 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6246 done
5621 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5622 done
62475623 IFS=$as_save_IFS
62485624
62495625 ;;
62555631 fi
62565632 if test ! -f "$as_myself"; then
62575633 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6258 { (exit 1); exit 1; }
6259 fi
6260
6261 # Work around bugs in pre-3.0 UWIN ksh.
6262 for as_var in ENV MAIL MAILPATH
6263 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5634 exit 1
5635 fi
5636
5637 # Unset variables that we do not need and which cause bugs (e.g. in
5638 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5639 # suppresses any "Segmentation fault" message there. '((' could
5640 # trigger a bug in pdksh 5.2.14.
5641 for as_var in BASH_ENV ENV MAIL MAILPATH
5642 do eval test x\${$as_var+set} = xset \
5643 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
62645644 done
62655645 PS1='$ '
62665646 PS2='> '
62725652 LANGUAGE=C
62735653 export LANGUAGE
62745654
6275 # Required to use basename.
5655 # CDPATH.
5656 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5657
5658
5659 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5660 # ----------------------------------------
5661 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5662 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5663 # script with STATUS, using 1 if that was 0.
5664 as_fn_error ()
5665 {
5666 as_status=$1; test $as_status -eq 0 && as_status=1
5667 if test "$4"; then
5668 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5669 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5670 fi
5671 $as_echo "$as_me: error: $2" >&2
5672 as_fn_exit $as_status
5673 } # as_fn_error
5674
5675
5676 # as_fn_set_status STATUS
5677 # -----------------------
5678 # Set $? to STATUS, without forking.
5679 as_fn_set_status ()
5680 {
5681 return $1
5682 } # as_fn_set_status
5683
5684 # as_fn_exit STATUS
5685 # -----------------
5686 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5687 as_fn_exit ()
5688 {
5689 set +e
5690 as_fn_set_status $1
5691 exit $1
5692 } # as_fn_exit
5693
5694 # as_fn_unset VAR
5695 # ---------------
5696 # Portably unset VAR.
5697 as_fn_unset ()
5698 {
5699 { eval $1=; unset $1;}
5700 }
5701 as_unset=as_fn_unset
5702 # as_fn_append VAR VALUE
5703 # ----------------------
5704 # Append the text in VALUE to the end of the definition contained in VAR. Take
5705 # advantage of any shell optimizations that allow amortized linear growth over
5706 # repeated appends, instead of the typical quadratic growth present in naive
5707 # implementations.
5708 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5709 eval 'as_fn_append ()
5710 {
5711 eval $1+=\$2
5712 }'
5713 else
5714 as_fn_append ()
5715 {
5716 eval $1=\$$1\$2
5717 }
5718 fi # as_fn_append
5719
5720 # as_fn_arith ARG...
5721 # ------------------
5722 # Perform arithmetic evaluation on the ARGs, and store the result in the
5723 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5724 # must be portable across $(()) and expr.
5725 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5726 eval 'as_fn_arith ()
5727 {
5728 as_val=$(( $* ))
5729 }'
5730 else
5731 as_fn_arith ()
5732 {
5733 as_val=`expr "$@" || test $? -eq 1`
5734 }
5735 fi # as_fn_arith
5736
5737
62765738 if expr a : '\(a\)' >/dev/null 2>&1 &&
62775739 test "X`expr 00001 : '.*\(...\)'`" = X001; then
62785740 as_expr=expr
62865748 as_basename=false
62875749 fi
62885750
6289
6290 # Name of the executable.
5751 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5752 as_dirname=dirname
5753 else
5754 as_dirname=false
5755 fi
5756
62915757 as_me=`$as_basename -- "$0" ||
62925758 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
62935759 X"$0" : 'X\(//\)$' \| \
63075773 }
63085774 s/.*/./; q'`
63095775
6310 # CDPATH.
6311 $as_unset CDPATH
6312
6313
6314
6315 as_lineno_1=$LINENO
6316 as_lineno_2=$LINENO
6317 test "x$as_lineno_1" != "x$as_lineno_2" &&
6318 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6319
6320 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6321 # uniformly replaced by the line number. The first 'sed' inserts a
6322 # line-number line after each line using $LINENO; the second 'sed'
6323 # does the real work. The second script uses 'N' to pair each
6324 # line-number line with the line containing $LINENO, and appends
6325 # trailing '-' during substitution so that $LINENO is not a special
6326 # case at line end.
6327 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6328 # scripts with optimization help from Paolo Bonzini. Blame Lee
6329 # E. McMahon (1931-1989) for sed's syntax. :-)
6330 sed -n '
6331 p
6332 /[$]LINENO/=
6333 ' <$as_myself |
6334 sed '
6335 s/[$]LINENO.*/&-/
6336 t lineno
6337 b
6338 :lineno
6339 N
6340 :loop
6341 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6342 t loop
6343 s/-\n.*//
6344 ' >$as_me.lineno &&
6345 chmod +x "$as_me.lineno" ||
6346 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6347 { (exit 1); exit 1; }; }
6348
6349 # Don't try to exec as it changes $[0], causing all sort of problems
6350 # (the dirname of $[0] is not the place where we might find the
6351 # original and so on. Autoconf is especially sensitive to this).
6352 . "./$as_me.lineno"
6353 # Exit status is that of the last command.
6354 exit
6355 }
6356
6357
6358 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6359 as_dirname=dirname
6360 else
6361 as_dirname=false
6362 fi
5776 # Avoid depending upon Character Ranges.
5777 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5778 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5779 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5780 as_cr_digits='0123456789'
5781 as_cr_alnum=$as_cr_Letters$as_cr_digits
63635782
63645783 ECHO_C= ECHO_N= ECHO_T=
6365 case `echo -n x` in
5784 case `echo -n x` in #(((((
63665785 -n*)
6367 case `echo 'x\c'` in
5786 case `echo 'xy\c'` in
63685787 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6369 *) ECHO_C='\c';;
5788 xy) ECHO_C='\c';;
5789 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5790 ECHO_T=' ';;
63705791 esac;;
63715792 *)
63725793 ECHO_N='-n';;
63735794 esac
6374 if expr a : '\(a\)' >/dev/null 2>&1 &&
6375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6376 as_expr=expr
6377 else
6378 as_expr=false
6379 fi
63805795
63815796 rm -f conf$$ conf$$.exe conf$$.file
63825797 if test -d conf$$.dir; then
63915806 # ... but there are two gotchas:
63925807 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
63935808 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6394 # In both cases, we have to default to `cp -p'.
5809 # In both cases, we have to default to `cp -pR'.
63955810 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6396 as_ln_s='cp -p'
5811 as_ln_s='cp -pR'
63975812 elif ln conf$$.file conf$$ 2>/dev/null; then
63985813 as_ln_s=ln
63995814 else
6400 as_ln_s='cp -p'
5815 as_ln_s='cp -pR'
64015816 fi
64025817 else
6403 as_ln_s='cp -p'
5818 as_ln_s='cp -pR'
64045819 fi
64055820 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
64065821 rmdir conf$$.dir 2>/dev/null
64075822
5823
5824 # as_fn_mkdir_p
5825 # -------------
5826 # Create "$as_dir" as a directory, including parents if necessary.
5827 as_fn_mkdir_p ()
5828 {
5829
5830 case $as_dir in #(
5831 -*) as_dir=./$as_dir;;
5832 esac
5833 test -d "$as_dir" || eval $as_mkdir_p || {
5834 as_dirs=
5835 while :; do
5836 case $as_dir in #(
5837 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5838 *) as_qdir=$as_dir;;
5839 esac
5840 as_dirs="'$as_qdir' $as_dirs"
5841 as_dir=`$as_dirname -- "$as_dir" ||
5842 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5843 X"$as_dir" : 'X\(//\)[^/]' \| \
5844 X"$as_dir" : 'X\(//\)$' \| \
5845 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5846 $as_echo X"$as_dir" |
5847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5848 s//\1/
5849 q
5850 }
5851 /^X\(\/\/\)[^/].*/{
5852 s//\1/
5853 q
5854 }
5855 /^X\(\/\/\)$/{
5856 s//\1/
5857 q
5858 }
5859 /^X\(\/\).*/{
5860 s//\1/
5861 q
5862 }
5863 s/.*/./; q'`
5864 test -d "$as_dir" && break
5865 done
5866 test -z "$as_dirs" || eval "mkdir $as_dirs"
5867 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5868
5869
5870 } # as_fn_mkdir_p
64085871 if mkdir -p . 2>/dev/null; then
6409 as_mkdir_p=:
5872 as_mkdir_p='mkdir -p "$as_dir"'
64105873 else
64115874 test -d ./-p && rmdir ./-p
64125875 as_mkdir_p=false
64135876 fi
64145877
6415 if test -x / >/dev/null 2>&1; then
6416 as_test_x='test -x'
6417 else
6418 if ls -dL / >/dev/null 2>&1; then
6419 as_ls_L_option=L
6420 else
6421 as_ls_L_option=
6422 fi
6423 as_test_x='
6424 eval sh -c '\''
6425 if test -d "$1"; then
6426 test -d "$1/.";
6427 else
6428 case $1 in
6429 -*)set "./$1";;
6430 esac;
6431 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6432 ???[sx]*):;;*)false;;esac;fi
6433 '\'' sh
6434 '
6435 fi
6436 as_executable_p=$as_test_x
5878
5879 # as_fn_executable_p FILE
5880 # -----------------------
5881 # Test if FILE is an executable regular file.
5882 as_fn_executable_p ()
5883 {
5884 test -f "$1" && test -x "$1"
5885 } # as_fn_executable_p
5886 as_test_x='test -x'
5887 as_executable_p=as_fn_executable_p
64375888
64385889 # Sed expression to map a string onto a valid CPP name.
64395890 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
64435894
64445895
64455896 exec 6>&1
6446
6447 # Save the log message, to keep $[0] and so on meaningful, and to
5897 ## ----------------------------------- ##
5898 ## Main body of $CONFIG_STATUS script. ##
5899 ## ----------------------------------- ##
5900 _ASEOF
5901 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5902
5903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5904 # Save the log message, to keep $0 and so on meaningful, and to
64485905 # report actual input values of CONFIG_FILES etc. instead of their
64495906 # values after options handling.
64505907 ac_log="
64515908 This file was extended by $as_me, which was
6452 generated by GNU Autoconf 2.63. Invocation command line was
5909 generated by GNU Autoconf 2.69. Invocation command line was
64535910
64545911 CONFIG_FILES = $CONFIG_FILES
64555912 CONFIG_HEADERS = $CONFIG_HEADERS
64815938
64825939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
64835940 ac_cs_usage="\
6484 \`$as_me' instantiates files from templates according to the
6485 current configuration.
6486
6487 Usage: $0 [OPTION]... [FILE]...
5941 \`$as_me' instantiates files and other configuration actions
5942 from templates according to the current configuration. Unless the files
5943 and actions are specified as TAGs, all are instantiated by default.
5944
5945 Usage: $0 [OPTION]... [TAG]...
64885946
64895947 -h, --help print this help, then exit
64905948 -V, --version print version number and configuration settings, then exit
5949 --config print configuration, then exit
64915950 -q, --quiet, --silent
64925951 do not print progress messages
64935952 -d, --debug don't remove temporary files
65065965 Configuration commands:
65075966 $config_commands
65085967
6509 Report bugs to <bug-autoconf@gnu.org>."
5968 Report bugs to the package provider."
65105969
65115970 _ACEOF
65125971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5972 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
65135973 ac_cs_version="\\
65145974 config.status
6515 configured by $0, generated by GNU Autoconf 2.63,
6516 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6517
6518 Copyright (C) 2008 Free Software Foundation, Inc.
5975 configured by $0, generated by GNU Autoconf 2.69,
5976 with options \\"\$ac_cs_config\\"
5977
5978 Copyright (C) 2012 Free Software Foundation, Inc.
65195979 This config.status script is free software; the Free Software Foundation
65205980 gives unlimited permission to copy, distribute and modify it."
65215981
65325992 while test $# != 0
65335993 do
65345994 case $1 in
6535 --*=*)
5995 --*=?*)
65365996 ac_option=`expr "X$1" : 'X\([^=]*\)='`
65375997 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5998 ac_shift=:
5999 ;;
6000 --*=)
6001 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6002 ac_optarg=
65386003 ac_shift=:
65396004 ;;
65406005 *)
65506015 ac_cs_recheck=: ;;
65516016 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
65526017 $as_echo "$ac_cs_version"; exit ;;
6018 --config | --confi | --conf | --con | --co | --c )
6019 $as_echo "$ac_cs_config"; exit ;;
65536020 --debug | --debu | --deb | --de | --d | -d )
65546021 debug=: ;;
65556022 --file | --fil | --fi | --f )
65566023 $ac_shift
65576024 case $ac_optarg in
65586025 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6026 '') as_fn_error $? "missing file argument" ;;
65596027 esac
6560 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6028 as_fn_append CONFIG_FILES " '$ac_optarg'"
65616029 ac_need_defaults=false;;
65626030 --header | --heade | --head | --hea )
65636031 $ac_shift
65646032 case $ac_optarg in
65656033 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
65666034 esac
6567 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6035 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
65686036 ac_need_defaults=false;;
65696037 --he | --h)
65706038 # Conflict between --help and --header
6571 { $as_echo "$as_me: error: ambiguous option: $1
6572 Try \`$0 --help' for more information." >&2
6573 { (exit 1); exit 1; }; };;
6039 as_fn_error $? "ambiguous option: \`$1'
6040 Try \`$0 --help' for more information.";;
65746041 --help | --hel | -h )
65756042 $as_echo "$ac_cs_usage"; exit ;;
65766043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
65786045 ac_cs_silent=: ;;
65796046
65806047 # This is an error.
6581 -*) { $as_echo "$as_me: error: unrecognized option: $1
6582 Try \`$0 --help' for more information." >&2
6583 { (exit 1); exit 1; }; } ;;
6584
6585 *) ac_config_targets="$ac_config_targets $1"
6048 -*) as_fn_error $? "unrecognized option: \`$1'
6049 Try \`$0 --help' for more information." ;;
6050
6051 *) as_fn_append ac_config_targets " $1"
65866052 ac_need_defaults=false ;;
65876053
65886054 esac
65996065 _ACEOF
66006066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66016067 if \$ac_cs_recheck; then
6602 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6068 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66036069 shift
66046070 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66056071 CONFIG_SHELL='$SHELL'
66406106 "src/grapple/Makefile") CONFIG_FILES="$CONFIG_FILES src/grapple/Makefile" ;;
66416107 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
66426108
6643 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6644 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6645 { (exit 1); exit 1; }; };;
6109 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66466110 esac
66476111 done
66486112
66656129 # after its creation but before its name has been assigned to `$tmp'.
66666130 $debug ||
66676131 {
6668 tmp=
6132 tmp= ac_tmp=
66696133 trap 'exit_status=$?
6670 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6134 : "${ac_tmp:=$tmp}"
6135 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
66716136 ' 0
6672 trap '{ (exit 1); exit 1; }' 1 2 13 15
6137 trap 'as_fn_exit 1' 1 2 13 15
66736138 }
66746139 # Create a (secure) tmp directory for tmp files.
66756140
66766141 {
66776142 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6678 test -n "$tmp" && test -d "$tmp"
6143 test -d "$tmp"
66796144 } ||
66806145 {
66816146 tmp=./conf$$-$RANDOM
66826147 (umask 077 && mkdir "$tmp")
6683 } ||
6684 {
6685 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6686 { (exit 1); exit 1; }
6687 }
6148 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6149 ac_tmp=$tmp
66886150
66896151 # Set up the scripts for CONFIG_FILES section.
66906152 # No need to generate them if there are no CONFIG_FILES.
66926154 if test -n "$CONFIG_FILES"; then
66936155
66946156
6695 ac_cr='
6696 '
6157 ac_cr=`echo X | tr X '\015'`
6158 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6159 # But we know of no other shell where ac_cr would be empty at this
6160 # point, so we can use a bashism as a fallback.
6161 if test "x$ac_cr" = x; then
6162 eval ac_cr=\$\'\\r\'
6163 fi
66976164 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66986165 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66996166 ac_cs_awk_cr='\\r'
67016168 ac_cs_awk_cr=$ac_cr
67026169 fi
67036170
6704 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6171 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
67056172 _ACEOF
67066173
67076174
67106177 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67116178 echo "_ACEOF"
67126179 } >conf$$subs.sh ||
6713 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6714 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6715 { (exit 1); exit 1; }; }
6716 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6181 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
67176182 ac_delim='%!_!# '
67186183 for ac_last_try in false false false false false :; do
67196184 . ./conf$$subs.sh ||
6720 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6721 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6722 { (exit 1); exit 1; }; }
6185 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
67236186
67246187 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67256188 if test $ac_delim_n = $ac_delim_num; then
67266189 break
67276190 elif $ac_last_try; then
6728 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6729 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6730 { (exit 1); exit 1; }; }
6191 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
67316192 else
67326193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67336194 fi
67356196 rm -f conf$$subs.sh
67366197
67376198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6738 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6199 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
67396200 _ACEOF
67406201 sed -n '
67416202 h
67496210 t delim
67506211 :nl
67516212 h
6752 s/\(.\{148\}\).*/\1/
6213 s/\(.\{148\}\)..*/\1/
67536214 t more1
67546215 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67556216 p
67636224 t nl
67646225 :delim
67656226 h
6766 s/\(.\{148\}\).*/\1/
6227 s/\(.\{148\}\)..*/\1/
67676228 t more2
67686229 s/["\\]/\\&/g; s/^/"/; s/$/"/
67696230 p
67836244 rm -f conf$$subs.awk
67846245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67856246 _ACAWK
6786 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6247 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
67876248 for (key in S) S_is_set[key] = 1
67886249 FS = ""
67896250
68156276 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
68166277 else
68176278 cat
6818 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6819 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6820 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6821 { (exit 1); exit 1; }; }
6822 _ACEOF
6823
6824 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6825 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6279 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6280 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6281 _ACEOF
6282
6283 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6284 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
68266285 # trailing colons and then remove the whole line if VPATH becomes empty
68276286 # (actually we leave an empty line to preserve line numbers).
68286287 if test "x$srcdir" = x.; then
6829 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6830 s/:*\$(srcdir):*/:/
6831 s/:*\${srcdir}:*/:/
6832 s/:*@srcdir@:*/:/
6833 s/^\([^=]*=[ ]*\):*/\1/
6288 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6289 h
6290 s///
6291 s/^/:/
6292 s/[ ]*$/:/
6293 s/:\$(srcdir):/:/g
6294 s/:\${srcdir}:/:/g
6295 s/:@srcdir@:/:/g
6296 s/^:*//
68346297 s/:*$//
6298 x
6299 s/\(=[ ]*\).*/\1/
6300 G
6301 s/\n//
68356302 s/^[^=]*=[ ]*$//
68366303 }'
68376304 fi
68436310 # No need to generate them if there are no CONFIG_HEADERS.
68446311 # This happens for instance with `./config.status Makefile'.
68456312 if test -n "$CONFIG_HEADERS"; then
6846 cat >"$tmp/defines.awk" <<\_ACAWK ||
6313 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
68476314 BEGIN {
68486315 _ACEOF
68496316
68556322 # handling of long lines.
68566323 ac_delim='%!_!# '
68576324 for ac_last_try in false false :; do
6858 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6859 if test -z "$ac_t"; then
6325 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6326 if test -z "$ac_tt"; then
68606327 break
68616328 elif $ac_last_try; then
6862 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6863 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6864 { (exit 1); exit 1; }; }
6329 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
68656330 else
68666331 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
68676332 fi
69466411 _ACAWK
69476412 _ACEOF
69486413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6949 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6950 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6951 { (exit 1); exit 1; }; }
6414 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
69526415 fi # test -n "$CONFIG_HEADERS"
69536416
69546417
69616424 esac
69626425 case $ac_mode$ac_tag in
69636426 :[FHL]*:*);;
6964 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6965 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6966 { (exit 1); exit 1; }; };;
6427 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
69676428 :[FH]-) ac_tag=-:-;;
69686429 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
69696430 esac
69826443 for ac_f
69836444 do
69846445 case $ac_f in
6985 -) ac_f="$tmp/stdin";;
6446 -) ac_f="$ac_tmp/stdin";;
69866447 *) # Look for the file first in the build tree, then in the source tree
69876448 # (if the path is not absolute). The absolute path cannot be DOS-style,
69886449 # because $ac_f cannot contain `:'.
69916452 [\\/$]*) false;;
69926453 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
69936454 esac ||
6994 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6995 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6996 { (exit 1); exit 1; }; };;
6455 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
69976456 esac
69986457 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6999 ac_file_inputs="$ac_file_inputs '$ac_f'"
6458 as_fn_append ac_file_inputs " '$ac_f'"
70006459 done
70016460
70026461 # Let's still pretend it is `configure' which instantiates (i.e., don't
70076466 `' by configure.'
70086467 if test x"$ac_file" != x-; then
70096468 configure_input="$ac_file. $configure_input"
7010 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
70116470 $as_echo "$as_me: creating $ac_file" >&6;}
70126471 fi
70136472 # Neutralize special characters interpreted by sed in replacement strings.
70196478 esac
70206479
70216480 case $ac_tag in
7022 *:-:* | *:-) cat >"$tmp/stdin" \
7023 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7024 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7025 { (exit 1); exit 1; }; } ;;
6481 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
70266483 esac
70276484 ;;
70286485 esac
70506507 q
70516508 }
70526509 s/.*/./; q'`
7053 { as_dir="$ac_dir"
7054 case $as_dir in #(
7055 -*) as_dir=./$as_dir;;
7056 esac
7057 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7058 as_dirs=
7059 while :; do
7060 case $as_dir in #(
7061 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7062 *) as_qdir=$as_dir;;
7063 esac
7064 as_dirs="'$as_qdir' $as_dirs"
7065 as_dir=`$as_dirname -- "$as_dir" ||
7066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7067 X"$as_dir" : 'X\(//\)[^/]' \| \
7068 X"$as_dir" : 'X\(//\)$' \| \
7069 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7070 $as_echo X"$as_dir" |
7071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7072 s//\1/
7073 q
7074 }
7075 /^X\(\/\/\)[^/].*/{
7076 s//\1/
7077 q
7078 }
7079 /^X\(\/\/\)$/{
7080 s//\1/
7081 q
7082 }
7083 /^X\(\/\).*/{
7084 s//\1/
7085 q
7086 }
7087 s/.*/./; q'`
7088 test -d "$as_dir" && break
7089 done
7090 test -z "$as_dirs" || eval "mkdir $as_dirs"
7091 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7092 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7093 { (exit 1); exit 1; }; }; }
6510 as_dir="$ac_dir"; as_fn_mkdir_p
70946511 ac_builddir=.
70956512
70966513 case "$ac_dir" in
71426559 # If the template does not know about datarootdir, expand it.
71436560 # FIXME: This hack should be removed a few years after 2.60.
71446561 ac_datarootdir_hack=; ac_datarootdir_seen=
7145
71466562 ac_sed_dataroot='
71476563 /datarootdir/ {
71486564 p
71526568 /@docdir@/p
71536569 /@infodir@/p
71546570 /@localedir@/p
7155 /@mandir@/p
7156 '
6571 /@mandir@/p'
71576572 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
71586573 *datarootdir*) ac_datarootdir_seen=yes;;
71596574 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7160 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
71616576 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
71626577 _ACEOF
71636578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
71676582 s&@infodir@&$infodir&g
71686583 s&@localedir@&$localedir&g
71696584 s&@mandir@&$mandir&g
7170 s&\\\${datarootdir}&$datarootdir&g' ;;
6585 s&\\\${datarootdir}&$datarootdir&g' ;;
71716586 esac
71726587 _ACEOF
71736588
71946609 s&@INSTALL@&$ac_INSTALL&;t t
71956610 $ac_datarootdir_hack
71966611 "
7197 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7198 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7199 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7200 { (exit 1); exit 1; }; }
6612 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6613 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
72016614
72026615 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7203 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7204 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7205 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7206 which seems to be undefined. Please make sure it is defined." >&5
6616 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6617 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6618 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6620 which seems to be undefined. Please make sure it is defined" >&5
72076621 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7208 which seems to be undefined. Please make sure it is defined." >&2;}
7209
7210 rm -f "$tmp/stdin"
6622 which seems to be undefined. Please make sure it is defined" >&2;}
6623
6624 rm -f "$ac_tmp/stdin"
72116625 case $ac_file in
7212 -) cat "$tmp/out" && rm -f "$tmp/out";;
7213 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6626 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6627 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
72146628 esac \
7215 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7216 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7217 { (exit 1); exit 1; }; }
6629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
72186630 ;;
72196631 :H)
72206632 #
72236635 if test x"$ac_file" != x-; then
72246636 {
72256637 $as_echo "/* $configure_input */" \
7226 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7227 } >"$tmp/config.h" \
7228 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7229 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7230 { (exit 1); exit 1; }; }
7231 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7232 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6638 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6639 } >"$ac_tmp/config.h" \
6640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6641 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
72336643 $as_echo "$as_me: $ac_file is unchanged" >&6;}
72346644 else
72356645 rm -f "$ac_file"
7236 mv "$tmp/config.h" "$ac_file" \
7237 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7238 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7239 { (exit 1); exit 1; }; }
6646 mv "$ac_tmp/config.h" "$ac_file" \
6647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
72406648 fi
72416649 else
72426650 $as_echo "/* $configure_input */" \
7243 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7244 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7245 $as_echo "$as_me: error: could not create -" >&2;}
7246 { (exit 1); exit 1; }; }
6651 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6652 || as_fn_error $? "could not create -" "$LINENO" 5
72476653 fi
72486654 # Compute "$ac_file"'s index in $config_headers.
72496655 _am_stamp_count=1
72806686 s/.*/./; q'`/stamp-h$_am_stamp_count
72816687 ;;
72826688
7283 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6689 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
72846690 $as_echo "$as_me: executing $ac_file commands" >&6;}
72856691 ;;
72866692 esac
73646770 q
73656771 }
73666772 s/.*/./; q'`
7367 { as_dir=$dirpart/$fdir
7368 case $as_dir in #(
7369 -*) as_dir=./$as_dir;;
7370 esac
7371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7372 as_dirs=
7373 while :; do
7374 case $as_dir in #(
7375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7376 *) as_qdir=$as_dir;;
7377 esac
7378 as_dirs="'$as_qdir' $as_dirs"
7379 as_dir=`$as_dirname -- "$as_dir" ||
7380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7381 X"$as_dir" : 'X\(//\)[^/]' \| \
7382 X"$as_dir" : 'X\(//\)$' \| \
7383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7384 $as_echo X"$as_dir" |
7385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7386 s//\1/
7387 q
7388 }
7389 /^X\(\/\/\)[^/].*/{
7390 s//\1/
7391 q
7392 }
7393 /^X\(\/\/\)$/{
7394 s//\1/
7395 q
7396 }
7397 /^X\(\/\).*/{
7398 s//\1/
7399 q
7400 }
7401 s/.*/./; q'`
7402 test -d "$as_dir" && break
7403 done
7404 test -z "$as_dirs" || eval "mkdir $as_dirs"
7405 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7406 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7407 { (exit 1); exit 1; }; }; }
6773 as_dir=$dirpart/$fdir; as_fn_mkdir_p
74086774 # echo "creating $dirpart/$file"
74096775 echo '# dummy' > "$dirpart/$file"
74106776 done
74156781 done # for ac_tag
74166782
74176783
7418 { (exit 0); exit 0; }
7419 _ACEOF
7420 chmod +x $CONFIG_STATUS
6784 as_fn_exit 0
6785 _ACEOF
74216786 ac_clean_files=$ac_clean_files_save
74226787
74236788 test $ac_write_fail = 0 ||
7424 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7425 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7426 { (exit 1); exit 1; }; }
6789 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
74276790
74286791
74296792 # configure is writing to config.log, and then calls config.status.
74446807 exec 5>>config.log
74456808 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
74466809 # would make configure fail if this is the last instruction.
7447 $ac_cs_success || { (exit 1); exit 1; }
6810 $ac_cs_success || as_fn_exit 1
74486811 fi
74496812 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7450 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
74516814 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
74526815 fi
74536816
0 pong2 (0.1.3+git20210124.1.34c1bb3-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Mon, 07 Jun 2021 06:53:27 -0000
5
06 pong2 (0.1.3-3) unstable; urgency=medium
17
28 * Team upload.