Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for xdg-utils 1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell [email protected] and
269 $0: [email protected] about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360 } # as_fn_mkdir_p
361
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='xdg-utils'
581 PACKAGE_TARNAME='xdg-utils'
582 PACKAGE_VERSION='1'
583 PACKAGE_STRING='xdg-utils 1'
584 PACKAGE_BUGREPORT='[email protected]'
585 PACKAGE_URL=''
586
587 ac_subst_vars='LTLIBOBJS
588 LIBOBJS
589 XMLTO
590 INSTALL_DATA
591 INSTALL_SCRIPT
592 INSTALL_PROGRAM
593 SET_MAKE
594 target_alias
595 host_alias
596 build_alias
597 LIBS
598 ECHO_T
599 ECHO_N
600 ECHO_C
601 DEFS
602 mandir
603 localedir
604 libdir
605 psdir
606 pdfdir
607 dvidir
608 htmldir
609 infodir
610 docdir
611 oldincludedir
612 includedir
613 runstatedir
614 localstatedir
615 sharedstatedir
616 sysconfdir
617 datadir
618 datarootdir
619 libexecdir
620 sbindir
621 bindir
622 program_transform_name
623 prefix
624 exec_prefix
625 PACKAGE_URL
626 PACKAGE_BUGREPORT
627 PACKAGE_STRING
628 PACKAGE_VERSION
629 PACKAGE_TARNAME
630 PACKAGE_NAME
631 PATH_SEPARATOR
632 SHELL'
633 ac_subst_files=''
634 ac_user_opts='
635 enable_option_checking
636 '
637 ac_precious_vars='build_alias
638 host_alias
639 target_alias'
640
641
642 # Initialize some variables set by options.
643 ac_init_help=
644 ac_init_version=false
645 ac_unrecognized_opts=
646 ac_unrecognized_sep=
647 # The variables have the same names as the options, with
648 # dashes changed to underlines.
649 cache_file=/dev/null
650 exec_prefix=NONE
651 no_create=
652 no_recursion=
653 prefix=NONE
654 program_prefix=NONE
655 program_suffix=NONE
656 program_transform_name=s,x,x,
657 silent=
658 site=
659 srcdir=
660 verbose=
661 x_includes=NONE
662 x_libraries=NONE
663
664 # Installation directory options.
665 # These are left unexpanded so users can "make install exec_prefix=/foo"
666 # and all the variables that are supposed to be based on exec_prefix
667 # by default will actually change.
668 # Use braces instead of parens because sh, perl, etc. also accept them.
669 # (The list follows the same order as the GNU Coding Standards.)
670 bindir='${exec_prefix}/bin'
671 sbindir='${exec_prefix}/sbin'
672 libexecdir='${exec_prefix}/libexec'
673 datarootdir='${prefix}/share'
674 datadir='${datarootdir}'
675 sysconfdir='${prefix}/etc'
676 sharedstatedir='${prefix}/com'
677 localstatedir='${prefix}/var'
678 runstatedir='${localstatedir}/run'
679 includedir='${prefix}/include'
680 oldincludedir='/usr/include'
681 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
682 infodir='${datarootdir}/info'
683 htmldir='${docdir}'
684 dvidir='${docdir}'
685 pdfdir='${docdir}'
686 psdir='${docdir}'
687 libdir='${exec_prefix}/lib'
688 localedir='${datarootdir}/locale'
689 mandir='${datarootdir}/man'
690
691 ac_prev=
692 ac_dashdash=
693 for ac_option
694 do
695 # If the previous option needs an argument, assign it.
696 if test -n "$ac_prev"; then
697 eval $ac_prev=\$ac_option
698 ac_prev=
699 continue
700 fi
701
702 case $ac_option in
703 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
704 *=) ac_optarg= ;;
705 *) ac_optarg=yes ;;
706 esac
707
708 # Accept the important Cygnus configure options, so we can diagnose typos.
709
710 case $ac_dashdash$ac_option in
711 --)
712 ac_dashdash=yes ;;
713
714 -bindir | --bindir | --bindi | --bind | --bin | --bi)
715 ac_prev=bindir ;;
716 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
717 bindir=$ac_optarg ;;
718
719 -build | --build | --buil | --bui | --bu)
720 ac_prev=build_alias ;;
721 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
722 build_alias=$ac_optarg ;;
723
724 -cache-file | --cache-file | --cache-fil | --cache-fi \
725 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
726 ac_prev=cache_file ;;
727 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
728 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
729 cache_file=$ac_optarg ;;
730
731 --config-cache | -C)
732 cache_file=config.cache ;;
733
734 -datadir | --datadir | --datadi | --datad)
735 ac_prev=datadir ;;
736 -datadir=* | --datadir=* | --datadi=* | --datad=*)
737 datadir=$ac_optarg ;;
738
739 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
740 | --dataroo | --dataro | --datar)
741 ac_prev=datarootdir ;;
742 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
743 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
744 datarootdir=$ac_optarg ;;
745
746 -disable-* | --disable-*)
747 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
748 # Reject names that are not valid shell variable names.
749 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
750 as_fn_error $? "invalid feature name: $ac_useropt"
751 ac_useropt_orig=$ac_useropt
752 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
753 case $ac_user_opts in
754 *"
755 "enable_$ac_useropt"
756 "*) ;;
757 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
758 ac_unrecognized_sep=', ';;
759 esac
760 eval enable_$ac_useropt=no ;;
761
762 -docdir | --docdir | --docdi | --doc | --do)
763 ac_prev=docdir ;;
764 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
765 docdir=$ac_optarg ;;
766
767 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
768 ac_prev=dvidir ;;
769 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
770 dvidir=$ac_optarg ;;
771
772 -enable-* | --enable-*)
773 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
776 as_fn_error $? "invalid feature name: $ac_useropt"
777 ac_useropt_orig=$ac_useropt
778 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
779 case $ac_user_opts in
780 *"
781 "enable_$ac_useropt"
782 "*) ;;
783 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
784 ac_unrecognized_sep=', ';;
785 esac
786 eval enable_$ac_useropt=\$ac_optarg ;;
787
788 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
789 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
790 | --exec | --exe | --ex)
791 ac_prev=exec_prefix ;;
792 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
793 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
794 | --exec=* | --exe=* | --ex=*)
795 exec_prefix=$ac_optarg ;;
796
797 -gas | --gas | --ga | --g)
798 # Obsolete; use --with-gas.
799 with_gas=yes ;;
800
801 -help | --help | --hel | --he | -h)
802 ac_init_help=long ;;
803 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
804 ac_init_help=recursive ;;
805 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
806 ac_init_help=short ;;
807
808 -host | --host | --hos | --ho)
809 ac_prev=host_alias ;;
810 -host=* | --host=* | --hos=* | --ho=*)
811 host_alias=$ac_optarg ;;
812
813 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
814 ac_prev=htmldir ;;
815 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
816 | --ht=*)
817 htmldir=$ac_optarg ;;
818
819 -includedir | --includedir | --includedi | --included | --include \
820 | --includ | --inclu | --incl | --inc)
821 ac_prev=includedir ;;
822 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
823 | --includ=* | --inclu=* | --incl=* | --inc=*)
824 includedir=$ac_optarg ;;
825
826 -infodir | --infodir | --infodi | --infod | --info | --inf)
827 ac_prev=infodir ;;
828 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
829 infodir=$ac_optarg ;;
830
831 -libdir | --libdir | --libdi | --libd)
832 ac_prev=libdir ;;
833 -libdir=* | --libdir=* | --libdi=* | --libd=*)
834 libdir=$ac_optarg ;;
835
836 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
837 | --libexe | --libex | --libe)
838 ac_prev=libexecdir ;;
839 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
840 | --libexe=* | --libex=* | --libe=*)
841 libexecdir=$ac_optarg ;;
842
843 -localedir | --localedir | --localedi | --localed | --locale)
844 ac_prev=localedir ;;
845 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
846 localedir=$ac_optarg ;;
847
848 -localstatedir | --localstatedir | --localstatedi | --localstated \
849 | --localstate | --localstat | --localsta | --localst | --locals)
850 ac_prev=localstatedir ;;
851 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
852 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
853 localstatedir=$ac_optarg ;;
854
855 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
856 ac_prev=mandir ;;
857 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
858 mandir=$ac_optarg ;;
859
860 -nfp | --nfp | --nf)
861 # Obsolete; use --without-fp.
862 with_fp=no ;;
863
864 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
865 | --no-cr | --no-c | -n)
866 no_create=yes ;;
867
868 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
869 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
870 no_recursion=yes ;;
871
872 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
873 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
874 | --oldin | --oldi | --old | --ol | --o)
875 ac_prev=oldincludedir ;;
876 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
877 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
878 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
879 oldincludedir=$ac_optarg ;;
880
881 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
882 ac_prev=prefix ;;
883 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
884 prefix=$ac_optarg ;;
885
886 -program-prefix | --program-prefix | --program-prefi | --program-pref \
887 | --program-pre | --program-pr | --program-p)
888 ac_prev=program_prefix ;;
889 -program-prefix=* | --program-prefix=* | --program-prefi=* \
890 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
891 program_prefix=$ac_optarg ;;
892
893 -program-suffix | --program-suffix | --program-suffi | --program-suff \
894 | --program-suf | --program-su | --program-s)
895 ac_prev=program_suffix ;;
896 -program-suffix=* | --program-suffix=* | --program-suffi=* \
897 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
898 program_suffix=$ac_optarg ;;
899
900 -program-transform-name | --program-transform-name \
901 | --program-transform-nam | --program-transform-na \
902 | --program-transform-n | --program-transform- \
903 | --program-transform | --program-transfor \
904 | --program-transfo | --program-transf \
905 | --program-trans | --program-tran \
906 | --progr-tra | --program-tr | --program-t)
907 ac_prev=program_transform_name ;;
908 -program-transform-name=* | --program-transform-name=* \
909 | --program-transform-nam=* | --program-transform-na=* \
910 | --program-transform-n=* | --program-transform-=* \
911 | --program-transform=* | --program-transfor=* \
912 | --program-transfo=* | --program-transf=* \
913 | --program-trans=* | --program-tran=* \
914 | --progr-tra=* | --program-tr=* | --program-t=*)
915 program_transform_name=$ac_optarg ;;
916
917 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
918 ac_prev=pdfdir ;;
919 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
920 pdfdir=$ac_optarg ;;
921
922 -psdir | --psdir | --psdi | --psd | --ps)
923 ac_prev=psdir ;;
924 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
925 psdir=$ac_optarg ;;
926
927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
928 | -silent | --silent | --silen | --sile | --sil)
929 silent=yes ;;
930
931 -runstatedir | --runstatedir | --runstatedi | --runstated \
932 | --runstate | --runstat | --runsta | --runst | --runs \
933 | --run | --ru | --r)
934 ac_prev=runstatedir ;;
935 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
936 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
937 | --run=* | --ru=* | --r=*)
938 runstatedir=$ac_optarg ;;
939
940 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
941 ac_prev=sbindir ;;
942 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
943 | --sbi=* | --sb=*)
944 sbindir=$ac_optarg ;;
945
946 -sharedstatedir | --sharedstatedir | --sharedstatedi \
947 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
948 | --sharedst | --shareds | --shared | --share | --shar \
949 | --sha | --sh)
950 ac_prev=sharedstatedir ;;
951 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
952 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
953 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
954 | --sha=* | --sh=*)
955 sharedstatedir=$ac_optarg ;;
956
957 -site | --site | --sit)
958 ac_prev=site ;;
959 -site=* | --site=* | --sit=*)
960 site=$ac_optarg ;;
961
962 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
963 ac_prev=srcdir ;;
964 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
965 srcdir=$ac_optarg ;;
966
967 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
968 | --syscon | --sysco | --sysc | --sys | --sy)
969 ac_prev=sysconfdir ;;
970 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
971 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
972 sysconfdir=$ac_optarg ;;
973
974 -target | --target | --targe | --targ | --tar | --ta | --t)
975 ac_prev=target_alias ;;
976 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
977 target_alias=$ac_optarg ;;
978
979 -v | -verbose | --verbose | --verbos | --verbo | --verb)
980 verbose=yes ;;
981
982 -version | --version | --versio | --versi | --vers | -V)
983 ac_init_version=: ;;
984
985 -with-* | --with-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error $? "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
993 *"
994 "with_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval with_$ac_useropt=\$ac_optarg ;;
1000
1001 -without-* | --without-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid package name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1009 *"
1010 "with_$ac_useropt"
1011 "*) ;;
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1014 esac
1015 eval with_$ac_useropt=no ;;
1016
1017 --x)
1018 # Obsolete; use --with-x.
1019 with_x=yes ;;
1020
1021 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1022 | --x-incl | --x-inc | --x-in | --x-i)
1023 ac_prev=x_includes ;;
1024 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1025 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1026 x_includes=$ac_optarg ;;
1027
1028 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1029 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1030 ac_prev=x_libraries ;;
1031 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1033 x_libraries=$ac_optarg ;;
1034
1035 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information"
1037 ;;
1038
1039 *=*)
1040 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 case $ac_envvar in #(
1043 '' | [0-9]* | *[!_$as_cr_alnum]* )
1044 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1045 esac
1046 eval $ac_envvar=\$ac_optarg
1047 export $ac_envvar ;;
1048
1049 *)
1050 # FIXME: should be removed in autoconf 3.0.
1051 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1055 ;;
1056
1057 esac
1058 done
1059
1060 if test -n "$ac_prev"; then
1061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1062 as_fn_error $? "missing argument to $ac_option"
1063 fi
1064
1065 if test -n "$ac_unrecognized_opts"; then
1066 case $enable_option_checking in
1067 no) ;;
1068 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1070 esac
1071 fi
1072
1073 # Check all directory arguments for consistency.
1074 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir runstatedir
1078 do
1079 eval ac_val=\$$ac_var
1080 # Remove trailing slashes.
1081 case $ac_val in
1082 */ )
1083 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1084 eval $ac_var=\$ac_val;;
1085 esac
1086 # Be sure to have absolute directory names.
1087 case $ac_val in
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090 esac
1091 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1092 done
1093
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1097 build=$build_alias
1098 host=$host_alias
1099 target=$target_alias
1100
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then
1104 cross_compiling=maybe
1105 elif test "x$build_alias" != "x$host_alias"; then
1106 cross_compiling=yes
1107 fi
1108 fi
1109
1110 ac_tool_prefix=
1111 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1112
1113 test "$silent" = yes && exec 6>/dev/null
1114
1115
1116 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1117 ac_ls_di=`ls -di .` &&
1118 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1119 as_fn_error $? "working directory cannot be determined"
1120 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1121 as_fn_error $? "pwd does not report name of working directory"
1122
1123
1124 # Find the source files, if location was not specified.
1125 if test -z "$srcdir"; then
1126 ac_srcdir_defaulted=yes
1127 # Try the directory containing this script, then the parent directory.
1128 ac_confdir=`$as_dirname -- "$as_myself" ||
1129 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1130 X"$as_myself" : 'X\(//\)[^/]' \| \
1131 X"$as_myself" : 'X\(//\)$' \| \
1132 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1133 $as_echo X"$as_myself" |
1134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1135 s//\1/
1136 q
1137 }
1138 /^X\(\/\/\)[^/].*/{
1139 s//\1/
1140 q
1141 }
1142 /^X\(\/\/\)$/{
1143 s//\1/
1144 q
1145 }
1146 /^X\(\/\).*/{
1147 s//\1/
1148 q
1149 }
1150 s/.*/./; q'`
1151 srcdir=$ac_confdir
1152 if test ! -r "$srcdir/$ac_unique_file"; then
1153 srcdir=..
1154 fi
1155 else
1156 ac_srcdir_defaulted=no
1157 fi
1158 if test ! -r "$srcdir/$ac_unique_file"; then
1159 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1160 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1161 fi
1162 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1163 ac_abs_confdir=`(
1164 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1165 pwd)`
1166 # When building in place, set srcdir=.
1167 if test "$ac_abs_confdir" = "$ac_pwd"; then
1168 srcdir=.
1169 fi
1170 # Remove unnecessary trailing slashes from srcdir.
1171 # Double slashes in file names in object file debugging info
1172 # mess up M-x gdb in Emacs.
1173 case $srcdir in
1174 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1175 esac
1176 for ac_var in $ac_precious_vars; do
1177 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1178 eval ac_env_${ac_var}_value=\$${ac_var}
1179 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1181 done
1182
1183 #
1184 # Report the --help message.
1185 #
1186 if test "$ac_init_help" = "long"; then
1187 # Omit some internal or obsolete options to make the list less imposing.
1188 # This message is too long to be a string in the A/UX 3.1 sh.
1189 cat <<_ACEOF
1190 \`configure' configures xdg-utils 1 to adapt to many kinds of systems.
1191
1192 Usage: $0 [OPTION]... [VAR=VALUE]...
1193
1194 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1195 VAR=VALUE. See below for descriptions of some of the useful variables.
1196
1197 Defaults for the options are specified in brackets.
1198
1199 Configuration:
1200 -h, --help display this help and exit
1201 --help=short display options specific to this package
1202 --help=recursive display the short help of all the included packages
1203 -V, --version display version information and exit
1204 -q, --quiet, --silent do not print \`checking ...' messages
1205 --cache-file=FILE cache test results in FILE [disabled]
1206 -C, --config-cache alias for \`--cache-file=config.cache'
1207 -n, --no-create do not create output files
1208 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1209
1210 Installation directories:
1211 --prefix=PREFIX install architecture-independent files in PREFIX
1212 [$ac_default_prefix]
1213 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1214 [PREFIX]
1215
1216 By default, \`make install' will install all the files in
1217 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1218 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1219 for instance \`--prefix=\$HOME'.
1220
1221 For better control, use the options below.
1222
1223 Fine tuning of the installation directories:
1224 --bindir=DIR user executables [EPREFIX/bin]
1225 --sbindir=DIR system admin executables [EPREFIX/sbin]
1226 --libexecdir=DIR program executables [EPREFIX/libexec]
1227 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1228 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1229 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1230 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1231 --libdir=DIR object code libraries [EPREFIX/lib]
1232 --includedir=DIR C header files [PREFIX/include]
1233 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1234 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1235 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1236 --infodir=DIR info documentation [DATAROOTDIR/info]
1237 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1238 --mandir=DIR man documentation [DATAROOTDIR/man]
1239 --docdir=DIR documentation root [DATAROOTDIR/doc/xdg-utils]
1240 --htmldir=DIR html documentation [DOCDIR]
1241 --dvidir=DIR dvi documentation [DOCDIR]
1242 --pdfdir=DIR pdf documentation [DOCDIR]
1243 --psdir=DIR ps documentation [DOCDIR]
1244 _ACEOF
1245
1246 cat <<\_ACEOF
1247 _ACEOF
1248 fi
1249
1250 if test -n "$ac_init_help"; then
1251 case $ac_init_help in
1252 short | recursive ) echo "Configuration of xdg-utils 1:";;
1253 esac
1254 cat <<\_ACEOF
1255
1256 Report bugs to <[email protected]>.
1257 _ACEOF
1258 ac_status=$?
1259 fi
1260
1261 if test "$ac_init_help" = "recursive"; then
1262 # If there are subdirs, report their specific --help.
1263 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1264 test -d "$ac_dir" ||
1265 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1266 continue
1267 ac_builddir=.
1268
1269 case "$ac_dir" in
1270 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271 *)
1272 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1273 # A ".." for each directory in $ac_dir_suffix.
1274 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1275 case $ac_top_builddir_sub in
1276 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1278 esac ;;
1279 esac
1280 ac_abs_top_builddir=$ac_pwd
1281 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1282 # for backward compatibility:
1283 ac_top_builddir=$ac_top_build_prefix
1284
1285 case $srcdir in
1286 .) # We are building in place.
1287 ac_srcdir=.
1288 ac_top_srcdir=$ac_top_builddir_sub
1289 ac_abs_top_srcdir=$ac_pwd ;;
1290 [\\/]* | ?:[\\/]* ) # Absolute name.
1291 ac_srcdir=$srcdir$ac_dir_suffix;
1292 ac_top_srcdir=$srcdir
1293 ac_abs_top_srcdir=$srcdir ;;
1294 *) # Relative name.
1295 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1296 ac_top_srcdir=$ac_top_build_prefix$srcdir
1297 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1298 esac
1299 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1300
1301 cd "$ac_dir" || { ac_status=$?; continue; }
1302 # Check for guested configure.
1303 if test -f "$ac_srcdir/configure.gnu"; then
1304 echo &&
1305 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1306 elif test -f "$ac_srcdir/configure"; then
1307 echo &&
1308 $SHELL "$ac_srcdir/configure" --help=recursive
1309 else
1310 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1311 fi || ac_status=$?
1312 cd "$ac_pwd" || { ac_status=$?; break; }
1313 done
1314 fi
1315
1316 test -n "$ac_init_help" && exit $ac_status
1317 if $ac_init_version; then
1318 cat <<\_ACEOF
1319 xdg-utils configure 1
1320 generated by GNU Autoconf 2.69
1321
1322 Copyright (C) 2012 Free Software Foundation, Inc.
1323 This configure script is free software; the Free Software Foundation
1324 gives unlimited permission to copy, distribute and modify it.
1325 _ACEOF
1326 exit
1327 fi
1328
1329 ## ------------------------ ##
1330 ## Autoconf initialization. ##
1331 ## ------------------------ ##
1332 cat >config.log <<_ACEOF
1333 This file contains any messages produced by compilers while
1334 running configure, to aid debugging if configure makes a mistake.
1335
1336 It was created by xdg-utils $as_me 1, which was
1337 generated by GNU Autoconf 2.69. Invocation command line was
1338
1339 $ $0 $@
1340
1341 _ACEOF
1342 exec 5>>config.log
1343 {
1344 cat <<_ASUNAME
1345 ## --------- ##
1346 ## Platform. ##
1347 ## --------- ##
1348
1349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1354
1355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1357
1358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1361 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1365
1366 _ASUNAME
1367
1368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369 for as_dir in $PATH
1370 do
1371 IFS=$as_save_IFS
1372 test -z "$as_dir" && as_dir=.
1373 $as_echo "PATH: $as_dir"
1374 done
1375 IFS=$as_save_IFS
1376
1377 } >&5
1378
1379 cat >&5 <<_ACEOF
1380
1381
1382 ## ----------- ##
1383 ## Core tests. ##
1384 ## ----------- ##
1385
1386 _ACEOF
1387
1388
1389 # Keep a trace of the command line.
1390 # Strip out --no-create and --no-recursion so they do not pile up.
1391 # Strip out --silent because we don't want to record it for future runs.
1392 # Also quote any args containing shell meta-characters.
1393 # Make two passes to allow for proper duplicate-argument suppression.
1394 ac_configure_args=
1395 ac_configure_args0=
1396 ac_configure_args1=
1397 ac_must_keep_next=false
1398 for ac_pass in 1 2
1399 do
1400 for ac_arg
1401 do
1402 case $ac_arg in
1403 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1405 | -silent | --silent | --silen | --sile | --sil)
1406 continue ;;
1407 *\'*)
1408 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1409 esac
1410 case $ac_pass in
1411 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1412 2)
1413 as_fn_append ac_configure_args1 " '$ac_arg'"
1414 if test $ac_must_keep_next = true; then
1415 ac_must_keep_next=false # Got value, back to normal.
1416 else
1417 case $ac_arg in
1418 *=* | --config-cache | -C | -disable-* | --disable-* \
1419 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1420 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1421 | -with-* | --with-* | -without-* | --without-* | --x)
1422 case "$ac_configure_args0 " in
1423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1424 esac
1425 ;;
1426 -* ) ac_must_keep_next=true ;;
1427 esac
1428 fi
1429 as_fn_append ac_configure_args " '$ac_arg'"
1430 ;;
1431 esac
1432 done
1433 done
1434 { ac_configure_args0=; unset ac_configure_args0;}
1435 { ac_configure_args1=; unset ac_configure_args1;}
1436
1437 # When interrupted or exit'd, cleanup temporary files, and complete
1438 # config.log. We remove comments because anyway the quotes in there
1439 # would cause problems or look ugly.
1440 # WARNING: Use '\'' to represent an apostrophe within the trap.
1441 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1442 trap 'exit_status=$?
1443 # Save into config.log some information that might help in debugging.
1444 {
1445 echo
1446
1447 $as_echo "## ---------------- ##
1448 ## Cache variables. ##
1449 ## ---------------- ##"
1450 echo
1451 # The following way of writing the cache mishandles newlines in values,
1452 (
1453 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1454 eval ac_val=\$$ac_var
1455 case $ac_val in #(
1456 *${as_nl}*)
1457 case $ac_var in #(
1458 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1460 esac
1461 case $ac_var in #(
1462 _ | IFS | as_nl) ;; #(
1463 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1464 *) { eval $ac_var=; unset $ac_var;} ;;
1465 esac ;;
1466 esac
1467 done
1468 (set) 2>&1 |
1469 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1470 *${as_nl}ac_space=\ *)
1471 sed -n \
1472 "s/'\''/'\''\\\\'\'''\''/g;
1473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1474 ;; #(
1475 *)
1476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1477 ;;
1478 esac |
1479 sort
1480 )
1481 echo
1482
1483 $as_echo "## ----------------- ##
1484 ## Output variables. ##
1485 ## ----------------- ##"
1486 echo
1487 for ac_var in $ac_subst_vars
1488 do
1489 eval ac_val=\$$ac_var
1490 case $ac_val in
1491 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1492 esac
1493 $as_echo "$ac_var='\''$ac_val'\''"
1494 done | sort
1495 echo
1496
1497 if test -n "$ac_subst_files"; then
1498 $as_echo "## ------------------- ##
1499 ## File substitutions. ##
1500 ## ------------------- ##"
1501 echo
1502 for ac_var in $ac_subst_files
1503 do
1504 eval ac_val=\$$ac_var
1505 case $ac_val in
1506 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1507 esac
1508 $as_echo "$ac_var='\''$ac_val'\''"
1509 done | sort
1510 echo
1511 fi
1512
1513 if test -s confdefs.h; then
1514 $as_echo "## ----------- ##
1515 ## confdefs.h. ##
1516 ## ----------- ##"
1517 echo
1518 cat confdefs.h
1519 echo
1520 fi
1521 test "$ac_signal" != 0 &&
1522 $as_echo "$as_me: caught signal $ac_signal"
1523 $as_echo "$as_me: exit $exit_status"
1524 } >&5
1525 rm -f core *.core core.conftest.* &&
1526 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1527 exit $exit_status
1528 ' 0
1529 for ac_signal in 1 2 13 15; do
1530 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1531 done
1532 ac_signal=0
1533
1534 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1535 rm -f -r conftest* confdefs.h
1536
1537 $as_echo "/* confdefs.h */" > confdefs.h
1538
1539 # Predefined preprocessor variables.
1540
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_NAME "$PACKAGE_NAME"
1543 _ACEOF
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1547 _ACEOF
1548
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1551 _ACEOF
1552
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_STRING "$PACKAGE_STRING"
1555 _ACEOF
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1559 _ACEOF
1560
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_URL "$PACKAGE_URL"
1563 _ACEOF
1564
1565
1566 # Let the site file select an alternate cache file if it wants to.
1567 # Prefer an explicitly selected file to automatically selected ones.
1568 ac_site_file1=NONE
1569 ac_site_file2=NONE
1570 if test -n "$CONFIG_SITE"; then
1571 # We do not want a PATH search for config.site.
1572 case $CONFIG_SITE in #((
1573 -*) ac_site_file1=./$CONFIG_SITE;;
1574 */*) ac_site_file1=$CONFIG_SITE;;
1575 *) ac_site_file1=./$CONFIG_SITE;;
1576 esac
1577 elif test "x$prefix" != xNONE; then
1578 ac_site_file1=$prefix/share/config.site
1579 ac_site_file2=$prefix/etc/config.site
1580 else
1581 ac_site_file1=$ac_default_prefix/share/config.site
1582 ac_site_file2=$ac_default_prefix/etc/config.site
1583 fi
1584 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1585 do
1586 test "x$ac_site_file" = xNONE && continue
1587 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1589 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1590 sed 's/^/| /' "$ac_site_file" >&5
1591 . "$ac_site_file" \
1592 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1594 as_fn_error $? "failed to load site script $ac_site_file
1595 See \`config.log' for more details" "$LINENO" 5; }
1596 fi
1597 done
1598
1599 if test -r "$cache_file"; then
1600 # Some versions of bash will fail to source /dev/null (special files
1601 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1602 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1604 $as_echo "$as_me: loading cache $cache_file" >&6;}
1605 case $cache_file in
1606 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1607 *) . "./$cache_file";;
1608 esac
1609 fi
1610 else
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1612 $as_echo "$as_me: creating cache $cache_file" >&6;}
1613 >$cache_file
1614 fi
1615
1616 # Check that the precious variables saved in the cache have kept the same
1617 # value.
1618 ac_cache_corrupted=false
1619 for ac_var in $ac_precious_vars; do
1620 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1621 eval ac_new_set=\$ac_env_${ac_var}_set
1622 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1623 eval ac_new_val=\$ac_env_${ac_var}_value
1624 case $ac_old_set,$ac_new_set in
1625 set,)
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1627 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1629 ,set)
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1631 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1632 ac_cache_corrupted=: ;;
1633 ,);;
1634 *)
1635 if test "x$ac_old_val" != "x$ac_new_val"; then
1636 # differences in whitespace do not lead to failure.
1637 ac_old_val_w=`echo x $ac_old_val`
1638 ac_new_val_w=`echo x $ac_new_val`
1639 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1641 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1642 ac_cache_corrupted=:
1643 else
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1645 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1646 eval $ac_var=\$ac_old_val
1647 fi
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1649 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1651 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1652 fi;;
1653 esac
1654 # Pass precious variables to config.status.
1655 if test "$ac_new_set" = set; then
1656 case $ac_new_val in
1657 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1658 *) ac_arg=$ac_var=$ac_new_val ;;
1659 esac
1660 case " $ac_configure_args " in
1661 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1662 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1663 esac
1664 fi
1665 done
1666 if $ac_cache_corrupted; then
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1670 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1671 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1672 fi
1673 ## -------------------- ##
1674 ## Main body of script. ##
1675 ## -------------------- ##
1676
1677 ac_ext=c
1678 ac_cpp='$CPP $CPPFLAGS'
1679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1682
1683
1684
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1686 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1687 set x ${MAKE-make}
1688 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1689 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1690 $as_echo_n "(cached) " >&6
1691 else
1692 cat >conftest.make <<\_ACEOF
1693 SHELL = /bin/sh
1694 all:
1695 @echo '@@@%%%=$(MAKE)=@@@%%%'
1696 _ACEOF
1697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1698 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1699 *@@@%%%=?*=@@@%%%*)
1700 eval ac_cv_prog_make_${ac_make}_set=yes;;
1701 *)
1702 eval ac_cv_prog_make_${ac_make}_set=no;;
1703 esac
1704 rm -f conftest.make
1705 fi
1706 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1708 $as_echo "yes" >&6; }
1709 SET_MAKE=
1710 else
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1712 $as_echo "no" >&6; }
1713 SET_MAKE="MAKE=${MAKE-make}"
1714 fi
1715
1716 ac_aux_dir=
1717 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1718 if test -f "$ac_dir/install-sh"; then
1719 ac_aux_dir=$ac_dir
1720 ac_install_sh="$ac_aux_dir/install-sh -c"
1721 break
1722 elif test -f "$ac_dir/install.sh"; then
1723 ac_aux_dir=$ac_dir
1724 ac_install_sh="$ac_aux_dir/install.sh -c"
1725 break
1726 elif test -f "$ac_dir/shtool"; then
1727 ac_aux_dir=$ac_dir
1728 ac_install_sh="$ac_aux_dir/shtool install -c"
1729 break
1730 fi
1731 done
1732 if test -z "$ac_aux_dir"; then
1733 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1734 fi
1735
1736 # These three variables are undocumented and unsupported,
1737 # and are intended to be withdrawn in a future Autoconf release.
1738 # They can cause serious problems if a builder's source tree is in a directory
1739 # whose full name contains unusual characters.
1740 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1741 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1742 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1743
1744
1745 # Find a good install program. We prefer a C program (faster),
1746 # so one script is as good as another. But avoid the broken or
1747 # incompatible versions:
1748 # SysV /etc/install, /usr/sbin/install
1749 # SunOS /usr/etc/install
1750 # IRIX /sbin/install
1751 # AIX /bin/install
1752 # AmigaOS /C/install, which installs bootblocks on floppy discs
1753 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1754 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1755 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1756 # OS/2's system install, which has a completely different semantic
1757 # ./install, which can be erroneously created by make from ./install.sh.
1758 # Reject install programs that cannot install multiple files.
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1760 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1761 if test -z "$INSTALL"; then
1762 if ${ac_cv_path_install+:} false; then :
1763 $as_echo_n "(cached) " >&6
1764 else
1765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1766 for as_dir in $PATH
1767 do
1768 IFS=$as_save_IFS
1769 test -z "$as_dir" && as_dir=.
1770 # Account for people who put trailing slashes in PATH elements.
1771 case $as_dir/ in #((
1772 ./ | .// | /[cC]/* | \
1773 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1774 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1775 /usr/ucb/* ) ;;
1776 *)
1777 # OSF1 and SCO ODT 3.0 have their own names for install.
1778 # Don't use installbsd from OSF since it installs stuff as root
1779 # by default.
1780 for ac_prog in ginstall scoinst install; do
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1783 if test $ac_prog = install &&
1784 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1785 # AIX install. It has an incompatible calling convention.
1786 :
1787 elif test $ac_prog = install &&
1788 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1789 # program-specific install script used by HP pwplus--don't use.
1790 :
1791 else
1792 rm -rf conftest.one conftest.two conftest.dir
1793 echo one > conftest.one
1794 echo two > conftest.two
1795 mkdir conftest.dir
1796 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1797 test -s conftest.one && test -s conftest.two &&
1798 test -s conftest.dir/conftest.one &&
1799 test -s conftest.dir/conftest.two
1800 then
1801 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1802 break 3
1803 fi
1804 fi
1805 fi
1806 done
1807 done
1808 ;;
1809 esac
1810
1811 done
1812 IFS=$as_save_IFS
1813
1814 rm -rf conftest.one conftest.two conftest.dir
1815
1816 fi
1817 if test "${ac_cv_path_install+set}" = set; then
1818 INSTALL=$ac_cv_path_install
1819 else
1820 # As a last resort, use the slow shell script. Don't cache a
1821 # value for INSTALL within a source directory, because that will
1822 # break other packages using the cache if that directory is
1823 # removed, or if the value is a relative name.
1824 INSTALL=$ac_install_sh
1825 fi
1826 fi
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1828 $as_echo "$INSTALL" >&6; }
1829
1830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1831 # It thinks the first close brace ends the variable substitution.
1832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1833
1834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1835
1836 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1837
1838 # Extract the first word of "xmlto", so it can be a program name with args.
1839 set dummy xmlto; ac_word=$2
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1841 $as_echo_n "checking for $ac_word... " >&6; }
1842 if ${ac_cv_path_XMLTO+:} false; then :
1843 $as_echo_n "(cached) " >&6
1844 else
1845 case $XMLTO in
1846 [\\/]* | ?:[\\/]*)
1847 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
1848 ;;
1849 *)
1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 for as_dir in $PATH
1852 do
1853 IFS=$as_save_IFS
1854 test -z "$as_dir" && as_dir=.
1855 for ac_exec_ext in '' $ac_executable_extensions; do
1856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1857 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
1858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 break 2
1860 fi
1861 done
1862 done
1863 IFS=$as_save_IFS
1864
1865 test -z "$ac_cv_path_XMLTO" && ac_cv_path_XMLTO="/usr/bin/xmlto"
1866 ;;
1867 esac
1868 fi
1869 XMLTO=$ac_cv_path_XMLTO
1870 if test -n "$XMLTO"; then
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
1872 $as_echo "$XMLTO" >&6; }
1873 else
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1875 $as_echo "no" >&6; }
1876 fi
1877
1878
1879
1880 ac_config_files="$ac_config_files Makefile scripts/Makefile tests/Makefile autotests/Makefile"
1881
1882 cat >confcache <<\_ACEOF
1883 # This file is a shell script that caches the results of configure
1884 # tests run on this system so they can be shared between configure
1885 # scripts and configure runs, see configure's option --config-cache.
1886 # It is not useful on other systems. If it contains results you don't
1887 # want to keep, you may remove or edit it.
1888 #
1889 # config.status only pays attention to the cache file if you give it
1890 # the --recheck option to rerun configure.
1891 #
1892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1894 # following values.
1895
1896 _ACEOF
1897
1898 # The following way of writing the cache mishandles newlines in values,
1899 # but we know of no workaround that is simple, portable, and efficient.
1900 # So, we kill variables containing newlines.
1901 # Ultrix sh set writes to stderr and can't be redirected directly,
1902 # and sets the high bit in the cache file unless we assign to the vars.
1903 (
1904 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1905 eval ac_val=\$$ac_var
1906 case $ac_val in #(
1907 *${as_nl}*)
1908 case $ac_var in #(
1909 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1910 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1911 esac
1912 case $ac_var in #(
1913 _ | IFS | as_nl) ;; #(
1914 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1915 *) { eval $ac_var=; unset $ac_var;} ;;
1916 esac ;;
1917 esac
1918 done
1919
1920 (set) 2>&1 |
1921 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1922 *${as_nl}ac_space=\ *)
1923 # `set' does not quote correctly, so add quotes: double-quote
1924 # substitution turns \\\\ into \\, and sed turns \\ into \.
1925 sed -n \
1926 "s/'/'\\\\''/g;
1927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1928 ;; #(
1929 *)
1930 # `set' quotes correctly as required by POSIX, so do not add quotes.
1931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1932 ;;
1933 esac |
1934 sort
1935 ) |
1936 sed '
1937 /^ac_cv_env_/b end
1938 t clear
1939 :clear
1940 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1941 t end
1942 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1943 :end' >>confcache
1944 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1945 if test -w "$cache_file"; then
1946 if test "x$cache_file" != "x/dev/null"; then
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1948 $as_echo "$as_me: updating cache $cache_file" >&6;}
1949 if test ! -f "$cache_file" || test -h "$cache_file"; then
1950 cat confcache >"$cache_file"
1951 else
1952 case $cache_file in #(
1953 */* | ?:*)
1954 mv -f confcache "$cache_file"$$ &&
1955 mv -f "$cache_file"$$ "$cache_file" ;; #(
1956 *)
1957 mv -f confcache "$cache_file" ;;
1958 esac
1959 fi
1960 fi
1961 else
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1963 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1964 fi
1965 fi
1966 rm -f confcache
1967
1968 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1969 # Let make expand exec_prefix.
1970 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1971
1972 # Transform confdefs.h into DEFS.
1973 # Protect against shell expansion while executing Makefile rules.
1974 # Protect against Makefile macro expansion.
1975 #
1976 # If the first sed substitution is executed (which looks for macros that
1977 # take arguments), then branch to the quote section. Otherwise,
1978 # look for a macro that doesn't take arguments.
1979 ac_script='
1980 :mline
1981 /\\$/{
1982 N
1983 s,\\\n,,
1984 b mline
1985 }
1986 t clear
1987 :clear
1988 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1989 t quote
1990 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1991 t quote
1992 b any
1993 :quote
1994 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1995 s/\[/\\&/g
1996 s/\]/\\&/g
1997 s/\$/$$/g
1998 H
1999 :any
2000 ${
2001 g
2002 s/^\n//
2003 s/\n/ /g
2004 p
2005 }
2006 '
2007 DEFS=`sed -n "$ac_script" confdefs.h`
2008
2009
2010 ac_libobjs=
2011 ac_ltlibobjs=
2012 U=
2013 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2014 # 1. Remove the extension, and $U if already installed.
2015 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2016 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2017 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2018 # will be set to the directory where LIBOBJS objects are built.
2019 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2020 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2021 done
2022 LIBOBJS=$ac_libobjs
2023
2024 LTLIBOBJS=$ac_ltlibobjs
2025
2026
2027
2028 : "${CONFIG_STATUS=./config.status}"
2029 ac_write_fail=0
2030 ac_clean_files_save=$ac_clean_files
2031 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2033 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2034 as_write_fail=0
2035 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2036 #! $SHELL
2037 # Generated by $as_me.
2038 # Run this file to recreate the current configuration.
2039 # Compiler output produced by configure, useful for debugging
2040 # configure, is in config.log if it exists.
2041
2042 debug=false
2043 ac_cs_recheck=false
2044 ac_cs_silent=false
2045
2046 SHELL=\${CONFIG_SHELL-$SHELL}
2047 export SHELL
2048 _ASEOF
2049 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2050 ## -------------------- ##
2051 ## M4sh Initialization. ##
2052 ## -------------------- ##
2053
2054 # Be more Bourne compatible
2055 DUALCASE=1; export DUALCASE # for MKS sh
2056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2057 emulate sh
2058 NULLCMD=:
2059 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2060 # is contrary to our usage. Disable this feature.
2061 alias -g '${1+"$@"}'='"$@"'
2062 setopt NO_GLOB_SUBST
2063 else
2064 case `(set -o) 2>/dev/null` in #(
2065 *posix*) :
2066 set -o posix ;; #(
2067 *) :
2068 ;;
2069 esac
2070 fi
2071
2072
2073 as_nl='
2074 '
2075 export as_nl
2076 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2077 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2078 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2080 # Prefer a ksh shell builtin over an external printf program on Solaris,
2081 # but without wasting forks for bash or zsh.
2082 if test -z "$BASH_VERSION$ZSH_VERSION" \
2083 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2084 as_echo='print -r --'
2085 as_echo_n='print -rn --'
2086 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2087 as_echo='printf %s\n'
2088 as_echo_n='printf %s'
2089 else
2090 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2091 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2092 as_echo_n='/usr/ucb/echo -n'
2093 else
2094 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2095 as_echo_n_body='eval
2096 arg=$1;
2097 case $arg in #(
2098 *"$as_nl"*)
2099 expr "X$arg" : "X\\(.*\\)$as_nl";
2100 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2101 esac;
2102 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2103 '
2104 export as_echo_n_body
2105 as_echo_n='sh -c $as_echo_n_body as_echo'
2106 fi
2107 export as_echo_body
2108 as_echo='sh -c $as_echo_body as_echo'
2109 fi
2110
2111 # The user is always right.
2112 if test "${PATH_SEPARATOR+set}" != set; then
2113 PATH_SEPARATOR=:
2114 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2115 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2116 PATH_SEPARATOR=';'
2117 }
2118 fi
2119
2120
2121 # IFS
2122 # We need space, tab and new line, in precisely that order. Quoting is
2123 # there to prevent editors from complaining about space-tab.
2124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2125 # splitting by setting IFS to empty value.)
2126 IFS=" "" $as_nl"
2127
2128 # Find who we are. Look in the path if we contain no directory separator.
2129 as_myself=
2130 case $0 in #((
2131 *[\\/]* ) as_myself=$0 ;;
2132 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2134 do
2135 IFS=$as_save_IFS
2136 test -z "$as_dir" && as_dir=.
2137 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2138 done
2139 IFS=$as_save_IFS
2140
2141 ;;
2142 esac
2143 # We did not find ourselves, most probably we were run as `sh COMMAND'
2144 # in which case we are not to be found in the path.
2145 if test "x$as_myself" = x; then
2146 as_myself=$0
2147 fi
2148 if test ! -f "$as_myself"; then
2149 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2150 exit 1
2151 fi
2152
2153 # Unset variables that we do not need and which cause bugs (e.g. in
2154 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2155 # suppresses any "Segmentation fault" message there. '((' could
2156 # trigger a bug in pdksh 5.2.14.
2157 for as_var in BASH_ENV ENV MAIL MAILPATH
2158 do eval test x\${$as_var+set} = xset \
2159 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2160 done
2161 PS1='$ '
2162 PS2='> '
2163 PS4='+ '
2164
2165 # NLS nuisances.
2166 LC_ALL=C
2167 export LC_ALL
2168 LANGUAGE=C
2169 export LANGUAGE
2170
2171 # CDPATH.
2172 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2173
2174
2175 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2176 # ----------------------------------------
2177 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2178 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2179 # script with STATUS, using 1 if that was 0.
2180 as_fn_error ()
2181 {
2182 as_status=$1; test $as_status -eq 0 && as_status=1
2183 if test "$4"; then
2184 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2185 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2186 fi
2187 $as_echo "$as_me: error: $2" >&2
2188 as_fn_exit $as_status
2189 } # as_fn_error
2190
2191
2192 # as_fn_set_status STATUS
2193 # -----------------------
2194 # Set $? to STATUS, without forking.
2195 as_fn_set_status ()
2196 {
2197 return $1
2198 } # as_fn_set_status
2199
2200 # as_fn_exit STATUS
2201 # -----------------
2202 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2203 as_fn_exit ()
2204 {
2205 set +e
2206 as_fn_set_status $1
2207 exit $1
2208 } # as_fn_exit
2209
2210 # as_fn_unset VAR
2211 # ---------------
2212 # Portably unset VAR.
2213 as_fn_unset ()
2214 {
2215 { eval $1=; unset $1;}
2216 }
2217 as_unset=as_fn_unset
2218 # as_fn_append VAR VALUE
2219 # ----------------------
2220 # Append the text in VALUE to the end of the definition contained in VAR. Take
2221 # advantage of any shell optimizations that allow amortized linear growth over
2222 # repeated appends, instead of the typical quadratic growth present in naive
2223 # implementations.
2224 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2225 eval 'as_fn_append ()
2226 {
2227 eval $1+=\$2
2228 }'
2229 else
2230 as_fn_append ()
2231 {
2232 eval $1=\$$1\$2
2233 }
2234 fi # as_fn_append
2235
2236 # as_fn_arith ARG...
2237 # ------------------
2238 # Perform arithmetic evaluation on the ARGs, and store the result in the
2239 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2240 # must be portable across $(()) and expr.
2241 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2242 eval 'as_fn_arith ()
2243 {
2244 as_val=$(( $* ))
2245 }'
2246 else
2247 as_fn_arith ()
2248 {
2249 as_val=`expr "$@" || test $? -eq 1`
2250 }
2251 fi # as_fn_arith
2252
2253
2254 if expr a : '\(a\)' >/dev/null 2>&1 &&
2255 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2256 as_expr=expr
2257 else
2258 as_expr=false
2259 fi
2260
2261 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2262 as_basename=basename
2263 else
2264 as_basename=false
2265 fi
2266
2267 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2268 as_dirname=dirname
2269 else
2270 as_dirname=false
2271 fi
2272
2273 as_me=`$as_basename -- "$0" ||
2274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2275 X"$0" : 'X\(//\)$' \| \
2276 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2277 $as_echo X/"$0" |
2278 sed '/^.*\/\([^/][^/]*\)\/*$/{
2279 s//\1/
2280 q
2281 }
2282 /^X\/\(\/\/\)$/{
2283 s//\1/
2284 q
2285 }
2286 /^X\/\(\/\).*/{
2287 s//\1/
2288 q
2289 }
2290 s/.*/./; q'`
2291
2292 # Avoid depending upon Character Ranges.
2293 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2294 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2295 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2296 as_cr_digits='0123456789'
2297 as_cr_alnum=$as_cr_Letters$as_cr_digits
2298
2299 ECHO_C= ECHO_N= ECHO_T=
2300 case `echo -n x` in #(((((
2301 -n*)
2302 case `echo 'xy\c'` in
2303 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2304 xy) ECHO_C='\c';;
2305 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2306 ECHO_T=' ';;
2307 esac;;
2308 *)
2309 ECHO_N='-n';;
2310 esac
2311
2312 rm -f conf$$ conf$$.exe conf$$.file
2313 if test -d conf$$.dir; then
2314 rm -f conf$$.dir/conf$$.file
2315 else
2316 rm -f conf$$.dir
2317 mkdir conf$$.dir 2>/dev/null
2318 fi
2319 if (echo >conf$$.file) 2>/dev/null; then
2320 if ln -s conf$$.file conf$$ 2>/dev/null; then
2321 as_ln_s='ln -s'
2322 # ... but there are two gotchas:
2323 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2324 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2325 # In both cases, we have to default to `cp -pR'.
2326 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2327 as_ln_s='cp -pR'
2328 elif ln conf$$.file conf$$ 2>/dev/null; then
2329 as_ln_s=ln
2330 else
2331 as_ln_s='cp -pR'
2332 fi
2333 else
2334 as_ln_s='cp -pR'
2335 fi
2336 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2337 rmdir conf$$.dir 2>/dev/null
2338
2339
2340 # as_fn_mkdir_p
2341 # -------------
2342 # Create "$as_dir" as a directory, including parents if necessary.
2343 as_fn_mkdir_p ()
2344 {
2345
2346 case $as_dir in #(
2347 -*) as_dir=./$as_dir;;
2348 esac
2349 test -d "$as_dir" || eval $as_mkdir_p || {
2350 as_dirs=
2351 while :; do
2352 case $as_dir in #(
2353 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2354 *) as_qdir=$as_dir;;
2355 esac
2356 as_dirs="'$as_qdir' $as_dirs"
2357 as_dir=`$as_dirname -- "$as_dir" ||
2358 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2359 X"$as_dir" : 'X\(//\)[^/]' \| \
2360 X"$as_dir" : 'X\(//\)$' \| \
2361 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2362 $as_echo X"$as_dir" |
2363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2364 s//\1/
2365 q
2366 }
2367 /^X\(\/\/\)[^/].*/{
2368 s//\1/
2369 q
2370 }
2371 /^X\(\/\/\)$/{
2372 s//\1/
2373 q
2374 }
2375 /^X\(\/\).*/{
2376 s//\1/
2377 q
2378 }
2379 s/.*/./; q'`
2380 test -d "$as_dir" && break
2381 done
2382 test -z "$as_dirs" || eval "mkdir $as_dirs"
2383 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2384
2385
2386 } # as_fn_mkdir_p
2387 if mkdir -p . 2>/dev/null; then
2388 as_mkdir_p='mkdir -p "$as_dir"'
2389 else
2390 test -d ./-p && rmdir ./-p
2391 as_mkdir_p=false
2392 fi
2393
2394
2395 # as_fn_executable_p FILE
2396 # -----------------------
2397 # Test if FILE is an executable regular file.
2398 as_fn_executable_p ()
2399 {
2400 test -f "$1" && test -x "$1"
2401 } # as_fn_executable_p
2402 as_test_x='test -x'
2403 as_executable_p=as_fn_executable_p
2404
2405 # Sed expression to map a string onto a valid CPP name.
2406 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2407
2408 # Sed expression to map a string onto a valid variable name.
2409 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2410
2411
2412 exec 6>&1
2413 ## ----------------------------------- ##
2414 ## Main body of $CONFIG_STATUS script. ##
2415 ## ----------------------------------- ##
2416 _ASEOF
2417 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2418
2419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2420 # Save the log message, to keep $0 and so on meaningful, and to
2421 # report actual input values of CONFIG_FILES etc. instead of their
2422 # values after options handling.
2423 ac_log="
2424 This file was extended by xdg-utils $as_me 1, which was
2425 generated by GNU Autoconf 2.69. Invocation command line was
2426
2427 CONFIG_FILES = $CONFIG_FILES
2428 CONFIG_HEADERS = $CONFIG_HEADERS
2429 CONFIG_LINKS = $CONFIG_LINKS
2430 CONFIG_COMMANDS = $CONFIG_COMMANDS
2431 $ $0 $@
2432
2433 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2434 "
2435
2436 _ACEOF
2437
2438 case $ac_config_files in *"
2439 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2440 esac
2441
2442
2443
2444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2445 # Files that config.status was made for.
2446 config_files="$ac_config_files"
2447
2448 _ACEOF
2449
2450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2451 ac_cs_usage="\
2452 \`$as_me' instantiates files and other configuration actions
2453 from templates according to the current configuration. Unless the files
2454 and actions are specified as TAGs, all are instantiated by default.
2455
2456 Usage: $0 [OPTION]... [TAG]...
2457
2458 -h, --help print this help, then exit
2459 -V, --version print version number and configuration settings, then exit
2460 --config print configuration, then exit
2461 -q, --quiet, --silent
2462 do not print progress messages
2463 -d, --debug don't remove temporary files
2464 --recheck update $as_me by reconfiguring in the same conditions
2465 --file=FILE[:TEMPLATE]
2466 instantiate the configuration file FILE
2467
2468 Configuration files:
2469 $config_files
2470
2471 Report bugs to <[email protected]>."
2472
2473 _ACEOF
2474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2475 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2476 ac_cs_version="\\
2477 xdg-utils config.status 1
2478 configured by $0, generated by GNU Autoconf 2.69,
2479 with options \\"\$ac_cs_config\\"
2480
2481 Copyright (C) 2012 Free Software Foundation, Inc.
2482 This config.status script is free software; the Free Software Foundation
2483 gives unlimited permission to copy, distribute and modify it."
2484
2485 ac_pwd='$ac_pwd'
2486 srcdir='$srcdir'
2487 INSTALL='$INSTALL'
2488 test -n "\$AWK" || AWK=awk
2489 _ACEOF
2490
2491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2492 # The default lists apply if the user does not specify any file.
2493 ac_need_defaults=:
2494 while test $# != 0
2495 do
2496 case $1 in
2497 --*=?*)
2498 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2499 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2500 ac_shift=:
2501 ;;
2502 --*=)
2503 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2504 ac_optarg=
2505 ac_shift=:
2506 ;;
2507 *)
2508 ac_option=$1
2509 ac_optarg=$2
2510 ac_shift=shift
2511 ;;
2512 esac
2513
2514 case $ac_option in
2515 # Handling of the options.
2516 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2517 ac_cs_recheck=: ;;
2518 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2519 $as_echo "$ac_cs_version"; exit ;;
2520 --config | --confi | --conf | --con | --co | --c )
2521 $as_echo "$ac_cs_config"; exit ;;
2522 --debug | --debu | --deb | --de | --d | -d )
2523 debug=: ;;
2524 --file | --fil | --fi | --f )
2525 $ac_shift
2526 case $ac_optarg in
2527 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2528 '') as_fn_error $? "missing file argument" ;;
2529 esac
2530 as_fn_append CONFIG_FILES " '$ac_optarg'"
2531 ac_need_defaults=false;;
2532 --he | --h | --help | --hel | -h )
2533 $as_echo "$ac_cs_usage"; exit ;;
2534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2535 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2536 ac_cs_silent=: ;;
2537
2538 # This is an error.
2539 -*) as_fn_error $? "unrecognized option: \`$1'
2540 Try \`$0 --help' for more information." ;;
2541
2542 *) as_fn_append ac_config_targets " $1"
2543 ac_need_defaults=false ;;
2544
2545 esac
2546 shift
2547 done
2548
2549 ac_configure_extra_args=
2550
2551 if $ac_cs_silent; then
2552 exec 6>/dev/null
2553 ac_configure_extra_args="$ac_configure_extra_args --silent"
2554 fi
2555
2556 _ACEOF
2557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2558 if \$ac_cs_recheck; then
2559 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2560 shift
2561 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2562 CONFIG_SHELL='$SHELL'
2563 export CONFIG_SHELL
2564 exec "\$@"
2565 fi
2566
2567 _ACEOF
2568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2569 exec 5>>config.log
2570 {
2571 echo
2572 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2573 ## Running $as_me. ##
2574 _ASBOX
2575 $as_echo "$ac_log"
2576 } >&5
2577
2578 _ACEOF
2579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2580 _ACEOF
2581
2582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2583
2584 # Handling of arguments.
2585 for ac_config_target in $ac_config_targets
2586 do
2587 case $ac_config_target in
2588 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2589 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
2590 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2591 "autotests/Makefile") CONFIG_FILES="$CONFIG_FILES autotests/Makefile" ;;
2592
2593 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2594 esac
2595 done
2596
2597
2598 # If the user did not use the arguments to specify the items to instantiate,
2599 # then the envvar interface is used. Set only those that are not.
2600 # We use the long form for the default assignment because of an extremely
2601 # bizarre bug on SunOS 4.1.3.
2602 if $ac_need_defaults; then
2603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2604 fi
2605
2606 # Have a temporary directory for convenience. Make it in the build tree
2607 # simply because there is no reason against having it here, and in addition,
2608 # creating and moving files from /tmp can sometimes cause problems.
2609 # Hook for its removal unless debugging.
2610 # Note that there is a small window in which the directory will not be cleaned:
2611 # after its creation but before its name has been assigned to `$tmp'.
2612 $debug ||
2613 {
2614 tmp= ac_tmp=
2615 trap 'exit_status=$?
2616 : "${ac_tmp:=$tmp}"
2617 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2618 ' 0
2619 trap 'as_fn_exit 1' 1 2 13 15
2620 }
2621 # Create a (secure) tmp directory for tmp files.
2622
2623 {
2624 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2625 test -d "$tmp"
2626 } ||
2627 {
2628 tmp=./conf$$-$RANDOM
2629 (umask 077 && mkdir "$tmp")
2630 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2631 ac_tmp=$tmp
2632
2633 # Set up the scripts for CONFIG_FILES section.
2634 # No need to generate them if there are no CONFIG_FILES.
2635 # This happens for instance with `./config.status config.h'.
2636 if test -n "$CONFIG_FILES"; then
2637
2638
2639 ac_cr=`echo X | tr X '\015'`
2640 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2641 # But we know of no other shell where ac_cr would be empty at this
2642 # point, so we can use a bashism as a fallback.
2643 if test "x$ac_cr" = x; then
2644 eval ac_cr=\$\'\\r\'
2645 fi
2646 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2647 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2648 ac_cs_awk_cr='\\r'
2649 else
2650 ac_cs_awk_cr=$ac_cr
2651 fi
2652
2653 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2654 _ACEOF
2655
2656
2657 {
2658 echo "cat >conf$$subs.awk <<_ACEOF" &&
2659 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2660 echo "_ACEOF"
2661 } >conf$$subs.sh ||
2662 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2663 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2664 ac_delim='%!_!# '
2665 for ac_last_try in false false false false false :; do
2666 . ./conf$$subs.sh ||
2667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2668
2669 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2670 if test $ac_delim_n = $ac_delim_num; then
2671 break
2672 elif $ac_last_try; then
2673 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2674 else
2675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2676 fi
2677 done
2678 rm -f conf$$subs.sh
2679
2680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2681 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2682 _ACEOF
2683 sed -n '
2684 h
2685 s/^/S["/; s/!.*/"]=/
2686 p
2687 g
2688 s/^[^!]*!//
2689 :repl
2690 t repl
2691 s/'"$ac_delim"'$//
2692 t delim
2693 :nl
2694 h
2695 s/\(.\{148\}\)..*/\1/
2696 t more1
2697 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2698 p
2699 n
2700 b repl
2701 :more1
2702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2703 p
2704 g
2705 s/.\{148\}//
2706 t nl
2707 :delim
2708 h
2709 s/\(.\{148\}\)..*/\1/
2710 t more2
2711 s/["\\]/\\&/g; s/^/"/; s/$/"/
2712 p
2713 b
2714 :more2
2715 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2716 p
2717 g
2718 s/.\{148\}//
2719 t delim
2720 ' <conf$$subs.awk | sed '
2721 /^[^""]/{
2722 N
2723 s/\n//
2724 }
2725 ' >>$CONFIG_STATUS || ac_write_fail=1
2726 rm -f conf$$subs.awk
2727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2728 _ACAWK
2729 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2730 for (key in S) S_is_set[key] = 1
2731 FS = ""
2732
2733 }
2734 {
2735 line = $ 0
2736 nfields = split(line, field, "@")
2737 substed = 0
2738 len = length(field[1])
2739 for (i = 2; i < nfields; i++) {
2740 key = field[i]
2741 keylen = length(key)
2742 if (S_is_set[key]) {
2743 value = S[key]
2744 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2745 len += length(value) + length(field[++i])
2746 substed = 1
2747 } else
2748 len += 1 + keylen
2749 }
2750
2751 print line
2752 }
2753
2754 _ACAWK
2755 _ACEOF
2756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2757 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2758 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2759 else
2760 cat
2761 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2762 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2763 _ACEOF
2764
2765 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2766 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2767 # trailing colons and then remove the whole line if VPATH becomes empty
2768 # (actually we leave an empty line to preserve line numbers).
2769 if test "x$srcdir" = x.; then
2770 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
2771 h
2772 s///
2773 s/^/:/
2774 s/[ ]*$/:/
2775 s/:\$(srcdir):/:/g
2776 s/:\${srcdir}:/:/g
2777 s/:@srcdir@:/:/g
2778 s/^:*//
2779 s/:*$//
2780 x
2781 s/\(=[ ]*\).*/\1/
2782 G
2783 s/\n//
2784 s/^[^=]*=[ ]*$//
2785 }'
2786 fi
2787
2788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2789 fi # test -n "$CONFIG_FILES"
2790
2791
2792 eval set X " :F $CONFIG_FILES "
2793 shift
2794 for ac_tag
2795 do
2796 case $ac_tag in
2797 :[FHLC]) ac_mode=$ac_tag; continue;;
2798 esac
2799 case $ac_mode$ac_tag in
2800 :[FHL]*:*);;
2801 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2802 :[FH]-) ac_tag=-:-;;
2803 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2804 esac
2805 ac_save_IFS=$IFS
2806 IFS=:
2807 set x $ac_tag
2808 IFS=$ac_save_IFS
2809 shift
2810 ac_file=$1
2811 shift
2812
2813 case $ac_mode in
2814 :L) ac_source=$1;;
2815 :[FH])
2816 ac_file_inputs=
2817 for ac_f
2818 do
2819 case $ac_f in
2820 -) ac_f="$ac_tmp/stdin";;
2821 *) # Look for the file first in the build tree, then in the source tree
2822 # (if the path is not absolute). The absolute path cannot be DOS-style,
2823 # because $ac_f cannot contain `:'.
2824 test -f "$ac_f" ||
2825 case $ac_f in
2826 [\\/$]*) false;;
2827 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2828 esac ||
2829 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2830 esac
2831 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2832 as_fn_append ac_file_inputs " '$ac_f'"
2833 done
2834
2835 # Let's still pretend it is `configure' which instantiates (i.e., don't
2836 # use $as_me), people would be surprised to read:
2837 # /* config.h. Generated by config.status. */
2838 configure_input='Generated from '`
2839 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2840 `' by configure.'
2841 if test x"$ac_file" != x-; then
2842 configure_input="$ac_file. $configure_input"
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2844 $as_echo "$as_me: creating $ac_file" >&6;}
2845 fi
2846 # Neutralize special characters interpreted by sed in replacement strings.
2847 case $configure_input in #(
2848 *\&* | *\|* | *\\* )
2849 ac_sed_conf_input=`$as_echo "$configure_input" |
2850 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2851 *) ac_sed_conf_input=$configure_input;;
2852 esac
2853
2854 case $ac_tag in
2855 *:-:* | *:-) cat >"$ac_tmp/stdin" \
2856 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2857 esac
2858 ;;
2859 esac
2860
2861 ac_dir=`$as_dirname -- "$ac_file" ||
2862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2863 X"$ac_file" : 'X\(//\)[^/]' \| \
2864 X"$ac_file" : 'X\(//\)$' \| \
2865 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2866 $as_echo X"$ac_file" |
2867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2868 s//\1/
2869 q
2870 }
2871 /^X\(\/\/\)[^/].*/{
2872 s//\1/
2873 q
2874 }
2875 /^X\(\/\/\)$/{
2876 s//\1/
2877 q
2878 }
2879 /^X\(\/\).*/{
2880 s//\1/
2881 q
2882 }
2883 s/.*/./; q'`
2884 as_dir="$ac_dir"; as_fn_mkdir_p
2885 ac_builddir=.
2886
2887 case "$ac_dir" in
2888 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2889 *)
2890 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2891 # A ".." for each directory in $ac_dir_suffix.
2892 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2893 case $ac_top_builddir_sub in
2894 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2895 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2896 esac ;;
2897 esac
2898 ac_abs_top_builddir=$ac_pwd
2899 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2900 # for backward compatibility:
2901 ac_top_builddir=$ac_top_build_prefix
2902
2903 case $srcdir in
2904 .) # We are building in place.
2905 ac_srcdir=.
2906 ac_top_srcdir=$ac_top_builddir_sub
2907 ac_abs_top_srcdir=$ac_pwd ;;
2908 [\\/]* | ?:[\\/]* ) # Absolute name.
2909 ac_srcdir=$srcdir$ac_dir_suffix;
2910 ac_top_srcdir=$srcdir
2911 ac_abs_top_srcdir=$srcdir ;;
2912 *) # Relative name.
2913 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2914 ac_top_srcdir=$ac_top_build_prefix$srcdir
2915 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2916 esac
2917 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2918
2919
2920 case $ac_mode in
2921 :F)
2922 #
2923 # CONFIG_FILE
2924 #
2925
2926 case $INSTALL in
2927 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2928 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2929 esac
2930 _ACEOF
2931
2932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2933 # If the template does not know about datarootdir, expand it.
2934 # FIXME: This hack should be removed a few years after 2.60.
2935 ac_datarootdir_hack=; ac_datarootdir_seen=
2936 ac_sed_dataroot='
2937 /datarootdir/ {
2938 p
2939 q
2940 }
2941 /@datadir@/p
2942 /@docdir@/p
2943 /@infodir@/p
2944 /@localedir@/p
2945 /@mandir@/p'
2946 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2947 *datarootdir*) ac_datarootdir_seen=yes;;
2948 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2950 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2951 _ACEOF
2952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2953 ac_datarootdir_hack='
2954 s&@datadir@&$datadir&g
2955 s&@docdir@&$docdir&g
2956 s&@infodir@&$infodir&g
2957 s&@localedir@&$localedir&g
2958 s&@mandir@&$mandir&g
2959 s&\\\${datarootdir}&$datarootdir&g' ;;
2960 esac
2961 _ACEOF
2962
2963 # Neutralize VPATH when `$srcdir' = `.'.
2964 # Shell code in configure.ac might set extrasub.
2965 # FIXME: do we really want to maintain this feature?
2966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2967 ac_sed_extra="$ac_vpsub
2968 $extrasub
2969 _ACEOF
2970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2971 :t
2972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2973 s|@configure_input@|$ac_sed_conf_input|;t t
2974 s&@top_builddir@&$ac_top_builddir_sub&;t t
2975 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2976 s&@srcdir@&$ac_srcdir&;t t
2977 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2978 s&@top_srcdir@&$ac_top_srcdir&;t t
2979 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2980 s&@builddir@&$ac_builddir&;t t
2981 s&@abs_builddir@&$ac_abs_builddir&;t t
2982 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2983 s&@INSTALL@&$ac_INSTALL&;t t
2984 $ac_datarootdir_hack
2985 "
2986 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2987 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2988
2989 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2990 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2991 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
2992 "$ac_tmp/out"`; test -z "$ac_out"; } &&
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2994 which seems to be undefined. Please make sure it is defined" >&5
2995 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2996 which seems to be undefined. Please make sure it is defined" >&2;}
2997
2998 rm -f "$ac_tmp/stdin"
2999 case $ac_file in
3000 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3001 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3002 esac \
3003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3004 ;;
3005
3006
3007
3008 esac
3009
3010 done # for ac_tag
3011
3012
3013 as_fn_exit 0
3014 _ACEOF
3015 ac_clean_files=$ac_clean_files_save
3016
3017 test $ac_write_fail = 0 ||
3018 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3019
3020
3021 # configure is writing to config.log, and then calls config.status.
3022 # config.status does its own redirection, appending to config.log.
3023 # Unfortunately, on DOS this fails, as config.log is still kept open
3024 # by configure, so config.status won't be able to write to it; its
3025 # output is simply discarded. So we exec the FD to /dev/null,
3026 # effectively closing config.log, so it can be properly (re)opened and
3027 # appended to by config.status. When coming back to configure, we
3028 # need to make the FD available again.
3029 if test "$no_create" != yes; then
3030 ac_cs_success=:
3031 ac_config_status_args=
3032 test "$silent" = yes &&
3033 ac_config_status_args="$ac_config_status_args --quiet"
3034 exec 5>/dev/null
3035 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3036 exec 5>>config.log
3037 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3038 # would make configure fail if this is the last instruction.
3039 $ac_cs_success || as_fn_exit 1
3040 fi
3041 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3043 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3044 fi
3045