Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/editor-manual-ja/configure

Parent Directory Parent Directory | Revision Log Revision Log


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