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