OSDN Git Service

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