(XEMACS_PACKAGES_URL): Use http://www.chise.org/dist/XEmacs/packages/
[chise/chise-base.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for chise-base 0.25.
4 #
5 # Report bugs to <chise-en@m17n.org>.
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 chise-en@m17n.org
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='chise-base'
581 PACKAGE_TARNAME='chise-base'
582 PACKAGE_VERSION='0.25'
583 PACKAGE_STRING='chise-base 0.25'
584 PACKAGE_BUGREPORT='chise-en@m17n.org'
585 PACKAGE_URL=''
586
587 ac_subst_vars='LTLIBOBJS
588 LIBOBJS
589 lemi_cvs_root
590 cvs_root
591 xemacs_opts
592 xemacs_site_libraries
593 xemacs_site_includes
594 xemacs_configure_args
595 ac_configure_args
596 OBJEXT
597 EXEEXT
598 ac_ct_CC
599 CPPFLAGS
600 LDFLAGS
601 CFLAGS
602 CC
603 target_os
604 target_vendor
605 target_cpu
606 target
607 host_os
608 host_vendor
609 host_cpu
610 host
611 build_os
612 build_vendor
613 build_cpu
614 build
615 target_alias
616 host_alias
617 build_alias
618 LIBS
619 ECHO_T
620 ECHO_N
621 ECHO_C
622 DEFS
623 mandir
624 localedir
625 libdir
626 psdir
627 pdfdir
628 dvidir
629 htmldir
630 infodir
631 docdir
632 oldincludedir
633 includedir
634 localstatedir
635 sharedstatedir
636 sysconfdir
637 datadir
638 datarootdir
639 libexecdir
640 sbindir
641 bindir
642 program_transform_name
643 prefix
644 exec_prefix
645 PACKAGE_URL
646 PACKAGE_BUGREPORT
647 PACKAGE_STRING
648 PACKAGE_VERSION
649 PACKAGE_TARNAME
650 PACKAGE_NAME
651 PATH_SEPARATOR
652 SHELL'
653 ac_subst_files=''
654 ac_user_opts='
655 enable_option_checking
656 with_site_includes
657 with_site_libraries
658 with_canna
659 '
660       ac_precious_vars='build_alias
661 host_alias
662 target_alias
663 CC
664 CFLAGS
665 LDFLAGS
666 LIBS
667 CPPFLAGS'
668
669
670 # Initialize some variables set by options.
671 ac_init_help=
672 ac_init_version=false
673 ac_unrecognized_opts=
674 ac_unrecognized_sep=
675 # The variables have the same names as the options, with
676 # dashes changed to underlines.
677 cache_file=/dev/null
678 exec_prefix=NONE
679 no_create=
680 no_recursion=
681 prefix=NONE
682 program_prefix=NONE
683 program_suffix=NONE
684 program_transform_name=s,x,x,
685 silent=
686 site=
687 srcdir=
688 verbose=
689 x_includes=NONE
690 x_libraries=NONE
691
692 # Installation directory options.
693 # These are left unexpanded so users can "make install exec_prefix=/foo"
694 # and all the variables that are supposed to be based on exec_prefix
695 # by default will actually change.
696 # Use braces instead of parens because sh, perl, etc. also accept them.
697 # (The list follows the same order as the GNU Coding Standards.)
698 bindir='${exec_prefix}/bin'
699 sbindir='${exec_prefix}/sbin'
700 libexecdir='${exec_prefix}/libexec'
701 datarootdir='${prefix}/share'
702 datadir='${datarootdir}'
703 sysconfdir='${prefix}/etc'
704 sharedstatedir='${prefix}/com'
705 localstatedir='${prefix}/var'
706 includedir='${prefix}/include'
707 oldincludedir='/usr/include'
708 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
709 infodir='${datarootdir}/info'
710 htmldir='${docdir}'
711 dvidir='${docdir}'
712 pdfdir='${docdir}'
713 psdir='${docdir}'
714 libdir='${exec_prefix}/lib'
715 localedir='${datarootdir}/locale'
716 mandir='${datarootdir}/man'
717
718 ac_prev=
719 ac_dashdash=
720 for ac_option
721 do
722   # If the previous option needs an argument, assign it.
723   if test -n "$ac_prev"; then
724     eval $ac_prev=\$ac_option
725     ac_prev=
726     continue
727   fi
728
729   case $ac_option in
730   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
731   *=)   ac_optarg= ;;
732   *)    ac_optarg=yes ;;
733   esac
734
735   # Accept the important Cygnus configure options, so we can diagnose typos.
736
737   case $ac_dashdash$ac_option in
738   --)
739     ac_dashdash=yes ;;
740
741   -bindir | --bindir | --bindi | --bind | --bin | --bi)
742     ac_prev=bindir ;;
743   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
744     bindir=$ac_optarg ;;
745
746   -build | --build | --buil | --bui | --bu)
747     ac_prev=build_alias ;;
748   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
749     build_alias=$ac_optarg ;;
750
751   -cache-file | --cache-file | --cache-fil | --cache-fi \
752   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
753     ac_prev=cache_file ;;
754   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
755   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
756     cache_file=$ac_optarg ;;
757
758   --config-cache | -C)
759     cache_file=config.cache ;;
760
761   -datadir | --datadir | --datadi | --datad)
762     ac_prev=datadir ;;
763   -datadir=* | --datadir=* | --datadi=* | --datad=*)
764     datadir=$ac_optarg ;;
765
766   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
767   | --dataroo | --dataro | --datar)
768     ac_prev=datarootdir ;;
769   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
770   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
771     datarootdir=$ac_optarg ;;
772
773   -disable-* | --disable-*)
774     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
775     # Reject names that are not valid shell variable names.
776     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
777       as_fn_error $? "invalid feature name: $ac_useropt"
778     ac_useropt_orig=$ac_useropt
779     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
780     case $ac_user_opts in
781       *"
782 "enable_$ac_useropt"
783 "*) ;;
784       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
785          ac_unrecognized_sep=', ';;
786     esac
787     eval enable_$ac_useropt=no ;;
788
789   -docdir | --docdir | --docdi | --doc | --do)
790     ac_prev=docdir ;;
791   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
792     docdir=$ac_optarg ;;
793
794   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
795     ac_prev=dvidir ;;
796   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
797     dvidir=$ac_optarg ;;
798
799   -enable-* | --enable-*)
800     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
801     # Reject names that are not valid shell variable names.
802     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803       as_fn_error $? "invalid feature name: $ac_useropt"
804     ac_useropt_orig=$ac_useropt
805     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806     case $ac_user_opts in
807       *"
808 "enable_$ac_useropt"
809 "*) ;;
810       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
811          ac_unrecognized_sep=', ';;
812     esac
813     eval enable_$ac_useropt=\$ac_optarg ;;
814
815   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
816   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
817   | --exec | --exe | --ex)
818     ac_prev=exec_prefix ;;
819   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
820   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
821   | --exec=* | --exe=* | --ex=*)
822     exec_prefix=$ac_optarg ;;
823
824   -gas | --gas | --ga | --g)
825     # Obsolete; use --with-gas.
826     with_gas=yes ;;
827
828   -help | --help | --hel | --he | -h)
829     ac_init_help=long ;;
830   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
831     ac_init_help=recursive ;;
832   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
833     ac_init_help=short ;;
834
835   -host | --host | --hos | --ho)
836     ac_prev=host_alias ;;
837   -host=* | --host=* | --hos=* | --ho=*)
838     host_alias=$ac_optarg ;;
839
840   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
841     ac_prev=htmldir ;;
842   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
843   | --ht=*)
844     htmldir=$ac_optarg ;;
845
846   -includedir | --includedir | --includedi | --included | --include \
847   | --includ | --inclu | --incl | --inc)
848     ac_prev=includedir ;;
849   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
850   | --includ=* | --inclu=* | --incl=* | --inc=*)
851     includedir=$ac_optarg ;;
852
853   -infodir | --infodir | --infodi | --infod | --info | --inf)
854     ac_prev=infodir ;;
855   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
856     infodir=$ac_optarg ;;
857
858   -libdir | --libdir | --libdi | --libd)
859     ac_prev=libdir ;;
860   -libdir=* | --libdir=* | --libdi=* | --libd=*)
861     libdir=$ac_optarg ;;
862
863   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
864   | --libexe | --libex | --libe)
865     ac_prev=libexecdir ;;
866   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
867   | --libexe=* | --libex=* | --libe=*)
868     libexecdir=$ac_optarg ;;
869
870   -localedir | --localedir | --localedi | --localed | --locale)
871     ac_prev=localedir ;;
872   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
873     localedir=$ac_optarg ;;
874
875   -localstatedir | --localstatedir | --localstatedi | --localstated \
876   | --localstate | --localstat | --localsta | --localst | --locals)
877     ac_prev=localstatedir ;;
878   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
879   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
880     localstatedir=$ac_optarg ;;
881
882   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
883     ac_prev=mandir ;;
884   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
885     mandir=$ac_optarg ;;
886
887   -nfp | --nfp | --nf)
888     # Obsolete; use --without-fp.
889     with_fp=no ;;
890
891   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
892   | --no-cr | --no-c | -n)
893     no_create=yes ;;
894
895   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
896   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
897     no_recursion=yes ;;
898
899   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
900   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
901   | --oldin | --oldi | --old | --ol | --o)
902     ac_prev=oldincludedir ;;
903   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
904   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
905   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
906     oldincludedir=$ac_optarg ;;
907
908   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
909     ac_prev=prefix ;;
910   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
911     prefix=$ac_optarg ;;
912
913   -program-prefix | --program-prefix | --program-prefi | --program-pref \
914   | --program-pre | --program-pr | --program-p)
915     ac_prev=program_prefix ;;
916   -program-prefix=* | --program-prefix=* | --program-prefi=* \
917   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
918     program_prefix=$ac_optarg ;;
919
920   -program-suffix | --program-suffix | --program-suffi | --program-suff \
921   | --program-suf | --program-su | --program-s)
922     ac_prev=program_suffix ;;
923   -program-suffix=* | --program-suffix=* | --program-suffi=* \
924   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
925     program_suffix=$ac_optarg ;;
926
927   -program-transform-name | --program-transform-name \
928   | --program-transform-nam | --program-transform-na \
929   | --program-transform-n | --program-transform- \
930   | --program-transform | --program-transfor \
931   | --program-transfo | --program-transf \
932   | --program-trans | --program-tran \
933   | --progr-tra | --program-tr | --program-t)
934     ac_prev=program_transform_name ;;
935   -program-transform-name=* | --program-transform-name=* \
936   | --program-transform-nam=* | --program-transform-na=* \
937   | --program-transform-n=* | --program-transform-=* \
938   | --program-transform=* | --program-transfor=* \
939   | --program-transfo=* | --program-transf=* \
940   | --program-trans=* | --program-tran=* \
941   | --progr-tra=* | --program-tr=* | --program-t=*)
942     program_transform_name=$ac_optarg ;;
943
944   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
945     ac_prev=pdfdir ;;
946   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
947     pdfdir=$ac_optarg ;;
948
949   -psdir | --psdir | --psdi | --psd | --ps)
950     ac_prev=psdir ;;
951   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
952     psdir=$ac_optarg ;;
953
954   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
955   | -silent | --silent | --silen | --sile | --sil)
956     silent=yes ;;
957
958   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
959     ac_prev=sbindir ;;
960   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
961   | --sbi=* | --sb=*)
962     sbindir=$ac_optarg ;;
963
964   -sharedstatedir | --sharedstatedir | --sharedstatedi \
965   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
966   | --sharedst | --shareds | --shared | --share | --shar \
967   | --sha | --sh)
968     ac_prev=sharedstatedir ;;
969   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
970   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
971   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
972   | --sha=* | --sh=*)
973     sharedstatedir=$ac_optarg ;;
974
975   -site | --site | --sit)
976     ac_prev=site ;;
977   -site=* | --site=* | --sit=*)
978     site=$ac_optarg ;;
979
980   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
981     ac_prev=srcdir ;;
982   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
983     srcdir=$ac_optarg ;;
984
985   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
986   | --syscon | --sysco | --sysc | --sys | --sy)
987     ac_prev=sysconfdir ;;
988   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
989   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
990     sysconfdir=$ac_optarg ;;
991
992   -target | --target | --targe | --targ | --tar | --ta | --t)
993     ac_prev=target_alias ;;
994   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
995     target_alias=$ac_optarg ;;
996
997   -v | -verbose | --verbose | --verbos | --verbo | --verb)
998     verbose=yes ;;
999
1000   -version | --version | --versio | --versi | --vers | -V)
1001     ac_init_version=: ;;
1002
1003   -with-* | --with-*)
1004     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1005     # Reject names that are not valid shell variable names.
1006     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007       as_fn_error $? "invalid package name: $ac_useropt"
1008     ac_useropt_orig=$ac_useropt
1009     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010     case $ac_user_opts in
1011       *"
1012 "with_$ac_useropt"
1013 "*) ;;
1014       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1015          ac_unrecognized_sep=', ';;
1016     esac
1017     eval with_$ac_useropt=\$ac_optarg ;;
1018
1019   -without-* | --without-*)
1020     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1021     # Reject names that are not valid shell variable names.
1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023       as_fn_error $? "invalid package name: $ac_useropt"
1024     ac_useropt_orig=$ac_useropt
1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026     case $ac_user_opts in
1027       *"
1028 "with_$ac_useropt"
1029 "*) ;;
1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1031          ac_unrecognized_sep=', ';;
1032     esac
1033     eval with_$ac_useropt=no ;;
1034
1035   --x)
1036     # Obsolete; use --with-x.
1037     with_x=yes ;;
1038
1039   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1040   | --x-incl | --x-inc | --x-in | --x-i)
1041     ac_prev=x_includes ;;
1042   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1043   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1044     x_includes=$ac_optarg ;;
1045
1046   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1047   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1048     ac_prev=x_libraries ;;
1049   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1050   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1051     x_libraries=$ac_optarg ;;
1052
1053   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1054 Try \`$0 --help' for more information"
1055     ;;
1056
1057   *=*)
1058     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1059     # Reject names that are not valid shell variable names.
1060     case $ac_envvar in #(
1061       '' | [0-9]* | *[!_$as_cr_alnum]* )
1062       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1063     esac
1064     eval $ac_envvar=\$ac_optarg
1065     export $ac_envvar ;;
1066
1067   *)
1068     # FIXME: should be removed in autoconf 3.0.
1069     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1070     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1071       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1072     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1073     ;;
1074
1075   esac
1076 done
1077
1078 if test -n "$ac_prev"; then
1079   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1080   as_fn_error $? "missing argument to $ac_option"
1081 fi
1082
1083 if test -n "$ac_unrecognized_opts"; then
1084   case $enable_option_checking in
1085     no) ;;
1086     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1087     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1088   esac
1089 fi
1090
1091 # Check all directory arguments for consistency.
1092 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1093                 datadir sysconfdir sharedstatedir localstatedir includedir \
1094                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1095                 libdir localedir mandir
1096 do
1097   eval ac_val=\$$ac_var
1098   # Remove trailing slashes.
1099   case $ac_val in
1100     */ )
1101       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1102       eval $ac_var=\$ac_val;;
1103   esac
1104   # Be sure to have absolute directory names.
1105   case $ac_val in
1106     [\\/$]* | ?:[\\/]* )  continue;;
1107     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1108   esac
1109   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1110 done
1111
1112 # There might be people who depend on the old broken behavior: `$host'
1113 # used to hold the argument of --host etc.
1114 # FIXME: To remove some day.
1115 build=$build_alias
1116 host=$host_alias
1117 target=$target_alias
1118
1119 # FIXME: To remove some day.
1120 if test "x$host_alias" != x; then
1121   if test "x$build_alias" = x; then
1122     cross_compiling=maybe
1123   elif test "x$build_alias" != "x$host_alias"; then
1124     cross_compiling=yes
1125   fi
1126 fi
1127
1128 ac_tool_prefix=
1129 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1130
1131 test "$silent" = yes && exec 6>/dev/null
1132
1133
1134 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135 ac_ls_di=`ls -di .` &&
1136 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137   as_fn_error $? "working directory cannot be determined"
1138 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139   as_fn_error $? "pwd does not report name of working directory"
1140
1141
1142 # Find the source files, if location was not specified.
1143 if test -z "$srcdir"; then
1144   ac_srcdir_defaulted=yes
1145   # Try the directory containing this script, then the parent directory.
1146   ac_confdir=`$as_dirname -- "$as_myself" ||
1147 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148          X"$as_myself" : 'X\(//\)[^/]' \| \
1149          X"$as_myself" : 'X\(//\)$' \| \
1150          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1151 $as_echo X"$as_myself" |
1152     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1153             s//\1/
1154             q
1155           }
1156           /^X\(\/\/\)[^/].*/{
1157             s//\1/
1158             q
1159           }
1160           /^X\(\/\/\)$/{
1161             s//\1/
1162             q
1163           }
1164           /^X\(\/\).*/{
1165             s//\1/
1166             q
1167           }
1168           s/.*/./; q'`
1169   srcdir=$ac_confdir
1170   if test ! -r "$srcdir/$ac_unique_file"; then
1171     srcdir=..
1172   fi
1173 else
1174   ac_srcdir_defaulted=no
1175 fi
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1177   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1178   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1179 fi
1180 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1181 ac_abs_confdir=`(
1182         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1183         pwd)`
1184 # When building in place, set srcdir=.
1185 if test "$ac_abs_confdir" = "$ac_pwd"; then
1186   srcdir=.
1187 fi
1188 # Remove unnecessary trailing slashes from srcdir.
1189 # Double slashes in file names in object file debugging info
1190 # mess up M-x gdb in Emacs.
1191 case $srcdir in
1192 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1193 esac
1194 for ac_var in $ac_precious_vars; do
1195   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196   eval ac_env_${ac_var}_value=\$${ac_var}
1197   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1199 done
1200
1201 #
1202 # Report the --help message.
1203 #
1204 if test "$ac_init_help" = "long"; then
1205   # Omit some internal or obsolete options to make the list less imposing.
1206   # This message is too long to be a string in the A/UX 3.1 sh.
1207   cat <<_ACEOF
1208 \`configure' configures chise-base 0.25 to adapt to many kinds of systems.
1209
1210 Usage: $0 [OPTION]... [VAR=VALUE]...
1211
1212 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1213 VAR=VALUE.  See below for descriptions of some of the useful variables.
1214
1215 Defaults for the options are specified in brackets.
1216
1217 Configuration:
1218   -h, --help              display this help and exit
1219       --help=short        display options specific to this package
1220       --help=recursive    display the short help of all the included packages
1221   -V, --version           display version information and exit
1222   -q, --quiet, --silent   do not print \`checking ...' messages
1223       --cache-file=FILE   cache test results in FILE [disabled]
1224   -C, --config-cache      alias for \`--cache-file=config.cache'
1225   -n, --no-create         do not create output files
1226       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1227
1228 Installation directories:
1229   --prefix=PREFIX         install architecture-independent files in PREFIX
1230                           [$ac_default_prefix]
1231   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1232                           [PREFIX]
1233
1234 By default, \`make install' will install all the files in
1235 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1236 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1237 for instance \`--prefix=\$HOME'.
1238
1239 For better control, use the options below.
1240
1241 Fine tuning of the installation directories:
1242   --bindir=DIR            user executables [EPREFIX/bin]
1243   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1244   --libexecdir=DIR        program executables [EPREFIX/libexec]
1245   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1246   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1247   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1248   --libdir=DIR            object code libraries [EPREFIX/lib]
1249   --includedir=DIR        C header files [PREFIX/include]
1250   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1251   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1252   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1253   --infodir=DIR           info documentation [DATAROOTDIR/info]
1254   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1255   --mandir=DIR            man documentation [DATAROOTDIR/man]
1256   --docdir=DIR            documentation root [DATAROOTDIR/doc/chise-base]
1257   --htmldir=DIR           html documentation [DOCDIR]
1258   --dvidir=DIR            dvi documentation [DOCDIR]
1259   --pdfdir=DIR            pdf documentation [DOCDIR]
1260   --psdir=DIR             ps documentation [DOCDIR]
1261 _ACEOF
1262
1263   cat <<\_ACEOF
1264
1265 System types:
1266   --build=BUILD     configure for building on BUILD [guessed]
1267   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1268   --target=TARGET   configure for building compilers for TARGET [HOST]
1269 _ACEOF
1270 fi
1271
1272 if test -n "$ac_init_help"; then
1273   case $ac_init_help in
1274      short | recursive ) echo "Configuration of chise-base 0.25:";;
1275    esac
1276   cat <<\_ACEOF
1277
1278 Optional Packages:
1279   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1280   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1281 --with-site-includes=PATH List of directories to search first for header files
1282
1283 --with-site-libraries=PATH List of directories to search first for libraries
1284
1285 --with-canna          Support the Canna input method
1286
1287
1288 Some influential environment variables:
1289   CC          C compiler command
1290   CFLAGS      C compiler flags
1291   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1292               nonstandard directory <lib dir>
1293   LIBS        libraries to pass to the linker, e.g. -l<library>
1294   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1295               you have headers in a nonstandard directory <include dir>
1296
1297 Use these variables to override the choices made by `configure' or to help
1298 it to find libraries and programs with nonstandard names/locations.
1299
1300 Report bugs to <chise-en@m17n.org>.
1301 _ACEOF
1302 ac_status=$?
1303 fi
1304
1305 if test "$ac_init_help" = "recursive"; then
1306   # If there are subdirs, report their specific --help.
1307   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1308     test -d "$ac_dir" ||
1309       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1310       continue
1311     ac_builddir=.
1312
1313 case "$ac_dir" in
1314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *)
1316   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1317   # A ".." for each directory in $ac_dir_suffix.
1318   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1319   case $ac_top_builddir_sub in
1320   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1322   esac ;;
1323 esac
1324 ac_abs_top_builddir=$ac_pwd
1325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1326 # for backward compatibility:
1327 ac_top_builddir=$ac_top_build_prefix
1328
1329 case $srcdir in
1330   .)  # We are building in place.
1331     ac_srcdir=.
1332     ac_top_srcdir=$ac_top_builddir_sub
1333     ac_abs_top_srcdir=$ac_pwd ;;
1334   [\\/]* | ?:[\\/]* )  # Absolute name.
1335     ac_srcdir=$srcdir$ac_dir_suffix;
1336     ac_top_srcdir=$srcdir
1337     ac_abs_top_srcdir=$srcdir ;;
1338   *) # Relative name.
1339     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1340     ac_top_srcdir=$ac_top_build_prefix$srcdir
1341     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1342 esac
1343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1344
1345     cd "$ac_dir" || { ac_status=$?; continue; }
1346     # Check for guested configure.
1347     if test -f "$ac_srcdir/configure.gnu"; then
1348       echo &&
1349       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1350     elif test -f "$ac_srcdir/configure"; then
1351       echo &&
1352       $SHELL "$ac_srcdir/configure" --help=recursive
1353     else
1354       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1355     fi || ac_status=$?
1356     cd "$ac_pwd" || { ac_status=$?; break; }
1357   done
1358 fi
1359
1360 test -n "$ac_init_help" && exit $ac_status
1361 if $ac_init_version; then
1362   cat <<\_ACEOF
1363 chise-base configure 0.25
1364 generated by GNU Autoconf 2.69
1365
1366 Copyright (C) 2012 Free Software Foundation, Inc.
1367 This configure script is free software; the Free Software Foundation
1368 gives unlimited permission to copy, distribute and modify it.
1369 _ACEOF
1370   exit
1371 fi
1372
1373 ## ------------------------ ##
1374 ## Autoconf initialization. ##
1375 ## ------------------------ ##
1376
1377 # ac_fn_c_try_compile LINENO
1378 # --------------------------
1379 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1380 ac_fn_c_try_compile ()
1381 {
1382   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1383   rm -f conftest.$ac_objext
1384   if { { ac_try="$ac_compile"
1385 case "(($ac_try" in
1386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1387   *) ac_try_echo=$ac_try;;
1388 esac
1389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1390 $as_echo "$ac_try_echo"; } >&5
1391   (eval "$ac_compile") 2>conftest.err
1392   ac_status=$?
1393   if test -s conftest.err; then
1394     grep -v '^ *+' conftest.err >conftest.er1
1395     cat conftest.er1 >&5
1396     mv -f conftest.er1 conftest.err
1397   fi
1398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1399   test $ac_status = 0; } && {
1400          test -z "$ac_c_werror_flag" ||
1401          test ! -s conftest.err
1402        } && test -s conftest.$ac_objext; then :
1403   ac_retval=0
1404 else
1405   $as_echo "$as_me: failed program was:" >&5
1406 sed 's/^/| /' conftest.$ac_ext >&5
1407
1408         ac_retval=1
1409 fi
1410   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1411   as_fn_set_status $ac_retval
1412
1413 } # ac_fn_c_try_compile
1414
1415 # ac_fn_c_try_link LINENO
1416 # -----------------------
1417 # Try to link conftest.$ac_ext, and return whether this succeeded.
1418 ac_fn_c_try_link ()
1419 {
1420   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1421   rm -f conftest.$ac_objext conftest$ac_exeext
1422   if { { ac_try="$ac_link"
1423 case "(($ac_try" in
1424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1425   *) ac_try_echo=$ac_try;;
1426 esac
1427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1428 $as_echo "$ac_try_echo"; } >&5
1429   (eval "$ac_link") 2>conftest.err
1430   ac_status=$?
1431   if test -s conftest.err; then
1432     grep -v '^ *+' conftest.err >conftest.er1
1433     cat conftest.er1 >&5
1434     mv -f conftest.er1 conftest.err
1435   fi
1436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1437   test $ac_status = 0; } && {
1438          test -z "$ac_c_werror_flag" ||
1439          test ! -s conftest.err
1440        } && test -s conftest$ac_exeext && {
1441          test "$cross_compiling" = yes ||
1442          test -x conftest$ac_exeext
1443        }; then :
1444   ac_retval=0
1445 else
1446   $as_echo "$as_me: failed program was:" >&5
1447 sed 's/^/| /' conftest.$ac_ext >&5
1448
1449         ac_retval=1
1450 fi
1451   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1452   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1453   # interfere with the next link command; also delete a directory that is
1454   # left behind by Apple's compiler.  We do this before executing the actions.
1455   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1456   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1457   as_fn_set_status $ac_retval
1458
1459 } # ac_fn_c_try_link
1460 cat >config.log <<_ACEOF
1461 This file contains any messages produced by compilers while
1462 running configure, to aid debugging if configure makes a mistake.
1463
1464 It was created by chise-base $as_me 0.25, which was
1465 generated by GNU Autoconf 2.69.  Invocation command line was
1466
1467   $ $0 $@
1468
1469 _ACEOF
1470 exec 5>>config.log
1471 {
1472 cat <<_ASUNAME
1473 ## --------- ##
1474 ## Platform. ##
1475 ## --------- ##
1476
1477 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1478 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1479 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1480 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1481 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1482
1483 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1484 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1485
1486 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1487 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1488 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1489 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1490 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1491 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1492 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1493
1494 _ASUNAME
1495
1496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 for as_dir in $PATH
1498 do
1499   IFS=$as_save_IFS
1500   test -z "$as_dir" && as_dir=.
1501     $as_echo "PATH: $as_dir"
1502   done
1503 IFS=$as_save_IFS
1504
1505 } >&5
1506
1507 cat >&5 <<_ACEOF
1508
1509
1510 ## ----------- ##
1511 ## Core tests. ##
1512 ## ----------- ##
1513
1514 _ACEOF
1515
1516
1517 # Keep a trace of the command line.
1518 # Strip out --no-create and --no-recursion so they do not pile up.
1519 # Strip out --silent because we don't want to record it for future runs.
1520 # Also quote any args containing shell meta-characters.
1521 # Make two passes to allow for proper duplicate-argument suppression.
1522 ac_configure_args=
1523 ac_configure_args0=
1524 ac_configure_args1=
1525 ac_must_keep_next=false
1526 for ac_pass in 1 2
1527 do
1528   for ac_arg
1529   do
1530     case $ac_arg in
1531     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1532     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1533     | -silent | --silent | --silen | --sile | --sil)
1534       continue ;;
1535     *\'*)
1536       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1537     esac
1538     case $ac_pass in
1539     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1540     2)
1541       as_fn_append ac_configure_args1 " '$ac_arg'"
1542       if test $ac_must_keep_next = true; then
1543         ac_must_keep_next=false # Got value, back to normal.
1544       else
1545         case $ac_arg in
1546           *=* | --config-cache | -C | -disable-* | --disable-* \
1547           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1548           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1549           | -with-* | --with-* | -without-* | --without-* | --x)
1550             case "$ac_configure_args0 " in
1551               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1552             esac
1553             ;;
1554           -* ) ac_must_keep_next=true ;;
1555         esac
1556       fi
1557       as_fn_append ac_configure_args " '$ac_arg'"
1558       ;;
1559     esac
1560   done
1561 done
1562 { ac_configure_args0=; unset ac_configure_args0;}
1563 { ac_configure_args1=; unset ac_configure_args1;}
1564
1565 # When interrupted or exit'd, cleanup temporary files, and complete
1566 # config.log.  We remove comments because anyway the quotes in there
1567 # would cause problems or look ugly.
1568 # WARNING: Use '\'' to represent an apostrophe within the trap.
1569 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1570 trap 'exit_status=$?
1571   # Save into config.log some information that might help in debugging.
1572   {
1573     echo
1574
1575     $as_echo "## ---------------- ##
1576 ## Cache variables. ##
1577 ## ---------------- ##"
1578     echo
1579     # The following way of writing the cache mishandles newlines in values,
1580 (
1581   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1582     eval ac_val=\$$ac_var
1583     case $ac_val in #(
1584     *${as_nl}*)
1585       case $ac_var in #(
1586       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1587 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1588       esac
1589       case $ac_var in #(
1590       _ | IFS | as_nl) ;; #(
1591       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1592       *) { eval $ac_var=; unset $ac_var;} ;;
1593       esac ;;
1594     esac
1595   done
1596   (set) 2>&1 |
1597     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1598     *${as_nl}ac_space=\ *)
1599       sed -n \
1600         "s/'\''/'\''\\\\'\'''\''/g;
1601           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1602       ;; #(
1603     *)
1604       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1605       ;;
1606     esac |
1607     sort
1608 )
1609     echo
1610
1611     $as_echo "## ----------------- ##
1612 ## Output variables. ##
1613 ## ----------------- ##"
1614     echo
1615     for ac_var in $ac_subst_vars
1616     do
1617       eval ac_val=\$$ac_var
1618       case $ac_val in
1619       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620       esac
1621       $as_echo "$ac_var='\''$ac_val'\''"
1622     done | sort
1623     echo
1624
1625     if test -n "$ac_subst_files"; then
1626       $as_echo "## ------------------- ##
1627 ## File substitutions. ##
1628 ## ------------------- ##"
1629       echo
1630       for ac_var in $ac_subst_files
1631       do
1632         eval ac_val=\$$ac_var
1633         case $ac_val in
1634         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635         esac
1636         $as_echo "$ac_var='\''$ac_val'\''"
1637       done | sort
1638       echo
1639     fi
1640
1641     if test -s confdefs.h; then
1642       $as_echo "## ----------- ##
1643 ## confdefs.h. ##
1644 ## ----------- ##"
1645       echo
1646       cat confdefs.h
1647       echo
1648     fi
1649     test "$ac_signal" != 0 &&
1650       $as_echo "$as_me: caught signal $ac_signal"
1651     $as_echo "$as_me: exit $exit_status"
1652   } >&5
1653   rm -f core *.core core.conftest.* &&
1654     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1655     exit $exit_status
1656 ' 0
1657 for ac_signal in 1 2 13 15; do
1658   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1659 done
1660 ac_signal=0
1661
1662 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1663 rm -f -r conftest* confdefs.h
1664
1665 $as_echo "/* confdefs.h */" > confdefs.h
1666
1667 # Predefined preprocessor variables.
1668
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1671 _ACEOF
1672
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 _ACEOF
1676
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1679 _ACEOF
1680
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_STRING "$PACKAGE_STRING"
1683 _ACEOF
1684
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1687 _ACEOF
1688
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_URL "$PACKAGE_URL"
1691 _ACEOF
1692
1693
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer an explicitly selected file to automatically selected ones.
1696 ac_site_file1=NONE
1697 ac_site_file2=NONE
1698 if test -n "$CONFIG_SITE"; then
1699   # We do not want a PATH search for config.site.
1700   case $CONFIG_SITE in #((
1701     -*)  ac_site_file1=./$CONFIG_SITE;;
1702     */*) ac_site_file1=$CONFIG_SITE;;
1703     *)   ac_site_file1=./$CONFIG_SITE;;
1704   esac
1705 elif test "x$prefix" != xNONE; then
1706   ac_site_file1=$prefix/share/config.site
1707   ac_site_file2=$prefix/etc/config.site
1708 else
1709   ac_site_file1=$ac_default_prefix/share/config.site
1710   ac_site_file2=$ac_default_prefix/etc/config.site
1711 fi
1712 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1713 do
1714   test "x$ac_site_file" = xNONE && continue
1715   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1716     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1717 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1718     sed 's/^/| /' "$ac_site_file" >&5
1719     . "$ac_site_file" \
1720       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1722 as_fn_error $? "failed to load site script $ac_site_file
1723 See \`config.log' for more details" "$LINENO" 5; }
1724   fi
1725 done
1726
1727 if test -r "$cache_file"; then
1728   # Some versions of bash will fail to source /dev/null (special files
1729   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1730   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1731     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1732 $as_echo "$as_me: loading cache $cache_file" >&6;}
1733     case $cache_file in
1734       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1735       *)                      . "./$cache_file";;
1736     esac
1737   fi
1738 else
1739   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1740 $as_echo "$as_me: creating cache $cache_file" >&6;}
1741   >$cache_file
1742 fi
1743
1744 # Check that the precious variables saved in the cache have kept the same
1745 # value.
1746 ac_cache_corrupted=false
1747 for ac_var in $ac_precious_vars; do
1748   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1749   eval ac_new_set=\$ac_env_${ac_var}_set
1750   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1751   eval ac_new_val=\$ac_env_${ac_var}_value
1752   case $ac_old_set,$ac_new_set in
1753     set,)
1754       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1755 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1756       ac_cache_corrupted=: ;;
1757     ,set)
1758       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1759 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1760       ac_cache_corrupted=: ;;
1761     ,);;
1762     *)
1763       if test "x$ac_old_val" != "x$ac_new_val"; then
1764         # differences in whitespace do not lead to failure.
1765         ac_old_val_w=`echo x $ac_old_val`
1766         ac_new_val_w=`echo x $ac_new_val`
1767         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1768           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1769 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1770           ac_cache_corrupted=:
1771         else
1772           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1773 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1774           eval $ac_var=\$ac_old_val
1775         fi
1776         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1777 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1778         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1779 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1780       fi;;
1781   esac
1782   # Pass precious variables to config.status.
1783   if test "$ac_new_set" = set; then
1784     case $ac_new_val in
1785     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1786     *) ac_arg=$ac_var=$ac_new_val ;;
1787     esac
1788     case " $ac_configure_args " in
1789       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1790       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1791     esac
1792   fi
1793 done
1794 if $ac_cache_corrupted; then
1795   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1797   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1798 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1799   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1800 fi
1801 ## -------------------- ##
1802 ## Main body of script. ##
1803 ## -------------------- ##
1804
1805 ac_ext=c
1806 ac_cpp='$CPP $CPPFLAGS'
1807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1810
1811
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 # Make sure we can run config.sub.
1843 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1844   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1845
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1847 $as_echo_n "checking build system type... " >&6; }
1848 if ${ac_cv_build+:} false; then :
1849   $as_echo_n "(cached) " >&6
1850 else
1851   ac_build_alias=$build_alias
1852 test "x$ac_build_alias" = x &&
1853   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1854 test "x$ac_build_alias" = x &&
1855   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1856 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1857   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1858
1859 fi
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1861 $as_echo "$ac_cv_build" >&6; }
1862 case $ac_cv_build in
1863 *-*-*) ;;
1864 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1865 esac
1866 build=$ac_cv_build
1867 ac_save_IFS=$IFS; IFS='-'
1868 set x $ac_cv_build
1869 shift
1870 build_cpu=$1
1871 build_vendor=$2
1872 shift; shift
1873 # Remember, the first character of IFS is used to create $*,
1874 # except with old shells:
1875 build_os=$*
1876 IFS=$ac_save_IFS
1877 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1878
1879
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1881 $as_echo_n "checking host system type... " >&6; }
1882 if ${ac_cv_host+:} false; then :
1883   $as_echo_n "(cached) " >&6
1884 else
1885   if test "x$host_alias" = x; then
1886   ac_cv_host=$ac_cv_build
1887 else
1888   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1889     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1890 fi
1891
1892 fi
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1894 $as_echo "$ac_cv_host" >&6; }
1895 case $ac_cv_host in
1896 *-*-*) ;;
1897 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1898 esac
1899 host=$ac_cv_host
1900 ac_save_IFS=$IFS; IFS='-'
1901 set x $ac_cv_host
1902 shift
1903 host_cpu=$1
1904 host_vendor=$2
1905 shift; shift
1906 # Remember, the first character of IFS is used to create $*,
1907 # except with old shells:
1908 host_os=$*
1909 IFS=$ac_save_IFS
1910 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1911
1912
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1914 $as_echo_n "checking target system type... " >&6; }
1915 if ${ac_cv_target+:} false; then :
1916   $as_echo_n "(cached) " >&6
1917 else
1918   if test "x$target_alias" = x; then
1919   ac_cv_target=$ac_cv_host
1920 else
1921   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1922     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1923 fi
1924
1925 fi
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1927 $as_echo "$ac_cv_target" >&6; }
1928 case $ac_cv_target in
1929 *-*-*) ;;
1930 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1931 esac
1932 target=$ac_cv_target
1933 ac_save_IFS=$IFS; IFS='-'
1934 set x $ac_cv_target
1935 shift
1936 target_cpu=$1
1937 target_vendor=$2
1938 shift; shift
1939 # Remember, the first character of IFS is used to create $*,
1940 # except with old shells:
1941 target_os=$*
1942 IFS=$ac_save_IFS
1943 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1944
1945
1946 # The aliases save the names the user supplied, while $host etc.
1947 # will get canonicalized.
1948 test -n "$target_alias" &&
1949   test "$program_prefix$program_suffix$program_transform_name" = \
1950     NONENONEs,x,x, &&
1951   program_prefix=${target_alias}-
1952
1953 # Checks for programs.
1954 ac_ext=c
1955 ac_cpp='$CPP $CPPFLAGS'
1956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1959 if test -n "$ac_tool_prefix"; then
1960   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1963 $as_echo_n "checking for $ac_word... " >&6; }
1964 if ${ac_cv_prog_CC+:} false; then :
1965   $as_echo_n "(cached) " >&6
1966 else
1967   if test -n "$CC"; then
1968   ac_cv_prog_CC="$CC" # Let the user override the test.
1969 else
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 for as_dir in $PATH
1972 do
1973   IFS=$as_save_IFS
1974   test -z "$as_dir" && as_dir=.
1975     for ac_exec_ext in '' $ac_executable_extensions; do
1976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1979     break 2
1980   fi
1981 done
1982   done
1983 IFS=$as_save_IFS
1984
1985 fi
1986 fi
1987 CC=$ac_cv_prog_CC
1988 if test -n "$CC"; then
1989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1990 $as_echo "$CC" >&6; }
1991 else
1992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1993 $as_echo "no" >&6; }
1994 fi
1995
1996
1997 fi
1998 if test -z "$ac_cv_prog_CC"; then
1999   ac_ct_CC=$CC
2000   # Extract the first word of "gcc", so it can be a program name with args.
2001 set dummy gcc; ac_word=$2
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2003 $as_echo_n "checking for $ac_word... " >&6; }
2004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2005   $as_echo_n "(cached) " >&6
2006 else
2007   if test -n "$ac_ct_CC"; then
2008   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2009 else
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011 for as_dir in $PATH
2012 do
2013   IFS=$as_save_IFS
2014   test -z "$as_dir" && as_dir=.
2015     for ac_exec_ext in '' $ac_executable_extensions; do
2016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2017     ac_cv_prog_ac_ct_CC="gcc"
2018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2019     break 2
2020   fi
2021 done
2022   done
2023 IFS=$as_save_IFS
2024
2025 fi
2026 fi
2027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2028 if test -n "$ac_ct_CC"; then
2029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2030 $as_echo "$ac_ct_CC" >&6; }
2031 else
2032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2033 $as_echo "no" >&6; }
2034 fi
2035
2036   if test "x$ac_ct_CC" = x; then
2037     CC=""
2038   else
2039     case $cross_compiling:$ac_tool_warned in
2040 yes:)
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2043 ac_tool_warned=yes ;;
2044 esac
2045     CC=$ac_ct_CC
2046   fi
2047 else
2048   CC="$ac_cv_prog_CC"
2049 fi
2050
2051 if test -z "$CC"; then
2052           if test -n "$ac_tool_prefix"; then
2053     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}cc; ac_word=$2
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2056 $as_echo_n "checking for $ac_word... " >&6; }
2057 if ${ac_cv_prog_CC+:} false; then :
2058   $as_echo_n "(cached) " >&6
2059 else
2060   if test -n "$CC"; then
2061   ac_cv_prog_CC="$CC" # Let the user override the test.
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066   IFS=$as_save_IFS
2067   test -z "$as_dir" && as_dir=.
2068     for ac_exec_ext in '' $ac_executable_extensions; do
2069   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070     ac_cv_prog_CC="${ac_tool_prefix}cc"
2071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2072     break 2
2073   fi
2074 done
2075   done
2076 IFS=$as_save_IFS
2077
2078 fi
2079 fi
2080 CC=$ac_cv_prog_CC
2081 if test -n "$CC"; then
2082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2083 $as_echo "$CC" >&6; }
2084 else
2085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2086 $as_echo "no" >&6; }
2087 fi
2088
2089
2090   fi
2091 fi
2092 if test -z "$CC"; then
2093   # Extract the first word of "cc", so it can be a program name with args.
2094 set dummy cc; ac_word=$2
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2096 $as_echo_n "checking for $ac_word... " >&6; }
2097 if ${ac_cv_prog_CC+:} false; then :
2098   $as_echo_n "(cached) " >&6
2099 else
2100   if test -n "$CC"; then
2101   ac_cv_prog_CC="$CC" # Let the user override the test.
2102 else
2103   ac_prog_rejected=no
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2106 do
2107   IFS=$as_save_IFS
2108   test -z "$as_dir" && as_dir=.
2109     for ac_exec_ext in '' $ac_executable_extensions; do
2110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2112        ac_prog_rejected=yes
2113        continue
2114      fi
2115     ac_cv_prog_CC="cc"
2116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2117     break 2
2118   fi
2119 done
2120   done
2121 IFS=$as_save_IFS
2122
2123 if test $ac_prog_rejected = yes; then
2124   # We found a bogon in the path, so make sure we never use it.
2125   set dummy $ac_cv_prog_CC
2126   shift
2127   if test $# != 0; then
2128     # We chose a different compiler from the bogus one.
2129     # However, it has the same basename, so the bogon will be chosen
2130     # first if we set CC to just the basename; use the full file name.
2131     shift
2132     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2133   fi
2134 fi
2135 fi
2136 fi
2137 CC=$ac_cv_prog_CC
2138 if test -n "$CC"; then
2139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2140 $as_echo "$CC" >&6; }
2141 else
2142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2143 $as_echo "no" >&6; }
2144 fi
2145
2146
2147 fi
2148 if test -z "$CC"; then
2149   if test -n "$ac_tool_prefix"; then
2150   for ac_prog in cl.exe
2151   do
2152     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if ${ac_cv_prog_CC+:} false; then :
2157   $as_echo_n "(cached) " >&6
2158 else
2159   if test -n "$CC"; then
2160   ac_cv_prog_CC="$CC" # Let the user override the test.
2161 else
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 for as_dir in $PATH
2164 do
2165   IFS=$as_save_IFS
2166   test -z "$as_dir" && as_dir=.
2167     for ac_exec_ext in '' $ac_executable_extensions; do
2168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2171     break 2
2172   fi
2173 done
2174   done
2175 IFS=$as_save_IFS
2176
2177 fi
2178 fi
2179 CC=$ac_cv_prog_CC
2180 if test -n "$CC"; then
2181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2182 $as_echo "$CC" >&6; }
2183 else
2184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2185 $as_echo "no" >&6; }
2186 fi
2187
2188
2189     test -n "$CC" && break
2190   done
2191 fi
2192 if test -z "$CC"; then
2193   ac_ct_CC=$CC
2194   for ac_prog in cl.exe
2195 do
2196   # Extract the first word of "$ac_prog", so it can be a program name with args.
2197 set dummy $ac_prog; ac_word=$2
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2199 $as_echo_n "checking for $ac_word... " >&6; }
2200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2201   $as_echo_n "(cached) " >&6
2202 else
2203   if test -n "$ac_ct_CC"; then
2204   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2205 else
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2208 do
2209   IFS=$as_save_IFS
2210   test -z "$as_dir" && as_dir=.
2211     for ac_exec_ext in '' $ac_executable_extensions; do
2212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213     ac_cv_prog_ac_ct_CC="$ac_prog"
2214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2215     break 2
2216   fi
2217 done
2218   done
2219 IFS=$as_save_IFS
2220
2221 fi
2222 fi
2223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2224 if test -n "$ac_ct_CC"; then
2225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2226 $as_echo "$ac_ct_CC" >&6; }
2227 else
2228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2229 $as_echo "no" >&6; }
2230 fi
2231
2232
2233   test -n "$ac_ct_CC" && break
2234 done
2235
2236   if test "x$ac_ct_CC" = x; then
2237     CC=""
2238   else
2239     case $cross_compiling:$ac_tool_warned in
2240 yes:)
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2243 ac_tool_warned=yes ;;
2244 esac
2245     CC=$ac_ct_CC
2246   fi
2247 fi
2248
2249 fi
2250
2251
2252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2254 as_fn_error $? "no acceptable C compiler found in \$PATH
2255 See \`config.log' for more details" "$LINENO" 5; }
2256
2257 # Provide some information about the compiler.
2258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2259 set X $ac_compile
2260 ac_compiler=$2
2261 for ac_option in --version -v -V -qversion; do
2262   { { ac_try="$ac_compiler $ac_option >&5"
2263 case "(($ac_try" in
2264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265   *) ac_try_echo=$ac_try;;
2266 esac
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2270   ac_status=$?
2271   if test -s conftest.err; then
2272     sed '10a\
2273 ... rest of stderr output deleted ...
2274          10q' conftest.err >conftest.er1
2275     cat conftest.er1 >&5
2276   fi
2277   rm -f conftest.er1 conftest.err
2278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279   test $ac_status = 0; }
2280 done
2281
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h.  */
2284
2285 int
2286 main ()
2287 {
2288
2289   ;
2290   return 0;
2291 }
2292 _ACEOF
2293 ac_clean_files_save=$ac_clean_files
2294 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2295 # Try to create an executable without -o first, disregard a.out.
2296 # It will help us diagnose broken compilers, and finding out an intuition
2297 # of exeext.
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2299 $as_echo_n "checking whether the C compiler works... " >&6; }
2300 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2301
2302 # The possible output files:
2303 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2304
2305 ac_rmfiles=
2306 for ac_file in $ac_files
2307 do
2308   case $ac_file in
2309     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2310     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2311   esac
2312 done
2313 rm -f $ac_rmfiles
2314
2315 if { { ac_try="$ac_link_default"
2316 case "(($ac_try" in
2317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2318   *) ac_try_echo=$ac_try;;
2319 esac
2320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2321 $as_echo "$ac_try_echo"; } >&5
2322   (eval "$ac_link_default") 2>&5
2323   ac_status=$?
2324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325   test $ac_status = 0; }; then :
2326   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2327 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2328 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2329 # so that the user can short-circuit this test for compilers unknown to
2330 # Autoconf.
2331 for ac_file in $ac_files ''
2332 do
2333   test -f "$ac_file" || continue
2334   case $ac_file in
2335     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2336         ;;
2337     [ab].out )
2338         # We found the default executable, but exeext='' is most
2339         # certainly right.
2340         break;;
2341     *.* )
2342         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2343         then :; else
2344            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2345         fi
2346         # We set ac_cv_exeext here because the later test for it is not
2347         # safe: cross compilers may not add the suffix if given an `-o'
2348         # argument, so we may need to know it at that point already.
2349         # Even if this section looks crufty: it has the advantage of
2350         # actually working.
2351         break;;
2352     * )
2353         break;;
2354   esac
2355 done
2356 test "$ac_cv_exeext" = no && ac_cv_exeext=
2357
2358 else
2359   ac_file=''
2360 fi
2361 if test -z "$ac_file"; then :
2362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2364 $as_echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.$ac_ext >&5
2366
2367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369 as_fn_error 77 "C compiler cannot create executables
2370 See \`config.log' for more details" "$LINENO" 5; }
2371 else
2372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2373 $as_echo "yes" >&6; }
2374 fi
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2376 $as_echo_n "checking for C compiler default output file name... " >&6; }
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2378 $as_echo "$ac_file" >&6; }
2379 ac_exeext=$ac_cv_exeext
2380
2381 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2382 ac_clean_files=$ac_clean_files_save
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2384 $as_echo_n "checking for suffix of executables... " >&6; }
2385 if { { ac_try="$ac_link"
2386 case "(($ac_try" in
2387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388   *) ac_try_echo=$ac_try;;
2389 esac
2390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 $as_echo "$ac_try_echo"; } >&5
2392   (eval "$ac_link") 2>&5
2393   ac_status=$?
2394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395   test $ac_status = 0; }; then :
2396   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2397 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2398 # work properly (i.e., refer to `conftest.exe'), while it won't with
2399 # `rm'.
2400 for ac_file in conftest.exe conftest conftest.*; do
2401   test -f "$ac_file" || continue
2402   case $ac_file in
2403     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2404     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2405           break;;
2406     * ) break;;
2407   esac
2408 done
2409 else
2410   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2413 See \`config.log' for more details" "$LINENO" 5; }
2414 fi
2415 rm -f conftest conftest$ac_cv_exeext
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2417 $as_echo "$ac_cv_exeext" >&6; }
2418
2419 rm -f conftest.$ac_ext
2420 EXEEXT=$ac_cv_exeext
2421 ac_exeext=$EXEEXT
2422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 /* end confdefs.h.  */
2424 #include <stdio.h>
2425 int
2426 main ()
2427 {
2428 FILE *f = fopen ("conftest.out", "w");
2429  return ferror (f) || fclose (f) != 0;
2430
2431   ;
2432   return 0;
2433 }
2434 _ACEOF
2435 ac_clean_files="$ac_clean_files conftest.out"
2436 # Check that the compiler produces executables we can run.  If not, either
2437 # the compiler is broken, or we cross compile.
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2439 $as_echo_n "checking whether we are cross compiling... " >&6; }
2440 if test "$cross_compiling" != yes; then
2441   { { ac_try="$ac_link"
2442 case "(($ac_try" in
2443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2444   *) ac_try_echo=$ac_try;;
2445 esac
2446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2447 $as_echo "$ac_try_echo"; } >&5
2448   (eval "$ac_link") 2>&5
2449   ac_status=$?
2450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2451   test $ac_status = 0; }
2452   if { ac_try='./conftest$ac_cv_exeext'
2453   { { case "(($ac_try" in
2454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455   *) ac_try_echo=$ac_try;;
2456 esac
2457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2458 $as_echo "$ac_try_echo"; } >&5
2459   (eval "$ac_try") 2>&5
2460   ac_status=$?
2461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2462   test $ac_status = 0; }; }; then
2463     cross_compiling=no
2464   else
2465     if test "$cross_compiling" = maybe; then
2466         cross_compiling=yes
2467     else
2468         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 as_fn_error $? "cannot run C compiled programs.
2471 If you meant to cross compile, use \`--host'.
2472 See \`config.log' for more details" "$LINENO" 5; }
2473     fi
2474   fi
2475 fi
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2477 $as_echo "$cross_compiling" >&6; }
2478
2479 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2480 ac_clean_files=$ac_clean_files_save
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2482 $as_echo_n "checking for suffix of object files... " >&6; }
2483 if ${ac_cv_objext+:} false; then :
2484   $as_echo_n "(cached) " >&6
2485 else
2486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h.  */
2488
2489 int
2490 main ()
2491 {
2492
2493   ;
2494   return 0;
2495 }
2496 _ACEOF
2497 rm -f conftest.o conftest.obj
2498 if { { ac_try="$ac_compile"
2499 case "(($ac_try" in
2500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501   *) ac_try_echo=$ac_try;;
2502 esac
2503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505   (eval "$ac_compile") 2>&5
2506   ac_status=$?
2507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508   test $ac_status = 0; }; then :
2509   for ac_file in conftest.o conftest.obj conftest.*; do
2510   test -f "$ac_file" || continue;
2511   case $ac_file in
2512     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2513     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2514        break;;
2515   esac
2516 done
2517 else
2518   $as_echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2520
2521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 as_fn_error $? "cannot compute suffix of object files: cannot compile
2524 See \`config.log' for more details" "$LINENO" 5; }
2525 fi
2526 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2527 fi
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2529 $as_echo "$ac_cv_objext" >&6; }
2530 OBJEXT=$ac_cv_objext
2531 ac_objext=$OBJEXT
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2533 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2534 if ${ac_cv_c_compiler_gnu+:} false; then :
2535   $as_echo_n "(cached) " >&6
2536 else
2537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h.  */
2539
2540 int
2541 main ()
2542 {
2543 #ifndef __GNUC__
2544        choke me
2545 #endif
2546
2547   ;
2548   return 0;
2549 }
2550 _ACEOF
2551 if ac_fn_c_try_compile "$LINENO"; then :
2552   ac_compiler_gnu=yes
2553 else
2554   ac_compiler_gnu=no
2555 fi
2556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2558
2559 fi
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2561 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2562 if test $ac_compiler_gnu = yes; then
2563   GCC=yes
2564 else
2565   GCC=
2566 fi
2567 ac_test_CFLAGS=${CFLAGS+set}
2568 ac_save_CFLAGS=$CFLAGS
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2570 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2571 if ${ac_cv_prog_cc_g+:} false; then :
2572   $as_echo_n "(cached) " >&6
2573 else
2574   ac_save_c_werror_flag=$ac_c_werror_flag
2575    ac_c_werror_flag=yes
2576    ac_cv_prog_cc_g=no
2577    CFLAGS="-g"
2578    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h.  */
2580
2581 int
2582 main ()
2583 {
2584
2585   ;
2586   return 0;
2587 }
2588 _ACEOF
2589 if ac_fn_c_try_compile "$LINENO"; then :
2590   ac_cv_prog_cc_g=yes
2591 else
2592   CFLAGS=""
2593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2594 /* end confdefs.h.  */
2595
2596 int
2597 main ()
2598 {
2599
2600   ;
2601   return 0;
2602 }
2603 _ACEOF
2604 if ac_fn_c_try_compile "$LINENO"; then :
2605
2606 else
2607   ac_c_werror_flag=$ac_save_c_werror_flag
2608          CFLAGS="-g"
2609          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h.  */
2611
2612 int
2613 main ()
2614 {
2615
2616   ;
2617   return 0;
2618 }
2619 _ACEOF
2620 if ac_fn_c_try_compile "$LINENO"; then :
2621   ac_cv_prog_cc_g=yes
2622 fi
2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2624 fi
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 fi
2627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2628    ac_c_werror_flag=$ac_save_c_werror_flag
2629 fi
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2631 $as_echo "$ac_cv_prog_cc_g" >&6; }
2632 if test "$ac_test_CFLAGS" = set; then
2633   CFLAGS=$ac_save_CFLAGS
2634 elif test $ac_cv_prog_cc_g = yes; then
2635   if test "$GCC" = yes; then
2636     CFLAGS="-g -O2"
2637   else
2638     CFLAGS="-g"
2639   fi
2640 else
2641   if test "$GCC" = yes; then
2642     CFLAGS="-O2"
2643   else
2644     CFLAGS=
2645   fi
2646 fi
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2648 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2649 if ${ac_cv_prog_cc_c89+:} false; then :
2650   $as_echo_n "(cached) " >&6
2651 else
2652   ac_cv_prog_cc_c89=no
2653 ac_save_CC=$CC
2654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h.  */
2656 #include <stdarg.h>
2657 #include <stdio.h>
2658 struct stat;
2659 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2660 struct buf { int x; };
2661 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2662 static char *e (p, i)
2663      char **p;
2664      int i;
2665 {
2666   return p[i];
2667 }
2668 static char *f (char * (*g) (char **, int), char **p, ...)
2669 {
2670   char *s;
2671   va_list v;
2672   va_start (v,p);
2673   s = g (p, va_arg (v,int));
2674   va_end (v);
2675   return s;
2676 }
2677
2678 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2679    function prototypes and stuff, but not '\xHH' hex character constants.
2680    These don't provoke an error unfortunately, instead are silently treated
2681    as 'x'.  The following induces an error, until -std is added to get
2682    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2683    array size at least.  It's necessary to write '\x00'==0 to get something
2684    that's true only with -std.  */
2685 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2686
2687 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2688    inside strings and character constants.  */
2689 #define FOO(x) 'x'
2690 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2691
2692 int test (int i, double x);
2693 struct s1 {int (*f) (int a);};
2694 struct s2 {int (*f) (double a);};
2695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2696 int argc;
2697 char **argv;
2698 int
2699 main ()
2700 {
2701 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2702   ;
2703   return 0;
2704 }
2705 _ACEOF
2706 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2707         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2708 do
2709   CC="$ac_save_CC $ac_arg"
2710   if ac_fn_c_try_compile "$LINENO"; then :
2711   ac_cv_prog_cc_c89=$ac_arg
2712 fi
2713 rm -f core conftest.err conftest.$ac_objext
2714   test "x$ac_cv_prog_cc_c89" != "xno" && break
2715 done
2716 rm -f conftest.$ac_ext
2717 CC=$ac_save_CC
2718
2719 fi
2720 # AC_CACHE_VAL
2721 case "x$ac_cv_prog_cc_c89" in
2722   x)
2723     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2724 $as_echo "none needed" >&6; } ;;
2725   xno)
2726     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2727 $as_echo "unsupported" >&6; } ;;
2728   *)
2729     CC="$CC $ac_cv_prog_cc_c89"
2730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2731 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2732 esac
2733 if test "x$ac_cv_prog_cc_c89" != xno; then :
2734
2735 fi
2736
2737 ac_ext=c
2738 ac_cpp='$CPP $CPPFLAGS'
2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2742
2743 # AC_PROG_LIBTOOL
2744 #  AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
2745 #       /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755 if test -f CVS/Root; then
2756         cvs_root=`cat CVS/Root`
2757         lemi_cvs_root=`cat CVS/Root|sed 's/chise/root/'`
2758 else
2759         cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/chise'
2760         lemi_cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/root'
2761 fi
2762
2763 xemacs_configure_args=`echo $ac_configure_args \
2764                         | sed 's/--with-site-includes/--site-includes/' \
2765                         | sed 's/--with-site-libraries/--site-libraries/' \
2766                         | sed "s/'CC=/'--compiler=/"`
2767
2768 # Settings for optional paths
2769
2770 # Check whether --with-site_includes was given.
2771 if test "${with_site_includes+set}" = set; then :
2772   withval=$with_site_includes; #xemacs_site_includes="$with_site_includes"
2773
2774 else
2775   if test -d /sw/include; then
2776         xemacs_site_includes="/sw/include"
2777         xemacs_opts="--with-dialogs=athena --with-widgets=athena --with-athena=3d"
2778
2779         if test -f /sw/include/db3/db.h; then
2780                 xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
2781         elif test -f /sw/include/db4/db.h; then
2782                 xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
2783         fi
2784         if test x"$with_canna" != x"no"; then
2785            if test -d /sw/include/canna; then
2786                 xemacs_opts="$xemacs_opts --with-canna"
2787            fi
2788         fi
2789 fi
2790
2791 fi
2792
2793
2794
2795 # Check whether --with-site_libraries was given.
2796 if test "${with_site_libraries+set}" = set; then :
2797   withval=$with_site_libraries; #xemacs_site_libraries="$with_site_libraries"
2798
2799 else
2800   if test -d /sw/include; then
2801         xemacs_site_libraries="/sw/lib"
2802 fi
2803
2804 fi
2805
2806
2807
2808 # Check whether --with-canna was given.
2809 if test "${with_canna+set}" = set; then :
2810   withval=$with_canna; #xemacs_opts="$xemacs_opts --with-canna"
2811
2812 fi
2813
2814
2815 # Checks for libraries.
2816 if test x"$xemacs_site_includes" != x""; then
2817         xemacs_opts="$xemacs_opts --site-includes=$xemacs_site_includes"
2818 fi
2819
2820 if test x"$xemacs_site_libraries" != x""; then
2821         xemacs_opts="$xemacs_opts --site-libraries=$xemacs_site_libraries"
2822 fi
2823
2824 if test x"$with_canna" != x"no"; then
2825
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jrKanjiControl in -lcanna" >&5
2827 $as_echo_n "checking for jrKanjiControl in -lcanna... " >&6; }
2828 if ${ac_cv_lib_canna_jrKanjiControl+:} false; then :
2829   $as_echo_n "(cached) " >&6
2830 else
2831   ac_check_lib_save_LIBS=$LIBS
2832 LIBS="-lcanna  $LIBS"
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h.  */
2835
2836 /* Override any GCC internal prototype to avoid an error.
2837    Use char because int might match the return type of a GCC
2838    builtin and then its argument prototype would still apply.  */
2839 #ifdef __cplusplus
2840 extern "C"
2841 #endif
2842 char jrKanjiControl ();
2843 int
2844 main ()
2845 {
2846 return jrKanjiControl ();
2847   ;
2848   return 0;
2849 }
2850 _ACEOF
2851 if ac_fn_c_try_link "$LINENO"; then :
2852   ac_cv_lib_canna_jrKanjiControl=yes
2853 else
2854   ac_cv_lib_canna_jrKanjiControl=no
2855 fi
2856 rm -f core conftest.err conftest.$ac_objext \
2857     conftest$ac_exeext conftest.$ac_ext
2858 LIBS=$ac_check_lib_save_LIBS
2859 fi
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_canna_jrKanjiControl" >&5
2861 $as_echo "$ac_cv_lib_canna_jrKanjiControl" >&6; }
2862 if test "x$ac_cv_lib_canna_jrKanjiControl" = xyes; then :
2863   xemacs_opts="$xemacs_opts --with-canna"
2864 fi
2865
2866 fi
2867
2868 os_name=`uname -s`
2869 mac_product_name=`sw_vers |grep ProductName|cut -f2`
2870 mac_product_version=`sw_vers |grep ProductVersion|cut -f2`
2871 mac_product_major_version=`echo $mac_product_version|cut -d'.' -f1`
2872 mac_product_minor_version=`echo $mac_product_version|cut -d'.' -f2`
2873
2874 if test "$os_name" = "Darwin" -a \
2875         "$mac_product_name" = "Mac OS X" -a \
2876         $mac_product_major_version -eq 10 -a \
2877         $mac_product_minor_version -ge 7
2878 then
2879    xemacs_opts="$xemacs_opts '--ldflags=-Wl,-no_pie'"
2880 fi
2881
2882 # Checks for header files.
2883
2884 # Checks for typedefs, structures, and compiler characteristics.
2885 #AC_C_CONST
2886 #AC_C_INLINE
2887
2888 # Checks for library functions.
2889 #AC_FUNC_ALLOCA
2890 #AC_FUNC_STRNLEN
2891
2892 #AC_CHECK_FUNCS(strnlen)
2893
2894 ac_config_files="$ac_config_files Makefile"
2895
2896 cat >confcache <<\_ACEOF
2897 # This file is a shell script that caches the results of configure
2898 # tests run on this system so they can be shared between configure
2899 # scripts and configure runs, see configure's option --config-cache.
2900 # It is not useful on other systems.  If it contains results you don't
2901 # want to keep, you may remove or edit it.
2902 #
2903 # config.status only pays attention to the cache file if you give it
2904 # the --recheck option to rerun configure.
2905 #
2906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2908 # following values.
2909
2910 _ACEOF
2911
2912 # The following way of writing the cache mishandles newlines in values,
2913 # but we know of no workaround that is simple, portable, and efficient.
2914 # So, we kill variables containing newlines.
2915 # Ultrix sh set writes to stderr and can't be redirected directly,
2916 # and sets the high bit in the cache file unless we assign to the vars.
2917 (
2918   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2919     eval ac_val=\$$ac_var
2920     case $ac_val in #(
2921     *${as_nl}*)
2922       case $ac_var in #(
2923       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2925       esac
2926       case $ac_var in #(
2927       _ | IFS | as_nl) ;; #(
2928       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2929       *) { eval $ac_var=; unset $ac_var;} ;;
2930       esac ;;
2931     esac
2932   done
2933
2934   (set) 2>&1 |
2935     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2936     *${as_nl}ac_space=\ *)
2937       # `set' does not quote correctly, so add quotes: double-quote
2938       # substitution turns \\\\ into \\, and sed turns \\ into \.
2939       sed -n \
2940         "s/'/'\\\\''/g;
2941           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2942       ;; #(
2943     *)
2944       # `set' quotes correctly as required by POSIX, so do not add quotes.
2945       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2946       ;;
2947     esac |
2948     sort
2949 ) |
2950   sed '
2951      /^ac_cv_env_/b end
2952      t clear
2953      :clear
2954      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2955      t end
2956      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2957      :end' >>confcache
2958 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2959   if test -w "$cache_file"; then
2960     if test "x$cache_file" != "x/dev/null"; then
2961       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2962 $as_echo "$as_me: updating cache $cache_file" >&6;}
2963       if test ! -f "$cache_file" || test -h "$cache_file"; then
2964         cat confcache >"$cache_file"
2965       else
2966         case $cache_file in #(
2967         */* | ?:*)
2968           mv -f confcache "$cache_file"$$ &&
2969           mv -f "$cache_file"$$ "$cache_file" ;; #(
2970         *)
2971           mv -f confcache "$cache_file" ;;
2972         esac
2973       fi
2974     fi
2975   else
2976     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2977 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2978   fi
2979 fi
2980 rm -f confcache
2981
2982 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2983 # Let make expand exec_prefix.
2984 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2985
2986 # Transform confdefs.h into DEFS.
2987 # Protect against shell expansion while executing Makefile rules.
2988 # Protect against Makefile macro expansion.
2989 #
2990 # If the first sed substitution is executed (which looks for macros that
2991 # take arguments), then branch to the quote section.  Otherwise,
2992 # look for a macro that doesn't take arguments.
2993 ac_script='
2994 :mline
2995 /\\$/{
2996  N
2997  s,\\\n,,
2998  b mline
2999 }
3000 t clear
3001 :clear
3002 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3003 t quote
3004 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3005 t quote
3006 b any
3007 :quote
3008 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3009 s/\[/\\&/g
3010 s/\]/\\&/g
3011 s/\$/$$/g
3012 H
3013 :any
3014 ${
3015         g
3016         s/^\n//
3017         s/\n/ /g
3018         p
3019 }
3020 '
3021 DEFS=`sed -n "$ac_script" confdefs.h`
3022
3023
3024 ac_libobjs=
3025 ac_ltlibobjs=
3026 U=
3027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3028   # 1. Remove the extension, and $U if already installed.
3029   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3030   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3031   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3032   #    will be set to the directory where LIBOBJS objects are built.
3033   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3034   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3035 done
3036 LIBOBJS=$ac_libobjs
3037
3038 LTLIBOBJS=$ac_ltlibobjs
3039
3040
3041
3042 : "${CONFIG_STATUS=./config.status}"
3043 ac_write_fail=0
3044 ac_clean_files_save=$ac_clean_files
3045 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3047 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3048 as_write_fail=0
3049 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3050 #! $SHELL
3051 # Generated by $as_me.
3052 # Run this file to recreate the current configuration.
3053 # Compiler output produced by configure, useful for debugging
3054 # configure, is in config.log if it exists.
3055
3056 debug=false
3057 ac_cs_recheck=false
3058 ac_cs_silent=false
3059
3060 SHELL=\${CONFIG_SHELL-$SHELL}
3061 export SHELL
3062 _ASEOF
3063 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3064 ## -------------------- ##
3065 ## M4sh Initialization. ##
3066 ## -------------------- ##
3067
3068 # Be more Bourne compatible
3069 DUALCASE=1; export DUALCASE # for MKS sh
3070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3071   emulate sh
3072   NULLCMD=:
3073   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3074   # is contrary to our usage.  Disable this feature.
3075   alias -g '${1+"$@"}'='"$@"'
3076   setopt NO_GLOB_SUBST
3077 else
3078   case `(set -o) 2>/dev/null` in #(
3079   *posix*) :
3080     set -o posix ;; #(
3081   *) :
3082      ;;
3083 esac
3084 fi
3085
3086
3087 as_nl='
3088 '
3089 export as_nl
3090 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3091 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3094 # Prefer a ksh shell builtin over an external printf program on Solaris,
3095 # but without wasting forks for bash or zsh.
3096 if test -z "$BASH_VERSION$ZSH_VERSION" \
3097     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3098   as_echo='print -r --'
3099   as_echo_n='print -rn --'
3100 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3101   as_echo='printf %s\n'
3102   as_echo_n='printf %s'
3103 else
3104   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3105     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3106     as_echo_n='/usr/ucb/echo -n'
3107   else
3108     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3109     as_echo_n_body='eval
3110       arg=$1;
3111       case $arg in #(
3112       *"$as_nl"*)
3113         expr "X$arg" : "X\\(.*\\)$as_nl";
3114         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3115       esac;
3116       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3117     '
3118     export as_echo_n_body
3119     as_echo_n='sh -c $as_echo_n_body as_echo'
3120   fi
3121   export as_echo_body
3122   as_echo='sh -c $as_echo_body as_echo'
3123 fi
3124
3125 # The user is always right.
3126 if test "${PATH_SEPARATOR+set}" != set; then
3127   PATH_SEPARATOR=:
3128   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3129     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3130       PATH_SEPARATOR=';'
3131   }
3132 fi
3133
3134
3135 # IFS
3136 # We need space, tab and new line, in precisely that order.  Quoting is
3137 # there to prevent editors from complaining about space-tab.
3138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3139 # splitting by setting IFS to empty value.)
3140 IFS=" ""        $as_nl"
3141
3142 # Find who we are.  Look in the path if we contain no directory separator.
3143 as_myself=
3144 case $0 in #((
3145   *[\\/]* ) as_myself=$0 ;;
3146   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH
3148 do
3149   IFS=$as_save_IFS
3150   test -z "$as_dir" && as_dir=.
3151     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3152   done
3153 IFS=$as_save_IFS
3154
3155      ;;
3156 esac
3157 # We did not find ourselves, most probably we were run as `sh COMMAND'
3158 # in which case we are not to be found in the path.
3159 if test "x$as_myself" = x; then
3160   as_myself=$0
3161 fi
3162 if test ! -f "$as_myself"; then
3163   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3164   exit 1
3165 fi
3166
3167 # Unset variables that we do not need and which cause bugs (e.g. in
3168 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3169 # suppresses any "Segmentation fault" message there.  '((' could
3170 # trigger a bug in pdksh 5.2.14.
3171 for as_var in BASH_ENV ENV MAIL MAILPATH
3172 do eval test x\${$as_var+set} = xset \
3173   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3174 done
3175 PS1='$ '
3176 PS2='> '
3177 PS4='+ '
3178
3179 # NLS nuisances.
3180 LC_ALL=C
3181 export LC_ALL
3182 LANGUAGE=C
3183 export LANGUAGE
3184
3185 # CDPATH.
3186 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3187
3188
3189 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3190 # ----------------------------------------
3191 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3192 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3193 # script with STATUS, using 1 if that was 0.
3194 as_fn_error ()
3195 {
3196   as_status=$1; test $as_status -eq 0 && as_status=1
3197   if test "$4"; then
3198     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3199     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3200   fi
3201   $as_echo "$as_me: error: $2" >&2
3202   as_fn_exit $as_status
3203 } # as_fn_error
3204
3205
3206 # as_fn_set_status STATUS
3207 # -----------------------
3208 # Set $? to STATUS, without forking.
3209 as_fn_set_status ()
3210 {
3211   return $1
3212 } # as_fn_set_status
3213
3214 # as_fn_exit STATUS
3215 # -----------------
3216 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3217 as_fn_exit ()
3218 {
3219   set +e
3220   as_fn_set_status $1
3221   exit $1
3222 } # as_fn_exit
3223
3224 # as_fn_unset VAR
3225 # ---------------
3226 # Portably unset VAR.
3227 as_fn_unset ()
3228 {
3229   { eval $1=; unset $1;}
3230 }
3231 as_unset=as_fn_unset
3232 # as_fn_append VAR VALUE
3233 # ----------------------
3234 # Append the text in VALUE to the end of the definition contained in VAR. Take
3235 # advantage of any shell optimizations that allow amortized linear growth over
3236 # repeated appends, instead of the typical quadratic growth present in naive
3237 # implementations.
3238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3239   eval 'as_fn_append ()
3240   {
3241     eval $1+=\$2
3242   }'
3243 else
3244   as_fn_append ()
3245   {
3246     eval $1=\$$1\$2
3247   }
3248 fi # as_fn_append
3249
3250 # as_fn_arith ARG...
3251 # ------------------
3252 # Perform arithmetic evaluation on the ARGs, and store the result in the
3253 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3254 # must be portable across $(()) and expr.
3255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3256   eval 'as_fn_arith ()
3257   {
3258     as_val=$(( $* ))
3259   }'
3260 else
3261   as_fn_arith ()
3262   {
3263     as_val=`expr "$@" || test $? -eq 1`
3264   }
3265 fi # as_fn_arith
3266
3267
3268 if expr a : '\(a\)' >/dev/null 2>&1 &&
3269    test "X`expr 00001 : '.*\(...\)'`" = X001; then
3270   as_expr=expr
3271 else
3272   as_expr=false
3273 fi
3274
3275 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3276   as_basename=basename
3277 else
3278   as_basename=false
3279 fi
3280
3281 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3282   as_dirname=dirname
3283 else
3284   as_dirname=false
3285 fi
3286
3287 as_me=`$as_basename -- "$0" ||
3288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3289          X"$0" : 'X\(//\)$' \| \
3290          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3291 $as_echo X/"$0" |
3292     sed '/^.*\/\([^/][^/]*\)\/*$/{
3293             s//\1/
3294             q
3295           }
3296           /^X\/\(\/\/\)$/{
3297             s//\1/
3298             q
3299           }
3300           /^X\/\(\/\).*/{
3301             s//\1/
3302             q
3303           }
3304           s/.*/./; q'`
3305
3306 # Avoid depending upon Character Ranges.
3307 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3308 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3309 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3310 as_cr_digits='0123456789'
3311 as_cr_alnum=$as_cr_Letters$as_cr_digits
3312
3313 ECHO_C= ECHO_N= ECHO_T=
3314 case `echo -n x` in #(((((
3315 -n*)
3316   case `echo 'xy\c'` in
3317   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3318   xy)  ECHO_C='\c';;
3319   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3320        ECHO_T=' ';;
3321   esac;;
3322 *)
3323   ECHO_N='-n';;
3324 esac
3325
3326 rm -f conf$$ conf$$.exe conf$$.file
3327 if test -d conf$$.dir; then
3328   rm -f conf$$.dir/conf$$.file
3329 else
3330   rm -f conf$$.dir
3331   mkdir conf$$.dir 2>/dev/null
3332 fi
3333 if (echo >conf$$.file) 2>/dev/null; then
3334   if ln -s conf$$.file conf$$ 2>/dev/null; then
3335     as_ln_s='ln -s'
3336     # ... but there are two gotchas:
3337     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3338     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3339     # In both cases, we have to default to `cp -pR'.
3340     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3341       as_ln_s='cp -pR'
3342   elif ln conf$$.file conf$$ 2>/dev/null; then
3343     as_ln_s=ln
3344   else
3345     as_ln_s='cp -pR'
3346   fi
3347 else
3348   as_ln_s='cp -pR'
3349 fi
3350 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3351 rmdir conf$$.dir 2>/dev/null
3352
3353
3354 # as_fn_mkdir_p
3355 # -------------
3356 # Create "$as_dir" as a directory, including parents if necessary.
3357 as_fn_mkdir_p ()
3358 {
3359
3360   case $as_dir in #(
3361   -*) as_dir=./$as_dir;;
3362   esac
3363   test -d "$as_dir" || eval $as_mkdir_p || {
3364     as_dirs=
3365     while :; do
3366       case $as_dir in #(
3367       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3368       *) as_qdir=$as_dir;;
3369       esac
3370       as_dirs="'$as_qdir' $as_dirs"
3371       as_dir=`$as_dirname -- "$as_dir" ||
3372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3373          X"$as_dir" : 'X\(//\)[^/]' \| \
3374          X"$as_dir" : 'X\(//\)$' \| \
3375          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3376 $as_echo X"$as_dir" |
3377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3378             s//\1/
3379             q
3380           }
3381           /^X\(\/\/\)[^/].*/{
3382             s//\1/
3383             q
3384           }
3385           /^X\(\/\/\)$/{
3386             s//\1/
3387             q
3388           }
3389           /^X\(\/\).*/{
3390             s//\1/
3391             q
3392           }
3393           s/.*/./; q'`
3394       test -d "$as_dir" && break
3395     done
3396     test -z "$as_dirs" || eval "mkdir $as_dirs"
3397   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3398
3399
3400 } # as_fn_mkdir_p
3401 if mkdir -p . 2>/dev/null; then
3402   as_mkdir_p='mkdir -p "$as_dir"'
3403 else
3404   test -d ./-p && rmdir ./-p
3405   as_mkdir_p=false
3406 fi
3407
3408
3409 # as_fn_executable_p FILE
3410 # -----------------------
3411 # Test if FILE is an executable regular file.
3412 as_fn_executable_p ()
3413 {
3414   test -f "$1" && test -x "$1"
3415 } # as_fn_executable_p
3416 as_test_x='test -x'
3417 as_executable_p=as_fn_executable_p
3418
3419 # Sed expression to map a string onto a valid CPP name.
3420 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3421
3422 # Sed expression to map a string onto a valid variable name.
3423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3424
3425
3426 exec 6>&1
3427 ## ----------------------------------- ##
3428 ## Main body of $CONFIG_STATUS script. ##
3429 ## ----------------------------------- ##
3430 _ASEOF
3431 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3432
3433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3434 # Save the log message, to keep $0 and so on meaningful, and to
3435 # report actual input values of CONFIG_FILES etc. instead of their
3436 # values after options handling.
3437 ac_log="
3438 This file was extended by chise-base $as_me 0.25, which was
3439 generated by GNU Autoconf 2.69.  Invocation command line was
3440
3441   CONFIG_FILES    = $CONFIG_FILES
3442   CONFIG_HEADERS  = $CONFIG_HEADERS
3443   CONFIG_LINKS    = $CONFIG_LINKS
3444   CONFIG_COMMANDS = $CONFIG_COMMANDS
3445   $ $0 $@
3446
3447 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3448 "
3449
3450 _ACEOF
3451
3452 case $ac_config_files in *"
3453 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3454 esac
3455
3456
3457
3458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3459 # Files that config.status was made for.
3460 config_files="$ac_config_files"
3461
3462 _ACEOF
3463
3464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3465 ac_cs_usage="\
3466 \`$as_me' instantiates files and other configuration actions
3467 from templates according to the current configuration.  Unless the files
3468 and actions are specified as TAGs, all are instantiated by default.
3469
3470 Usage: $0 [OPTION]... [TAG]...
3471
3472   -h, --help       print this help, then exit
3473   -V, --version    print version number and configuration settings, then exit
3474       --config     print configuration, then exit
3475   -q, --quiet, --silent
3476                    do not print progress messages
3477   -d, --debug      don't remove temporary files
3478       --recheck    update $as_me by reconfiguring in the same conditions
3479       --file=FILE[:TEMPLATE]
3480                    instantiate the configuration file FILE
3481
3482 Configuration files:
3483 $config_files
3484
3485 Report bugs to <chise-en@m17n.org>."
3486
3487 _ACEOF
3488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3489 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3490 ac_cs_version="\\
3491 chise-base config.status 0.25
3492 configured by $0, generated by GNU Autoconf 2.69,
3493   with options \\"\$ac_cs_config\\"
3494
3495 Copyright (C) 2012 Free Software Foundation, Inc.
3496 This config.status script is free software; the Free Software Foundation
3497 gives unlimited permission to copy, distribute and modify it."
3498
3499 ac_pwd='$ac_pwd'
3500 srcdir='$srcdir'
3501 test -n "\$AWK" || AWK=awk
3502 _ACEOF
3503
3504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3505 # The default lists apply if the user does not specify any file.
3506 ac_need_defaults=:
3507 while test $# != 0
3508 do
3509   case $1 in
3510   --*=?*)
3511     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3512     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3513     ac_shift=:
3514     ;;
3515   --*=)
3516     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3517     ac_optarg=
3518     ac_shift=:
3519     ;;
3520   *)
3521     ac_option=$1
3522     ac_optarg=$2
3523     ac_shift=shift
3524     ;;
3525   esac
3526
3527   case $ac_option in
3528   # Handling of the options.
3529   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3530     ac_cs_recheck=: ;;
3531   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3532     $as_echo "$ac_cs_version"; exit ;;
3533   --config | --confi | --conf | --con | --co | --c )
3534     $as_echo "$ac_cs_config"; exit ;;
3535   --debug | --debu | --deb | --de | --d | -d )
3536     debug=: ;;
3537   --file | --fil | --fi | --f )
3538     $ac_shift
3539     case $ac_optarg in
3540     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3541     '') as_fn_error $? "missing file argument" ;;
3542     esac
3543     as_fn_append CONFIG_FILES " '$ac_optarg'"
3544     ac_need_defaults=false;;
3545   --he | --h |  --help | --hel | -h )
3546     $as_echo "$ac_cs_usage"; exit ;;
3547   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3548   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3549     ac_cs_silent=: ;;
3550
3551   # This is an error.
3552   -*) as_fn_error $? "unrecognized option: \`$1'
3553 Try \`$0 --help' for more information." ;;
3554
3555   *) as_fn_append ac_config_targets " $1"
3556      ac_need_defaults=false ;;
3557
3558   esac
3559   shift
3560 done
3561
3562 ac_configure_extra_args=
3563
3564 if $ac_cs_silent; then
3565   exec 6>/dev/null
3566   ac_configure_extra_args="$ac_configure_extra_args --silent"
3567 fi
3568
3569 _ACEOF
3570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3571 if \$ac_cs_recheck; then
3572   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3573   shift
3574   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3575   CONFIG_SHELL='$SHELL'
3576   export CONFIG_SHELL
3577   exec "\$@"
3578 fi
3579
3580 _ACEOF
3581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3582 exec 5>>config.log
3583 {
3584   echo
3585   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3586 ## Running $as_me. ##
3587 _ASBOX
3588   $as_echo "$ac_log"
3589 } >&5
3590
3591 _ACEOF
3592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3593 _ACEOF
3594
3595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3596
3597 # Handling of arguments.
3598 for ac_config_target in $ac_config_targets
3599 do
3600   case $ac_config_target in
3601     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3602
3603   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3604   esac
3605 done
3606
3607
3608 # If the user did not use the arguments to specify the items to instantiate,
3609 # then the envvar interface is used.  Set only those that are not.
3610 # We use the long form for the default assignment because of an extremely
3611 # bizarre bug on SunOS 4.1.3.
3612 if $ac_need_defaults; then
3613   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3614 fi
3615
3616 # Have a temporary directory for convenience.  Make it in the build tree
3617 # simply because there is no reason against having it here, and in addition,
3618 # creating and moving files from /tmp can sometimes cause problems.
3619 # Hook for its removal unless debugging.
3620 # Note that there is a small window in which the directory will not be cleaned:
3621 # after its creation but before its name has been assigned to `$tmp'.
3622 $debug ||
3623 {
3624   tmp= ac_tmp=
3625   trap 'exit_status=$?
3626   : "${ac_tmp:=$tmp}"
3627   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3628 ' 0
3629   trap 'as_fn_exit 1' 1 2 13 15
3630 }
3631 # Create a (secure) tmp directory for tmp files.
3632
3633 {
3634   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3635   test -d "$tmp"
3636 }  ||
3637 {
3638   tmp=./conf$$-$RANDOM
3639   (umask 077 && mkdir "$tmp")
3640 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3641 ac_tmp=$tmp
3642
3643 # Set up the scripts for CONFIG_FILES section.
3644 # No need to generate them if there are no CONFIG_FILES.
3645 # This happens for instance with `./config.status config.h'.
3646 if test -n "$CONFIG_FILES"; then
3647
3648
3649 ac_cr=`echo X | tr X '\015'`
3650 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3651 # But we know of no other shell where ac_cr would be empty at this
3652 # point, so we can use a bashism as a fallback.
3653 if test "x$ac_cr" = x; then
3654   eval ac_cr=\$\'\\r\'
3655 fi
3656 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3657 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3658   ac_cs_awk_cr='\\r'
3659 else
3660   ac_cs_awk_cr=$ac_cr
3661 fi
3662
3663 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3664 _ACEOF
3665
3666
3667 {
3668   echo "cat >conf$$subs.awk <<_ACEOF" &&
3669   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3670   echo "_ACEOF"
3671 } >conf$$subs.sh ||
3672   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3673 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3674 ac_delim='%!_!# '
3675 for ac_last_try in false false false false false :; do
3676   . ./conf$$subs.sh ||
3677     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3678
3679   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3680   if test $ac_delim_n = $ac_delim_num; then
3681     break
3682   elif $ac_last_try; then
3683     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3684   else
3685     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3686   fi
3687 done
3688 rm -f conf$$subs.sh
3689
3690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3691 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3692 _ACEOF
3693 sed -n '
3694 h
3695 s/^/S["/; s/!.*/"]=/
3696 p
3697 g
3698 s/^[^!]*!//
3699 :repl
3700 t repl
3701 s/'"$ac_delim"'$//
3702 t delim
3703 :nl
3704 h
3705 s/\(.\{148\}\)..*/\1/
3706 t more1
3707 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3708 p
3709 n
3710 b repl
3711 :more1
3712 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3713 p
3714 g
3715 s/.\{148\}//
3716 t nl
3717 :delim
3718 h
3719 s/\(.\{148\}\)..*/\1/
3720 t more2
3721 s/["\\]/\\&/g; s/^/"/; s/$/"/
3722 p
3723 b
3724 :more2
3725 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3726 p
3727 g
3728 s/.\{148\}//
3729 t delim
3730 ' <conf$$subs.awk | sed '
3731 /^[^""]/{
3732   N
3733   s/\n//
3734 }
3735 ' >>$CONFIG_STATUS || ac_write_fail=1
3736 rm -f conf$$subs.awk
3737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3738 _ACAWK
3739 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3740   for (key in S) S_is_set[key] = 1
3741   FS = "\a"
3742
3743 }
3744 {
3745   line = $ 0
3746   nfields = split(line, field, "@")
3747   substed = 0
3748   len = length(field[1])
3749   for (i = 2; i < nfields; i++) {
3750     key = field[i]
3751     keylen = length(key)
3752     if (S_is_set[key]) {
3753       value = S[key]
3754       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3755       len += length(value) + length(field[++i])
3756       substed = 1
3757     } else
3758       len += 1 + keylen
3759   }
3760
3761   print line
3762 }
3763
3764 _ACAWK
3765 _ACEOF
3766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3767 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3768   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3769 else
3770   cat
3771 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3772   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3773 _ACEOF
3774
3775 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3776 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3777 # trailing colons and then remove the whole line if VPATH becomes empty
3778 # (actually we leave an empty line to preserve line numbers).
3779 if test "x$srcdir" = x.; then
3780   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
3781 h
3782 s///
3783 s/^/:/
3784 s/[      ]*$/:/
3785 s/:\$(srcdir):/:/g
3786 s/:\${srcdir}:/:/g
3787 s/:@srcdir@:/:/g
3788 s/^:*//
3789 s/:*$//
3790 x
3791 s/\(=[   ]*\).*/\1/
3792 G
3793 s/\n//
3794 s/^[^=]*=[       ]*$//
3795 }'
3796 fi
3797
3798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3799 fi # test -n "$CONFIG_FILES"
3800
3801
3802 eval set X "  :F $CONFIG_FILES      "
3803 shift
3804 for ac_tag
3805 do
3806   case $ac_tag in
3807   :[FHLC]) ac_mode=$ac_tag; continue;;
3808   esac
3809   case $ac_mode$ac_tag in
3810   :[FHL]*:*);;
3811   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3812   :[FH]-) ac_tag=-:-;;
3813   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3814   esac
3815   ac_save_IFS=$IFS
3816   IFS=:
3817   set x $ac_tag
3818   IFS=$ac_save_IFS
3819   shift
3820   ac_file=$1
3821   shift
3822
3823   case $ac_mode in
3824   :L) ac_source=$1;;
3825   :[FH])
3826     ac_file_inputs=
3827     for ac_f
3828     do
3829       case $ac_f in
3830       -) ac_f="$ac_tmp/stdin";;
3831       *) # Look for the file first in the build tree, then in the source tree
3832          # (if the path is not absolute).  The absolute path cannot be DOS-style,
3833          # because $ac_f cannot contain `:'.
3834          test -f "$ac_f" ||
3835            case $ac_f in
3836            [\\/$]*) false;;
3837            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3838            esac ||
3839            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3840       esac
3841       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3842       as_fn_append ac_file_inputs " '$ac_f'"
3843     done
3844
3845     # Let's still pretend it is `configure' which instantiates (i.e., don't
3846     # use $as_me), people would be surprised to read:
3847     #    /* config.h.  Generated by config.status.  */
3848     configure_input='Generated from '`
3849           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3850         `' by configure.'
3851     if test x"$ac_file" != x-; then
3852       configure_input="$ac_file.  $configure_input"
3853       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3854 $as_echo "$as_me: creating $ac_file" >&6;}
3855     fi
3856     # Neutralize special characters interpreted by sed in replacement strings.
3857     case $configure_input in #(
3858     *\&* | *\|* | *\\* )
3859        ac_sed_conf_input=`$as_echo "$configure_input" |
3860        sed 's/[\\\\&|]/\\\\&/g'`;; #(
3861     *) ac_sed_conf_input=$configure_input;;
3862     esac
3863
3864     case $ac_tag in
3865     *:-:* | *:-) cat >"$ac_tmp/stdin" \
3866       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3867     esac
3868     ;;
3869   esac
3870
3871   ac_dir=`$as_dirname -- "$ac_file" ||
3872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3873          X"$ac_file" : 'X\(//\)[^/]' \| \
3874          X"$ac_file" : 'X\(//\)$' \| \
3875          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3876 $as_echo X"$ac_file" |
3877     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3878             s//\1/
3879             q
3880           }
3881           /^X\(\/\/\)[^/].*/{
3882             s//\1/
3883             q
3884           }
3885           /^X\(\/\/\)$/{
3886             s//\1/
3887             q
3888           }
3889           /^X\(\/\).*/{
3890             s//\1/
3891             q
3892           }
3893           s/.*/./; q'`
3894   as_dir="$ac_dir"; as_fn_mkdir_p
3895   ac_builddir=.
3896
3897 case "$ac_dir" in
3898 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3899 *)
3900   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3901   # A ".." for each directory in $ac_dir_suffix.
3902   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3903   case $ac_top_builddir_sub in
3904   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3905   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3906   esac ;;
3907 esac
3908 ac_abs_top_builddir=$ac_pwd
3909 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3910 # for backward compatibility:
3911 ac_top_builddir=$ac_top_build_prefix
3912
3913 case $srcdir in
3914   .)  # We are building in place.
3915     ac_srcdir=.
3916     ac_top_srcdir=$ac_top_builddir_sub
3917     ac_abs_top_srcdir=$ac_pwd ;;
3918   [\\/]* | ?:[\\/]* )  # Absolute name.
3919     ac_srcdir=$srcdir$ac_dir_suffix;
3920     ac_top_srcdir=$srcdir
3921     ac_abs_top_srcdir=$srcdir ;;
3922   *) # Relative name.
3923     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3924     ac_top_srcdir=$ac_top_build_prefix$srcdir
3925     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3926 esac
3927 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3928
3929
3930   case $ac_mode in
3931   :F)
3932   #
3933   # CONFIG_FILE
3934   #
3935
3936 _ACEOF
3937
3938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3939 # If the template does not know about datarootdir, expand it.
3940 # FIXME: This hack should be removed a few years after 2.60.
3941 ac_datarootdir_hack=; ac_datarootdir_seen=
3942 ac_sed_dataroot='
3943 /datarootdir/ {
3944   p
3945   q
3946 }
3947 /@datadir@/p
3948 /@docdir@/p
3949 /@infodir@/p
3950 /@localedir@/p
3951 /@mandir@/p'
3952 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3953 *datarootdir*) ac_datarootdir_seen=yes;;
3954 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3955   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3956 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3957 _ACEOF
3958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3959   ac_datarootdir_hack='
3960   s&@datadir@&$datadir&g
3961   s&@docdir@&$docdir&g
3962   s&@infodir@&$infodir&g
3963   s&@localedir@&$localedir&g
3964   s&@mandir@&$mandir&g
3965   s&\\\${datarootdir}&$datarootdir&g' ;;
3966 esac
3967 _ACEOF
3968
3969 # Neutralize VPATH when `$srcdir' = `.'.
3970 # Shell code in configure.ac might set extrasub.
3971 # FIXME: do we really want to maintain this feature?
3972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3973 ac_sed_extra="$ac_vpsub
3974 $extrasub
3975 _ACEOF
3976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3977 :t
3978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3979 s|@configure_input@|$ac_sed_conf_input|;t t
3980 s&@top_builddir@&$ac_top_builddir_sub&;t t
3981 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3982 s&@srcdir@&$ac_srcdir&;t t
3983 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3984 s&@top_srcdir@&$ac_top_srcdir&;t t
3985 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3986 s&@builddir@&$ac_builddir&;t t
3987 s&@abs_builddir@&$ac_abs_builddir&;t t
3988 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3989 $ac_datarootdir_hack
3990 "
3991 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3992   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3993
3994 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3995   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3996   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
3997       "$ac_tmp/out"`; test -z "$ac_out"; } &&
3998   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3999 which seems to be undefined.  Please make sure it is defined" >&5
4000 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4001 which seems to be undefined.  Please make sure it is defined" >&2;}
4002
4003   rm -f "$ac_tmp/stdin"
4004   case $ac_file in
4005   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4006   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4007   esac \
4008   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4009  ;;
4010
4011
4012
4013   esac
4014
4015 done # for ac_tag
4016
4017
4018 as_fn_exit 0
4019 _ACEOF
4020 ac_clean_files=$ac_clean_files_save
4021
4022 test $ac_write_fail = 0 ||
4023   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4024
4025
4026 # configure is writing to config.log, and then calls config.status.
4027 # config.status does its own redirection, appending to config.log.
4028 # Unfortunately, on DOS this fails, as config.log is still kept open
4029 # by configure, so config.status won't be able to write to it; its
4030 # output is simply discarded.  So we exec the FD to /dev/null,
4031 # effectively closing config.log, so it can be properly (re)opened and
4032 # appended to by config.status.  When coming back to configure, we
4033 # need to make the FD available again.
4034 if test "$no_create" != yes; then
4035   ac_cs_success=:
4036   ac_config_status_args=
4037   test "$silent" = yes &&
4038     ac_config_status_args="$ac_config_status_args --quiet"
4039   exec 5>/dev/null
4040   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4041   exec 5>>config.log
4042   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4043   # would make configure fail if this is the last instruction.
4044   $ac_cs_success || as_fn_exit 1
4045 fi
4046 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4047   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4048 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4049 fi
4050