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