Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for lsdvd 0.21.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
155 ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
175 fi
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184 if (eval "$as_required") 2>/dev/null
185 then :
186 as_have_required=yes
187 else $as_nop
188 as_have_required=no
189 fi
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191 then :
192
193 else $as_nop
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 case $as_dir in #(((
200 '') as_dir=./ ;;
201 */) ;;
202 *) as_dir=$as_dir/ ;;
203 esac
204 as_found=:
205 case $as_dir in #(
206 /*)
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir$as_base
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212 then :
213 CONFIG_SHELL=$as_shell as_have_required=yes
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215 then :
216 break 2
217 fi
218 fi
219 done;;
220 esac
221 as_found=false
222 done
223 IFS=$as_save_IFS
224 if $as_found
225 then :
226
227 else $as_nop
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230 then :
231 CONFIG_SHELL=$SHELL as_have_required=yes
232 fi
233 fi
234
235
236 if test "x$CONFIG_SHELL" != x
237 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno
260 then :
261 printf "%s\n" "$0: This script requires a shell more modern than all"
262 printf "%s\n" "$0: the shells that I found on your system."
263 if test ${ZSH_VERSION+y} ; then
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 printf "%s\n" "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } # as_fn_set_status
302
303 # as_fn_exit STATUS
304 # -----------------
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } # as_fn_exit
312 # as_fn_nop
313 # ---------
314 # Do nothing but, unlike ":", preserve the value of $?.
315 as_fn_nop ()
316 {
317 return $?
318 }
319 as_nop=as_fn_nop
320
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_p ()
325 {
326
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 test -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\).*/{
357 s//\1/
358 q
359 }
360 s/.*/./; q'`
361 test -d "$as_dir" && break
362 done
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365
366
367 } # as_fn_mkdir_p
368
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
373 {
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
384 eval 'as_fn_append ()
385 {
386 eval $1+=\$2
387 }'
388 else $as_nop
389 as_fn_append ()
390 {
391 eval $1=\$$1\$2
392 }
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else $as_nop
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413 # as_fn_nop
414 # ---------
415 # Do nothing but, unlike ":", preserve the value of $?.
416 as_fn_nop ()
417 {
418 return $?
419 }
420 as_nop=as_fn_nop
421
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
423 # ----------------------------------------
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426 # script with STATUS, using 1 if that was 0.
427 as_fn_error ()
428 {
429 as_status=$1; test $as_status -eq 0 && as_status=1
430 if test "$4"; then
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
433 fi
434 printf "%s\n" "$as_me: error: $2" >&2
435 as_fn_exit $as_status
436 } # as_fn_error
437
438 if expr a : '\(a\)' >/dev/null 2>&1 &&
439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
440 as_expr=expr
441 else
442 as_expr=false
443 fi
444
445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
446 as_basename=basename
447 else
448 as_basename=false
449 fi
450
451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
452 as_dirname=dirname
453 else
454 as_dirname=false
455 fi
456
457 as_me=`$as_basename -- "$0" ||
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459 X"$0" : 'X\(//\)$' \| \
460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461 printf "%s\n" X/"$0" |
462 sed '/^.*\/\([^/][^/]*\)\/*$/{
463 s//\1/
464 q
465 }
466 /^X\/\(\/\/\)$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\).*/{
471 s//\1/
472 q
473 }
474 s/.*/./; q'`
475
476 # Avoid depending upon Character Ranges.
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480 as_cr_digits='0123456789'
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
482
483
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 sed -n '
490 p
491 /[$]LINENO/=
492 ' <$as_myself |
493 sed '
494 s/[$]LINENO.*/&-/
495 t lineno
496 b
497 :lineno
498 N
499 :loop
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 t loop
502 s/-\n.*//
503 ' >$as_me.lineno &&
504 chmod +x "$as_me.lineno" ||
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
506
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508 # already done that, so ensure we don't try to do so again and fall
509 # in an infinite loop. This has already happened in practice.
510 _as_can_reexec=no; export _as_can_reexec
511 # Don't try to exec as it changes $[0], causing all sort of problems
512 # (the dirname of $[0] is not the place where we might find the
513 # original and so on. Autoconf is especially sensitive to this).
514 . "./$as_me.lineno"
515 # Exit status is that of the last command.
516 exit
517 }
518
519
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
523 ECHO_C= ECHO_N= ECHO_T=
524 case `echo -n x` in #(((((
525 -n*)
526 case `echo 'xy\c'` in
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
528 xy) ECHO_C='\c';;
529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
530 ECHO_T=' ';;
531 esac;;
532 *)
533 ECHO_N='-n';;
534 esac
535
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
541
542
543 rm -f conf$$ conf$$.exe conf$$.file
544 if test -d conf$$.dir; then
545 rm -f conf$$.dir/conf$$.file
546 else
547 rm -f conf$$.dir
548 mkdir conf$$.dir 2>/dev/null
549 fi
550 if (echo >conf$$.file) 2>/dev/null; then
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
552 as_ln_s='ln -s'
553 # ... but there are two gotchas:
554 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556 # In both cases, we have to default to `cp -pR'.
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558 as_ln_s='cp -pR'
559 elif ln conf$$.file conf$$ 2>/dev/null; then
560 as_ln_s=ln
561 else
562 as_ln_s='cp -pR'
563 fi
564 else
565 as_ln_s='cp -pR'
566 fi
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568 rmdir conf$$.dir 2>/dev/null
569
570 if mkdir -p . 2>/dev/null; then
571 as_mkdir_p='mkdir -p "$as_dir"'
572 else
573 test -d ./-p && rmdir ./-p
574 as_mkdir_p=false
575 fi
576
577 as_test_x='test -x'
578 as_executable_p=as_fn_executable_p
579
580 # Sed expression to map a string onto a valid CPP name.
581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
582
583 # Sed expression to map a string onto a valid variable name.
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
585
586
587 test -n "$DJDIR" || exec 7<&0 </dev/null
588 exec 6>&1
589
590 # Name of the host.
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592 # so uname gets run too.
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
594
595 #
596 # Initializations.
597 #
598 ac_default_prefix=/usr/local
599 ac_clean_files=
600 ac_config_libobj_dir=.
601 LIBOBJS=
602 cross_compiling=no
603 subdirs=
604 MFLAGS=
605 MAKEFLAGS=
606
607 # Identity of this package.
608 PACKAGE_NAME='lsdvd'
609 PACKAGE_TARNAME='lsdvd'
610 PACKAGE_VERSION='0.21'
611 PACKAGE_STRING='lsdvd 0.21'
612 PACKAGE_BUGREPORT=''
613 PACKAGE_URL=''
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 LIBXML2_LIBS
620 LIBXML2_CFLAGS
621 DVDREAD_LIBS
622 DVDREAD_CFLAGS
623 PKG_CONFIG_LIBDIR
624 PKG_CONFIG_PATH
625 PKG_CONFIG
626 am__fastdepCC_FALSE
627 am__fastdepCC_TRUE
628 CCDEPMODE
629 am__nodep
630 AMDEPBACKSLASH
631 AMDEP_FALSE
632 AMDEP_TRUE
633 am__include
634 DEPDIR
635 OBJEXT
636 EXEEXT
637 ac_ct_CC
638 CPPFLAGS
639 LDFLAGS
640 CFLAGS
641 CC
642 AM_BACKSLASH
643 AM_DEFAULT_VERBOSITY
644 AM_DEFAULT_V
645 AM_V
646 CSCOPE
647 ETAGS
648 CTAGS
649 am__untar
650 am__tar
651 AMTAR
652 am__leading_dot
653 SET_MAKE
654 AWK
655 mkdir_p
656 MKDIR_P
657 INSTALL_STRIP_PROGRAM
658 STRIP
659 install_sh
660 MAKEINFO
661 AUTOHEADER
662 AUTOMAKE
663 AUTOCONF
664 ACLOCAL
665 VERSION
666 PACKAGE
667 CYGPATH_W
668 am__isrc
669 INSTALL_DATA
670 INSTALL_SCRIPT
671 INSTALL_PROGRAM
672 target_alias
673 host_alias
674 build_alias
675 LIBS
676 ECHO_T
677 ECHO_N
678 ECHO_C
679 DEFS
680 mandir
681 localedir
682 libdir
683 psdir
684 pdfdir
685 dvidir
686 htmldir
687 infodir
688 docdir
689 oldincludedir
690 includedir
691 runstatedir
692 localstatedir
693 sharedstatedir
694 sysconfdir
695 datadir
696 datarootdir
697 libexecdir
698 sbindir
699 bindir
700 program_transform_name
701 prefix
702 exec_prefix
703 PACKAGE_URL
704 PACKAGE_BUGREPORT
705 PACKAGE_STRING
706 PACKAGE_VERSION
707 PACKAGE_TARNAME
708 PACKAGE_NAME
709 PATH_SEPARATOR
710 SHELL
711 am__quote'
712 ac_subst_files=''
713 ac_user_opts='
714 enable_option_checking
715 enable_silent_rules
716 enable_dependency_tracking
717 enable_largefile
718 '
719 ac_precious_vars='build_alias
720 host_alias
721 target_alias
722 CC
723 CFLAGS
724 LDFLAGS
725 LIBS
726 CPPFLAGS
727 PKG_CONFIG
728 PKG_CONFIG_PATH
729 PKG_CONFIG_LIBDIR
730 DVDREAD_CFLAGS
731 DVDREAD_LIBS
732 LIBXML2_CFLAGS
733 LIBXML2_LIBS'
734
735
736 # Initialize some variables set by options.
737 ac_init_help=
738 ac_init_version=false
739 ac_unrecognized_opts=
740 ac_unrecognized_sep=
741 # The variables have the same names as the options, with
742 # dashes changed to underlines.
743 cache_file=/dev/null
744 exec_prefix=NONE
745 no_create=
746 no_recursion=
747 prefix=NONE
748 program_prefix=NONE
749 program_suffix=NONE
750 program_transform_name=s,x,x,
751 silent=
752 site=
753 srcdir=
754 verbose=
755 x_includes=NONE
756 x_libraries=NONE
757
758 # Installation directory options.
759 # These are left unexpanded so users can "make install exec_prefix=/foo"
760 # and all the variables that are supposed to be based on exec_prefix
761 # by default will actually change.
762 # Use braces instead of parens because sh, perl, etc. also accept them.
763 # (The list follows the same order as the GNU Coding Standards.)
764 bindir='${exec_prefix}/bin'
765 sbindir='${exec_prefix}/sbin'
766 libexecdir='${exec_prefix}/libexec'
767 datarootdir='${prefix}/share'
768 datadir='${datarootdir}'
769 sysconfdir='${prefix}/etc'
770 sharedstatedir='${prefix}/com'
771 localstatedir='${prefix}/var'
772 runstatedir='${localstatedir}/run'
773 includedir='${prefix}/include'
774 oldincludedir='/usr/include'
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776 infodir='${datarootdir}/info'
777 htmldir='${docdir}'
778 dvidir='${docdir}'
779 pdfdir='${docdir}'
780 psdir='${docdir}'
781 libdir='${exec_prefix}/lib'
782 localedir='${datarootdir}/locale'
783 mandir='${datarootdir}/man'
784
785 ac_prev=
786 ac_dashdash=
787 for ac_option
788 do
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\$ac_option
792 ac_prev=
793 continue
794 fi
795
796 case $ac_option in
797 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798 *=) ac_optarg= ;;
799 *) ac_optarg=yes ;;
800 esac
801
802 case $ac_dashdash$ac_option in
803 --)
804 ac_dashdash=yes ;;
805
806 -bindir | --bindir | --bindi | --bind | --bin | --bi)
807 ac_prev=bindir ;;
808 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
809 bindir=$ac_optarg ;;
810
811 -build | --build | --buil | --bui | --bu)
812 ac_prev=build_alias ;;
813 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
814 build_alias=$ac_optarg ;;
815
816 -cache-file | --cache-file | --cache-fil | --cache-fi \
817 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
818 ac_prev=cache_file ;;
819 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
820 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
821 cache_file=$ac_optarg ;;
822
823 --config-cache | -C)
824 cache_file=config.cache ;;
825
826 -datadir | --datadir | --datadi | --datad)
827 ac_prev=datadir ;;
828 -datadir=* | --datadir=* | --datadi=* | --datad=*)
829 datadir=$ac_optarg ;;
830
831 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
832 | --dataroo | --dataro | --datar)
833 ac_prev=datarootdir ;;
834 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
835 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
836 datarootdir=$ac_optarg ;;
837
838 -disable-* | --disable-*)
839 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842 as_fn_error $? "invalid feature name: \`$ac_useropt'"
843 ac_useropt_orig=$ac_useropt
844 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
846 *"
847 "enable_$ac_useropt"
848 "*) ;;
849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
850 ac_unrecognized_sep=', ';;
851 esac
852 eval enable_$ac_useropt=no ;;
853
854 -docdir | --docdir | --docdi | --doc | --do)
855 ac_prev=docdir ;;
856 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
857 docdir=$ac_optarg ;;
858
859 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
860 ac_prev=dvidir ;;
861 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
862 dvidir=$ac_optarg ;;
863
864 -enable-* | --enable-*)
865 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
866 # Reject names that are not valid shell variable names.
867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868 as_fn_error $? "invalid feature name: \`$ac_useropt'"
869 ac_useropt_orig=$ac_useropt
870 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
872 *"
873 "enable_$ac_useropt"
874 "*) ;;
875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
876 ac_unrecognized_sep=', ';;
877 esac
878 eval enable_$ac_useropt=\$ac_optarg ;;
879
880 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
881 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
882 | --exec | --exe | --ex)
883 ac_prev=exec_prefix ;;
884 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
885 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
886 | --exec=* | --exe=* | --ex=*)
887 exec_prefix=$ac_optarg ;;
888
889 -gas | --gas | --ga | --g)
890 # Obsolete; use --with-gas.
891 with_gas=yes ;;
892
893 -help | --help | --hel | --he | -h)
894 ac_init_help=long ;;
895 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
896 ac_init_help=recursive ;;
897 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
898 ac_init_help=short ;;
899
900 -host | --host | --hos | --ho)
901 ac_prev=host_alias ;;
902 -host=* | --host=* | --hos=* | --ho=*)
903 host_alias=$ac_optarg ;;
904
905 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
906 ac_prev=htmldir ;;
907 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
908 | --ht=*)
909 htmldir=$ac_optarg ;;
910
911 -includedir | --includedir | --includedi | --included | --include \
912 | --includ | --inclu | --incl | --inc)
913 ac_prev=includedir ;;
914 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
915 | --includ=* | --inclu=* | --incl=* | --inc=*)
916 includedir=$ac_optarg ;;
917
918 -infodir | --infodir | --infodi | --infod | --info | --inf)
919 ac_prev=infodir ;;
920 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
921 infodir=$ac_optarg ;;
922
923 -libdir | --libdir | --libdi | --libd)
924 ac_prev=libdir ;;
925 -libdir=* | --libdir=* | --libdi=* | --libd=*)
926 libdir=$ac_optarg ;;
927
928 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
929 | --libexe | --libex | --libe)
930 ac_prev=libexecdir ;;
931 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
932 | --libexe=* | --libex=* | --libe=*)
933 libexecdir=$ac_optarg ;;
934
935 -localedir | --localedir | --localedi | --localed | --locale)
936 ac_prev=localedir ;;
937 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
938 localedir=$ac_optarg ;;
939
940 -localstatedir | --localstatedir | --localstatedi | --localstated \
941 | --localstate | --localstat | --localsta | --localst | --locals)
942 ac_prev=localstatedir ;;
943 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
944 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
945 localstatedir=$ac_optarg ;;
946
947 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
948 ac_prev=mandir ;;
949 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
950 mandir=$ac_optarg ;;
951
952 -nfp | --nfp | --nf)
953 # Obsolete; use --without-fp.
954 with_fp=no ;;
955
956 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
957 | --no-cr | --no-c | -n)
958 no_create=yes ;;
959
960 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
961 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
962 no_recursion=yes ;;
963
964 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
965 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
966 | --oldin | --oldi | --old | --ol | --o)
967 ac_prev=oldincludedir ;;
968 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
969 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
970 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
971 oldincludedir=$ac_optarg ;;
972
973 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
974 ac_prev=prefix ;;
975 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
976 prefix=$ac_optarg ;;
977
978 -program-prefix | --program-prefix | --program-prefi | --program-pref \
979 | --program-pre | --program-pr | --program-p)
980 ac_prev=program_prefix ;;
981 -program-prefix=* | --program-prefix=* | --program-prefi=* \
982 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
983 program_prefix=$ac_optarg ;;
984
985 -program-suffix | --program-suffix | --program-suffi | --program-suff \
986 | --program-suf | --program-su | --program-s)
987 ac_prev=program_suffix ;;
988 -program-suffix=* | --program-suffix=* | --program-suffi=* \
989 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
990 program_suffix=$ac_optarg ;;
991
992 -program-transform-name | --program-transform-name \
993 | --program-transform-nam | --program-transform-na \
994 | --program-transform-n | --program-transform- \
995 | --program-transform | --program-transfor \
996 | --program-transfo | --program-transf \
997 | --program-trans | --program-tran \
998 | --progr-tra | --program-tr | --program-t)
999 ac_prev=program_transform_name ;;
1000 -program-transform-name=* | --program-transform-name=* \
1001 | --program-transform-nam=* | --program-transform-na=* \
1002 | --program-transform-n=* | --program-transform-=* \
1003 | --program-transform=* | --program-transfor=* \
1004 | --program-transfo=* | --program-transf=* \
1005 | --program-trans=* | --program-tran=* \
1006 | --progr-tra=* | --program-tr=* | --program-t=*)
1007 program_transform_name=$ac_optarg ;;
1008
1009 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1010 ac_prev=pdfdir ;;
1011 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1012 pdfdir=$ac_optarg ;;
1013
1014 -psdir | --psdir | --psdi | --psd | --ps)
1015 ac_prev=psdir ;;
1016 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1017 psdir=$ac_optarg ;;
1018
1019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1020 | -silent | --silent | --silen | --sile | --sil)
1021 silent=yes ;;
1022
1023 -runstatedir | --runstatedir | --runstatedi | --runstated \
1024 | --runstate | --runstat | --runsta | --runst | --runs \
1025 | --run | --ru | --r)
1026 ac_prev=runstatedir ;;
1027 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1028 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1029 | --run=* | --ru=* | --r=*)
1030 runstatedir=$ac_optarg ;;
1031
1032 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1033 ac_prev=sbindir ;;
1034 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1035 | --sbi=* | --sb=*)
1036 sbindir=$ac_optarg ;;
1037
1038 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1039 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1040 | --sharedst | --shareds | --shared | --share | --shar \
1041 | --sha | --sh)
1042 ac_prev=sharedstatedir ;;
1043 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1044 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1045 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1046 | --sha=* | --sh=*)
1047 sharedstatedir=$ac_optarg ;;
1048
1049 -site | --site | --sit)
1050 ac_prev=site ;;
1051 -site=* | --site=* | --sit=*)
1052 site=$ac_optarg ;;
1053
1054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1055 ac_prev=srcdir ;;
1056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1057 srcdir=$ac_optarg ;;
1058
1059 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1060 | --syscon | --sysco | --sysc | --sys | --sy)
1061 ac_prev=sysconfdir ;;
1062 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1063 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1064 sysconfdir=$ac_optarg ;;
1065
1066 -target | --target | --targe | --targ | --tar | --ta | --t)
1067 ac_prev=target_alias ;;
1068 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1069 target_alias=$ac_optarg ;;
1070
1071 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1072 verbose=yes ;;
1073
1074 -version | --version | --versio | --versi | --vers | -V)
1075 ac_init_version=: ;;
1076
1077 -with-* | --with-*)
1078 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error $? "invalid package name: \`$ac_useropt'"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1085 *"
1086 "with_$ac_useropt"
1087 "*) ;;
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1090 esac
1091 eval with_$ac_useropt=\$ac_optarg ;;
1092
1093 -without-* | --without-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: \`$ac_useropt'"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1101 *"
1102 "with_$ac_useropt"
1103 "*) ;;
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1106 esac
1107 eval with_$ac_useropt=no ;;
1108
1109 --x)
1110 # Obsolete; use --with-x.
1111 with_x=yes ;;
1112
1113 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1114 | --x-incl | --x-inc | --x-in | --x-i)
1115 ac_prev=x_includes ;;
1116 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1117 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1118 x_includes=$ac_optarg ;;
1119
1120 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1121 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1122 ac_prev=x_libraries ;;
1123 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1124 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1125 x_libraries=$ac_optarg ;;
1126
1127 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1128 Try \`$0 --help' for more information"
1129 ;;
1130
1131 *=*)
1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1133 # Reject names that are not valid shell variable names.
1134 case $ac_envvar in #(
1135 '' | [0-9]* | *[!_$as_cr_alnum]* )
1136 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1137 esac
1138 eval $ac_envvar=\$ac_optarg
1139 export $ac_envvar ;;
1140
1141 *)
1142 # FIXME: should be removed in autoconf 3.0.
1143 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1145 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1146 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1147 ;;
1148
1149 esac
1150 done
1151
1152 if test -n "$ac_prev"; then
1153 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1154 as_fn_error $? "missing argument to $ac_option"
1155 fi
1156
1157 if test -n "$ac_unrecognized_opts"; then
1158 case $enable_option_checking in
1159 no) ;;
1160 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1161 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162 esac
1163 fi
1164
1165 # Check all directory arguments for consistency.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir runstatedir
1170 do
1171 eval ac_val=\$$ac_var
1172 # Remove trailing slashes.
1173 case $ac_val in
1174 */ )
1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176 eval $ac_var=\$ac_val;;
1177 esac
1178 # Be sure to have absolute directory names.
1179 case $ac_val in
1180 [\\/$]* | ?:[\\/]* ) continue;;
1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1182 esac
1183 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1184 done
1185
1186 # There might be people who depend on the old broken behavior: `$host'
1187 # used to hold the argument of --host etc.
1188 # FIXME: To remove some day.
1189 build=$build_alias
1190 host=$host_alias
1191 target=$target_alias
1192
1193 # FIXME: To remove some day.
1194 if test "x$host_alias" != x; then
1195 if test "x$build_alias" = x; then
1196 cross_compiling=maybe
1197 elif test "x$build_alias" != "x$host_alias"; then
1198 cross_compiling=yes
1199 fi
1200 fi
1201
1202 ac_tool_prefix=
1203 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1204
1205 test "$silent" = yes && exec 6>/dev/null
1206
1207
1208 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1209 ac_ls_di=`ls -di .` &&
1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1211 as_fn_error $? "working directory cannot be determined"
1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213 as_fn_error $? "pwd does not report name of working directory"
1214
1215
1216 # Find the source files, if location was not specified.
1217 if test -z "$srcdir"; then
1218 ac_srcdir_defaulted=yes
1219 # Try the directory containing this script, then the parent directory.
1220 ac_confdir=`$as_dirname -- "$as_myself" ||
1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1222 X"$as_myself" : 'X\(//\)[^/]' \| \
1223 X"$as_myself" : 'X\(//\)$' \| \
1224 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1225 printf "%s\n" X"$as_myself" |
1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227 s//\1/
1228 q
1229 }
1230 /^X\(\/\/\)[^/].*/{
1231 s//\1/
1232 q
1233 }
1234 /^X\(\/\/\)$/{
1235 s//\1/
1236 q
1237 }
1238 /^X\(\/\).*/{
1239 s//\1/
1240 q
1241 }
1242 s/.*/./; q'`
1243 srcdir=$ac_confdir
1244 if test ! -r "$srcdir/$ac_unique_file"; then
1245 srcdir=..
1246 fi
1247 else
1248 ac_srcdir_defaulted=no
1249 fi
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1251 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1252 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1253 fi
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 ac_abs_confdir=`(
1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1257 pwd)`
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 srcdir=.
1261 fi
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1265 case $srcdir in
1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 esac
1268 for ac_var in $ac_precious_vars; do
1269 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_${ac_var}_value=\$${ac_var}
1271 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273 done
1274
1275 #
1276 # Report the --help message.
1277 #
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1281 cat <<_ACEOF
1282 \`configure' configures lsdvd 0.21 to adapt to many kinds of systems.
1283
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1285
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1288
1289 Defaults for the options are specified in brackets.
1290
1291 Configuration:
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking ...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 [PREFIX]
1307
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1312
1313 For better control, use the options below.
1314
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/lsdvd]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1336 _ACEOF
1337
1338 cat <<\_ACEOF
1339
1340 Program names:
1341 --program-prefix=PREFIX prepend PREFIX to installed program names
1342 --program-suffix=SUFFIX append SUFFIX to installed program names
1343 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1344 _ACEOF
1345 fi
1346
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of lsdvd 0.21:";;
1350 esac
1351 cat <<\_ACEOF
1352
1353 Optional Features:
1354 --disable-option-checking ignore unrecognized --enable/--with options
1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1357 --enable-silent-rules less verbose build output (undo: "make V=1")
1358 --disable-silent-rules verbose build output (undo: "make V=0")
1359 --enable-dependency-tracking
1360 do not reject slow dependency extractors
1361 --disable-dependency-tracking
1362 speeds up one-time build
1363 --disable-largefile omit support for large files
1364
1365 Some influential environment variables:
1366 CC C compiler command
1367 CFLAGS C compiler flags
1368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1369 nonstandard directory <lib dir>
1370 LIBS libraries to pass to the linker, e.g. -l<library>
1371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1372 you have headers in a nonstandard directory <include dir>
1373 PKG_CONFIG path to pkg-config utility
1374 PKG_CONFIG_PATH
1375 directories to add to pkg-config's search path
1376 PKG_CONFIG_LIBDIR
1377 path overriding pkg-config's built-in search path
1378 DVDREAD_CFLAGS
1379 C compiler flags for DVDREAD, overriding pkg-config
1380 DVDREAD_LIBS
1381 linker flags for DVDREAD, overriding pkg-config
1382 LIBXML2_CFLAGS
1383 C compiler flags for LIBXML2, overriding pkg-config
1384 LIBXML2_LIBS
1385 linker flags for LIBXML2, overriding pkg-config
1386
1387 Use these variables to override the choices made by `configure' or to help
1388 it to find libraries and programs with nonstandard names/locations.
1389
1390 Report bugs to the package provider.
1391 _ACEOF
1392 ac_status=$?
1393 fi
1394
1395 if test "$ac_init_help" = "recursive"; then
1396 # If there are subdirs, report their specific --help.
1397 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1398 test -d "$ac_dir" ||
1399 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1400 continue
1401 ac_builddir=.
1402
1403 case "$ac_dir" in
1404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *)
1406 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1407 # A ".." for each directory in $ac_dir_suffix.
1408 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1409 case $ac_top_builddir_sub in
1410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1412 esac ;;
1413 esac
1414 ac_abs_top_builddir=$ac_pwd
1415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1416 # for backward compatibility:
1417 ac_top_builddir=$ac_top_build_prefix
1418
1419 case $srcdir in
1420 .) # We are building in place.
1421 ac_srcdir=.
1422 ac_top_srcdir=$ac_top_builddir_sub
1423 ac_abs_top_srcdir=$ac_pwd ;;
1424 [\\/]* | ?:[\\/]* ) # Absolute name.
1425 ac_srcdir=$srcdir$ac_dir_suffix;
1426 ac_top_srcdir=$srcdir
1427 ac_abs_top_srcdir=$srcdir ;;
1428 *) # Relative name.
1429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1430 ac_top_srcdir=$ac_top_build_prefix$srcdir
1431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432 esac
1433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1434
1435 cd "$ac_dir" || { ac_status=$?; continue; }
1436 # Check for configure.gnu first; this name is used for a wrapper for
1437 # Metaconfig's "Configure" on case-insensitive file systems.
1438 if test -f "$ac_srcdir/configure.gnu"; then
1439 echo &&
1440 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1441 elif test -f "$ac_srcdir/configure"; then
1442 echo &&
1443 $SHELL "$ac_srcdir/configure" --help=recursive
1444 else
1445 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1446 fi || ac_status=$?
1447 cd "$ac_pwd" || { ac_status=$?; break; }
1448 done
1449 fi
1450
1451 test -n "$ac_init_help" && exit $ac_status
1452 if $ac_init_version; then
1453 cat <<\_ACEOF
1454 lsdvd configure 0.21
1455 generated by GNU Autoconf 2.71
1456
1457 Copyright (C) 2021 Free Software Foundation, Inc.
1458 This configure script is free software; the Free Software Foundation
1459 gives unlimited permission to copy, distribute and modify it.
1460 _ACEOF
1461 exit
1462 fi
1463
1464 ## ------------------------ ##
1465 ## Autoconf initialization. ##
1466 ## ------------------------ ##
1467
1468 # ac_fn_c_try_compile LINENO
1469 # --------------------------
1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1471 ac_fn_c_try_compile ()
1472 {
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 rm -f conftest.$ac_objext conftest.beam
1475 if { { ac_try="$ac_compile"
1476 case "(($ac_try" in
1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1478 *) ac_try_echo=$ac_try;;
1479 esac
1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481 printf "%s\n" "$ac_try_echo"; } >&5
1482 (eval "$ac_compile") 2>conftest.err
1483 ac_status=$?
1484 if test -s conftest.err; then
1485 grep -v '^ *+' conftest.err >conftest.er1
1486 cat conftest.er1 >&5
1487 mv -f conftest.er1 conftest.err
1488 fi
1489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1490 test $ac_status = 0; } && {
1491 test -z "$ac_c_werror_flag" ||
1492 test ! -s conftest.err
1493 } && test -s conftest.$ac_objext
1494 then :
1495 ac_retval=0
1496 else $as_nop
1497 printf "%s\n" "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1499
1500 ac_retval=1
1501 fi
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1504
1505 } # ac_fn_c_try_compile
1506 ac_configure_args_raw=
1507 for ac_arg
1508 do
1509 case $ac_arg in
1510 *\'*)
1511 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1512 esac
1513 as_fn_append ac_configure_args_raw " '$ac_arg'"
1514 done
1515
1516 case $ac_configure_args_raw in
1517 *$as_nl*)
1518 ac_safe_unquote= ;;
1519 *)
1520 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1521 ac_unsafe_a="$ac_unsafe_z#~"
1522 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1523 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1524 esac
1525
1526 cat >config.log <<_ACEOF
1527 This file contains any messages produced by compilers while
1528 running configure, to aid debugging if configure makes a mistake.
1529
1530 It was created by lsdvd $as_me 0.21, which was
1531 generated by GNU Autoconf 2.71. Invocation command line was
1532
1533 $ $0$ac_configure_args_raw
1534
1535 _ACEOF
1536 exec 5>>config.log
1537 {
1538 cat <<_ASUNAME
1539 ## --------- ##
1540 ## Platform. ##
1541 ## --------- ##
1542
1543 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1544 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1545 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1546 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1547 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1548
1549 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1550 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1551
1552 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1553 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1554 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1555 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1556 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1557 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1558 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1559
1560 _ASUNAME
1561
1562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 for as_dir in $PATH
1564 do
1565 IFS=$as_save_IFS
1566 case $as_dir in #(((
1567 '') as_dir=./ ;;
1568 */) ;;
1569 *) as_dir=$as_dir/ ;;
1570 esac
1571 printf "%s\n" "PATH: $as_dir"
1572 done
1573 IFS=$as_save_IFS
1574
1575 } >&5
1576
1577 cat >&5 <<_ACEOF
1578
1579
1580 ## ----------- ##
1581 ## Core tests. ##
1582 ## ----------- ##
1583
1584 _ACEOF
1585
1586
1587 # Keep a trace of the command line.
1588 # Strip out --no-create and --no-recursion so they do not pile up.
1589 # Strip out --silent because we don't want to record it for future runs.
1590 # Also quote any args containing shell meta-characters.
1591 # Make two passes to allow for proper duplicate-argument suppression.
1592 ac_configure_args=
1593 ac_configure_args0=
1594 ac_configure_args1=
1595 ac_must_keep_next=false
1596 for ac_pass in 1 2
1597 do
1598 for ac_arg
1599 do
1600 case $ac_arg in
1601 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1602 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1603 | -silent | --silent | --silen | --sile | --sil)
1604 continue ;;
1605 *\'*)
1606 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1607 esac
1608 case $ac_pass in
1609 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1610 2)
1611 as_fn_append ac_configure_args1 " '$ac_arg'"
1612 if test $ac_must_keep_next = true; then
1613 ac_must_keep_next=false # Got value, back to normal.
1614 else
1615 case $ac_arg in
1616 *=* | --config-cache | -C | -disable-* | --disable-* \
1617 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1618 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1619 | -with-* | --with-* | -without-* | --without-* | --x)
1620 case "$ac_configure_args0 " in
1621 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1622 esac
1623 ;;
1624 -* ) ac_must_keep_next=true ;;
1625 esac
1626 fi
1627 as_fn_append ac_configure_args " '$ac_arg'"
1628 ;;
1629 esac
1630 done
1631 done
1632 { ac_configure_args0=; unset ac_configure_args0;}
1633 { ac_configure_args1=; unset ac_configure_args1;}
1634
1635 # When interrupted or exit'd, cleanup temporary files, and complete
1636 # config.log. We remove comments because anyway the quotes in there
1637 # would cause problems or look ugly.
1638 # WARNING: Use '\'' to represent an apostrophe within the trap.
1639 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1640 trap 'exit_status=$?
1641 # Sanitize IFS.
1642 IFS=" "" $as_nl"
1643 # Save into config.log some information that might help in debugging.
1644 {
1645 echo
1646
1647 printf "%s\n" "## ---------------- ##
1648 ## Cache variables. ##
1649 ## ---------------- ##"
1650 echo
1651 # The following way of writing the cache mishandles newlines in values,
1652 (
1653 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1654 eval ac_val=\$$ac_var
1655 case $ac_val in #(
1656 *${as_nl}*)
1657 case $ac_var in #(
1658 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1659 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1660 esac
1661 case $ac_var in #(
1662 _ | IFS | as_nl) ;; #(
1663 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1664 *) { eval $ac_var=; unset $ac_var;} ;;
1665 esac ;;
1666 esac
1667 done
1668 (set) 2>&1 |
1669 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1670 *${as_nl}ac_space=\ *)
1671 sed -n \
1672 "s/'\''/'\''\\\\'\'''\''/g;
1673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1674 ;; #(
1675 *)
1676 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1677 ;;
1678 esac |
1679 sort
1680 )
1681 echo
1682
1683 printf "%s\n" "## ----------------- ##
1684 ## Output variables. ##
1685 ## ----------------- ##"
1686 echo
1687 for ac_var in $ac_subst_vars
1688 do
1689 eval ac_val=\$$ac_var
1690 case $ac_val in
1691 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 esac
1693 printf "%s\n" "$ac_var='\''$ac_val'\''"
1694 done | sort
1695 echo
1696
1697 if test -n "$ac_subst_files"; then
1698 printf "%s\n" "## ------------------- ##
1699 ## File substitutions. ##
1700 ## ------------------- ##"
1701 echo
1702 for ac_var in $ac_subst_files
1703 do
1704 eval ac_val=\$$ac_var
1705 case $ac_val in
1706 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1707 esac
1708 printf "%s\n" "$ac_var='\''$ac_val'\''"
1709 done | sort
1710 echo
1711 fi
1712
1713 if test -s confdefs.h; then
1714 printf "%s\n" "## ----------- ##
1715 ## confdefs.h. ##
1716 ## ----------- ##"
1717 echo
1718 cat confdefs.h
1719 echo
1720 fi
1721 test "$ac_signal" != 0 &&
1722 printf "%s\n" "$as_me: caught signal $ac_signal"
1723 printf "%s\n" "$as_me: exit $exit_status"
1724 } >&5
1725 rm -f core *.core core.conftest.* &&
1726 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1727 exit $exit_status
1728 ' 0
1729 for ac_signal in 1 2 13 15; do
1730 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1731 done
1732 ac_signal=0
1733
1734 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1735 rm -f -r conftest* confdefs.h
1736
1737 printf "%s\n" "/* confdefs.h */" > confdefs.h
1738
1739 # Predefined preprocessor variables.
1740
1741 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1742
1743 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1744
1745 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1746
1747 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1748
1749 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1750
1751 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1752
1753
1754 # Let the site file select an alternate cache file if it wants to.
1755 # Prefer an explicitly selected file to automatically selected ones.
1756 if test -n "$CONFIG_SITE"; then
1757 ac_site_files="$CONFIG_SITE"
1758 elif test "x$prefix" != xNONE; then
1759 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1760 else
1761 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1762 fi
1763
1764 for ac_site_file in $ac_site_files
1765 do
1766 case $ac_site_file in #(
1767 */*) :
1768 ;; #(
1769 *) :
1770 ac_site_file=./$ac_site_file ;;
1771 esac
1772 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1774 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1775 sed 's/^/| /' "$ac_site_file" >&5
1776 . "$ac_site_file" \
1777 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1778 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1779 as_fn_error $? "failed to load site script $ac_site_file
1780 See \`config.log' for more details" "$LINENO" 5; }
1781 fi
1782 done
1783
1784 if test -r "$cache_file"; then
1785 # Some versions of bash will fail to source /dev/null (special files
1786 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1787 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1789 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1790 case $cache_file in
1791 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1792 *) . "./$cache_file";;
1793 esac
1794 fi
1795 else
1796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1797 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1798 >$cache_file
1799 fi
1800
1801 # Test code for whether the C compiler supports C89 (global declarations)
1802 ac_c_conftest_c89_globals='
1803 /* Does the compiler advertise C89 conformance?
1804 Do not test the value of __STDC__, because some compilers set it to 0
1805 while being otherwise adequately conformant. */
1806 #if !defined __STDC__
1807 # error "Compiler does not advertise C89 conformance"
1808 #endif
1809
1810 #include <stddef.h>
1811 #include <stdarg.h>
1812 struct stat;
1813 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1814 struct buf { int x; };
1815 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1816 static char *e (p, i)
1817 char **p;
1818 int i;
1819 {
1820 return p[i];
1821 }
1822 static char *f (char * (*g) (char **, int), char **p, ...)
1823 {
1824 char *s;
1825 va_list v;
1826 va_start (v,p);
1827 s = g (p, va_arg (v,int));
1828 va_end (v);
1829 return s;
1830 }
1831
1832 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1833 function prototypes and stuff, but not \xHH hex character constants.
1834 These do not provoke an error unfortunately, instead are silently treated
1835 as an "x". The following induces an error, until -std is added to get
1836 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1837 array size at least. It is necessary to write \x00 == 0 to get something
1838 that is true only with -std. */
1839 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1840
1841 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1842 inside strings and character constants. */
1843 #define FOO(x) '\''x'\''
1844 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1845
1846 int test (int i, double x);
1847 struct s1 {int (*f) (int a);};
1848 struct s2 {int (*f) (double a);};
1849 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1850 int, int);'
1851
1852 # Test code for whether the C compiler supports C89 (body of main).
1853 ac_c_conftest_c89_main='
1854 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1855 '
1856
1857 # Test code for whether the C compiler supports C99 (global declarations)
1858 ac_c_conftest_c99_globals='
1859 // Does the compiler advertise C99 conformance?
1860 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1861 # error "Compiler does not advertise C99 conformance"
1862 #endif
1863
1864 #include <stdbool.h>
1865 extern int puts (const char *);
1866 extern int printf (const char *, ...);
1867 extern int dprintf (int, const char *, ...);
1868 extern void *malloc (size_t);
1869
1870 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1871 // dprintf is used instead of fprintf to avoid needing to declare
1872 // FILE and stderr.
1873 #define debug(...) dprintf (2, __VA_ARGS__)
1874 #define showlist(...) puts (#__VA_ARGS__)
1875 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1876 static void
1877 test_varargs_macros (void)
1878 {
1879 int x = 1234;
1880 int y = 5678;
1881 debug ("Flag");
1882 debug ("X = %d\n", x);
1883 showlist (The first, second, and third items.);
1884 report (x>y, "x is %d but y is %d", x, y);
1885 }
1886
1887 // Check long long types.
1888 #define BIG64 18446744073709551615ull
1889 #define BIG32 4294967295ul
1890 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1891 #if !BIG_OK
1892 #error "your preprocessor is broken"
1893 #endif
1894 #if BIG_OK
1895 #else
1896 #error "your preprocessor is broken"
1897 #endif
1898 static long long int bignum = -9223372036854775807LL;
1899 static unsigned long long int ubignum = BIG64;
1900
1901 struct incomplete_array
1902 {
1903 int datasize;
1904 double data[];
1905 };
1906
1907 struct named_init {
1908 int number;
1909 const wchar_t *name;
1910 double average;
1911 };
1912
1913 typedef const char *ccp;
1914
1915 static inline int
1916 test_restrict (ccp restrict text)
1917 {
1918 // See if C++-style comments work.
1919 // Iterate through items via the restricted pointer.
1920 // Also check for declarations in for loops.
1921 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1922 continue;
1923 return 0;
1924 }
1925
1926 // Check varargs and va_copy.
1927 static bool
1928 test_varargs (const char *format, ...)
1929 {
1930 va_list args;
1931 va_start (args, format);
1932 va_list args_copy;
1933 va_copy (args_copy, args);
1934
1935 const char *str = "";
1936 int number = 0;
1937 float fnumber = 0;
1938
1939 while (*format)
1940 {
1941 switch (*format++)
1942 {
1943 case '\''s'\'': // string
1944 str = va_arg (args_copy, const char *);
1945 break;
1946 case '\''d'\'': // int
1947 number = va_arg (args_copy, int);
1948 break;
1949 case '\''f'\'': // float
1950 fnumber = va_arg (args_copy, double);
1951 break;
1952 default:
1953 break;
1954 }
1955 }
1956 va_end (args_copy);
1957 va_end (args);
1958
1959 return *str && number && fnumber;
1960 }
1961 '
1962
1963 # Test code for whether the C compiler supports C99 (body of main).
1964 ac_c_conftest_c99_main='
1965 // Check bool.
1966 _Bool success = false;
1967 success |= (argc != 0);
1968
1969 // Check restrict.
1970 if (test_restrict ("String literal") == 0)
1971 success = true;
1972 char *restrict newvar = "Another string";
1973
1974 // Check varargs.
1975 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
1976 test_varargs_macros ();
1977
1978 // Check flexible array members.
1979 struct incomplete_array *ia =
1980 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1981 ia->datasize = 10;
1982 for (int i = 0; i < ia->datasize; ++i)
1983 ia->data[i] = i * 1.234;
1984
1985 // Check named initializers.
1986 struct named_init ni = {
1987 .number = 34,
1988 .name = L"Test wide string",
1989 .average = 543.34343,
1990 };
1991
1992 ni.number = 58;
1993
1994 int dynamic_array[ni.number];
1995 dynamic_array[0] = argv[0][0];
1996 dynamic_array[ni.number - 1] = 543;
1997
1998 // work around unused variable warnings
1999 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2000 || dynamic_array[ni.number - 1] != 543);
2001 '
2002
2003 # Test code for whether the C compiler supports C11 (global declarations)
2004 ac_c_conftest_c11_globals='
2005 // Does the compiler advertise C11 conformance?
2006 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2007 # error "Compiler does not advertise C11 conformance"
2008 #endif
2009
2010 // Check _Alignas.
2011 char _Alignas (double) aligned_as_double;
2012 char _Alignas (0) no_special_alignment;
2013 extern char aligned_as_int;
2014 char _Alignas (0) _Alignas (int) aligned_as_int;
2015
2016 // Check _Alignof.
2017 enum
2018 {
2019 int_alignment = _Alignof (int),
2020 int_array_alignment = _Alignof (int[100]),
2021 char_alignment = _Alignof (char)
2022 };
2023 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2024
2025 // Check _Noreturn.
2026 int _Noreturn does_not_return (void) { for (;;) continue; }
2027
2028 // Check _Static_assert.
2029 struct test_static_assert
2030 {
2031 int x;
2032 _Static_assert (sizeof (int) <= sizeof (long int),
2033 "_Static_assert does not work in struct");
2034 long int y;
2035 };
2036
2037 // Check UTF-8 literals.
2038 #define u8 syntax error!
2039 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2040
2041 // Check duplicate typedefs.
2042 typedef long *long_ptr;
2043 typedef long int *long_ptr;
2044 typedef long_ptr long_ptr;
2045
2046 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2047 struct anonymous
2048 {
2049 union {
2050 struct { int i; int j; };
2051 struct { int k; long int l; } w;
2052 };
2053 int m;
2054 } v1;
2055 '
2056
2057 # Test code for whether the C compiler supports C11 (body of main).
2058 ac_c_conftest_c11_main='
2059 _Static_assert ((offsetof (struct anonymous, i)
2060 == offsetof (struct anonymous, w.k)),
2061 "Anonymous union alignment botch");
2062 v1.i = 2;
2063 v1.w.k = 5;
2064 ok |= v1.i != 5;
2065 '
2066
2067 # Test code for whether the C compiler supports C11 (complete).
2068 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2069 ${ac_c_conftest_c99_globals}
2070 ${ac_c_conftest_c11_globals}
2071
2072 int
2073 main (int argc, char **argv)
2074 {
2075 int ok = 0;
2076 ${ac_c_conftest_c89_main}
2077 ${ac_c_conftest_c99_main}
2078 ${ac_c_conftest_c11_main}
2079 return ok;
2080 }
2081 "
2082
2083 # Test code for whether the C compiler supports C99 (complete).
2084 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2085 ${ac_c_conftest_c99_globals}
2086
2087 int
2088 main (int argc, char **argv)
2089 {
2090 int ok = 0;
2091 ${ac_c_conftest_c89_main}
2092 ${ac_c_conftest_c99_main}
2093 return ok;
2094 }
2095 "
2096
2097 # Test code for whether the C compiler supports C89 (complete).
2098 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2099
2100 int
2101 main (int argc, char **argv)
2102 {
2103 int ok = 0;
2104 ${ac_c_conftest_c89_main}
2105 return ok;
2106 }
2107 "
2108
2109
2110 # Auxiliary files required by this configure script.
2111 ac_aux_files="compile missing install-sh"
2112
2113 # Locations in which to look for auxiliary files.
2114 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2115
2116 # Search for a directory containing all of the required auxiliary files,
2117 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2118 # If we don't find one directory that contains all the files we need,
2119 # we report the set of missing files from the *first* directory in
2120 # $ac_aux_dir_candidates and give up.
2121 ac_missing_aux_files=""
2122 ac_first_candidate=:
2123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 as_found=false
2126 for as_dir in $ac_aux_dir_candidates
2127 do
2128 IFS=$as_save_IFS
2129 case $as_dir in #(((
2130 '') as_dir=./ ;;
2131 */) ;;
2132 *) as_dir=$as_dir/ ;;
2133 esac
2134 as_found=:
2135
2136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2137 ac_aux_dir_found=yes
2138 ac_install_sh=
2139 for ac_aux in $ac_aux_files
2140 do
2141 # As a special case, if "install-sh" is required, that requirement
2142 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2143 # and $ac_install_sh is set appropriately for whichever one is found.
2144 if test x"$ac_aux" = x"install-sh"
2145 then
2146 if test -f "${as_dir}install-sh"; then
2147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2148 ac_install_sh="${as_dir}install-sh -c"
2149 elif test -f "${as_dir}install.sh"; then
2150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2151 ac_install_sh="${as_dir}install.sh -c"
2152 elif test -f "${as_dir}shtool"; then
2153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2154 ac_install_sh="${as_dir}shtool install -c"
2155 else
2156 ac_aux_dir_found=no
2157 if $ac_first_candidate; then
2158 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2159 else
2160 break
2161 fi
2162 fi
2163 else
2164 if test -f "${as_dir}${ac_aux}"; then
2165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2166 else
2167 ac_aux_dir_found=no
2168 if $ac_first_candidate; then
2169 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2170 else
2171 break
2172 fi
2173 fi
2174 fi
2175 done
2176 if test "$ac_aux_dir_found" = yes; then
2177 ac_aux_dir="$as_dir"
2178 break
2179 fi
2180 ac_first_candidate=false
2181
2182 as_found=false
2183 done
2184 IFS=$as_save_IFS
2185 if $as_found
2186 then :
2187
2188 else $as_nop
2189 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2190 fi
2191
2192
2193 # These three variables are undocumented and unsupported,
2194 # and are intended to be withdrawn in a future Autoconf release.
2195 # They can cause serious problems if a builder's source tree is in a directory
2196 # whose full name contains unusual characters.
2197 if test -f "${ac_aux_dir}config.guess"; then
2198 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2199 fi
2200 if test -f "${ac_aux_dir}config.sub"; then
2201 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2202 fi
2203 if test -f "$ac_aux_dir/configure"; then
2204 ac_configure="$SHELL ${ac_aux_dir}configure"
2205 fi
2206
2207 # Check that the precious variables saved in the cache have kept the same
2208 # value.
2209 ac_cache_corrupted=false
2210 for ac_var in $ac_precious_vars; do
2211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2212 eval ac_new_set=\$ac_env_${ac_var}_set
2213 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2214 eval ac_new_val=\$ac_env_${ac_var}_value
2215 case $ac_old_set,$ac_new_set in
2216 set,)
2217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2218 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2219 ac_cache_corrupted=: ;;
2220 ,set)
2221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2222 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2223 ac_cache_corrupted=: ;;
2224 ,);;
2225 *)
2226 if test "x$ac_old_val" != "x$ac_new_val"; then
2227 # differences in whitespace do not lead to failure.
2228 ac_old_val_w=`echo x $ac_old_val`
2229 ac_new_val_w=`echo x $ac_new_val`
2230 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2232 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2233 ac_cache_corrupted=:
2234 else
2235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2236 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2237 eval $ac_var=\$ac_old_val
2238 fi
2239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2240 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2242 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2243 fi;;
2244 esac
2245 # Pass precious variables to config.status.
2246 if test "$ac_new_set" = set; then
2247 case $ac_new_val in
2248 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2249 *) ac_arg=$ac_var=$ac_new_val ;;
2250 esac
2251 case " $ac_configure_args " in
2252 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2253 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2254 esac
2255 fi
2256 done
2257 if $ac_cache_corrupted; then
2258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2259 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2261 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2262 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2263 and start over" "$LINENO" 5
2264 fi
2265 ## -------------------- ##
2266 ## Main body of script. ##
2267 ## -------------------- ##
2268
2269 ac_ext=c
2270 ac_cpp='$CPP $CPPFLAGS'
2271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2274
2275
2276 am__api_version='1.16'
2277
2278
2279
2280 # Find a good install program. We prefer a C program (faster),
2281 # so one script is as good as another. But avoid the broken or
2282 # incompatible versions:
2283 # SysV /etc/install, /usr/sbin/install
2284 # SunOS /usr/etc/install
2285 # IRIX /sbin/install
2286 # AIX /bin/install
2287 # AmigaOS /C/install, which installs bootblocks on floppy discs
2288 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2289 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2290 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2291 # OS/2's system install, which has a completely different semantic
2292 # ./install, which can be erroneously created by make from ./install.sh.
2293 # Reject install programs that cannot install multiple files.
2294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2295 printf %s "checking for a BSD-compatible install... " >&6; }
2296 if test -z "$INSTALL"; then
2297 if test ${ac_cv_path_install+y}
2298 then :
2299 printf %s "(cached) " >&6
2300 else $as_nop
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 for as_dir in $PATH
2303 do
2304 IFS=$as_save_IFS
2305 case $as_dir in #(((
2306 '') as_dir=./ ;;
2307 */) ;;
2308 *) as_dir=$as_dir/ ;;
2309 esac
2310 # Account for fact that we put trailing slashes in our PATH walk.
2311 case $as_dir in #((
2312 ./ | /[cC]/* | \
2313 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2314 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2315 /usr/ucb/* ) ;;
2316 *)
2317 # OSF1 and SCO ODT 3.0 have their own names for install.
2318 # Don't use installbsd from OSF since it installs stuff as root
2319 # by default.
2320 for ac_prog in ginstall scoinst install; do
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2323 if test $ac_prog = install &&
2324 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2325 # AIX install. It has an incompatible calling convention.
2326 :
2327 elif test $ac_prog = install &&
2328 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2329 # program-specific install script used by HP pwplus--don't use.
2330 :
2331 else
2332 rm -rf conftest.one conftest.two conftest.dir
2333 echo one > conftest.one
2334 echo two > conftest.two
2335 mkdir conftest.dir
2336 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2337 test -s conftest.one && test -s conftest.two &&
2338 test -s conftest.dir/conftest.one &&
2339 test -s conftest.dir/conftest.two
2340 then
2341 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2342 break 3
2343 fi
2344 fi
2345 fi
2346 done
2347 done
2348 ;;
2349 esac
2350
2351 done
2352 IFS=$as_save_IFS
2353
2354 rm -rf conftest.one conftest.two conftest.dir
2355
2356 fi
2357 if test ${ac_cv_path_install+y}; then
2358 INSTALL=$ac_cv_path_install
2359 else
2360 # As a last resort, use the slow shell script. Don't cache a
2361 # value for INSTALL within a source directory, because that will
2362 # break other packages using the cache if that directory is
2363 # removed, or if the value is a relative name.
2364 INSTALL=$ac_install_sh
2365 fi
2366 fi
2367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2368 printf "%s\n" "$INSTALL" >&6; }
2369
2370 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2371 # It thinks the first close brace ends the variable substitution.
2372 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2373
2374 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2375
2376 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2377
2378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2379 printf %s "checking whether build environment is sane... " >&6; }
2380 # Reject unsafe characters in $srcdir or the absolute working directory
2381 # name. Accept space and tab only in the latter.
2382 am_lf='
2383 '
2384 case `pwd` in
2385 *[\\\"\#\$\&\'\`$am_lf]*)
2386 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2387 esac
2388 case $srcdir in
2389 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2390 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2391 esac
2392
2393 # Do 'set' in a subshell so we don't clobber the current shell's
2394 # arguments. Must try -L first in case configure is actually a
2395 # symlink; some systems play weird games with the mod time of symlinks
2396 # (eg FreeBSD returns the mod time of the symlink's containing
2397 # directory).
2398 if (
2399 am_has_slept=no
2400 for am_try in 1 2; do
2401 echo "timestamp, slept: $am_has_slept" > conftest.file
2402 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2403 if test "$*" = "X"; then
2404 # -L didn't work.
2405 set X `ls -t "$srcdir/configure" conftest.file`
2406 fi
2407 if test "$*" != "X $srcdir/configure conftest.file" \
2408 && test "$*" != "X conftest.file $srcdir/configure"; then
2409
2410 # If neither matched, then we have a broken ls. This can happen
2411 # if, for instance, CONFIG_SHELL is bash and it inherits a
2412 # broken ls alias from the environment. This has actually
2413 # happened. Such a system could not be considered "sane".
2414 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2415 alias in your environment" "$LINENO" 5
2416 fi
2417 if test "$2" = conftest.file || test $am_try -eq 2; then
2418 break
2419 fi
2420 # Just in case.
2421 sleep 1
2422 am_has_slept=yes
2423 done
2424 test "$2" = conftest.file
2425 )
2426 then
2427 # Ok.
2428 :
2429 else
2430 as_fn_error $? "newly created file is older than distributed files!
2431 Check your system clock" "$LINENO" 5
2432 fi
2433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2434 printf "%s\n" "yes" >&6; }
2435 # If we didn't sleep, we still need to ensure time stamps of config.status and
2436 # generated files are strictly newer.
2437 am_sleep_pid=
2438 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2439 ( sleep 1 ) &
2440 am_sleep_pid=$!
2441 fi
2442
2443 rm -f conftest.file
2444
2445 test "$program_prefix" != NONE &&
2446 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2447 # Use a double $ so make ignores it.
2448 test "$program_suffix" != NONE &&
2449 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2450 # Double any \ or $.
2451 # By default was `s,x,x', remove it if useless.
2452 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2453 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2454
2455
2456 # Expand $ac_aux_dir to an absolute path.
2457 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2458
2459
2460 if test x"${MISSING+set}" != xset; then
2461 MISSING="\${SHELL} '$am_aux_dir/missing'"
2462 fi
2463 # Use eval to expand $SHELL
2464 if eval "$MISSING --is-lightweight"; then
2465 am_missing_run="$MISSING "
2466 else
2467 am_missing_run=
2468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2469 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2470 fi
2471
2472 if test x"${install_sh+set}" != xset; then
2473 case $am_aux_dir in
2474 *\ * | *\ *)
2475 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2476 *)
2477 install_sh="\${SHELL} $am_aux_dir/install-sh"
2478 esac
2479 fi
2480
2481 # Installed binaries are usually stripped using 'strip' when the user
2482 # run "make install-strip". However 'strip' might not be the right
2483 # tool to use in cross-compilation environments, therefore Automake
2484 # will honor the 'STRIP' environment variable to overrule this program.
2485 if test "$cross_compiling" != no; then
2486 if test -n "$ac_tool_prefix"; then
2487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2488 set dummy ${ac_tool_prefix}strip; ac_word=$2
2489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490 printf %s "checking for $ac_word... " >&6; }
2491 if test ${ac_cv_prog_STRIP+y}
2492 then :
2493 printf %s "(cached) " >&6
2494 else $as_nop
2495 if test -n "$STRIP"; then
2496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501 IFS=$as_save_IFS
2502 case $as_dir in #(((
2503 '') as_dir=./ ;;
2504 */) ;;
2505 *) as_dir=$as_dir/ ;;
2506 esac
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2509 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2511 break 2
2512 fi
2513 done
2514 done
2515 IFS=$as_save_IFS
2516
2517 fi
2518 fi
2519 STRIP=$ac_cv_prog_STRIP
2520 if test -n "$STRIP"; then
2521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2522 printf "%s\n" "$STRIP" >&6; }
2523 else
2524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 printf "%s\n" "no" >&6; }
2526 fi
2527
2528
2529 fi
2530 if test -z "$ac_cv_prog_STRIP"; then
2531 ac_ct_STRIP=$STRIP
2532 # Extract the first word of "strip", so it can be a program name with args.
2533 set dummy strip; ac_word=$2
2534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535 printf %s "checking for $ac_word... " >&6; }
2536 if test ${ac_cv_prog_ac_ct_STRIP+y}
2537 then :
2538 printf %s "(cached) " >&6
2539 else $as_nop
2540 if test -n "$ac_ct_STRIP"; then
2541 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2542 else
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 for as_dir in $PATH
2545 do
2546 IFS=$as_save_IFS
2547 case $as_dir in #(((
2548 '') as_dir=./ ;;
2549 */) ;;
2550 *) as_dir=$as_dir/ ;;
2551 esac
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_ac_ct_STRIP="strip"
2555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2556 break 2
2557 fi
2558 done
2559 done
2560 IFS=$as_save_IFS
2561
2562 fi
2563 fi
2564 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2565 if test -n "$ac_ct_STRIP"; then
2566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2567 printf "%s\n" "$ac_ct_STRIP" >&6; }
2568 else
2569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 printf "%s\n" "no" >&6; }
2571 fi
2572
2573 if test "x$ac_ct_STRIP" = x; then
2574 STRIP=":"
2575 else
2576 case $cross_compiling:$ac_tool_warned in
2577 yes:)
2578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2579 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2580 ac_tool_warned=yes ;;
2581 esac
2582 STRIP=$ac_ct_STRIP
2583 fi
2584 else
2585 STRIP="$ac_cv_prog_STRIP"
2586 fi
2587
2588 fi
2589 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2590
2591
2592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2593 printf %s "checking for a race-free mkdir -p... " >&6; }
2594 if test -z "$MKDIR_P"; then
2595 if test ${ac_cv_path_mkdir+y}
2596 then :
2597 printf %s "(cached) " >&6
2598 else $as_nop
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2601 do
2602 IFS=$as_save_IFS
2603 case $as_dir in #(((
2604 '') as_dir=./ ;;
2605 */) ;;
2606 *) as_dir=$as_dir/ ;;
2607 esac
2608 for ac_prog in mkdir gmkdir; do
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2611 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2612 'mkdir ('*'coreutils) '* | \
2613 'BusyBox '* | \
2614 'mkdir (fileutils) '4.1*)
2615 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2616 break 3;;
2617 esac
2618 done
2619 done
2620 done
2621 IFS=$as_save_IFS
2622
2623 fi
2624
2625 test -d ./--version && rmdir ./--version
2626 if test ${ac_cv_path_mkdir+y}; then
2627 MKDIR_P="$ac_cv_path_mkdir -p"
2628 else
2629 # As a last resort, use the slow shell script. Don't cache a
2630 # value for MKDIR_P within a source directory, because that will
2631 # break other packages using the cache if that directory is
2632 # removed, or if the value is a relative name.
2633 MKDIR_P="$ac_install_sh -d"
2634 fi
2635 fi
2636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2637 printf "%s\n" "$MKDIR_P" >&6; }
2638
2639 for ac_prog in gawk mawk nawk awk
2640 do
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy $ac_prog; ac_word=$2
2643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 printf %s "checking for $ac_word... " >&6; }
2645 if test ${ac_cv_prog_AWK+y}
2646 then :
2647 printf %s "(cached) " >&6
2648 else $as_nop
2649 if test -n "$AWK"; then
2650 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2651 else
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 for as_dir in $PATH
2654 do
2655 IFS=$as_save_IFS
2656 case $as_dir in #(((
2657 '') as_dir=./ ;;
2658 */) ;;
2659 *) as_dir=$as_dir/ ;;
2660 esac
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_AWK="$ac_prog"
2664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2665 break 2
2666 fi
2667 done
2668 done
2669 IFS=$as_save_IFS
2670
2671 fi
2672 fi
2673 AWK=$ac_cv_prog_AWK
2674 if test -n "$AWK"; then
2675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2676 printf "%s\n" "$AWK" >&6; }
2677 else
2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 printf "%s\n" "no" >&6; }
2680 fi
2681
2682
2683 test -n "$AWK" && break
2684 done
2685
2686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2687 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2688 set x ${MAKE-make}
2689 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2690 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2691 then :
2692 printf %s "(cached) " >&6
2693 else $as_nop
2694 cat >conftest.make <<\_ACEOF
2695 SHELL = /bin/sh
2696 all:
2697 @echo '@@@%%%=$(MAKE)=@@@%%%'
2698 _ACEOF
2699 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2700 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2701 *@@@%%%=?*=@@@%%%*)
2702 eval ac_cv_prog_make_${ac_make}_set=yes;;
2703 *)
2704 eval ac_cv_prog_make_${ac_make}_set=no;;
2705 esac
2706 rm -f conftest.make
2707 fi
2708 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2710 printf "%s\n" "yes" >&6; }
2711 SET_MAKE=
2712 else
2713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 printf "%s\n" "no" >&6; }
2715 SET_MAKE="MAKE=${MAKE-make}"
2716 fi
2717
2718 rm -rf .tst 2>/dev/null
2719 mkdir .tst 2>/dev/null
2720 if test -d .tst; then
2721 am__leading_dot=.
2722 else
2723 am__leading_dot=_
2724 fi
2725 rmdir .tst 2>/dev/null
2726
2727 # Check whether --enable-silent-rules was given.
2728 if test ${enable_silent_rules+y}
2729 then :
2730 enableval=$enable_silent_rules;
2731 fi
2732
2733 case $enable_silent_rules in # (((
2734 yes) AM_DEFAULT_VERBOSITY=0;;
2735 no) AM_DEFAULT_VERBOSITY=1;;
2736 *) AM_DEFAULT_VERBOSITY=1;;
2737 esac
2738 am_make=${MAKE-make}
2739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2740 printf %s "checking whether $am_make supports nested variables... " >&6; }
2741 if test ${am_cv_make_support_nested_variables+y}
2742 then :
2743 printf %s "(cached) " >&6
2744 else $as_nop
2745 if printf "%s\n" 'TRUE=$(BAR$(V))
2746 BAR0=false
2747 BAR1=true
2748 V=1
2749 am__doit:
2750 @$(TRUE)
2751 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2752 am_cv_make_support_nested_variables=yes
2753 else
2754 am_cv_make_support_nested_variables=no
2755 fi
2756 fi
2757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2758 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2759 if test $am_cv_make_support_nested_variables = yes; then
2760 AM_V='$(V)'
2761 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2762 else
2763 AM_V=$AM_DEFAULT_VERBOSITY
2764 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2765 fi
2766 AM_BACKSLASH='\'
2767
2768 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2769 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2770 # is not polluted with repeated "-I."
2771 am__isrc=' -I$(srcdir)'
2772 # test to see if srcdir already configured
2773 if test -f $srcdir/config.status; then
2774 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2775 fi
2776 fi
2777
2778 # test whether we have cygpath
2779 if test -z "$CYGPATH_W"; then
2780 if (cygpath --version) >/dev/null 2>/dev/null; then
2781 CYGPATH_W='cygpath -w'
2782 else
2783 CYGPATH_W=echo
2784 fi
2785 fi
2786
2787
2788 # Define the identity of the package.
2789 PACKAGE='lsdvd'
2790 VERSION='0.21'
2791
2792
2793 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2794
2795
2796 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2797
2798 # Some tools Automake needs.
2799
2800 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2801
2802
2803 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2804
2805
2806 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2807
2808
2809 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2810
2811
2812 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2813
2814 # For better backward compatibility. To be removed once Automake 1.9.x
2815 # dies out for good. For more background, see:
2816 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2817 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2818 mkdir_p='$(MKDIR_P)'
2819
2820 # We need awk for the "check" target (and possibly the TAP driver). The
2821 # system "awk" is bad on some platforms.
2822 # Always define AMTAR for backward compatibility. Yes, it's still used
2823 # in the wild :-( We should find a proper way to deprecate it ...
2824 AMTAR='$${TAR-tar}'
2825
2826
2827 # We'll loop over all known methods to create a tar archive until one works.
2828 _am_tools='gnutar pax cpio none'
2829
2830 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2831
2832
2833
2834
2835
2836 # Variables for tags utilities; see am/tags.am
2837 if test -z "$CTAGS"; then
2838 CTAGS=ctags
2839 fi
2840
2841 if test -z "$ETAGS"; then
2842 ETAGS=etags
2843 fi
2844
2845 if test -z "$CSCOPE"; then
2846 CSCOPE=cscope
2847 fi
2848
2849
2850
2851 # POSIX will say in a future version that running "rm -f" with no argument
2852 # is OK; and we want to be able to make that assumption in our Makefile
2853 # recipes. So use an aggressive probe to check that the usage we want is
2854 # actually supported "in the wild" to an acceptable degree.
2855 # See automake bug#10828.
2856 # To make any issue more visible, cause the running configure to be aborted
2857 # by default if the 'rm' program in use doesn't match our expectations; the
2858 # user can still override this though.
2859 if rm -f && rm -fr && rm -rf; then : OK; else
2860 cat >&2 <<'END'
2861 Oops!
2862
2863 Your 'rm' program seems unable to run without file operands specified
2864 on the command line, even when the '-f' option is present. This is contrary
2865 to the behaviour of most rm programs out there, and not conforming with
2866 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2867
2868 Please tell [email protected] about your system, including the value
2869 of your $PATH and any error possibly output before this message. This
2870 can help us improve future automake versions.
2871
2872 END
2873 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2874 echo 'Configuration will proceed anyway, since you have set the' >&2
2875 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2876 echo >&2
2877 else
2878 cat >&2 <<'END'
2879 Aborting the configuration process, to ensure you take notice of the issue.
2880
2881 You can download and install GNU coreutils to get an 'rm' implementation
2882 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2883
2884 If you want to complete the configuration process using your problematic
2885 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2886 to "yes", and re-run configure.
2887
2888 END
2889 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2890 fi
2891 fi
2892
2893 # Check whether --enable-silent-rules was given.
2894 if test ${enable_silent_rules+y}
2895 then :
2896 enableval=$enable_silent_rules;
2897 fi
2898
2899 case $enable_silent_rules in # (((
2900 yes) AM_DEFAULT_VERBOSITY=0;;
2901 no) AM_DEFAULT_VERBOSITY=1;;
2902 *) AM_DEFAULT_VERBOSITY=0;;
2903 esac
2904 am_make=${MAKE-make}
2905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2906 printf %s "checking whether $am_make supports nested variables... " >&6; }
2907 if test ${am_cv_make_support_nested_variables+y}
2908 then :
2909 printf %s "(cached) " >&6
2910 else $as_nop
2911 if printf "%s\n" 'TRUE=$(BAR$(V))
2912 BAR0=false
2913 BAR1=true
2914 V=1
2915 am__doit:
2916 @$(TRUE)
2917 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2918 am_cv_make_support_nested_variables=yes
2919 else
2920 am_cv_make_support_nested_variables=no
2921 fi
2922 fi
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2924 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2925 if test $am_cv_make_support_nested_variables = yes; then
2926 AM_V='$(V)'
2927 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2928 else
2929 AM_V=$AM_DEFAULT_VERBOSITY
2930 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2931 fi
2932 AM_BACKSLASH='\'
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943 ac_ext=c
2944 ac_cpp='$CPP $CPPFLAGS'
2945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2948 if test -n "$ac_tool_prefix"; then
2949 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2950 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 printf %s "checking for $ac_word... " >&6; }
2953 if test ${ac_cv_prog_CC+y}
2954 then :
2955 printf %s "(cached) " >&6
2956 else $as_nop
2957 if test -n "$CC"; then
2958 ac_cv_prog_CC="$CC" # Let the user override the test.
2959 else
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2962 do
2963 IFS=$as_save_IFS
2964 case $as_dir in #(((
2965 '') as_dir=./ ;;
2966 */) ;;
2967 *) as_dir=$as_dir/ ;;
2968 esac
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2973 break 2
2974 fi
2975 done
2976 done
2977 IFS=$as_save_IFS
2978
2979 fi
2980 fi
2981 CC=$ac_cv_prog_CC
2982 if test -n "$CC"; then
2983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 printf "%s\n" "$CC" >&6; }
2985 else
2986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 printf "%s\n" "no" >&6; }
2988 fi
2989
2990
2991 fi
2992 if test -z "$ac_cv_prog_CC"; then
2993 ac_ct_CC=$CC
2994 # Extract the first word of "gcc", so it can be a program name with args.
2995 set dummy gcc; ac_word=$2
2996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 printf %s "checking for $ac_word... " >&6; }
2998 if test ${ac_cv_prog_ac_ct_CC+y}
2999 then :
3000 printf %s "(cached) " >&6
3001 else $as_nop
3002 if test -n "$ac_ct_CC"; then
3003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3004 else
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006 for as_dir in $PATH
3007 do
3008 IFS=$as_save_IFS
3009 case $as_dir in #(((
3010 '') as_dir=./ ;;
3011 */) ;;
3012 *) as_dir=$as_dir/ ;;
3013 esac
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3016 ac_cv_prog_ac_ct_CC="gcc"
3017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3018 break 2
3019 fi
3020 done
3021 done
3022 IFS=$as_save_IFS
3023
3024 fi
3025 fi
3026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3027 if test -n "$ac_ct_CC"; then
3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3029 printf "%s\n" "$ac_ct_CC" >&6; }
3030 else
3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 printf "%s\n" "no" >&6; }
3033 fi
3034
3035 if test "x$ac_ct_CC" = x; then
3036 CC=""
3037 else
3038 case $cross_compiling:$ac_tool_warned in
3039 yes:)
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3041 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3042 ac_tool_warned=yes ;;
3043 esac
3044 CC=$ac_ct_CC
3045 fi
3046 else
3047 CC="$ac_cv_prog_CC"
3048 fi
3049
3050 if test -z "$CC"; then
3051 if test -n "$ac_tool_prefix"; then
3052 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3053 set dummy ${ac_tool_prefix}cc; ac_word=$2
3054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 printf %s "checking for $ac_word... " >&6; }
3056 if test ${ac_cv_prog_CC+y}
3057 then :
3058 printf %s "(cached) " >&6
3059 else $as_nop
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC="$CC" # Let the user override the test.
3062 else
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3065 do
3066 IFS=$as_save_IFS
3067 case $as_dir in #(((
3068 '') as_dir=./ ;;
3069 */) ;;
3070 *) as_dir=$as_dir/ ;;
3071 esac
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3074 ac_cv_prog_CC="${ac_tool_prefix}cc"
3075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3076 break 2
3077 fi
3078 done
3079 done
3080 IFS=$as_save_IFS
3081
3082 fi
3083 fi
3084 CC=$ac_cv_prog_CC
3085 if test -n "$CC"; then
3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 printf "%s\n" "$CC" >&6; }
3088 else
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 printf "%s\n" "no" >&6; }
3091 fi
3092
3093
3094 fi
3095 fi
3096 if test -z "$CC"; then
3097 # Extract the first word of "cc", so it can be a program name with args.
3098 set dummy cc; ac_word=$2
3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 printf %s "checking for $ac_word... " >&6; }
3101 if test ${ac_cv_prog_CC+y}
3102 then :
3103 printf %s "(cached) " >&6
3104 else $as_nop
3105 if test -n "$CC"; then
3106 ac_cv_prog_CC="$CC" # Let the user override the test.
3107 else
3108 ac_prog_rejected=no
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 for as_dir in $PATH
3111 do
3112 IFS=$as_save_IFS
3113 case $as_dir in #(((
3114 '') as_dir=./ ;;
3115 */) ;;
3116 *) as_dir=$as_dir/ ;;
3117 esac
3118 for ac_exec_ext in '' $ac_executable_extensions; do
3119 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3120 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3121 ac_prog_rejected=yes
3122 continue
3123 fi
3124 ac_cv_prog_CC="cc"
3125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3126 break 2
3127 fi
3128 done
3129 done
3130 IFS=$as_save_IFS
3131
3132 if test $ac_prog_rejected = yes; then
3133 # We found a bogon in the path, so make sure we never use it.
3134 set dummy $ac_cv_prog_CC
3135 shift
3136 if test $# != 0; then
3137 # We chose a different compiler from the bogus one.
3138 # However, it has the same basename, so the bogon will be chosen
3139 # first if we set CC to just the basename; use the full file name.
3140 shift
3141 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3142 fi
3143 fi
3144 fi
3145 fi
3146 CC=$ac_cv_prog_CC
3147 if test -n "$CC"; then
3148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3149 printf "%s\n" "$CC" >&6; }
3150 else
3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 printf "%s\n" "no" >&6; }
3153 fi
3154
3155
3156 fi
3157 if test -z "$CC"; then
3158 if test -n "$ac_tool_prefix"; then
3159 for ac_prog in cl.exe
3160 do
3161 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3162 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 printf %s "checking for $ac_word... " >&6; }
3165 if test ${ac_cv_prog_CC+y}
3166 then :
3167 printf %s "(cached) " >&6
3168 else $as_nop
3169 if test -n "$CC"; then
3170 ac_cv_prog_CC="$CC" # Let the user override the test.
3171 else
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH
3174 do
3175 IFS=$as_save_IFS
3176 case $as_dir in #(((
3177 '') as_dir=./ ;;
3178 */) ;;
3179 *) as_dir=$as_dir/ ;;
3180 esac
3181 for ac_exec_ext in '' $ac_executable_extensions; do
3182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3183 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3185 break 2
3186 fi
3187 done
3188 done
3189 IFS=$as_save_IFS
3190
3191 fi
3192 fi
3193 CC=$ac_cv_prog_CC
3194 if test -n "$CC"; then
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3196 printf "%s\n" "$CC" >&6; }
3197 else
3198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 printf "%s\n" "no" >&6; }
3200 fi
3201
3202
3203 test -n "$CC" && break
3204 done
3205 fi
3206 if test -z "$CC"; then
3207 ac_ct_CC=$CC
3208 for ac_prog in cl.exe
3209 do
3210 # Extract the first word of "$ac_prog", so it can be a program name with args.
3211 set dummy $ac_prog; ac_word=$2
3212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 printf %s "checking for $ac_word... " >&6; }
3214 if test ${ac_cv_prog_ac_ct_CC+y}
3215 then :
3216 printf %s "(cached) " >&6
3217 else $as_nop
3218 if test -n "$ac_ct_CC"; then
3219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3220 else
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 for as_dir in $PATH
3223 do
3224 IFS=$as_save_IFS
3225 case $as_dir in #(((
3226 '') as_dir=./ ;;
3227 */) ;;
3228 *) as_dir=$as_dir/ ;;
3229 esac
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_ac_ct_CC="$ac_prog"
3233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3234 break 2
3235 fi
3236 done
3237 done
3238 IFS=$as_save_IFS
3239
3240 fi
3241 fi
3242 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3243 if test -n "$ac_ct_CC"; then
3244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3245 printf "%s\n" "$ac_ct_CC" >&6; }
3246 else
3247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 printf "%s\n" "no" >&6; }
3249 fi
3250
3251
3252 test -n "$ac_ct_CC" && break
3253 done
3254
3255 if test "x$ac_ct_CC" = x; then
3256 CC=""
3257 else
3258 case $cross_compiling:$ac_tool_warned in
3259 yes:)
3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3261 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3262 ac_tool_warned=yes ;;
3263 esac
3264 CC=$ac_ct_CC
3265 fi
3266 fi
3267
3268 fi
3269 if test -z "$CC"; then
3270 if test -n "$ac_tool_prefix"; then
3271 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3272 set dummy ${ac_tool_prefix}clang; ac_word=$2
3273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 printf %s "checking for $ac_word... " >&6; }
3275 if test ${ac_cv_prog_CC+y}
3276 then :
3277 printf %s "(cached) " >&6
3278 else $as_nop
3279 if test -n "$CC"; then
3280 ac_cv_prog_CC="$CC" # Let the user override the test.
3281 else
3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 for as_dir in $PATH
3284 do
3285 IFS=$as_save_IFS
3286 case $as_dir in #(((
3287 '') as_dir=./ ;;
3288 */) ;;
3289 *) as_dir=$as_dir/ ;;
3290 esac
3291 for ac_exec_ext in '' $ac_executable_extensions; do
3292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3293 ac_cv_prog_CC="${ac_tool_prefix}clang"
3294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3295 break 2
3296 fi
3297 done
3298 done
3299 IFS=$as_save_IFS
3300
3301 fi
3302 fi
3303 CC=$ac_cv_prog_CC
3304 if test -n "$CC"; then
3305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3306 printf "%s\n" "$CC" >&6; }
3307 else
3308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 printf "%s\n" "no" >&6; }
3310 fi
3311
3312
3313 fi
3314 if test -z "$ac_cv_prog_CC"; then
3315 ac_ct_CC=$CC
3316 # Extract the first word of "clang", so it can be a program name with args.
3317 set dummy clang; ac_word=$2
3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3319 printf %s "checking for $ac_word... " >&6; }
3320 if test ${ac_cv_prog_ac_ct_CC+y}
3321 then :
3322 printf %s "(cached) " >&6
3323 else $as_nop
3324 if test -n "$ac_ct_CC"; then
3325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3326 else
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 for as_dir in $PATH
3329 do
3330 IFS=$as_save_IFS
3331 case $as_dir in #(((
3332 '') as_dir=./ ;;
3333 */) ;;
3334 *) as_dir=$as_dir/ ;;
3335 esac
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3338 ac_cv_prog_ac_ct_CC="clang"
3339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3340 break 2
3341 fi
3342 done
3343 done
3344 IFS=$as_save_IFS
3345
3346 fi
3347 fi
3348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3349 if test -n "$ac_ct_CC"; then
3350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3351 printf "%s\n" "$ac_ct_CC" >&6; }
3352 else
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 printf "%s\n" "no" >&6; }
3355 fi
3356
3357 if test "x$ac_ct_CC" = x; then
3358 CC=""
3359 else
3360 case $cross_compiling:$ac_tool_warned in
3361 yes:)
3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3363 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3364 ac_tool_warned=yes ;;
3365 esac
3366 CC=$ac_ct_CC
3367 fi
3368 else
3369 CC="$ac_cv_prog_CC"
3370 fi
3371
3372 fi
3373
3374
3375 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3377 as_fn_error $? "no acceptable C compiler found in \$PATH
3378 See \`config.log' for more details" "$LINENO" 5; }
3379
3380 # Provide some information about the compiler.
3381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3382 set X $ac_compile
3383 ac_compiler=$2
3384 for ac_option in --version -v -V -qversion -version; do
3385 { { ac_try="$ac_compiler $ac_option >&5"
3386 case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3389 esac
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 printf "%s\n" "$ac_try_echo"; } >&5
3392 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3393 ac_status=$?
3394 if test -s conftest.err; then
3395 sed '10a\
3396 ... rest of stderr output deleted ...
3397 10q' conftest.err >conftest.er1
3398 cat conftest.er1 >&5
3399 fi
3400 rm -f conftest.er1 conftest.err
3401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }
3403 done
3404
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3407
3408 int
3409 main (void)
3410 {
3411
3412 ;
3413 return 0;
3414 }
3415 _ACEOF
3416 ac_clean_files_save=$ac_clean_files
3417 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3418 # Try to create an executable without -o first, disregard a.out.
3419 # It will help us diagnose broken compilers, and finding out an intuition
3420 # of exeext.
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3422 printf %s "checking whether the C compiler works... " >&6; }
3423 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3424
3425 # The possible output files:
3426 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3427
3428 ac_rmfiles=
3429 for ac_file in $ac_files
3430 do
3431 case $ac_file in
3432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3433 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3434 esac
3435 done
3436 rm -f $ac_rmfiles
3437
3438 if { { ac_try="$ac_link_default"
3439 case "(($ac_try" in
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3442 esac
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444 printf "%s\n" "$ac_try_echo"; } >&5
3445 (eval "$ac_link_default") 2>&5
3446 ac_status=$?
3447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }
3449 then :
3450 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3451 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3452 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3453 # so that the user can short-circuit this test for compilers unknown to
3454 # Autoconf.
3455 for ac_file in $ac_files ''
3456 do
3457 test -f "$ac_file" || continue
3458 case $ac_file in
3459 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3460 ;;
3461 [ab].out )
3462 # We found the default executable, but exeext='' is most
3463 # certainly right.
3464 break;;
3465 *.* )
3466 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3467 then :; else
3468 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3469 fi
3470 # We set ac_cv_exeext here because the later test for it is not
3471 # safe: cross compilers may not add the suffix if given an `-o'
3472 # argument, so we may need to know it at that point already.
3473 # Even if this section looks crufty: it has the advantage of
3474 # actually working.
3475 break;;
3476 * )
3477 break;;
3478 esac
3479 done
3480 test "$ac_cv_exeext" = no && ac_cv_exeext=
3481
3482 else $as_nop
3483 ac_file=''
3484 fi
3485 if test -z "$ac_file"
3486 then :
3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 printf "%s\n" "no" >&6; }
3489 printf "%s\n" "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3491
3492 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3494 as_fn_error 77 "C compiler cannot create executables
3495 See \`config.log' for more details" "$LINENO" 5; }
3496 else $as_nop
3497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3498 printf "%s\n" "yes" >&6; }
3499 fi
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3501 printf %s "checking for C compiler default output file name... " >&6; }
3502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3503 printf "%s\n" "$ac_file" >&6; }
3504 ac_exeext=$ac_cv_exeext
3505
3506 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3507 ac_clean_files=$ac_clean_files_save
3508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3509 printf %s "checking for suffix of executables... " >&6; }
3510 if { { ac_try="$ac_link"
3511 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 printf "%s\n" "$ac_try_echo"; } >&5
3517 (eval "$ac_link") 2>&5
3518 ac_status=$?
3519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }
3521 then :
3522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3524 # work properly (i.e., refer to `conftest.exe'), while it won't with
3525 # `rm'.
3526 for ac_file in conftest.exe conftest conftest.*; do
3527 test -f "$ac_file" || continue
3528 case $ac_file in
3529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3531 break;;
3532 * ) break;;
3533 esac
3534 done
3535 else $as_nop
3536 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3539 See \`config.log' for more details" "$LINENO" 5; }
3540 fi
3541 rm -f conftest conftest$ac_cv_exeext
3542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3543 printf "%s\n" "$ac_cv_exeext" >&6; }
3544
3545 rm -f conftest.$ac_ext
3546 EXEEXT=$ac_cv_exeext
3547 ac_exeext=$EXEEXT
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3550 #include <stdio.h>
3551 int
3552 main (void)
3553 {
3554 FILE *f = fopen ("conftest.out", "w");
3555 return ferror (f) || fclose (f) != 0;
3556
3557 ;
3558 return 0;
3559 }
3560 _ACEOF
3561 ac_clean_files="$ac_clean_files conftest.out"
3562 # Check that the compiler produces executables we can run. If not, either
3563 # the compiler is broken, or we cross compile.
3564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3565 printf %s "checking whether we are cross compiling... " >&6; }
3566 if test "$cross_compiling" != yes; then
3567 { { ac_try="$ac_link"
3568 case "(($ac_try" in
3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;;
3571 esac
3572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573 printf "%s\n" "$ac_try_echo"; } >&5
3574 (eval "$ac_link") 2>&5
3575 ac_status=$?
3576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577 test $ac_status = 0; }
3578 if { ac_try='./conftest$ac_cv_exeext'
3579 { { case "(($ac_try" in
3580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3582 esac
3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584 printf "%s\n" "$ac_try_echo"; } >&5
3585 (eval "$ac_try") 2>&5
3586 ac_status=$?
3587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588 test $ac_status = 0; }; }; then
3589 cross_compiling=no
3590 else
3591 if test "$cross_compiling" = maybe; then
3592 cross_compiling=yes
3593 else
3594 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3595 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3596 as_fn_error 77 "cannot run C compiled programs.
3597 If you meant to cross compile, use \`--host'.
3598 See \`config.log' for more details" "$LINENO" 5; }
3599 fi
3600 fi
3601 fi
3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3603 printf "%s\n" "$cross_compiling" >&6; }
3604
3605 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3606 ac_clean_files=$ac_clean_files_save
3607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3608 printf %s "checking for suffix of object files... " >&6; }
3609 if test ${ac_cv_objext+y}
3610 then :
3611 printf %s "(cached) " >&6
3612 else $as_nop
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3615
3616 int
3617 main (void)
3618 {
3619
3620 ;
3621 return 0;
3622 }
3623 _ACEOF
3624 rm -f conftest.o conftest.obj
3625 if { { ac_try="$ac_compile"
3626 case "(($ac_try" in
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3629 esac
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 printf "%s\n" "$ac_try_echo"; } >&5
3632 (eval "$ac_compile") 2>&5
3633 ac_status=$?
3634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635 test $ac_status = 0; }
3636 then :
3637 for ac_file in conftest.o conftest.obj conftest.*; do
3638 test -f "$ac_file" || continue;
3639 case $ac_file in
3640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3641 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3642 break;;
3643 esac
3644 done
3645 else $as_nop
3646 printf "%s\n" "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3648
3649 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3650 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3651 as_fn_error $? "cannot compute suffix of object files: cannot compile
3652 See \`config.log' for more details" "$LINENO" 5; }
3653 fi
3654 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3655 fi
3656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3657 printf "%s\n" "$ac_cv_objext" >&6; }
3658 OBJEXT=$ac_cv_objext
3659 ac_objext=$OBJEXT
3660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3661 printf %s "checking whether the compiler supports GNU C... " >&6; }
3662 if test ${ac_cv_c_compiler_gnu+y}
3663 then :
3664 printf %s "(cached) " >&6
3665 else $as_nop
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3668
3669 int
3670 main (void)
3671 {
3672 #ifndef __GNUC__
3673 choke me
3674 #endif
3675
3676 ;
3677 return 0;
3678 }
3679 _ACEOF
3680 if ac_fn_c_try_compile "$LINENO"
3681 then :
3682 ac_compiler_gnu=yes
3683 else $as_nop
3684 ac_compiler_gnu=no
3685 fi
3686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3687 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3688
3689 fi
3690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3691 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3693
3694 if test $ac_compiler_gnu = yes; then
3695 GCC=yes
3696 else
3697 GCC=
3698 fi
3699 ac_test_CFLAGS=${CFLAGS+y}
3700 ac_save_CFLAGS=$CFLAGS
3701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3702 printf %s "checking whether $CC accepts -g... " >&6; }
3703 if test ${ac_cv_prog_cc_g+y}
3704 then :
3705 printf %s "(cached) " >&6
3706 else $as_nop
3707 ac_save_c_werror_flag=$ac_c_werror_flag
3708 ac_c_werror_flag=yes
3709 ac_cv_prog_cc_g=no
3710 CFLAGS="-g"
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3713
3714 int
3715 main (void)
3716 {
3717
3718 ;
3719 return 0;
3720 }
3721 _ACEOF
3722 if ac_fn_c_try_compile "$LINENO"
3723 then :
3724 ac_cv_prog_cc_g=yes
3725 else $as_nop
3726 CFLAGS=""
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3729
3730 int
3731 main (void)
3732 {
3733
3734 ;
3735 return 0;
3736 }
3737 _ACEOF
3738 if ac_fn_c_try_compile "$LINENO"
3739 then :
3740
3741 else $as_nop
3742 ac_c_werror_flag=$ac_save_c_werror_flag
3743 CFLAGS="-g"
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3746
3747 int
3748 main (void)
3749 {
3750
3751 ;
3752 return 0;
3753 }
3754 _ACEOF
3755 if ac_fn_c_try_compile "$LINENO"
3756 then :
3757 ac_cv_prog_cc_g=yes
3758 fi
3759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3760 fi
3761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3762 fi
3763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3764 ac_c_werror_flag=$ac_save_c_werror_flag
3765 fi
3766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3767 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3768 if test $ac_test_CFLAGS; then
3769 CFLAGS=$ac_save_CFLAGS
3770 elif test $ac_cv_prog_cc_g = yes; then
3771 if test "$GCC" = yes; then
3772 CFLAGS="-g -O2"
3773 else
3774 CFLAGS="-g"
3775 fi
3776 else
3777 if test "$GCC" = yes; then
3778 CFLAGS="-O2"
3779 else
3780 CFLAGS=
3781 fi
3782 fi
3783 ac_prog_cc_stdc=no
3784 if test x$ac_prog_cc_stdc = xno
3785 then :
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3787 printf %s "checking for $CC option to enable C11 features... " >&6; }
3788 if test ${ac_cv_prog_cc_c11+y}
3789 then :
3790 printf %s "(cached) " >&6
3791 else $as_nop
3792 ac_cv_prog_cc_c11=no
3793 ac_save_CC=$CC
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3796 $ac_c_conftest_c11_program
3797 _ACEOF
3798 for ac_arg in '' -std=gnu11
3799 do
3800 CC="$ac_save_CC $ac_arg"
3801 if ac_fn_c_try_compile "$LINENO"
3802 then :
3803 ac_cv_prog_cc_c11=$ac_arg
3804 fi
3805 rm -f core conftest.err conftest.$ac_objext conftest.beam
3806 test "x$ac_cv_prog_cc_c11" != "xno" && break
3807 done
3808 rm -f conftest.$ac_ext
3809 CC=$ac_save_CC
3810 fi
3811
3812 if test "x$ac_cv_prog_cc_c11" = xno
3813 then :
3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3815 printf "%s\n" "unsupported" >&6; }
3816 else $as_nop
3817 if test "x$ac_cv_prog_cc_c11" = x
3818 then :
3819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3820 printf "%s\n" "none needed" >&6; }
3821 else $as_nop
3822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3823 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3824 CC="$CC $ac_cv_prog_cc_c11"
3825 fi
3826 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3827 ac_prog_cc_stdc=c11
3828 fi
3829 fi
3830 if test x$ac_prog_cc_stdc = xno
3831 then :
3832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3833 printf %s "checking for $CC option to enable C99 features... " >&6; }
3834 if test ${ac_cv_prog_cc_c99+y}
3835 then :
3836 printf %s "(cached) " >&6
3837 else $as_nop
3838 ac_cv_prog_cc_c99=no
3839 ac_save_CC=$CC
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3842 $ac_c_conftest_c99_program
3843 _ACEOF
3844 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3845 do
3846 CC="$ac_save_CC $ac_arg"
3847 if ac_fn_c_try_compile "$LINENO"
3848 then :
3849 ac_cv_prog_cc_c99=$ac_arg
3850 fi
3851 rm -f core conftest.err conftest.$ac_objext conftest.beam
3852 test "x$ac_cv_prog_cc_c99" != "xno" && break
3853 done
3854 rm -f conftest.$ac_ext
3855 CC=$ac_save_CC
3856 fi
3857
3858 if test "x$ac_cv_prog_cc_c99" = xno
3859 then :
3860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3861 printf "%s\n" "unsupported" >&6; }
3862 else $as_nop
3863 if test "x$ac_cv_prog_cc_c99" = x
3864 then :
3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3866 printf "%s\n" "none needed" >&6; }
3867 else $as_nop
3868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3869 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3870 CC="$CC $ac_cv_prog_cc_c99"
3871 fi
3872 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3873 ac_prog_cc_stdc=c99
3874 fi
3875 fi
3876 if test x$ac_prog_cc_stdc = xno
3877 then :
3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3879 printf %s "checking for $CC option to enable C89 features... " >&6; }
3880 if test ${ac_cv_prog_cc_c89+y}
3881 then :
3882 printf %s "(cached) " >&6
3883 else $as_nop
3884 ac_cv_prog_cc_c89=no
3885 ac_save_CC=$CC
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3888 $ac_c_conftest_c89_program
3889 _ACEOF
3890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3891 do
3892 CC="$ac_save_CC $ac_arg"
3893 if ac_fn_c_try_compile "$LINENO"
3894 then :
3895 ac_cv_prog_cc_c89=$ac_arg
3896 fi
3897 rm -f core conftest.err conftest.$ac_objext conftest.beam
3898 test "x$ac_cv_prog_cc_c89" != "xno" && break
3899 done
3900 rm -f conftest.$ac_ext
3901 CC=$ac_save_CC
3902 fi
3903
3904 if test "x$ac_cv_prog_cc_c89" = xno
3905 then :
3906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3907 printf "%s\n" "unsupported" >&6; }
3908 else $as_nop
3909 if test "x$ac_cv_prog_cc_c89" = x
3910 then :
3911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3912 printf "%s\n" "none needed" >&6; }
3913 else $as_nop
3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3915 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3916 CC="$CC $ac_cv_prog_cc_c89"
3917 fi
3918 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3919 ac_prog_cc_stdc=c89
3920 fi
3921 fi
3922
3923 ac_ext=c
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928
3929
3930 ac_ext=c
3931 ac_cpp='$CPP $CPPFLAGS'
3932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3936 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3937 if test ${am_cv_prog_cc_c_o+y}
3938 then :
3939 printf %s "(cached) " >&6
3940 else $as_nop
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3943
3944 int
3945 main (void)
3946 {
3947
3948 ;
3949 return 0;
3950 }
3951 _ACEOF
3952 # Make sure it works both with $CC and with simple cc.
3953 # Following AC_PROG_CC_C_O, we do the test twice because some
3954 # compilers refuse to overwrite an existing .o file with -o,
3955 # though they will create one.
3956 am_cv_prog_cc_c_o=yes
3957 for am_i in 1 2; do
3958 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3959 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3960 ac_status=$?
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } \
3963 && test -f conftest2.$ac_objext; then
3964 : OK
3965 else
3966 am_cv_prog_cc_c_o=no
3967 break
3968 fi
3969 done
3970 rm -f core conftest*
3971 unset am_i
3972 fi
3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3974 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3975 if test "$am_cv_prog_cc_c_o" != yes; then
3976 # Losing compiler, so override with the script.
3977 # FIXME: It is wrong to rewrite CC.
3978 # But if we don't then we get into trouble of one sort or another.
3979 # A longer-term fix would be to have automake use am__CC in this case,
3980 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3981 CC="$am_aux_dir/compile $CC"
3982 fi
3983 ac_ext=c
3984 ac_cpp='$CPP $CPPFLAGS'
3985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3988
3989 DEPDIR="${am__leading_dot}deps"
3990
3991 ac_config_commands="$ac_config_commands depfiles"
3992
3993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3994 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3995 cat > confinc.mk << 'END'
3996 am__doit:
3997 @echo this is the am__doit target >confinc.out
3998 .PHONY: am__doit
3999 END
4000 am__include="#"
4001 am__quote=
4002 # BSD make does it like this.
4003 echo '.include "confinc.mk" # ignored' > confmf.BSD
4004 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4005 echo 'include confinc.mk # ignored' > confmf.GNU
4006 _am_result=no
4007 for s in GNU BSD; do
4008 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4009 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4010 ac_status=$?
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }
4013 case $?:`cat confinc.out 2>/dev/null` in #(
4014 '0:this is the am__doit target') :
4015 case $s in #(
4016 BSD) :
4017 am__include='.include' am__quote='"' ;; #(
4018 *) :
4019 am__include='include' am__quote='' ;;
4020 esac ;; #(
4021 *) :
4022 ;;
4023 esac
4024 if test "$am__include" != "#"; then
4025 _am_result="yes ($s style)"
4026 break
4027 fi
4028 done
4029 rm -f confinc.* confmf.*
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4031 printf "%s\n" "${_am_result}" >&6; }
4032
4033 # Check whether --enable-dependency-tracking was given.
4034 if test ${enable_dependency_tracking+y}
4035 then :
4036 enableval=$enable_dependency_tracking;
4037 fi
4038
4039 if test "x$enable_dependency_tracking" != xno; then
4040 am_depcomp="$ac_aux_dir/depcomp"
4041 AMDEPBACKSLASH='\'
4042 am__nodep='_no'
4043 fi
4044 if test "x$enable_dependency_tracking" != xno; then
4045 AMDEP_TRUE=
4046 AMDEP_FALSE='#'
4047 else
4048 AMDEP_TRUE='#'
4049 AMDEP_FALSE=
4050 fi
4051
4052
4053
4054 depcc="$CC" am_compiler_list=
4055
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4057 printf %s "checking dependency style of $depcc... " >&6; }
4058 if test ${am_cv_CC_dependencies_compiler_type+y}
4059 then :
4060 printf %s "(cached) " >&6
4061 else $as_nop
4062 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4063 # We make a subdir and do the tests there. Otherwise we can end up
4064 # making bogus files that we don't know about and never remove. For
4065 # instance it was reported that on HP-UX the gcc test will end up
4066 # making a dummy file named 'D' -- because '-MD' means "put the output
4067 # in D".
4068 rm -rf conftest.dir
4069 mkdir conftest.dir
4070 # Copy depcomp to subdir because otherwise we won't find it if we're
4071 # using a relative directory.
4072 cp "$am_depcomp" conftest.dir
4073 cd conftest.dir
4074 # We will build objects and dependencies in a subdirectory because
4075 # it helps to detect inapplicable dependency modes. For instance
4076 # both Tru64's cc and ICC support -MD to output dependencies as a
4077 # side effect of compilation, but ICC will put the dependencies in
4078 # the current directory while Tru64 will put them in the object
4079 # directory.
4080 mkdir sub
4081
4082 am_cv_CC_dependencies_compiler_type=none
4083 if test "$am_compiler_list" = ""; then
4084 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4085 fi
4086 am__universal=false
4087 case " $depcc " in #(
4088 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4089 esac
4090
4091 for depmode in $am_compiler_list; do
4092 # Setup a source with many dependencies, because some compilers
4093 # like to wrap large dependency lists on column 80 (with \), and
4094 # we should not choose a depcomp mode which is confused by this.
4095 #
4096 # We need to recreate these files for each test, as the compiler may
4097 # overwrite some of them when testing with obscure command lines.
4098 # This happens at least with the AIX C compiler.
4099 : > sub/conftest.c
4100 for i in 1 2 3 4 5 6; do
4101 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4102 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4103 # Solaris 10 /bin/sh.
4104 echo '/* dummy */' > sub/conftst$i.h
4105 done
4106 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4107
4108 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4109 # mode. It turns out that the SunPro C++ compiler does not properly
4110 # handle '-M -o', and we need to detect this. Also, some Intel
4111 # versions had trouble with output in subdirs.
4112 am__obj=sub/conftest.${OBJEXT-o}
4113 am__minus_obj="-o $am__obj"
4114 case $depmode in
4115 gcc)
4116 # This depmode causes a compiler race in universal mode.
4117 test "$am__universal" = false || continue
4118 ;;
4119 nosideeffect)
4120 # After this tag, mechanisms are not by side-effect, so they'll
4121 # only be used when explicitly requested.
4122 if test "x$enable_dependency_tracking" = xyes; then
4123 continue
4124 else
4125 break
4126 fi
4127 ;;
4128 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4129 # This compiler won't grok '-c -o', but also, the minuso test has
4130 # not run yet. These depmodes are late enough in the game, and
4131 # so weak that their functioning should not be impacted.
4132 am__obj=conftest.${OBJEXT-o}
4133 am__minus_obj=
4134 ;;
4135 none) break ;;
4136 esac
4137 if depmode=$depmode \
4138 source=sub/conftest.c object=$am__obj \
4139 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4140 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4141 >/dev/null 2>conftest.err &&
4142 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4143 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4144 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4145 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4146 # icc doesn't choke on unknown options, it will just issue warnings
4147 # or remarks (even with -Werror). So we grep stderr for any message
4148 # that says an option was ignored or not supported.
4149 # When given -MP, icc 7.0 and 7.1 complain thusly:
4150 # icc: Command line warning: ignoring option '-M'; no argument required
4151 # The diagnosis changed in icc 8.0:
4152 # icc: Command line remark: option '-MP' not supported
4153 if (grep 'ignoring option' conftest.err ||
4154 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4155 am_cv_CC_dependencies_compiler_type=$depmode
4156 break
4157 fi
4158 fi
4159 done
4160
4161 cd ..
4162 rm -rf conftest.dir
4163 else
4164 am_cv_CC_dependencies_compiler_type=none
4165 fi
4166
4167 fi
4168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4169 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4170 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4171
4172 if
4173 test "x$enable_dependency_tracking" != xno \
4174 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4175 am__fastdepCC_TRUE=
4176 am__fastdepCC_FALSE='#'
4177 else
4178 am__fastdepCC_TRUE='#'
4179 am__fastdepCC_FALSE=
4180 fi
4181
4182
4183 if test "x$GCC" = "xyes"
4184 then :
4185 CFLAGS="${CFLAGS} -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wformat -Werror=format-security"
4186 fi
4187 CFLAGS="${CFLAGS} -g"
4188
4189 # Check whether --enable-largefile was given.
4190 if test ${enable_largefile+y}
4191 then :
4192 enableval=$enable_largefile;
4193 fi
4194
4195 if test "$enable_largefile" != no; then
4196
4197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4198 printf %s "checking for special C compiler options needed for large files... " >&6; }
4199 if test ${ac_cv_sys_largefile_CC+y}
4200 then :
4201 printf %s "(cached) " >&6
4202 else $as_nop
4203 ac_cv_sys_largefile_CC=no
4204 if test "$GCC" != yes; then
4205 ac_save_CC=$CC
4206 while :; do
4207 # IRIX 6.2 and later do not support large files by default,
4208 # so use the C compiler's -n32 option if that helps.
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4211 #include <sys/types.h>
4212 /* Check that off_t can represent 2**63 - 1 correctly.
4213 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4214 since some C++ compilers masquerading as C compilers
4215 incorrectly reject 9223372036854775807. */
4216 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4217 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4218 && LARGE_OFF_T % 2147483647 == 1)
4219 ? 1 : -1];
4220 int
4221 main (void)
4222 {
4223
4224 ;
4225 return 0;
4226 }
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"
4229 then :
4230 break
4231 fi
4232 rm -f core conftest.err conftest.$ac_objext conftest.beam
4233 CC="$CC -n32"
4234 if ac_fn_c_try_compile "$LINENO"
4235 then :
4236 ac_cv_sys_largefile_CC=' -n32'; break
4237 fi
4238 rm -f core conftest.err conftest.$ac_objext conftest.beam
4239 break
4240 done
4241 CC=$ac_save_CC
4242 rm -f conftest.$ac_ext
4243 fi
4244 fi
4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4246 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
4247 if test "$ac_cv_sys_largefile_CC" != no; then
4248 CC=$CC$ac_cv_sys_largefile_CC
4249 fi
4250
4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4252 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4253 if test ${ac_cv_sys_file_offset_bits+y}
4254 then :
4255 printf %s "(cached) " >&6
4256 else $as_nop
4257 while :; do
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4260 #include <sys/types.h>
4261 /* Check that off_t can represent 2**63 - 1 correctly.
4262 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4263 since some C++ compilers masquerading as C compilers
4264 incorrectly reject 9223372036854775807. */
4265 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4266 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4267 && LARGE_OFF_T % 2147483647 == 1)
4268 ? 1 : -1];
4269 int
4270 main (void)
4271 {
4272
4273 ;
4274 return 0;
4275 }
4276 _ACEOF
4277 if ac_fn_c_try_compile "$LINENO"
4278 then :
4279 ac_cv_sys_file_offset_bits=no; break
4280 fi
4281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4284 #define _FILE_OFFSET_BITS 64
4285 #include <sys/types.h>
4286 /* Check that off_t can represent 2**63 - 1 correctly.
4287 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4288 since some C++ compilers masquerading as C compilers
4289 incorrectly reject 9223372036854775807. */
4290 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4291 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4292 && LARGE_OFF_T % 2147483647 == 1)
4293 ? 1 : -1];
4294 int
4295 main (void)
4296 {
4297
4298 ;
4299 return 0;
4300 }
4301 _ACEOF
4302 if ac_fn_c_try_compile "$LINENO"
4303 then :
4304 ac_cv_sys_file_offset_bits=64; break
4305 fi
4306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4307 ac_cv_sys_file_offset_bits=unknown
4308 break
4309 done
4310 fi
4311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4312 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
4313 case $ac_cv_sys_file_offset_bits in #(
4314 no | unknown) ;;
4315 *)
4316 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
4317 ;;
4318 esac
4319 rm -rf conftest*
4320 if test $ac_cv_sys_file_offset_bits = unknown; then
4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4322 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
4323 if test ${ac_cv_sys_large_files+y}
4324 then :
4325 printf %s "(cached) " >&6
4326 else $as_nop
4327 while :; do
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4330 #include <sys/types.h>
4331 /* Check that off_t can represent 2**63 - 1 correctly.
4332 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4333 since some C++ compilers masquerading as C compilers
4334 incorrectly reject 9223372036854775807. */
4335 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4336 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4337 && LARGE_OFF_T % 2147483647 == 1)
4338 ? 1 : -1];
4339 int
4340 main (void)
4341 {
4342
4343 ;
4344 return 0;
4345 }
4346 _ACEOF
4347 if ac_fn_c_try_compile "$LINENO"
4348 then :
4349 ac_cv_sys_large_files=no; break
4350 fi
4351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4354 #define _LARGE_FILES 1
4355 #include <sys/types.h>
4356 /* Check that off_t can represent 2**63 - 1 correctly.
4357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4358 since some C++ compilers masquerading as C compilers
4359 incorrectly reject 9223372036854775807. */
4360 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
4361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4362 && LARGE_OFF_T % 2147483647 == 1)
4363 ? 1 : -1];
4364 int
4365 main (void)
4366 {
4367
4368 ;
4369 return 0;
4370 }
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"
4373 then :
4374 ac_cv_sys_large_files=1; break
4375 fi
4376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4377 ac_cv_sys_large_files=unknown
4378 break
4379 done
4380 fi
4381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4382 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
4383 case $ac_cv_sys_large_files in #(
4384 no | unknown) ;;
4385 *)
4386 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
4387 ;;
4388 esac
4389 rm -rf conftest*
4390 fi
4391 fi
4392
4393
4394
4395
4396
4397
4398
4399
4400 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4401 if test -n "$ac_tool_prefix"; then
4402 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4403 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 printf %s "checking for $ac_word... " >&6; }
4406 if test ${ac_cv_path_PKG_CONFIG+y}
4407 then :
4408 printf %s "(cached) " >&6
4409 else $as_nop
4410 case $PKG_CONFIG in
4411 [\\/]* | ?:[\\/]*)
4412 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4413 ;;
4414 *)
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416 for as_dir in $PATH
4417 do
4418 IFS=$as_save_IFS
4419 case $as_dir in #(((
4420 '') as_dir=./ ;;
4421 */) ;;
4422 *) as_dir=$as_dir/ ;;
4423 esac
4424 for ac_exec_ext in '' $ac_executable_extensions; do
4425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4426 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4428 break 2
4429 fi
4430 done
4431 done
4432 IFS=$as_save_IFS
4433
4434 ;;
4435 esac
4436 fi
4437 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4438 if test -n "$PKG_CONFIG"; then
4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4440 printf "%s\n" "$PKG_CONFIG" >&6; }
4441 else
4442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 printf "%s\n" "no" >&6; }
4444 fi
4445
4446
4447 fi
4448 if test -z "$ac_cv_path_PKG_CONFIG"; then
4449 ac_pt_PKG_CONFIG=$PKG_CONFIG
4450 # Extract the first word of "pkg-config", so it can be a program name with args.
4451 set dummy pkg-config; ac_word=$2
4452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 printf %s "checking for $ac_word... " >&6; }
4454 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4455 then :
4456 printf %s "(cached) " >&6
4457 else $as_nop
4458 case $ac_pt_PKG_CONFIG in
4459 [\\/]* | ?:[\\/]*)
4460 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4461 ;;
4462 *)
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH
4465 do
4466 IFS=$as_save_IFS
4467 case $as_dir in #(((
4468 '') as_dir=./ ;;
4469 */) ;;
4470 *) as_dir=$as_dir/ ;;
4471 esac
4472 for ac_exec_ext in '' $ac_executable_extensions; do
4473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4474 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4476 break 2
4477 fi
4478 done
4479 done
4480 IFS=$as_save_IFS
4481
4482 ;;
4483 esac
4484 fi
4485 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4486 if test -n "$ac_pt_PKG_CONFIG"; then
4487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4488 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4489 else
4490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 printf "%s\n" "no" >&6; }
4492 fi
4493
4494 if test "x$ac_pt_PKG_CONFIG" = x; then
4495 PKG_CONFIG=""
4496 else
4497 case $cross_compiling:$ac_tool_warned in
4498 yes:)
4499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned=yes ;;
4502 esac
4503 PKG_CONFIG=$ac_pt_PKG_CONFIG
4504 fi
4505 else
4506 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4507 fi
4508
4509 fi
4510 if test -n "$PKG_CONFIG"; then
4511 _pkg_min_version=0.9.0
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4513 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4514 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4516 printf "%s\n" "yes" >&6; }
4517 else
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4519 printf "%s\n" "no" >&6; }
4520 PKG_CONFIG=""
4521 fi
4522 fi
4523
4524 pkg_failed=no
4525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dvdread >= 4.1.3" >&5
4526 printf %s "checking for dvdread >= 4.1.3... " >&6; }
4527
4528 if test -n "$DVDREAD_CFLAGS"; then
4529 pkg_cv_DVDREAD_CFLAGS="$DVDREAD_CFLAGS"
4530 elif test -n "$PKG_CONFIG"; then
4531 if test -n "$PKG_CONFIG" && \
4532 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread >= 4.1.3\""; } >&5
4533 ($PKG_CONFIG --exists --print-errors "dvdread >= 4.1.3") 2>&5
4534 ac_status=$?
4535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 test $ac_status = 0; }; then
4537 pkg_cv_DVDREAD_CFLAGS=`$PKG_CONFIG --cflags "dvdread >= 4.1.3" 2>/dev/null`
4538 test "x$?" != "x0" && pkg_failed=yes
4539 else
4540 pkg_failed=yes
4541 fi
4542 else
4543 pkg_failed=untried
4544 fi
4545 if test -n "$DVDREAD_LIBS"; then
4546 pkg_cv_DVDREAD_LIBS="$DVDREAD_LIBS"
4547 elif test -n "$PKG_CONFIG"; then
4548 if test -n "$PKG_CONFIG" && \
4549 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdread >= 4.1.3\""; } >&5
4550 ($PKG_CONFIG --exists --print-errors "dvdread >= 4.1.3") 2>&5
4551 ac_status=$?
4552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }; then
4554 pkg_cv_DVDREAD_LIBS=`$PKG_CONFIG --libs "dvdread >= 4.1.3" 2>/dev/null`
4555 test "x$?" != "x0" && pkg_failed=yes
4556 else
4557 pkg_failed=yes
4558 fi
4559 else
4560 pkg_failed=untried
4561 fi
4562
4563
4564
4565 if test $pkg_failed = yes; then
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 printf "%s\n" "no" >&6; }
4568
4569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4570 _pkg_short_errors_supported=yes
4571 else
4572 _pkg_short_errors_supported=no
4573 fi
4574 if test $_pkg_short_errors_supported = yes; then
4575 DVDREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dvdread >= 4.1.3" 2>&1`
4576 else
4577 DVDREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dvdread >= 4.1.3" 2>&1`
4578 fi
4579 # Put the nasty error message in config.log where it belongs
4580 echo "$DVDREAD_PKG_ERRORS" >&5
4581
4582 as_fn_error $? "Package requirements (dvdread >= 4.1.3) were not met:
4583
4584 $DVDREAD_PKG_ERRORS
4585
4586 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4587 installed software in a non-standard prefix.
4588
4589 Alternatively, you may set the environment variables DVDREAD_CFLAGS
4590 and DVDREAD_LIBS to avoid the need to call pkg-config.
4591 See the pkg-config man page for more details." "$LINENO" 5
4592 elif test $pkg_failed = untried; then
4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 printf "%s\n" "no" >&6; }
4595 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4597 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4598 is in your PATH or set the PKG_CONFIG environment variable to the full
4599 path to pkg-config.
4600
4601 Alternatively, you may set the environment variables DVDREAD_CFLAGS
4602 and DVDREAD_LIBS to avoid the need to call pkg-config.
4603 See the pkg-config man page for more details.
4604
4605 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4606 See \`config.log' for more details" "$LINENO" 5; }
4607 else
4608 DVDREAD_CFLAGS=$pkg_cv_DVDREAD_CFLAGS
4609 DVDREAD_LIBS=$pkg_cv_DVDREAD_LIBS
4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4611 printf "%s\n" "yes" >&6; }
4612
4613 fi
4614
4615 pkg_failed=no
4616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.9.0" >&5
4617 printf %s "checking for libxml-2.0 >= 2.9.0... " >&6; }
4618
4619 if test -n "$LIBXML2_CFLAGS"; then
4620 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
4621 elif test -n "$PKG_CONFIG"; then
4622 if test -n "$PKG_CONFIG" && \
4623 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.0\""; } >&5
4624 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.0") 2>&5
4625 ac_status=$?
4626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4627 test $ac_status = 0; }; then
4628 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.9.0" 2>/dev/null`
4629 test "x$?" != "x0" && pkg_failed=yes
4630 else
4631 pkg_failed=yes
4632 fi
4633 else
4634 pkg_failed=untried
4635 fi
4636 if test -n "$LIBXML2_LIBS"; then
4637 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
4638 elif test -n "$PKG_CONFIG"; then
4639 if test -n "$PKG_CONFIG" && \
4640 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.9.0\""; } >&5
4641 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.9.0") 2>&5
4642 ac_status=$?
4643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4644 test $ac_status = 0; }; then
4645 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.9.0" 2>/dev/null`
4646 test "x$?" != "x0" && pkg_failed=yes
4647 else
4648 pkg_failed=yes
4649 fi
4650 else
4651 pkg_failed=untried
4652 fi
4653
4654
4655
4656 if test $pkg_failed = yes; then
4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 printf "%s\n" "no" >&6; }
4659
4660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4661 _pkg_short_errors_supported=yes
4662 else
4663 _pkg_short_errors_supported=no
4664 fi
4665 if test $_pkg_short_errors_supported = yes; then
4666 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.9.0" 2>&1`
4667 else
4668 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.9.0" 2>&1`
4669 fi
4670 # Put the nasty error message in config.log where it belongs
4671 echo "$LIBXML2_PKG_ERRORS" >&5
4672
4673 as_fn_error $? "Package requirements (libxml-2.0 >= 2.9.0) were not met:
4674
4675 $LIBXML2_PKG_ERRORS
4676
4677 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4678 installed software in a non-standard prefix.
4679
4680 Alternatively, you may set the environment variables LIBXML2_CFLAGS
4681 and LIBXML2_LIBS to avoid the need to call pkg-config.
4682 See the pkg-config man page for more details." "$LINENO" 5
4683 elif test $pkg_failed = untried; then
4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 printf "%s\n" "no" >&6; }
4686 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4687 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4688 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4689 is in your PATH or set the PKG_CONFIG environment variable to the full
4690 path to pkg-config.
4691
4692 Alternatively, you may set the environment variables LIBXML2_CFLAGS
4693 and LIBXML2_LIBS to avoid the need to call pkg-config.
4694 See the pkg-config man page for more details.
4695
4696 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4697 See \`config.log' for more details" "$LINENO" 5; }
4698 else
4699 LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
4700 LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4702 printf "%s\n" "yes" >&6; }
4703
4704 fi
4705 ac_config_files="$ac_config_files Makefile"
4706
4707 cat >confcache <<\_ACEOF
4708 # This file is a shell script that caches the results of configure
4709 # tests run on this system so they can be shared between configure
4710 # scripts and configure runs, see configure's option --config-cache.
4711 # It is not useful on other systems. If it contains results you don't
4712 # want to keep, you may remove or edit it.
4713 #
4714 # config.status only pays attention to the cache file if you give it
4715 # the --recheck option to rerun configure.
4716 #
4717 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4718 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4719 # following values.
4720
4721 _ACEOF
4722
4723 # The following way of writing the cache mishandles newlines in values,
4724 # but we know of no workaround that is simple, portable, and efficient.
4725 # So, we kill variables containing newlines.
4726 # Ultrix sh set writes to stderr and can't be redirected directly,
4727 # and sets the high bit in the cache file unless we assign to the vars.
4728 (
4729 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4730 eval ac_val=\$$ac_var
4731 case $ac_val in #(
4732 *${as_nl}*)
4733 case $ac_var in #(
4734 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4735 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4736 esac
4737 case $ac_var in #(
4738 _ | IFS | as_nl) ;; #(
4739 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4740 *) { eval $ac_var=; unset $ac_var;} ;;
4741 esac ;;
4742 esac
4743 done
4744
4745 (set) 2>&1 |
4746 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4747 *${as_nl}ac_space=\ *)
4748 # `set' does not quote correctly, so add quotes: double-quote
4749 # substitution turns \\\\ into \\, and sed turns \\ into \.
4750 sed -n \
4751 "s/'/'\\\\''/g;
4752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4753 ;; #(
4754 *)
4755 # `set' quotes correctly as required by POSIX, so do not add quotes.
4756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4757 ;;
4758 esac |
4759 sort
4760 ) |
4761 sed '
4762 /^ac_cv_env_/b end
4763 t clear
4764 :clear
4765 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4766 t end
4767 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4768 :end' >>confcache
4769 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4770 if test -w "$cache_file"; then
4771 if test "x$cache_file" != "x/dev/null"; then
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4773 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4774 if test ! -f "$cache_file" || test -h "$cache_file"; then
4775 cat confcache >"$cache_file"
4776 else
4777 case $cache_file in #(
4778 */* | ?:*)
4779 mv -f confcache "$cache_file"$$ &&
4780 mv -f "$cache_file"$$ "$cache_file" ;; #(
4781 *)
4782 mv -f confcache "$cache_file" ;;
4783 esac
4784 fi
4785 fi
4786 else
4787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4788 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4789 fi
4790 fi
4791 rm -f confcache
4792
4793 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4794 # Let make expand exec_prefix.
4795 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4796
4797 # Transform confdefs.h into DEFS.
4798 # Protect against shell expansion while executing Makefile rules.
4799 # Protect against Makefile macro expansion.
4800 #
4801 # If the first sed substitution is executed (which looks for macros that
4802 # take arguments), then branch to the quote section. Otherwise,
4803 # look for a macro that doesn't take arguments.
4804 ac_script='
4805 :mline
4806 /\\$/{
4807 N
4808 s,\\\n,,
4809 b mline
4810 }
4811 t clear
4812 :clear
4813 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4814 t quote
4815 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4816 t quote
4817 b any
4818 :quote
4819 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4820 s/\[/\\&/g
4821 s/\]/\\&/g
4822 s/\$/$$/g
4823 H
4824 :any
4825 ${
4826 g
4827 s/^\n//
4828 s/\n/ /g
4829 p
4830 }
4831 '
4832 DEFS=`sed -n "$ac_script" confdefs.h`
4833
4834
4835 ac_libobjs=
4836 ac_ltlibobjs=
4837 U=
4838 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4839 # 1. Remove the extension, and $U if already installed.
4840 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4841 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4842 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4843 # will be set to the directory where LIBOBJS objects are built.
4844 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4845 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4846 done
4847 LIBOBJS=$ac_libobjs
4848
4849 LTLIBOBJS=$ac_ltlibobjs
4850
4851
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4853 printf %s "checking that generated files are newer than configure... " >&6; }
4854 if test -n "$am_sleep_pid"; then
4855 # Hide warnings about reused PIDs.
4856 wait $am_sleep_pid 2>/dev/null
4857 fi
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
4859 printf "%s\n" "done" >&6; }
4860 if test -n "$EXEEXT"; then
4861 am__EXEEXT_TRUE=
4862 am__EXEEXT_FALSE='#'
4863 else
4864 am__EXEEXT_TRUE='#'
4865 am__EXEEXT_FALSE=
4866 fi
4867
4868 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4869 as_fn_error $? "conditional \"AMDEP\" was never defined.
4870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4871 fi
4872 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4873 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4875 fi
4876
4877 : "${CONFIG_STATUS=./config.status}"
4878 ac_write_fail=0
4879 ac_clean_files_save=$ac_clean_files
4880 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4882 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4883 as_write_fail=0
4884 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4885 #! $SHELL
4886 # Generated by $as_me.
4887 # Run this file to recreate the current configuration.
4888 # Compiler output produced by configure, useful for debugging
4889 # configure, is in config.log if it exists.
4890
4891 debug=false
4892 ac_cs_recheck=false
4893 ac_cs_silent=false
4894
4895 SHELL=\${CONFIG_SHELL-$SHELL}
4896 export SHELL
4897 _ASEOF
4898 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4899 ## -------------------- ##
4900 ## M4sh Initialization. ##
4901 ## -------------------- ##
4902
4903 # Be more Bourne compatible
4904 DUALCASE=1; export DUALCASE # for MKS sh
4905 as_nop=:
4906 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4907 then :
4908 emulate sh
4909 NULLCMD=:
4910 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4911 # is contrary to our usage. Disable this feature.
4912 alias -g '${1+"$@"}'='"$@"'
4913 setopt NO_GLOB_SUBST
4914 else $as_nop
4915 case `(set -o) 2>/dev/null` in #(
4916 *posix*) :
4917 set -o posix ;; #(
4918 *) :
4919 ;;
4920 esac
4921 fi
4922
4923
4924
4925 # Reset variables that may have inherited troublesome values from
4926 # the environment.
4927
4928 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4929 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4930 # side effect of setting IFS to empty, thus disabling word splitting.)
4931 # Quoting is to prevent editors from complaining about space-tab.
4932 as_nl='
4933 '
4934 export as_nl
4935 IFS=" "" $as_nl"
4936
4937 PS1='$ '
4938 PS2='> '
4939 PS4='+ '
4940
4941 # Ensure predictable behavior from utilities with locale-dependent output.
4942 LC_ALL=C
4943 export LC_ALL
4944 LANGUAGE=C
4945 export LANGUAGE
4946
4947 # We cannot yet rely on "unset" to work, but we need these variables
4948 # to be unset--not just set to an empty or harmless value--now, to
4949 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4950 # also avoids known problems related to "unset" and subshell syntax
4951 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4952 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4953 do eval test \${$as_var+y} \
4954 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4955 done
4956
4957 # Ensure that fds 0, 1, and 2 are open.
4958 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4959 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4960 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4961
4962 # The user is always right.
4963 if ${PATH_SEPARATOR+false} :; then
4964 PATH_SEPARATOR=:
4965 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4966 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4967 PATH_SEPARATOR=';'
4968 }
4969 fi
4970
4971
4972 # Find who we are. Look in the path if we contain no directory separator.
4973 as_myself=
4974 case $0 in #((
4975 *[\\/]* ) as_myself=$0 ;;
4976 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4978 do
4979 IFS=$as_save_IFS
4980 case $as_dir in #(((
4981 '') as_dir=./ ;;
4982 */) ;;
4983 *) as_dir=$as_dir/ ;;
4984 esac
4985 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4986 done
4987 IFS=$as_save_IFS
4988
4989 ;;
4990 esac
4991 # We did not find ourselves, most probably we were run as `sh COMMAND'
4992 # in which case we are not to be found in the path.
4993 if test "x$as_myself" = x; then
4994 as_myself=$0
4995 fi
4996 if test ! -f "$as_myself"; then
4997 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4998 exit 1
4999 fi
5000
5001
5002
5003 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5004 # ----------------------------------------
5005 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5006 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5007 # script with STATUS, using 1 if that was 0.
5008 as_fn_error ()
5009 {
5010 as_status=$1; test $as_status -eq 0 && as_status=1
5011 if test "$4"; then
5012 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5014 fi
5015 printf "%s\n" "$as_me: error: $2" >&2
5016 as_fn_exit $as_status
5017 } # as_fn_error
5018
5019
5020
5021 # as_fn_set_status STATUS
5022 # -----------------------
5023 # Set $? to STATUS, without forking.
5024 as_fn_set_status ()
5025 {
5026 return $1
5027 } # as_fn_set_status
5028
5029 # as_fn_exit STATUS
5030 # -----------------
5031 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5032 as_fn_exit ()
5033 {
5034 set +e
5035 as_fn_set_status $1
5036 exit $1
5037 } # as_fn_exit
5038
5039 # as_fn_unset VAR
5040 # ---------------
5041 # Portably unset VAR.
5042 as_fn_unset ()
5043 {
5044 { eval $1=; unset $1;}
5045 }
5046 as_unset=as_fn_unset
5047
5048 # as_fn_append VAR VALUE
5049 # ----------------------
5050 # Append the text in VALUE to the end of the definition contained in VAR. Take
5051 # advantage of any shell optimizations that allow amortized linear growth over
5052 # repeated appends, instead of the typical quadratic growth present in naive
5053 # implementations.
5054 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5055 then :
5056 eval 'as_fn_append ()
5057 {
5058 eval $1+=\$2
5059 }'
5060 else $as_nop
5061 as_fn_append ()
5062 {
5063 eval $1=\$$1\$2
5064 }
5065 fi # as_fn_append
5066
5067 # as_fn_arith ARG...
5068 # ------------------
5069 # Perform arithmetic evaluation on the ARGs, and store the result in the
5070 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5071 # must be portable across $(()) and expr.
5072 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5073 then :
5074 eval 'as_fn_arith ()
5075 {
5076 as_val=$(( $* ))
5077 }'
5078 else $as_nop
5079 as_fn_arith ()
5080 {
5081 as_val=`expr "$@" || test $? -eq 1`
5082 }
5083 fi # as_fn_arith
5084
5085
5086 if expr a : '\(a\)' >/dev/null 2>&1 &&
5087 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5088 as_expr=expr
5089 else
5090 as_expr=false
5091 fi
5092
5093 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5094 as_basename=basename
5095 else
5096 as_basename=false
5097 fi
5098
5099 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5100 as_dirname=dirname
5101 else
5102 as_dirname=false
5103 fi
5104
5105 as_me=`$as_basename -- "$0" ||
5106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5107 X"$0" : 'X\(//\)$' \| \
5108 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5109 printf "%s\n" X/"$0" |
5110 sed '/^.*\/\([^/][^/]*\)\/*$/{
5111 s//\1/
5112 q
5113 }
5114 /^X\/\(\/\/\)$/{
5115 s//\1/
5116 q
5117 }
5118 /^X\/\(\/\).*/{
5119 s//\1/
5120 q
5121 }
5122 s/.*/./; q'`
5123
5124 # Avoid depending upon Character Ranges.
5125 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5126 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5127 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5128 as_cr_digits='0123456789'
5129 as_cr_alnum=$as_cr_Letters$as_cr_digits
5130
5131
5132 # Determine whether it's possible to make 'echo' print without a newline.
5133 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5134 # for compatibility with existing Makefiles.
5135 ECHO_C= ECHO_N= ECHO_T=
5136 case `echo -n x` in #(((((
5137 -n*)
5138 case `echo 'xy\c'` in
5139 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5140 xy) ECHO_C='\c';;
5141 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5142 ECHO_T=' ';;
5143 esac;;
5144 *)
5145 ECHO_N='-n';;
5146 esac
5147
5148 # For backward compatibility with old third-party macros, we provide
5149 # the shell variables $as_echo and $as_echo_n. New code should use
5150 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5151 as_echo='printf %s\n'
5152 as_echo_n='printf %s'
5153
5154 rm -f conf$$ conf$$.exe conf$$.file
5155 if test -d conf$$.dir; then
5156 rm -f conf$$.dir/conf$$.file
5157 else
5158 rm -f conf$$.dir
5159 mkdir conf$$.dir 2>/dev/null
5160 fi
5161 if (echo >conf$$.file) 2>/dev/null; then
5162 if ln -s conf$$.file conf$$ 2>/dev/null; then
5163 as_ln_s='ln -s'
5164 # ... but there are two gotchas:
5165 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5166 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5167 # In both cases, we have to default to `cp -pR'.
5168 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5169 as_ln_s='cp -pR'
5170 elif ln conf$$.file conf$$ 2>/dev/null; then
5171 as_ln_s=ln
5172 else
5173 as_ln_s='cp -pR'
5174 fi
5175 else
5176 as_ln_s='cp -pR'
5177 fi
5178 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5179 rmdir conf$$.dir 2>/dev/null
5180
5181
5182 # as_fn_mkdir_p
5183 # -------------
5184 # Create "$as_dir" as a directory, including parents if necessary.
5185 as_fn_mkdir_p ()
5186 {
5187
5188 case $as_dir in #(
5189 -*) as_dir=./$as_dir;;
5190 esac
5191 test -d "$as_dir" || eval $as_mkdir_p || {
5192 as_dirs=
5193 while :; do
5194 case $as_dir in #(
5195 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5196 *) as_qdir=$as_dir;;
5197 esac
5198 as_dirs="'$as_qdir' $as_dirs"
5199 as_dir=`$as_dirname -- "$as_dir" ||
5200 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5201 X"$as_dir" : 'X\(//\)[^/]' \| \
5202 X"$as_dir" : 'X\(//\)$' \| \
5203 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5204 printf "%s\n" X"$as_dir" |
5205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5206 s//\1/
5207 q
5208 }
5209 /^X\(\/\/\)[^/].*/{
5210 s//\1/
5211 q
5212 }
5213 /^X\(\/\/\)$/{
5214 s//\1/
5215 q
5216 }
5217 /^X\(\/\).*/{
5218 s//\1/
5219 q
5220 }
5221 s/.*/./; q'`
5222 test -d "$as_dir" && break
5223 done
5224 test -z "$as_dirs" || eval "mkdir $as_dirs"
5225 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5226
5227
5228 } # as_fn_mkdir_p
5229 if mkdir -p . 2>/dev/null; then
5230 as_mkdir_p='mkdir -p "$as_dir"'
5231 else
5232 test -d ./-p && rmdir ./-p
5233 as_mkdir_p=false
5234 fi
5235
5236
5237 # as_fn_executable_p FILE
5238 # -----------------------
5239 # Test if FILE is an executable regular file.
5240 as_fn_executable_p ()
5241 {
5242 test -f "$1" && test -x "$1"
5243 } # as_fn_executable_p
5244 as_test_x='test -x'
5245 as_executable_p=as_fn_executable_p
5246
5247 # Sed expression to map a string onto a valid CPP name.
5248 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5249
5250 # Sed expression to map a string onto a valid variable name.
5251 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5252
5253
5254 exec 6>&1
5255 ## ----------------------------------- ##
5256 ## Main body of $CONFIG_STATUS script. ##
5257 ## ----------------------------------- ##
5258 _ASEOF
5259 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5260
5261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5262 # Save the log message, to keep $0 and so on meaningful, and to
5263 # report actual input values of CONFIG_FILES etc. instead of their
5264 # values after options handling.
5265 ac_log="
5266 This file was extended by lsdvd $as_me 0.21, which was
5267 generated by GNU Autoconf 2.71. Invocation command line was
5268
5269 CONFIG_FILES = $CONFIG_FILES
5270 CONFIG_HEADERS = $CONFIG_HEADERS
5271 CONFIG_LINKS = $CONFIG_LINKS
5272 CONFIG_COMMANDS = $CONFIG_COMMANDS
5273 $ $0 $@
5274
5275 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5276 "
5277
5278 _ACEOF
5279
5280 case $ac_config_files in *"
5281 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5282 esac
5283
5284
5285
5286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5287 # Files that config.status was made for.
5288 config_files="$ac_config_files"
5289 config_commands="$ac_config_commands"
5290
5291 _ACEOF
5292
5293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5294 ac_cs_usage="\
5295 \`$as_me' instantiates files and other configuration actions
5296 from templates according to the current configuration. Unless the files
5297 and actions are specified as TAGs, all are instantiated by default.
5298
5299 Usage: $0 [OPTION]... [TAG]...
5300
5301 -h, --help print this help, then exit
5302 -V, --version print version number and configuration settings, then exit
5303 --config print configuration, then exit
5304 -q, --quiet, --silent
5305 do not print progress messages
5306 -d, --debug don't remove temporary files
5307 --recheck update $as_me by reconfiguring in the same conditions
5308 --file=FILE[:TEMPLATE]
5309 instantiate the configuration file FILE
5310
5311 Configuration files:
5312 $config_files
5313
5314 Configuration commands:
5315 $config_commands
5316
5317 Report bugs to the package provider."
5318
5319 _ACEOF
5320 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5321 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5323 ac_cs_config='$ac_cs_config_escaped'
5324 ac_cs_version="\\
5325 lsdvd config.status 0.21
5326 configured by $0, generated by GNU Autoconf 2.71,
5327 with options \\"\$ac_cs_config\\"
5328
5329 Copyright (C) 2021 Free Software Foundation, Inc.
5330 This config.status script is free software; the Free Software Foundation
5331 gives unlimited permission to copy, distribute and modify it."
5332
5333 ac_pwd='$ac_pwd'
5334 srcdir='$srcdir'
5335 INSTALL='$INSTALL'
5336 MKDIR_P='$MKDIR_P'
5337 AWK='$AWK'
5338 test -n "\$AWK" || AWK=awk
5339 _ACEOF
5340
5341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5342 # The default lists apply if the user does not specify any file.
5343 ac_need_defaults=:
5344 while test $# != 0
5345 do
5346 case $1 in
5347 --*=?*)
5348 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5349 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5350 ac_shift=:
5351 ;;
5352 --*=)
5353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5354 ac_optarg=
5355 ac_shift=:
5356 ;;
5357 *)
5358 ac_option=$1
5359 ac_optarg=$2
5360 ac_shift=shift
5361 ;;
5362 esac
5363
5364 case $ac_option in
5365 # Handling of the options.
5366 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5367 ac_cs_recheck=: ;;
5368 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5369 printf "%s\n" "$ac_cs_version"; exit ;;
5370 --config | --confi | --conf | --con | --co | --c )
5371 printf "%s\n" "$ac_cs_config"; exit ;;
5372 --debug | --debu | --deb | --de | --d | -d )
5373 debug=: ;;
5374 --file | --fil | --fi | --f )
5375 $ac_shift
5376 case $ac_optarg in
5377 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5378 '') as_fn_error $? "missing file argument" ;;
5379 esac
5380 as_fn_append CONFIG_FILES " '$ac_optarg'"
5381 ac_need_defaults=false;;
5382 --he | --h | --help | --hel | -h )
5383 printf "%s\n" "$ac_cs_usage"; exit ;;
5384 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5385 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5386 ac_cs_silent=: ;;
5387
5388 # This is an error.
5389 -*) as_fn_error $? "unrecognized option: \`$1'
5390 Try \`$0 --help' for more information." ;;
5391
5392 *) as_fn_append ac_config_targets " $1"
5393 ac_need_defaults=false ;;
5394
5395 esac
5396 shift
5397 done
5398
5399 ac_configure_extra_args=
5400
5401 if $ac_cs_silent; then
5402 exec 6>/dev/null
5403 ac_configure_extra_args="$ac_configure_extra_args --silent"
5404 fi
5405
5406 _ACEOF
5407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5408 if \$ac_cs_recheck; then
5409 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5410 shift
5411 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5412 CONFIG_SHELL='$SHELL'
5413 export CONFIG_SHELL
5414 exec "\$@"
5415 fi
5416
5417 _ACEOF
5418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5419 exec 5>>config.log
5420 {
5421 echo
5422 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5423 ## Running $as_me. ##
5424 _ASBOX
5425 printf "%s\n" "$ac_log"
5426 } >&5
5427
5428 _ACEOF
5429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5430 #
5431 # INIT-COMMANDS
5432 #
5433 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5434
5435 _ACEOF
5436
5437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5438
5439 # Handling of arguments.
5440 for ac_config_target in $ac_config_targets
5441 do
5442 case $ac_config_target in
5443 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5444 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5445
5446 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5447 esac
5448 done
5449
5450
5451 # If the user did not use the arguments to specify the items to instantiate,
5452 # then the envvar interface is used. Set only those that are not.
5453 # We use the long form for the default assignment because of an extremely
5454 # bizarre bug on SunOS 4.1.3.
5455 if $ac_need_defaults; then
5456 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5457 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5458 fi
5459
5460 # Have a temporary directory for convenience. Make it in the build tree
5461 # simply because there is no reason against having it here, and in addition,
5462 # creating and moving files from /tmp can sometimes cause problems.
5463 # Hook for its removal unless debugging.
5464 # Note that there is a small window in which the directory will not be cleaned:
5465 # after its creation but before its name has been assigned to `$tmp'.
5466 $debug ||
5467 {
5468 tmp= ac_tmp=
5469 trap 'exit_status=$?
5470 : "${ac_tmp:=$tmp}"
5471 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5472 ' 0
5473 trap 'as_fn_exit 1' 1 2 13 15
5474 }
5475 # Create a (secure) tmp directory for tmp files.
5476
5477 {
5478 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5479 test -d "$tmp"
5480 } ||
5481 {
5482 tmp=./conf$$-$RANDOM
5483 (umask 077 && mkdir "$tmp")
5484 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5485 ac_tmp=$tmp
5486
5487 # Set up the scripts for CONFIG_FILES section.
5488 # No need to generate them if there are no CONFIG_FILES.
5489 # This happens for instance with `./config.status config.h'.
5490 if test -n "$CONFIG_FILES"; then
5491
5492
5493 ac_cr=`echo X | tr X '\015'`
5494 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5495 # But we know of no other shell where ac_cr would be empty at this
5496 # point, so we can use a bashism as a fallback.
5497 if test "x$ac_cr" = x; then
5498 eval ac_cr=\$\'\\r\'
5499 fi
5500 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5501 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5502 ac_cs_awk_cr='\\r'
5503 else
5504 ac_cs_awk_cr=$ac_cr
5505 fi
5506
5507 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5508 _ACEOF
5509
5510
5511 {
5512 echo "cat >conf$$subs.awk <<_ACEOF" &&
5513 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5514 echo "_ACEOF"
5515 } >conf$$subs.sh ||
5516 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5517 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5518 ac_delim='%!_!# '
5519 for ac_last_try in false false false false false :; do
5520 . ./conf$$subs.sh ||
5521 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5522
5523 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5524 if test $ac_delim_n = $ac_delim_num; then
5525 break
5526 elif $ac_last_try; then
5527 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5528 else
5529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5530 fi
5531 done
5532 rm -f conf$$subs.sh
5533
5534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5535 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5536 _ACEOF
5537 sed -n '
5538 h
5539 s/^/S["/; s/!.*/"]=/
5540 p
5541 g
5542 s/^[^!]*!//
5543 :repl
5544 t repl
5545 s/'"$ac_delim"'$//
5546 t delim
5547 :nl
5548 h
5549 s/\(.\{148\}\)..*/\1/
5550 t more1
5551 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5552 p
5553 n
5554 b repl
5555 :more1
5556 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5557 p
5558 g
5559 s/.\{148\}//
5560 t nl
5561 :delim
5562 h
5563 s/\(.\{148\}\)..*/\1/
5564 t more2
5565 s/["\\]/\\&/g; s/^/"/; s/$/"/
5566 p
5567 b
5568 :more2
5569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5570 p
5571 g
5572 s/.\{148\}//
5573 t delim
5574 ' <conf$$subs.awk | sed '
5575 /^[^""]/{
5576 N
5577 s/\n//
5578 }
5579 ' >>$CONFIG_STATUS || ac_write_fail=1
5580 rm -f conf$$subs.awk
5581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5582 _ACAWK
5583 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5584 for (key in S) S_is_set[key] = 1
5585 FS = ""
5586
5587 }
5588 {
5589 line = $ 0
5590 nfields = split(line, field, "@")
5591 substed = 0
5592 len = length(field[1])
5593 for (i = 2; i < nfields; i++) {
5594 key = field[i]
5595 keylen = length(key)
5596 if (S_is_set[key]) {
5597 value = S[key]
5598 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5599 len += length(value) + length(field[++i])
5600 substed = 1
5601 } else
5602 len += 1 + keylen
5603 }
5604
5605 print line
5606 }
5607
5608 _ACAWK
5609 _ACEOF
5610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5611 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5612 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5613 else
5614 cat
5615 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5616 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5617 _ACEOF
5618
5619 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5620 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5621 # trailing colons and then remove the whole line if VPATH becomes empty
5622 # (actually we leave an empty line to preserve line numbers).
5623 if test "x$srcdir" = x.; then
5624 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5625 h
5626 s///
5627 s/^/:/
5628 s/[ ]*$/:/
5629 s/:\$(srcdir):/:/g
5630 s/:\${srcdir}:/:/g
5631 s/:@srcdir@:/:/g
5632 s/^:*//
5633 s/:*$//
5634 x
5635 s/\(=[ ]*\).*/\1/
5636 G
5637 s/\n//
5638 s/^[^=]*=[ ]*$//
5639 }'
5640 fi
5641
5642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5643 fi # test -n "$CONFIG_FILES"
5644
5645
5646 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5647 shift
5648 for ac_tag
5649 do
5650 case $ac_tag in
5651 :[FHLC]) ac_mode=$ac_tag; continue;;
5652 esac
5653 case $ac_mode$ac_tag in
5654 :[FHL]*:*);;
5655 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5656 :[FH]-) ac_tag=-:-;;
5657 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5658 esac
5659 ac_save_IFS=$IFS
5660 IFS=:
5661 set x $ac_tag
5662 IFS=$ac_save_IFS
5663 shift
5664 ac_file=$1
5665 shift
5666
5667 case $ac_mode in
5668 :L) ac_source=$1;;
5669 :[FH])
5670 ac_file_inputs=
5671 for ac_f
5672 do
5673 case $ac_f in
5674 -) ac_f="$ac_tmp/stdin";;
5675 *) # Look for the file first in the build tree, then in the source tree
5676 # (if the path is not absolute). The absolute path cannot be DOS-style,
5677 # because $ac_f cannot contain `:'.
5678 test -f "$ac_f" ||
5679 case $ac_f in
5680 [\\/$]*) false;;
5681 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5682 esac ||
5683 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5684 esac
5685 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5686 as_fn_append ac_file_inputs " '$ac_f'"
5687 done
5688
5689 # Let's still pretend it is `configure' which instantiates (i.e., don't
5690 # use $as_me), people would be surprised to read:
5691 # /* config.h. Generated by config.status. */
5692 configure_input='Generated from '`
5693 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5694 `' by configure.'
5695 if test x"$ac_file" != x-; then
5696 configure_input="$ac_file. $configure_input"
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5698 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5699 fi
5700 # Neutralize special characters interpreted by sed in replacement strings.
5701 case $configure_input in #(
5702 *\&* | *\|* | *\\* )
5703 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5704 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5705 *) ac_sed_conf_input=$configure_input;;
5706 esac
5707
5708 case $ac_tag in
5709 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5710 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5711 esac
5712 ;;
5713 esac
5714
5715 ac_dir=`$as_dirname -- "$ac_file" ||
5716 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5717 X"$ac_file" : 'X\(//\)[^/]' \| \
5718 X"$ac_file" : 'X\(//\)$' \| \
5719 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5720 printf "%s\n" X"$ac_file" |
5721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5722 s//\1/
5723 q
5724 }
5725 /^X\(\/\/\)[^/].*/{
5726 s//\1/
5727 q
5728 }
5729 /^X\(\/\/\)$/{
5730 s//\1/
5731 q
5732 }
5733 /^X\(\/\).*/{
5734 s//\1/
5735 q
5736 }
5737 s/.*/./; q'`
5738 as_dir="$ac_dir"; as_fn_mkdir_p
5739 ac_builddir=.
5740
5741 case "$ac_dir" in
5742 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5743 *)
5744 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5745 # A ".." for each directory in $ac_dir_suffix.
5746 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5747 case $ac_top_builddir_sub in
5748 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5749 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5750 esac ;;
5751 esac
5752 ac_abs_top_builddir=$ac_pwd
5753 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5754 # for backward compatibility:
5755 ac_top_builddir=$ac_top_build_prefix
5756
5757 case $srcdir in
5758 .) # We are building in place.
5759 ac_srcdir=.
5760 ac_top_srcdir=$ac_top_builddir_sub
5761 ac_abs_top_srcdir=$ac_pwd ;;
5762 [\\/]* | ?:[\\/]* ) # Absolute name.
5763 ac_srcdir=$srcdir$ac_dir_suffix;
5764 ac_top_srcdir=$srcdir
5765 ac_abs_top_srcdir=$srcdir ;;
5766 *) # Relative name.
5767 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5768 ac_top_srcdir=$ac_top_build_prefix$srcdir
5769 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5770 esac
5771 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5772
5773
5774 case $ac_mode in
5775 :F)
5776 #
5777 # CONFIG_FILE
5778 #
5779
5780 case $INSTALL in
5781 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5782 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5783 esac
5784 ac_MKDIR_P=$MKDIR_P
5785 case $MKDIR_P in
5786 [\\/$]* | ?:[\\/]* ) ;;
5787 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5788 esac
5789 _ACEOF
5790
5791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5792 # If the template does not know about datarootdir, expand it.
5793 # FIXME: This hack should be removed a few years after 2.60.
5794 ac_datarootdir_hack=; ac_datarootdir_seen=
5795 ac_sed_dataroot='
5796 /datarootdir/ {
5797 p
5798 q
5799 }
5800 /@datadir@/p
5801 /@docdir@/p
5802 /@infodir@/p
5803 /@localedir@/p
5804 /@mandir@/p'
5805 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5806 *datarootdir*) ac_datarootdir_seen=yes;;
5807 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5809 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5810 _ACEOF
5811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5812 ac_datarootdir_hack='
5813 s&@datadir@&$datadir&g
5814 s&@docdir@&$docdir&g
5815 s&@infodir@&$infodir&g
5816 s&@localedir@&$localedir&g
5817 s&@mandir@&$mandir&g
5818 s&\\\${datarootdir}&$datarootdir&g' ;;
5819 esac
5820 _ACEOF
5821
5822 # Neutralize VPATH when `$srcdir' = `.'.
5823 # Shell code in configure.ac might set extrasub.
5824 # FIXME: do we really want to maintain this feature?
5825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5826 ac_sed_extra="$ac_vpsub
5827 $extrasub
5828 _ACEOF
5829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5830 :t
5831 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5832 s|@configure_input@|$ac_sed_conf_input|;t t
5833 s&@top_builddir@&$ac_top_builddir_sub&;t t
5834 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5835 s&@srcdir@&$ac_srcdir&;t t
5836 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5837 s&@top_srcdir@&$ac_top_srcdir&;t t
5838 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5839 s&@builddir@&$ac_builddir&;t t
5840 s&@abs_builddir@&$ac_abs_builddir&;t t
5841 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5842 s&@INSTALL@&$ac_INSTALL&;t t
5843 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5844 $ac_datarootdir_hack
5845 "
5846 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5847 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5848
5849 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5850 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5851 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5852 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5854 which seems to be undefined. Please make sure it is defined" >&5
5855 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5856 which seems to be undefined. Please make sure it is defined" >&2;}
5857
5858 rm -f "$ac_tmp/stdin"
5859 case $ac_file in
5860 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5861 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5862 esac \
5863 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5864 ;;
5865
5866
5867 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5868 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
5869 ;;
5870 esac
5871
5872
5873 case $ac_file$ac_mode in
5874 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5875 # Older Autoconf quotes --file arguments for eval, but not when files
5876 # are listed without --file. Let's play safe and only enable the eval
5877 # if we detect the quoting.
5878 # TODO: see whether this extra hack can be removed once we start
5879 # requiring Autoconf 2.70 or later.
5880 case $CONFIG_FILES in #(
5881 *\'*) :
5882 eval set x "$CONFIG_FILES" ;; #(
5883 *) :
5884 set x $CONFIG_FILES ;; #(
5885 *) :
5886 ;;
5887 esac
5888 shift
5889 # Used to flag and report bootstrapping failures.
5890 am_rc=0
5891 for am_mf
5892 do
5893 # Strip MF so we end up with the name of the file.
5894 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
5895 # Check whether this is an Automake generated Makefile which includes
5896 # dependency-tracking related rules and includes.
5897 # Grep'ing the whole file directly is not great: AIX grep has a line
5898 # limit of 2048, but all sed's we know have understand at least 4000.
5899 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5900 || continue
5901 am_dirpart=`$as_dirname -- "$am_mf" ||
5902 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5903 X"$am_mf" : 'X\(//\)[^/]' \| \
5904 X"$am_mf" : 'X\(//\)$' \| \
5905 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5906 printf "%s\n" X"$am_mf" |
5907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5908 s//\1/
5909 q
5910 }
5911 /^X\(\/\/\)[^/].*/{
5912 s//\1/
5913 q
5914 }
5915 /^X\(\/\/\)$/{
5916 s//\1/
5917 q
5918 }
5919 /^X\(\/\).*/{
5920 s//\1/
5921 q
5922 }
5923 s/.*/./; q'`
5924 am_filepart=`$as_basename -- "$am_mf" ||
5925 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5926 X"$am_mf" : 'X\(//\)$' \| \
5927 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5928 printf "%s\n" X/"$am_mf" |
5929 sed '/^.*\/\([^/][^/]*\)\/*$/{
5930 s//\1/
5931 q
5932 }
5933 /^X\/\(\/\/\)$/{
5934 s//\1/
5935 q
5936 }
5937 /^X\/\(\/\).*/{
5938 s//\1/
5939 q
5940 }
5941 s/.*/./; q'`
5942 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5943 && sed -e '/# am--include-marker/d' "$am_filepart" \
5944 | $MAKE -f - am--depfiles" >&5
5945 (cd "$am_dirpart" \
5946 && sed -e '/# am--include-marker/d' "$am_filepart" \
5947 | $MAKE -f - am--depfiles) >&5 2>&5
5948 ac_status=$?
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } || am_rc=$?
5951 done
5952 if test $am_rc -ne 0; then
5953 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5954 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5955 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5956 for automatic dependency tracking. If GNU make was not used, consider
5957 re-running the configure script with MAKE=\"gmake\" (or whatever is
5958 necessary). You can also try re-running configure with the
5959 '--disable-dependency-tracking' option to at least be able to build
5960 the package (albeit without support for automatic dependency tracking).
5961 See \`config.log' for more details" "$LINENO" 5; }
5962 fi
5963 { am_dirpart=; unset am_dirpart;}
5964 { am_filepart=; unset am_filepart;}
5965 { am_mf=; unset am_mf;}
5966 { am_rc=; unset am_rc;}
5967 rm -f conftest-deps.mk
5968 }
5969 ;;
5970
5971 esac
5972 done # for ac_tag
5973
5974
5975 as_fn_exit 0
5976 _ACEOF
5977 ac_clean_files=$ac_clean_files_save
5978
5979 test $ac_write_fail = 0 ||
5980 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5981
5982
5983 # configure is writing to config.log, and then calls config.status.
5984 # config.status does its own redirection, appending to config.log.
5985 # Unfortunately, on DOS this fails, as config.log is still kept open
5986 # by configure, so config.status won't be able to write to it; its
5987 # output is simply discarded. So we exec the FD to /dev/null,
5988 # effectively closing config.log, so it can be properly (re)opened and
5989 # appended to by config.status. When coming back to configure, we
5990 # need to make the FD available again.
5991 if test "$no_create" != yes; then
5992 ac_cs_success=:
5993 ac_config_status_args=
5994 test "$silent" = yes &&
5995 ac_config_status_args="$ac_config_status_args --quiet"
5996 exec 5>/dev/null
5997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5998 exec 5>>config.log
5999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6000 # would make configure fail if this is the last instruction.
6001 $ac_cs_success || as_fn_exit 1
6002 fi
6003 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6005 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6006 fi
6007
6008