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