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