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