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