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