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