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