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