Ignore build doc files
[libgno.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for xplus-gno 1.0.
4 #
5 # Report bugs to <BUG-REPORT-ADDRESS>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
281 $0: have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='xplus-gno'
592 PACKAGE_TARNAME='xplus-gno'
593 PACKAGE_VERSION='1.0'
594 PACKAGE_STRING='xplus-gno 1.0'
595 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
596 PACKAGE_URL=''
597
598 ac_unique_file="main.cpp"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 CXXCPP
640 am__fastdepCXX_FALSE
641 am__fastdepCXX_TRUE
642 CXXDEPMODE
643 ac_ct_CXX
644 CXXFLAGS
645 CXX
646 DOXYGEN_PAPER_SIZE
647 DX_COND_latex_FALSE
648 DX_COND_latex_TRUE
649 DX_COND_pdf_FALSE
650 DX_COND_pdf_TRUE
651 DX_PDFLATEX
652 DX_FLAG_pdf
653 DX_COND_ps_FALSE
654 DX_COND_ps_TRUE
655 DX_EGREP
656 DX_DVIPS
657 DX_MAKEINDEX
658 DX_LATEX
659 DX_FLAG_ps
660 DX_COND_html_FALSE
661 DX_COND_html_TRUE
662 DX_FLAG_html
663 DX_COND_chi_FALSE
664 DX_COND_chi_TRUE
665 DX_FLAG_chi
666 DX_COND_chm_FALSE
667 DX_COND_chm_TRUE
668 DX_HHC
669 DX_FLAG_chm
670 DX_COND_xml_FALSE
671 DX_COND_xml_TRUE
672 DX_FLAG_xml
673 DX_COND_rtf_FALSE
674 DX_COND_rtf_TRUE
675 DX_FLAG_rtf
676 DX_COND_man_FALSE
677 DX_COND_man_TRUE
678 DX_FLAG_man
679 DX_COND_dot_FALSE
680 DX_COND_dot_TRUE
681 DX_DOT
682 DX_FLAG_dot
683 DX_COND_doc_FALSE
684 DX_COND_doc_TRUE
685 DX_PERL
686 DX_FLAG_DX_CURRENT_FEATURE
687 DX_DOXYGEN
688 DX_FLAG_doc
689 DX_ENV
690 DX_DOCDIR
691 DX_CONFIG
692 DX_PROJECT
693 CPP
694 OTOOL64
695 OTOOL
696 LIPO
697 NMEDIT
698 DSYMUTIL
699 MANIFEST_TOOL
700 RANLIB
701 ac_ct_AR
702 AR
703 DLLTOOL
704 OBJDUMP
705 LN_S
706 NM
707 ac_ct_DUMPBIN
708 DUMPBIN
709 LD
710 FGREP
711 EGREP
712 GREP
713 SED
714 am__fastdepCC_FALSE
715 am__fastdepCC_TRUE
716 CCDEPMODE
717 am__nodep
718 AMDEPBACKSLASH
719 AMDEP_FALSE
720 AMDEP_TRUE
721 am__quote
722 am__include
723 DEPDIR
724 OBJEXT
725 EXEEXT
726 ac_ct_CC
727 CPPFLAGS
728 LDFLAGS
729 CFLAGS
730 CC
731 host_os
732 host_vendor
733 host_cpu
734 host
735 build_os
736 build_vendor
737 build_cpu
738 build
739 LIBTOOL
740 AM_BACKSLASH
741 AM_DEFAULT_VERBOSITY
742 AM_DEFAULT_V
743 AM_V
744 am__untar
745 am__tar
746 AMTAR
747 am__leading_dot
748 SET_MAKE
749 AWK
750 mkdir_p
751 MKDIR_P
752 INSTALL_STRIP_PROGRAM
753 STRIP
754 install_sh
755 MAKEINFO
756 AUTOHEADER
757 AUTOMAKE
758 AUTOCONF
759 ACLOCAL
760 VERSION
761 PACKAGE
762 CYGPATH_W
763 am__isrc
764 INSTALL_DATA
765 INSTALL_SCRIPT
766 INSTALL_PROGRAM
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 localstatedir
787 sharedstatedir
788 sysconfdir
789 datadir
790 datarootdir
791 libexecdir
792 sbindir
793 bindir
794 program_transform_name
795 prefix
796 exec_prefix
797 PACKAGE_URL
798 PACKAGE_BUGREPORT
799 PACKAGE_STRING
800 PACKAGE_VERSION
801 PACKAGE_TARNAME
802 PACKAGE_NAME
803 PATH_SEPARATOR
804 SHELL'
805 ac_subst_files=''
806 ac_user_opts='
807 enable_option_checking
808 enable_silent_rules
809 enable_shared
810 enable_static
811 with_pic
812 enable_fast_install
813 enable_dependency_tracking
814 with_gnu_ld
815 with_sysroot
816 enable_libtool_lock
817 enable_doxygen_doc
818 enable_doxygen_dot
819 enable_doxygen_man
820 enable_doxygen_rtf
821 enable_doxygen_xml
822 enable_doxygen_chm
823 enable_doxygen_chi
824 enable_doxygen_html
825 enable_doxygen_ps
826 enable_doxygen_pdf
827 '
828       ac_precious_vars='build_alias
829 host_alias
830 target_alias
831 CC
832 CFLAGS
833 LDFLAGS
834 LIBS
835 CPPFLAGS
836 CPP
837 DOXYGEN_PAPER_SIZE
838 CXX
839 CXXFLAGS
840 CCC
841 CXXCPP'
842
843
844 # Initialize some variables set by options.
845 ac_init_help=
846 ac_init_version=false
847 ac_unrecognized_opts=
848 ac_unrecognized_sep=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
851 cache_file=/dev/null
852 exec_prefix=NONE
853 no_create=
854 no_recursion=
855 prefix=NONE
856 program_prefix=NONE
857 program_suffix=NONE
858 program_transform_name=s,x,x,
859 silent=
860 site=
861 srcdir=
862 verbose=
863 x_includes=NONE
864 x_libraries=NONE
865
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 includedir='${prefix}/include'
881 oldincludedir='/usr/include'
882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir='${datarootdir}/info'
884 htmldir='${docdir}'
885 dvidir='${docdir}'
886 pdfdir='${docdir}'
887 psdir='${docdir}'
888 libdir='${exec_prefix}/lib'
889 localedir='${datarootdir}/locale'
890 mandir='${datarootdir}/man'
891
892 ac_prev=
893 ac_dashdash=
894 for ac_option
895 do
896   # If the previous option needs an argument, assign it.
897   if test -n "$ac_prev"; then
898     eval $ac_prev=\$ac_option
899     ac_prev=
900     continue
901   fi
902
903   case $ac_option in
904   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905   *=)   ac_optarg= ;;
906   *)    ac_optarg=yes ;;
907   esac
908
909   # Accept the important Cygnus configure options, so we can diagnose typos.
910
911   case $ac_dashdash$ac_option in
912   --)
913     ac_dashdash=yes ;;
914
915   -bindir | --bindir | --bindi | --bind | --bin | --bi)
916     ac_prev=bindir ;;
917   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918     bindir=$ac_optarg ;;
919
920   -build | --build | --buil | --bui | --bu)
921     ac_prev=build_alias ;;
922   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923     build_alias=$ac_optarg ;;
924
925   -cache-file | --cache-file | --cache-fil | --cache-fi \
926   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927     ac_prev=cache_file ;;
928   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930     cache_file=$ac_optarg ;;
931
932   --config-cache | -C)
933     cache_file=config.cache ;;
934
935   -datadir | --datadir | --datadi | --datad)
936     ac_prev=datadir ;;
937   -datadir=* | --datadir=* | --datadi=* | --datad=*)
938     datadir=$ac_optarg ;;
939
940   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941   | --dataroo | --dataro | --datar)
942     ac_prev=datarootdir ;;
943   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945     datarootdir=$ac_optarg ;;
946
947   -disable-* | --disable-*)
948     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949     # Reject names that are not valid shell variable names.
950     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951       as_fn_error $? "invalid feature name: $ac_useropt"
952     ac_useropt_orig=$ac_useropt
953     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954     case $ac_user_opts in
955       *"
956 "enable_$ac_useropt"
957 "*) ;;
958       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959          ac_unrecognized_sep=', ';;
960     esac
961     eval enable_$ac_useropt=no ;;
962
963   -docdir | --docdir | --docdi | --doc | --do)
964     ac_prev=docdir ;;
965   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966     docdir=$ac_optarg ;;
967
968   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
969     ac_prev=dvidir ;;
970   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971     dvidir=$ac_optarg ;;
972
973   -enable-* | --enable-*)
974     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975     # Reject names that are not valid shell variable names.
976     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977       as_fn_error $? "invalid feature name: $ac_useropt"
978     ac_useropt_orig=$ac_useropt
979     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980     case $ac_user_opts in
981       *"
982 "enable_$ac_useropt"
983 "*) ;;
984       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985          ac_unrecognized_sep=', ';;
986     esac
987     eval enable_$ac_useropt=\$ac_optarg ;;
988
989   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991   | --exec | --exe | --ex)
992     ac_prev=exec_prefix ;;
993   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995   | --exec=* | --exe=* | --ex=*)
996     exec_prefix=$ac_optarg ;;
997
998   -gas | --gas | --ga | --g)
999     # Obsolete; use --with-gas.
1000     with_gas=yes ;;
1001
1002   -help | --help | --hel | --he | -h)
1003     ac_init_help=long ;;
1004   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005     ac_init_help=recursive ;;
1006   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007     ac_init_help=short ;;
1008
1009   -host | --host | --hos | --ho)
1010     ac_prev=host_alias ;;
1011   -host=* | --host=* | --hos=* | --ho=*)
1012     host_alias=$ac_optarg ;;
1013
1014   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015     ac_prev=htmldir ;;
1016   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017   | --ht=*)
1018     htmldir=$ac_optarg ;;
1019
1020   -includedir | --includedir | --includedi | --included | --include \
1021   | --includ | --inclu | --incl | --inc)
1022     ac_prev=includedir ;;
1023   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024   | --includ=* | --inclu=* | --incl=* | --inc=*)
1025     includedir=$ac_optarg ;;
1026
1027   -infodir | --infodir | --infodi | --infod | --info | --inf)
1028     ac_prev=infodir ;;
1029   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030     infodir=$ac_optarg ;;
1031
1032   -libdir | --libdir | --libdi | --libd)
1033     ac_prev=libdir ;;
1034   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035     libdir=$ac_optarg ;;
1036
1037   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038   | --libexe | --libex | --libe)
1039     ac_prev=libexecdir ;;
1040   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041   | --libexe=* | --libex=* | --libe=*)
1042     libexecdir=$ac_optarg ;;
1043
1044   -localedir | --localedir | --localedi | --localed | --locale)
1045     ac_prev=localedir ;;
1046   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047     localedir=$ac_optarg ;;
1048
1049   -localstatedir | --localstatedir | --localstatedi | --localstated \
1050   | --localstate | --localstat | --localsta | --localst | --locals)
1051     ac_prev=localstatedir ;;
1052   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054     localstatedir=$ac_optarg ;;
1055
1056   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057     ac_prev=mandir ;;
1058   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059     mandir=$ac_optarg ;;
1060
1061   -nfp | --nfp | --nf)
1062     # Obsolete; use --without-fp.
1063     with_fp=no ;;
1064
1065   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066   | --no-cr | --no-c | -n)
1067     no_create=yes ;;
1068
1069   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071     no_recursion=yes ;;
1072
1073   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075   | --oldin | --oldi | --old | --ol | --o)
1076     ac_prev=oldincludedir ;;
1077   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080     oldincludedir=$ac_optarg ;;
1081
1082   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083     ac_prev=prefix ;;
1084   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085     prefix=$ac_optarg ;;
1086
1087   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088   | --program-pre | --program-pr | --program-p)
1089     ac_prev=program_prefix ;;
1090   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092     program_prefix=$ac_optarg ;;
1093
1094   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095   | --program-suf | --program-su | --program-s)
1096     ac_prev=program_suffix ;;
1097   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099     program_suffix=$ac_optarg ;;
1100
1101   -program-transform-name | --program-transform-name \
1102   | --program-transform-nam | --program-transform-na \
1103   | --program-transform-n | --program-transform- \
1104   | --program-transform | --program-transfor \
1105   | --program-transfo | --program-transf \
1106   | --program-trans | --program-tran \
1107   | --progr-tra | --program-tr | --program-t)
1108     ac_prev=program_transform_name ;;
1109   -program-transform-name=* | --program-transform-name=* \
1110   | --program-transform-nam=* | --program-transform-na=* \
1111   | --program-transform-n=* | --program-transform-=* \
1112   | --program-transform=* | --program-transfor=* \
1113   | --program-transfo=* | --program-transf=* \
1114   | --program-trans=* | --program-tran=* \
1115   | --progr-tra=* | --program-tr=* | --program-t=*)
1116     program_transform_name=$ac_optarg ;;
1117
1118   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119     ac_prev=pdfdir ;;
1120   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121     pdfdir=$ac_optarg ;;
1122
1123   -psdir | --psdir | --psdi | --psd | --ps)
1124     ac_prev=psdir ;;
1125   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126     psdir=$ac_optarg ;;
1127
1128   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129   | -silent | --silent | --silen | --sile | --sil)
1130     silent=yes ;;
1131
1132   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133     ac_prev=sbindir ;;
1134   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135   | --sbi=* | --sb=*)
1136     sbindir=$ac_optarg ;;
1137
1138   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140   | --sharedst | --shareds | --shared | --share | --shar \
1141   | --sha | --sh)
1142     ac_prev=sharedstatedir ;;
1143   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146   | --sha=* | --sh=*)
1147     sharedstatedir=$ac_optarg ;;
1148
1149   -site | --site | --sit)
1150     ac_prev=site ;;
1151   -site=* | --site=* | --sit=*)
1152     site=$ac_optarg ;;
1153
1154   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155     ac_prev=srcdir ;;
1156   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157     srcdir=$ac_optarg ;;
1158
1159   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160   | --syscon | --sysco | --sysc | --sys | --sy)
1161     ac_prev=sysconfdir ;;
1162   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164     sysconfdir=$ac_optarg ;;
1165
1166   -target | --target | --targe | --targ | --tar | --ta | --t)
1167     ac_prev=target_alias ;;
1168   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169     target_alias=$ac_optarg ;;
1170
1171   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172     verbose=yes ;;
1173
1174   -version | --version | --versio | --versi | --vers | -V)
1175     ac_init_version=: ;;
1176
1177   -with-* | --with-*)
1178     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179     # Reject names that are not valid shell variable names.
1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181       as_fn_error $? "invalid package name: $ac_useropt"
1182     ac_useropt_orig=$ac_useropt
1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184     case $ac_user_opts in
1185       *"
1186 "with_$ac_useropt"
1187 "*) ;;
1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189          ac_unrecognized_sep=', ';;
1190     esac
1191     eval with_$ac_useropt=\$ac_optarg ;;
1192
1193   -without-* | --without-*)
1194     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195     # Reject names that are not valid shell variable names.
1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197       as_fn_error $? "invalid package name: $ac_useropt"
1198     ac_useropt_orig=$ac_useropt
1199     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200     case $ac_user_opts in
1201       *"
1202 "with_$ac_useropt"
1203 "*) ;;
1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205          ac_unrecognized_sep=', ';;
1206     esac
1207     eval with_$ac_useropt=no ;;
1208
1209   --x)
1210     # Obsolete; use --with-x.
1211     with_x=yes ;;
1212
1213   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214   | --x-incl | --x-inc | --x-in | --x-i)
1215     ac_prev=x_includes ;;
1216   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218     x_includes=$ac_optarg ;;
1219
1220   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222     ac_prev=x_libraries ;;
1223   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225     x_libraries=$ac_optarg ;;
1226
1227   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1229     ;;
1230
1231   *=*)
1232     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233     # Reject names that are not valid shell variable names.
1234     case $ac_envvar in #(
1235       '' | [0-9]* | *[!_$as_cr_alnum]* )
1236       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1237     esac
1238     eval $ac_envvar=\$ac_optarg
1239     export $ac_envvar ;;
1240
1241   *)
1242     # FIXME: should be removed in autoconf 3.0.
1243     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247     ;;
1248
1249   esac
1250 done
1251
1252 if test -n "$ac_prev"; then
1253   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254   as_fn_error $? "missing argument to $ac_option"
1255 fi
1256
1257 if test -n "$ac_unrecognized_opts"; then
1258   case $enable_option_checking in
1259     no) ;;
1260     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1261     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262   esac
1263 fi
1264
1265 # Check all directory arguments for consistency.
1266 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267                 datadir sysconfdir sharedstatedir localstatedir includedir \
1268                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269                 libdir localedir mandir
1270 do
1271   eval ac_val=\$$ac_var
1272   # Remove trailing slashes.
1273   case $ac_val in
1274     */ )
1275       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276       eval $ac_var=\$ac_val;;
1277   esac
1278   # Be sure to have absolute directory names.
1279   case $ac_val in
1280     [\\/$]* | ?:[\\/]* )  continue;;
1281     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1282   esac
1283   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1284 done
1285
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1289 build=$build_alias
1290 host=$host_alias
1291 target=$target_alias
1292
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295   if test "x$build_alias" = x; then
1296     cross_compiling=maybe
1297   elif test "x$build_alias" != "x$host_alias"; then
1298     cross_compiling=yes
1299   fi
1300 fi
1301
1302 ac_tool_prefix=
1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1304
1305 test "$silent" = yes && exec 6>/dev/null
1306
1307
1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di=`ls -di .` &&
1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311   as_fn_error $? "working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313   as_fn_error $? "pwd does not report name of working directory"
1314
1315
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318   ac_srcdir_defaulted=yes
1319   # Try the directory containing this script, then the parent directory.
1320   ac_confdir=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322          X"$as_myself" : 'X\(//\)[^/]' \| \
1323          X"$as_myself" : 'X\(//\)$' \| \
1324          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327             s//\1/
1328             q
1329           }
1330           /^X\(\/\/\)[^/].*/{
1331             s//\1/
1332             q
1333           }
1334           /^X\(\/\/\)$/{
1335             s//\1/
1336             q
1337           }
1338           /^X\(\/\).*/{
1339             s//\1/
1340             q
1341           }
1342           s/.*/./; q'`
1343   srcdir=$ac_confdir
1344   if test ! -r "$srcdir/$ac_unique_file"; then
1345     srcdir=..
1346   fi
1347 else
1348   ac_srcdir_defaulted=no
1349 fi
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1353 fi
1354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 ac_abs_confdir=`(
1356         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357         pwd)`
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360   srcdir=.
1361 fi
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1365 case $srcdir in
1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 esac
1368 for ac_var in $ac_precious_vars; do
1369   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370   eval ac_env_${ac_var}_value=\$${ac_var}
1371   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 done
1374
1375 #
1376 # Report the --help message.
1377 #
1378 if test "$ac_init_help" = "long"; then
1379   # Omit some internal or obsolete options to make the list less imposing.
1380   # This message is too long to be a string in the A/UX 3.1 sh.
1381   cat <<_ACEOF
1382 \`configure' configures xplus-gno 1.0 to adapt to many kinds of systems.
1383
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1385
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE.  See below for descriptions of some of the useful variables.
1388
1389 Defaults for the options are specified in brackets.
1390
1391 Configuration:
1392   -h, --help              display this help and exit
1393       --help=short        display options specific to this package
1394       --help=recursive    display the short help of all the included packages
1395   -V, --version           display version information and exit
1396   -q, --quiet, --silent   do not print \`checking ...' messages
1397       --cache-file=FILE   cache test results in FILE [disabled]
1398   -C, --config-cache      alias for \`--cache-file=config.cache'
1399   -n, --no-create         do not create output files
1400       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1401
1402 Installation directories:
1403   --prefix=PREFIX         install architecture-independent files in PREFIX
1404                           [$ac_default_prefix]
1405   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1406                           [PREFIX]
1407
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1412
1413 For better control, use the options below.
1414
1415 Fine tuning of the installation directories:
1416   --bindir=DIR            user executables [EPREFIX/bin]
1417   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1418   --libexecdir=DIR        program executables [EPREFIX/libexec]
1419   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1420   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1421   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1422   --libdir=DIR            object code libraries [EPREFIX/lib]
1423   --includedir=DIR        C header files [PREFIX/include]
1424   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1425   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1426   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1427   --infodir=DIR           info documentation [DATAROOTDIR/info]
1428   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1429   --mandir=DIR            man documentation [DATAROOTDIR/man]
1430   --docdir=DIR            documentation root [DATAROOTDIR/doc/xplus-gno]
1431   --htmldir=DIR           html documentation [DOCDIR]
1432   --dvidir=DIR            dvi documentation [DOCDIR]
1433   --pdfdir=DIR            pdf documentation [DOCDIR]
1434   --psdir=DIR             ps documentation [DOCDIR]
1435 _ACEOF
1436
1437   cat <<\_ACEOF
1438
1439 Program names:
1440   --program-prefix=PREFIX            prepend PREFIX to installed program names
1441   --program-suffix=SUFFIX            append SUFFIX to installed program names
1442   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1443
1444 System types:
1445   --build=BUILD     configure for building on BUILD [guessed]
1446   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1447 _ACEOF
1448 fi
1449
1450 if test -n "$ac_init_help"; then
1451   case $ac_init_help in
1452      short | recursive ) echo "Configuration of xplus-gno 1.0:";;
1453    esac
1454   cat <<\_ACEOF
1455
1456 Optional Features:
1457   --disable-option-checking  ignore unrecognized --enable/--with options
1458   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1459   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1460   --enable-silent-rules   less verbose build output (undo: "make V=1")
1461   --disable-silent-rules  verbose build output (undo: "make V=0")
1462   --enable-shared[=PKGS]  build shared libraries [default=yes]
1463   --enable-static[=PKGS]  build static libraries [default=yes]
1464   --enable-fast-install[=PKGS]
1465                           optimize for fast installation [default=yes]
1466   --enable-dependency-tracking
1467                           do not reject slow dependency extractors
1468   --disable-dependency-tracking
1469                           speeds up one-time build
1470   --disable-libtool-lock  avoid locking (might break parallel builds)
1471   --disable-doxygen-doc   don't generate any doxygen documentation
1472   --disable-doxygen-dot   don't generate graphics for doxygen documentation
1473   --enable-doxygen-man    generate doxygen manual pages
1474   --enable-doxygen-rtf    generate doxygen RTF documentation
1475   --enable-doxygen-xml    generate doxygen XML documentation
1476   --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1477   --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1478                           file
1479   --disable-doxygen-html  don't generate doxygen plain HTML documentation
1480   --enable-doxygen-ps     generate doxygen PostScript documentation
1481   --enable-doxygen-pdf    generate doxygen PDF documentation
1482
1483 Optional Packages:
1484   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1485   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1486   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1487                           both]
1488   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1489   --with-sysroot=DIR Search for dependent libraries within DIR
1490                         (or the compiler's sysroot if not specified).
1491
1492 Some influential environment variables:
1493   CC          C compiler command
1494   CFLAGS      C compiler flags
1495   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1496               nonstandard directory <lib dir>
1497   LIBS        libraries to pass to the linker, e.g. -l<library>
1498   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499               you have headers in a nonstandard directory <include dir>
1500   CPP         C preprocessor
1501   DOXYGEN_PAPER_SIZE
1502               a4wide (default), a4, letter, legal or executive
1503   CXX         C++ compiler command
1504   CXXFLAGS    C++ compiler flags
1505   CXXCPP      C++ preprocessor
1506
1507 Use these variables to override the choices made by `configure' or to help
1508 it to find libraries and programs with nonstandard names/locations.
1509
1510 Report bugs to <BUG-REPORT-ADDRESS>.
1511 _ACEOF
1512 ac_status=$?
1513 fi
1514
1515 if test "$ac_init_help" = "recursive"; then
1516   # If there are subdirs, report their specific --help.
1517   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518     test -d "$ac_dir" ||
1519       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520       continue
1521     ac_builddir=.
1522
1523 case "$ac_dir" in
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *)
1526   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1527   # A ".." for each directory in $ac_dir_suffix.
1528   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1529   case $ac_top_builddir_sub in
1530   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1532   esac ;;
1533 esac
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1538
1539 case $srcdir in
1540   .)  # We are building in place.
1541     ac_srcdir=.
1542     ac_top_srcdir=$ac_top_builddir_sub
1543     ac_abs_top_srcdir=$ac_pwd ;;
1544   [\\/]* | ?:[\\/]* )  # Absolute name.
1545     ac_srcdir=$srcdir$ac_dir_suffix;
1546     ac_top_srcdir=$srcdir
1547     ac_abs_top_srcdir=$srcdir ;;
1548   *) # Relative name.
1549     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550     ac_top_srcdir=$ac_top_build_prefix$srcdir
1551     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1552 esac
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1554
1555     cd "$ac_dir" || { ac_status=$?; continue; }
1556     # Check for guested configure.
1557     if test -f "$ac_srcdir/configure.gnu"; then
1558       echo &&
1559       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560     elif test -f "$ac_srcdir/configure"; then
1561       echo &&
1562       $SHELL "$ac_srcdir/configure" --help=recursive
1563     else
1564       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1565     fi || ac_status=$?
1566     cd "$ac_pwd" || { ac_status=$?; break; }
1567   done
1568 fi
1569
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1572   cat <<\_ACEOF
1573 xplus-gno configure 1.0
1574 generated by GNU Autoconf 2.69
1575
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1579 _ACEOF
1580   exit
1581 fi
1582
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1586
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1591 {
1592   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593   rm -f conftest.$ac_objext
1594   if { { ac_try="$ac_compile"
1595 case "(($ac_try" in
1596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597   *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601   (eval "$ac_compile") 2>conftest.err
1602   ac_status=$?
1603   if test -s conftest.err; then
1604     grep -v '^ *+' conftest.err >conftest.er1
1605     cat conftest.er1 >&5
1606     mv -f conftest.er1 conftest.err
1607   fi
1608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609   test $ac_status = 0; } && {
1610          test -z "$ac_c_werror_flag" ||
1611          test ! -s conftest.err
1612        } && test -s conftest.$ac_objext; then :
1613   ac_retval=0
1614 else
1615   $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1617
1618         ac_retval=1
1619 fi
1620   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621   as_fn_set_status $ac_retval
1622
1623 } # ac_fn_c_try_compile
1624
1625 # ac_fn_c_try_link LINENO
1626 # -----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_link ()
1629 {
1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631   rm -f conftest.$ac_objext conftest$ac_exeext
1632   if { { ac_try="$ac_link"
1633 case "(($ac_try" in
1634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635   *) ac_try_echo=$ac_try;;
1636 esac
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639   (eval "$ac_link") 2>conftest.err
1640   ac_status=$?
1641   if test -s conftest.err; then
1642     grep -v '^ *+' conftest.err >conftest.er1
1643     cat conftest.er1 >&5
1644     mv -f conftest.er1 conftest.err
1645   fi
1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647   test $ac_status = 0; } && {
1648          test -z "$ac_c_werror_flag" ||
1649          test ! -s conftest.err
1650        } && test -s conftest$ac_exeext && {
1651          test "$cross_compiling" = yes ||
1652          test -x conftest$ac_exeext
1653        }; then :
1654   ac_retval=0
1655 else
1656   $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1658
1659         ac_retval=1
1660 fi
1661   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1662   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1663   # interfere with the next link command; also delete a directory that is
1664   # left behind by Apple's compiler.  We do this before executing the actions.
1665   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667   as_fn_set_status $ac_retval
1668
1669 } # ac_fn_c_try_link
1670
1671 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1672 # -------------------------------------------------------
1673 # Tests whether HEADER exists and can be compiled using the include files in
1674 # INCLUDES, setting the cache variable VAR accordingly.
1675 ac_fn_c_check_header_compile ()
1676 {
1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681   $as_echo_n "(cached) " >&6
1682 else
1683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h.  */
1685 $4
1686 #include <$2>
1687 _ACEOF
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689   eval "$3=yes"
1690 else
1691   eval "$3=no"
1692 fi
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 fi
1695 eval ac_res=\$$3
1696                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
1700 } # ac_fn_c_check_header_compile
1701
1702 # ac_fn_c_try_cpp LINENO
1703 # ----------------------
1704 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_c_try_cpp ()
1706 {
1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708   if { { ac_try="$ac_cpp conftest.$ac_ext"
1709 case "(($ac_try" in
1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711   *) ac_try_echo=$ac_try;;
1712 esac
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716   ac_status=$?
1717   if test -s conftest.err; then
1718     grep -v '^ *+' conftest.err >conftest.er1
1719     cat conftest.er1 >&5
1720     mv -f conftest.er1 conftest.err
1721   fi
1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723   test $ac_status = 0; } > conftest.i && {
1724          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725          test ! -s conftest.err
1726        }; then :
1727   ac_retval=0
1728 else
1729   $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1731
1732     ac_retval=1
1733 fi
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735   as_fn_set_status $ac_retval
1736
1737 } # ac_fn_c_try_cpp
1738
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1743 ac_fn_c_try_run ()
1744 {
1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746   if { { ac_try="$ac_link"
1747 case "(($ac_try" in
1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749   *) ac_try_echo=$ac_try;;
1750 esac
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753   (eval "$ac_link") 2>&5
1754   ac_status=$?
1755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757   { { case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_try") 2>&5
1764   ac_status=$?
1765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766   test $ac_status = 0; }; }; then :
1767   ac_retval=0
1768 else
1769   $as_echo "$as_me: program exited with status $ac_status" >&5
1770        $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1772
1773        ac_retval=$ac_status
1774 fi
1775   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777   as_fn_set_status $ac_retval
1778
1779 } # ac_fn_c_try_run
1780
1781 # ac_fn_c_check_func LINENO FUNC VAR
1782 # ----------------------------------
1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1784 ac_fn_c_check_func ()
1785 {
1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790   $as_echo_n "(cached) " >&6
1791 else
1792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h.  */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1796 #define $2 innocuous_$2
1797
1798 /* System header to define __stub macros and hopefully few prototypes,
1799     which can conflict with char $2 (); below.
1800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801     <limits.h> exists even on freestanding compilers.  */
1802
1803 #ifdef __STDC__
1804 # include <limits.h>
1805 #else
1806 # include <assert.h>
1807 #endif
1808
1809 #undef $2
1810
1811 /* Override any GCC internal prototype to avoid an error.
1812    Use char because int might match the return type of a GCC
1813    builtin and then its argument prototype would still apply.  */
1814 #ifdef __cplusplus
1815 extern "C"
1816 #endif
1817 char $2 ();
1818 /* The GNU C library defines this for functions which it implements
1819     to always fail with ENOSYS.  Some functions are actually named
1820     something starting with __ and the normal name is an alias.  */
1821 #if defined __stub_$2 || defined __stub___$2
1822 choke me
1823 #endif
1824
1825 int
1826 main ()
1827 {
1828 return $2 ();
1829   ;
1830   return 0;
1831 }
1832 _ACEOF
1833 if ac_fn_c_try_link "$LINENO"; then :
1834   eval "$3=yes"
1835 else
1836   eval "$3=no"
1837 fi
1838 rm -f core conftest.err conftest.$ac_objext \
1839     conftest$ac_exeext conftest.$ac_ext
1840 fi
1841 eval ac_res=\$$3
1842                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845
1846 } # ac_fn_c_check_func
1847
1848 # ac_fn_cxx_try_compile LINENO
1849 # ----------------------------
1850 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1851 ac_fn_cxx_try_compile ()
1852 {
1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854   rm -f conftest.$ac_objext
1855   if { { ac_try="$ac_compile"
1856 case "(($ac_try" in
1857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1858   *) ac_try_echo=$ac_try;;
1859 esac
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862   (eval "$ac_compile") 2>conftest.err
1863   ac_status=$?
1864   if test -s conftest.err; then
1865     grep -v '^ *+' conftest.err >conftest.er1
1866     cat conftest.er1 >&5
1867     mv -f conftest.er1 conftest.err
1868   fi
1869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870   test $ac_status = 0; } && {
1871          test -z "$ac_cxx_werror_flag" ||
1872          test ! -s conftest.err
1873        } && test -s conftest.$ac_objext; then :
1874   ac_retval=0
1875 else
1876   $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1878
1879         ac_retval=1
1880 fi
1881   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882   as_fn_set_status $ac_retval
1883
1884 } # ac_fn_cxx_try_compile
1885
1886 # ac_fn_cxx_try_cpp LINENO
1887 # ------------------------
1888 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1889 ac_fn_cxx_try_cpp ()
1890 {
1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892   if { { ac_try="$ac_cpp conftest.$ac_ext"
1893 case "(($ac_try" in
1894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895   *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1900   ac_status=$?
1901   if test -s conftest.err; then
1902     grep -v '^ *+' conftest.err >conftest.er1
1903     cat conftest.er1 >&5
1904     mv -f conftest.er1 conftest.err
1905   fi
1906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907   test $ac_status = 0; } > conftest.i && {
1908          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1909          test ! -s conftest.err
1910        }; then :
1911   ac_retval=0
1912 else
1913   $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1915
1916     ac_retval=1
1917 fi
1918   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919   as_fn_set_status $ac_retval
1920
1921 } # ac_fn_cxx_try_cpp
1922
1923 # ac_fn_cxx_try_link LINENO
1924 # -------------------------
1925 # Try to link conftest.$ac_ext, and return whether this succeeded.
1926 ac_fn_cxx_try_link ()
1927 {
1928   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929   rm -f conftest.$ac_objext conftest$ac_exeext
1930   if { { ac_try="$ac_link"
1931 case "(($ac_try" in
1932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933   *) ac_try_echo=$ac_try;;
1934 esac
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937   (eval "$ac_link") 2>conftest.err
1938   ac_status=$?
1939   if test -s conftest.err; then
1940     grep -v '^ *+' conftest.err >conftest.er1
1941     cat conftest.er1 >&5
1942     mv -f conftest.er1 conftest.err
1943   fi
1944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945   test $ac_status = 0; } && {
1946          test -z "$ac_cxx_werror_flag" ||
1947          test ! -s conftest.err
1948        } && test -s conftest$ac_exeext && {
1949          test "$cross_compiling" = yes ||
1950          test -x conftest$ac_exeext
1951        }; then :
1952   ac_retval=0
1953 else
1954   $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.$ac_ext >&5
1956
1957         ac_retval=1
1958 fi
1959   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1960   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1961   # interfere with the next link command; also delete a directory that is
1962   # left behind by Apple's compiler.  We do this before executing the actions.
1963   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1964   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965   as_fn_set_status $ac_retval
1966
1967 } # ac_fn_cxx_try_link
1968
1969 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1970 # -------------------------------------------
1971 # Tests whether TYPE exists after having included INCLUDES, setting cache
1972 # variable VAR accordingly.
1973 ac_fn_c_check_type ()
1974 {
1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval \${$3+:} false; then :
1979   $as_echo_n "(cached) " >&6
1980 else
1981   eval "$3=no"
1982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h.  */
1984 $4
1985 int
1986 main ()
1987 {
1988 if (sizeof ($2))
1989          return 0;
1990   ;
1991   return 0;
1992 }
1993 _ACEOF
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h.  */
1997 $4
1998 int
1999 main ()
2000 {
2001 if (sizeof (($2)))
2002             return 0;
2003   ;
2004   return 0;
2005 }
2006 _ACEOF
2007 if ac_fn_c_try_compile "$LINENO"; then :
2008
2009 else
2010   eval "$3=yes"
2011 fi
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013 fi
2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2015 fi
2016 eval ac_res=\$$3
2017                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020
2021 } # ac_fn_c_check_type
2022 cat >config.log <<_ACEOF
2023 This file contains any messages produced by compilers while
2024 running configure, to aid debugging if configure makes a mistake.
2025
2026 It was created by xplus-gno $as_me 1.0, which was
2027 generated by GNU Autoconf 2.69.  Invocation command line was
2028
2029   $ $0 $@
2030
2031 _ACEOF
2032 exec 5>>config.log
2033 {
2034 cat <<_ASUNAME
2035 ## --------- ##
2036 ## Platform. ##
2037 ## --------- ##
2038
2039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2044
2045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2046 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2047
2048 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2049 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2051 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2052 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2053 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2054 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2055
2056 _ASUNAME
2057
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 for as_dir in $PATH
2060 do
2061   IFS=$as_save_IFS
2062   test -z "$as_dir" && as_dir=.
2063     $as_echo "PATH: $as_dir"
2064   done
2065 IFS=$as_save_IFS
2066
2067 } >&5
2068
2069 cat >&5 <<_ACEOF
2070
2071
2072 ## ----------- ##
2073 ## Core tests. ##
2074 ## ----------- ##
2075
2076 _ACEOF
2077
2078
2079 # Keep a trace of the command line.
2080 # Strip out --no-create and --no-recursion so they do not pile up.
2081 # Strip out --silent because we don't want to record it for future runs.
2082 # Also quote any args containing shell meta-characters.
2083 # Make two passes to allow for proper duplicate-argument suppression.
2084 ac_configure_args=
2085 ac_configure_args0=
2086 ac_configure_args1=
2087 ac_must_keep_next=false
2088 for ac_pass in 1 2
2089 do
2090   for ac_arg
2091   do
2092     case $ac_arg in
2093     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2094     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095     | -silent | --silent | --silen | --sile | --sil)
2096       continue ;;
2097     *\'*)
2098       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099     esac
2100     case $ac_pass in
2101     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2102     2)
2103       as_fn_append ac_configure_args1 " '$ac_arg'"
2104       if test $ac_must_keep_next = true; then
2105         ac_must_keep_next=false # Got value, back to normal.
2106       else
2107         case $ac_arg in
2108           *=* | --config-cache | -C | -disable-* | --disable-* \
2109           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2110           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2111           | -with-* | --with-* | -without-* | --without-* | --x)
2112             case "$ac_configure_args0 " in
2113               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114             esac
2115             ;;
2116           -* ) ac_must_keep_next=true ;;
2117         esac
2118       fi
2119       as_fn_append ac_configure_args " '$ac_arg'"
2120       ;;
2121     esac
2122   done
2123 done
2124 { ac_configure_args0=; unset ac_configure_args0;}
2125 { ac_configure_args1=; unset ac_configure_args1;}
2126
2127 # When interrupted or exit'd, cleanup temporary files, and complete
2128 # config.log.  We remove comments because anyway the quotes in there
2129 # would cause problems or look ugly.
2130 # WARNING: Use '\'' to represent an apostrophe within the trap.
2131 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2132 trap 'exit_status=$?
2133   # Save into config.log some information that might help in debugging.
2134   {
2135     echo
2136
2137     $as_echo "## ---------------- ##
2138 ## Cache variables. ##
2139 ## ---------------- ##"
2140     echo
2141     # The following way of writing the cache mishandles newlines in values,
2142 (
2143   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144     eval ac_val=\$$ac_var
2145     case $ac_val in #(
2146     *${as_nl}*)
2147       case $ac_var in #(
2148       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2150       esac
2151       case $ac_var in #(
2152       _ | IFS | as_nl) ;; #(
2153       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2154       *) { eval $ac_var=; unset $ac_var;} ;;
2155       esac ;;
2156     esac
2157   done
2158   (set) 2>&1 |
2159     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2160     *${as_nl}ac_space=\ *)
2161       sed -n \
2162         "s/'\''/'\''\\\\'\'''\''/g;
2163           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2164       ;; #(
2165     *)
2166       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2167       ;;
2168     esac |
2169     sort
2170 )
2171     echo
2172
2173     $as_echo "## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##"
2176     echo
2177     for ac_var in $ac_subst_vars
2178     do
2179       eval ac_val=\$$ac_var
2180       case $ac_val in
2181       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182       esac
2183       $as_echo "$ac_var='\''$ac_val'\''"
2184     done | sort
2185     echo
2186
2187     if test -n "$ac_subst_files"; then
2188       $as_echo "## ------------------- ##
2189 ## File substitutions. ##
2190 ## ------------------- ##"
2191       echo
2192       for ac_var in $ac_subst_files
2193       do
2194         eval ac_val=\$$ac_var
2195         case $ac_val in
2196         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197         esac
2198         $as_echo "$ac_var='\''$ac_val'\''"
2199       done | sort
2200       echo
2201     fi
2202
2203     if test -s confdefs.h; then
2204       $as_echo "## ----------- ##
2205 ## confdefs.h. ##
2206 ## ----------- ##"
2207       echo
2208       cat confdefs.h
2209       echo
2210     fi
2211     test "$ac_signal" != 0 &&
2212       $as_echo "$as_me: caught signal $ac_signal"
2213     $as_echo "$as_me: exit $exit_status"
2214   } >&5
2215   rm -f core *.core core.conftest.* &&
2216     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2217     exit $exit_status
2218 ' 0
2219 for ac_signal in 1 2 13 15; do
2220   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2221 done
2222 ac_signal=0
2223
2224 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2225 rm -f -r conftest* confdefs.h
2226
2227 $as_echo "/* confdefs.h */" > confdefs.h
2228
2229 # Predefined preprocessor variables.
2230
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_NAME "$PACKAGE_NAME"
2233 _ACEOF
2234
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2237 _ACEOF
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2241 _ACEOF
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_STRING "$PACKAGE_STRING"
2245 _ACEOF
2246
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2249 _ACEOF
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_URL "$PACKAGE_URL"
2253 _ACEOF
2254
2255
2256 # Let the site file select an alternate cache file if it wants to.
2257 # Prefer an explicitly selected file to automatically selected ones.
2258 ac_site_file1=NONE
2259 ac_site_file2=NONE
2260 if test -n "$CONFIG_SITE"; then
2261   # We do not want a PATH search for config.site.
2262   case $CONFIG_SITE in #((
2263     -*)  ac_site_file1=./$CONFIG_SITE;;
2264     */*) ac_site_file1=$CONFIG_SITE;;
2265     *)   ac_site_file1=./$CONFIG_SITE;;
2266   esac
2267 elif test "x$prefix" != xNONE; then
2268   ac_site_file1=$prefix/share/config.site
2269   ac_site_file2=$prefix/etc/config.site
2270 else
2271   ac_site_file1=$ac_default_prefix/share/config.site
2272   ac_site_file2=$ac_default_prefix/etc/config.site
2273 fi
2274 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2275 do
2276   test "x$ac_site_file" = xNONE && continue
2277   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2278     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2279 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2280     sed 's/^/| /' "$ac_site_file" >&5
2281     . "$ac_site_file" \
2282       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284 as_fn_error $? "failed to load site script $ac_site_file
2285 See \`config.log' for more details" "$LINENO" 5; }
2286   fi
2287 done
2288
2289 if test -r "$cache_file"; then
2290   # Some versions of bash will fail to source /dev/null (special files
2291   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2292   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2293     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2294 $as_echo "$as_me: loading cache $cache_file" >&6;}
2295     case $cache_file in
2296       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297       *)                      . "./$cache_file";;
2298     esac
2299   fi
2300 else
2301   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2302 $as_echo "$as_me: creating cache $cache_file" >&6;}
2303   >$cache_file
2304 fi
2305
2306 # Check that the precious variables saved in the cache have kept the same
2307 # value.
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311   eval ac_new_set=\$ac_env_${ac_var}_set
2312   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313   eval ac_new_val=\$ac_env_${ac_var}_value
2314   case $ac_old_set,$ac_new_set in
2315     set,)
2316       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318       ac_cache_corrupted=: ;;
2319     ,set)
2320       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2321 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322       ac_cache_corrupted=: ;;
2323     ,);;
2324     *)
2325       if test "x$ac_old_val" != "x$ac_new_val"; then
2326         # differences in whitespace do not lead to failure.
2327         ac_old_val_w=`echo x $ac_old_val`
2328         ac_new_val_w=`echo x $ac_new_val`
2329         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2330           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2331 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2332           ac_cache_corrupted=:
2333         else
2334           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2335 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2336           eval $ac_var=\$ac_old_val
2337         fi
2338         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2339 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2340         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2341 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2342       fi;;
2343   esac
2344   # Pass precious variables to config.status.
2345   if test "$ac_new_set" = set; then
2346     case $ac_new_val in
2347     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2348     *) ac_arg=$ac_var=$ac_new_val ;;
2349     esac
2350     case " $ac_configure_args " in
2351       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2352       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2353     esac
2354   fi
2355 done
2356 if $ac_cache_corrupted; then
2357   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2360 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2362 fi
2363 ## -------------------- ##
2364 ## Main body of script. ##
2365 ## -------------------- ##
2366
2367 ac_ext=c
2368 ac_cpp='$CPP $CPPFLAGS'
2369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2372
2373
2374
2375 #AM_INIT_AUTOMAKE
2376 am__api_version='1.14'
2377
2378 ac_aux_dir=
2379 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2380   if test -f "$ac_dir/install-sh"; then
2381     ac_aux_dir=$ac_dir
2382     ac_install_sh="$ac_aux_dir/install-sh -c"
2383     break
2384   elif test -f "$ac_dir/install.sh"; then
2385     ac_aux_dir=$ac_dir
2386     ac_install_sh="$ac_aux_dir/install.sh -c"
2387     break
2388   elif test -f "$ac_dir/shtool"; then
2389     ac_aux_dir=$ac_dir
2390     ac_install_sh="$ac_aux_dir/shtool install -c"
2391     break
2392   fi
2393 done
2394 if test -z "$ac_aux_dir"; then
2395   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2396 fi
2397
2398 # These three variables are undocumented and unsupported,
2399 # and are intended to be withdrawn in a future Autoconf release.
2400 # They can cause serious problems if a builder's source tree is in a directory
2401 # whose full name contains unusual characters.
2402 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2403 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2404 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2405
2406
2407 # Find a good install program.  We prefer a C program (faster),
2408 # so one script is as good as another.  But avoid the broken or
2409 # incompatible versions:
2410 # SysV /etc/install, /usr/sbin/install
2411 # SunOS /usr/etc/install
2412 # IRIX /sbin/install
2413 # AIX /bin/install
2414 # AmigaOS /C/install, which installs bootblocks on floppy discs
2415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2418 # OS/2's system install, which has a completely different semantic
2419 # ./install, which can be erroneously created by make from ./install.sh.
2420 # Reject install programs that cannot install multiple files.
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2422 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2423 if test -z "$INSTALL"; then
2424 if ${ac_cv_path_install+:} false; then :
2425   $as_echo_n "(cached) " >&6
2426 else
2427   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH
2429 do
2430   IFS=$as_save_IFS
2431   test -z "$as_dir" && as_dir=.
2432     # Account for people who put trailing slashes in PATH elements.
2433 case $as_dir/ in #((
2434   ./ | .// | /[cC]/* | \
2435   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2436   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2437   /usr/ucb/* ) ;;
2438   *)
2439     # OSF1 and SCO ODT 3.0 have their own names for install.
2440     # Don't use installbsd from OSF since it installs stuff as root
2441     # by default.
2442     for ac_prog in ginstall scoinst install; do
2443       for ac_exec_ext in '' $ac_executable_extensions; do
2444         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2445           if test $ac_prog = install &&
2446             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2447             # AIX install.  It has an incompatible calling convention.
2448             :
2449           elif test $ac_prog = install &&
2450             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2451             # program-specific install script used by HP pwplus--don't use.
2452             :
2453           else
2454             rm -rf conftest.one conftest.two conftest.dir
2455             echo one > conftest.one
2456             echo two > conftest.two
2457             mkdir conftest.dir
2458             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2459               test -s conftest.one && test -s conftest.two &&
2460               test -s conftest.dir/conftest.one &&
2461               test -s conftest.dir/conftest.two
2462             then
2463               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2464               break 3
2465             fi
2466           fi
2467         fi
2468       done
2469     done
2470     ;;
2471 esac
2472
2473   done
2474 IFS=$as_save_IFS
2475
2476 rm -rf conftest.one conftest.two conftest.dir
2477
2478 fi
2479   if test "${ac_cv_path_install+set}" = set; then
2480     INSTALL=$ac_cv_path_install
2481   else
2482     # As a last resort, use the slow shell script.  Don't cache a
2483     # value for INSTALL within a source directory, because that will
2484     # break other packages using the cache if that directory is
2485     # removed, or if the value is a relative name.
2486     INSTALL=$ac_install_sh
2487   fi
2488 fi
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2490 $as_echo "$INSTALL" >&6; }
2491
2492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2493 # It thinks the first close brace ends the variable substitution.
2494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2495
2496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2497
2498 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2499
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2501 $as_echo_n "checking whether build environment is sane... " >&6; }
2502 # Reject unsafe characters in $srcdir or the absolute working directory
2503 # name.  Accept space and tab only in the latter.
2504 am_lf='
2505 '
2506 case `pwd` in
2507   *[\\\"\#\$\&\'\`$am_lf]*)
2508     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2509 esac
2510 case $srcdir in
2511   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2512     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2513 esac
2514
2515 # Do 'set' in a subshell so we don't clobber the current shell's
2516 # arguments.  Must try -L first in case configure is actually a
2517 # symlink; some systems play weird games with the mod time of symlinks
2518 # (eg FreeBSD returns the mod time of the symlink's containing
2519 # directory).
2520 if (
2521    am_has_slept=no
2522    for am_try in 1 2; do
2523      echo "timestamp, slept: $am_has_slept" > conftest.file
2524      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2525      if test "$*" = "X"; then
2526         # -L didn't work.
2527         set X `ls -t "$srcdir/configure" conftest.file`
2528      fi
2529      if test "$*" != "X $srcdir/configure conftest.file" \
2530         && test "$*" != "X conftest.file $srcdir/configure"; then
2531
2532         # If neither matched, then we have a broken ls.  This can happen
2533         # if, for instance, CONFIG_SHELL is bash and it inherits a
2534         # broken ls alias from the environment.  This has actually
2535         # happened.  Such a system could not be considered "sane".
2536         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2537   alias in your environment" "$LINENO" 5
2538      fi
2539      if test "$2" = conftest.file || test $am_try -eq 2; then
2540        break
2541      fi
2542      # Just in case.
2543      sleep 1
2544      am_has_slept=yes
2545    done
2546    test "$2" = conftest.file
2547    )
2548 then
2549    # Ok.
2550    :
2551 else
2552    as_fn_error $? "newly created file is older than distributed files!
2553 Check your system clock" "$LINENO" 5
2554 fi
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2557 # If we didn't sleep, we still need to ensure time stamps of config.status and
2558 # generated files are strictly newer.
2559 am_sleep_pid=
2560 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2561   ( sleep 1 ) &
2562   am_sleep_pid=$!
2563 fi
2564
2565 rm -f conftest.file
2566
2567 test "$program_prefix" != NONE &&
2568   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2569 # Use a double $ so make ignores it.
2570 test "$program_suffix" != NONE &&
2571   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2572 # Double any \ or $.
2573 # By default was `s,x,x', remove it if useless.
2574 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2575 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2576
2577 # Expand $ac_aux_dir to an absolute path.
2578 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2579
2580 if test x"${MISSING+set}" != xset; then
2581   case $am_aux_dir in
2582   *\ * | *\     *)
2583     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2584   *)
2585     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2586   esac
2587 fi
2588 # Use eval to expand $SHELL
2589 if eval "$MISSING --is-lightweight"; then
2590   am_missing_run="$MISSING "
2591 else
2592   am_missing_run=
2593   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2594 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2595 fi
2596
2597 if test x"${install_sh}" != xset; then
2598   case $am_aux_dir in
2599   *\ * | *\     *)
2600     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2601   *)
2602     install_sh="\${SHELL} $am_aux_dir/install-sh"
2603   esac
2604 fi
2605
2606 # Installed binaries are usually stripped using 'strip' when the user
2607 # run "make install-strip".  However 'strip' might not be the right
2608 # tool to use in cross-compilation environments, therefore Automake
2609 # will honor the 'STRIP' environment variable to overrule this program.
2610 if test "$cross_compiling" != no; then
2611   if test -n "$ac_tool_prefix"; then
2612   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2613 set dummy ${ac_tool_prefix}strip; ac_word=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_STRIP+:} false; then :
2617   $as_echo_n "(cached) " >&6
2618 else
2619   if test -n "$STRIP"; then
2620   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2621 else
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 for as_dir in $PATH
2624 do
2625   IFS=$as_save_IFS
2626   test -z "$as_dir" && as_dir=.
2627     for ac_exec_ext in '' $ac_executable_extensions; do
2628   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2629     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2631     break 2
2632   fi
2633 done
2634   done
2635 IFS=$as_save_IFS
2636
2637 fi
2638 fi
2639 STRIP=$ac_cv_prog_STRIP
2640 if test -n "$STRIP"; then
2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2642 $as_echo "$STRIP" >&6; }
2643 else
2644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2646 fi
2647
2648
2649 fi
2650 if test -z "$ac_cv_prog_STRIP"; then
2651   ac_ct_STRIP=$STRIP
2652   # Extract the first word of "strip", so it can be a program name with args.
2653 set dummy strip; ac_word=$2
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2657   $as_echo_n "(cached) " >&6
2658 else
2659   if test -n "$ac_ct_STRIP"; then
2660   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2661 else
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 for as_dir in $PATH
2664 do
2665   IFS=$as_save_IFS
2666   test -z "$as_dir" && as_dir=.
2667     for ac_exec_ext in '' $ac_executable_extensions; do
2668   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669     ac_cv_prog_ac_ct_STRIP="strip"
2670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671     break 2
2672   fi
2673 done
2674   done
2675 IFS=$as_save_IFS
2676
2677 fi
2678 fi
2679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2680 if test -n "$ac_ct_STRIP"; then
2681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2682 $as_echo "$ac_ct_STRIP" >&6; }
2683 else
2684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2686 fi
2687
2688   if test "x$ac_ct_STRIP" = x; then
2689     STRIP=":"
2690   else
2691     case $cross_compiling:$ac_tool_warned in
2692 yes:)
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2695 ac_tool_warned=yes ;;
2696 esac
2697     STRIP=$ac_ct_STRIP
2698   fi
2699 else
2700   STRIP="$ac_cv_prog_STRIP"
2701 fi
2702
2703 fi
2704 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2705
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2707 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2708 if test -z "$MKDIR_P"; then
2709   if ${ac_cv_path_mkdir+:} false; then :
2710   $as_echo_n "(cached) " >&6
2711 else
2712   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2714 do
2715   IFS=$as_save_IFS
2716   test -z "$as_dir" && as_dir=.
2717     for ac_prog in mkdir gmkdir; do
2718          for ac_exec_ext in '' $ac_executable_extensions; do
2719            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2720            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2721              'mkdir (GNU coreutils) '* | \
2722              'mkdir (coreutils) '* | \
2723              'mkdir (fileutils) '4.1*)
2724                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2725                break 3;;
2726            esac
2727          done
2728        done
2729   done
2730 IFS=$as_save_IFS
2731
2732 fi
2733
2734   test -d ./--version && rmdir ./--version
2735   if test "${ac_cv_path_mkdir+set}" = set; then
2736     MKDIR_P="$ac_cv_path_mkdir -p"
2737   else
2738     # As a last resort, use the slow shell script.  Don't cache a
2739     # value for MKDIR_P within a source directory, because that will
2740     # break other packages using the cache if that directory is
2741     # removed, or if the value is a relative name.
2742     MKDIR_P="$ac_install_sh -d"
2743   fi
2744 fi
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2746 $as_echo "$MKDIR_P" >&6; }
2747
2748 for ac_prog in gawk mawk nawk awk
2749 do
2750   # Extract the first word of "$ac_prog", so it can be a program name with args.
2751 set dummy $ac_prog; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_AWK+:} false; then :
2755   $as_echo_n "(cached) " >&6
2756 else
2757   if test -n "$AWK"; then
2758   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2762 do
2763   IFS=$as_save_IFS
2764   test -z "$as_dir" && as_dir=.
2765     for ac_exec_ext in '' $ac_executable_extensions; do
2766   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767     ac_cv_prog_AWK="$ac_prog"
2768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769     break 2
2770   fi
2771 done
2772   done
2773 IFS=$as_save_IFS
2774
2775 fi
2776 fi
2777 AWK=$ac_cv_prog_AWK
2778 if test -n "$AWK"; then
2779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2780 $as_echo "$AWK" >&6; }
2781 else
2782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 fi
2785
2786
2787   test -n "$AWK" && break
2788 done
2789
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2791 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2792 set x ${MAKE-make}
2793 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2794 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2795   $as_echo_n "(cached) " >&6
2796 else
2797   cat >conftest.make <<\_ACEOF
2798 SHELL = /bin/sh
2799 all:
2800         @echo '@@@%%%=$(MAKE)=@@@%%%'
2801 _ACEOF
2802 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2803 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2804   *@@@%%%=?*=@@@%%%*)
2805     eval ac_cv_prog_make_${ac_make}_set=yes;;
2806   *)
2807     eval ac_cv_prog_make_${ac_make}_set=no;;
2808 esac
2809 rm -f conftest.make
2810 fi
2811 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813 $as_echo "yes" >&6; }
2814   SET_MAKE=
2815 else
2816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2818   SET_MAKE="MAKE=${MAKE-make}"
2819 fi
2820
2821 rm -rf .tst 2>/dev/null
2822 mkdir .tst 2>/dev/null
2823 if test -d .tst; then
2824   am__leading_dot=.
2825 else
2826   am__leading_dot=_
2827 fi
2828 rmdir .tst 2>/dev/null
2829
2830 # Check whether --enable-silent-rules was given.
2831 if test "${enable_silent_rules+set}" = set; then :
2832   enableval=$enable_silent_rules;
2833 fi
2834
2835 case $enable_silent_rules in # (((
2836   yes) AM_DEFAULT_VERBOSITY=0;;
2837    no) AM_DEFAULT_VERBOSITY=1;;
2838     *) AM_DEFAULT_VERBOSITY=1;;
2839 esac
2840 am_make=${MAKE-make}
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2842 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2843 if ${am_cv_make_support_nested_variables+:} false; then :
2844   $as_echo_n "(cached) " >&6
2845 else
2846   if $as_echo 'TRUE=$(BAR$(V))
2847 BAR0=false
2848 BAR1=true
2849 V=1
2850 am__doit:
2851         @$(TRUE)
2852 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2853   am_cv_make_support_nested_variables=yes
2854 else
2855   am_cv_make_support_nested_variables=no
2856 fi
2857 fi
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2859 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2860 if test $am_cv_make_support_nested_variables = yes; then
2861     AM_V='$(V)'
2862   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2863 else
2864   AM_V=$AM_DEFAULT_VERBOSITY
2865   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2866 fi
2867 AM_BACKSLASH='\'
2868
2869 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2870   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2871   # is not polluted with repeated "-I."
2872   am__isrc=' -I$(srcdir)'
2873   # test to see if srcdir already configured
2874   if test -f $srcdir/config.status; then
2875     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2876   fi
2877 fi
2878
2879 # test whether we have cygpath
2880 if test -z "$CYGPATH_W"; then
2881   if (cygpath --version) >/dev/null 2>/dev/null; then
2882     CYGPATH_W='cygpath -w'
2883   else
2884     CYGPATH_W=echo
2885   fi
2886 fi
2887
2888
2889 # Define the identity of the package.
2890  PACKAGE='xplus-gno'
2891  VERSION='1.0'
2892
2893
2894 cat >>confdefs.h <<_ACEOF
2895 #define PACKAGE "$PACKAGE"
2896 _ACEOF
2897
2898
2899 cat >>confdefs.h <<_ACEOF
2900 #define VERSION "$VERSION"
2901 _ACEOF
2902
2903 # Some tools Automake needs.
2904
2905 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2906
2907
2908 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2909
2910
2911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2912
2913
2914 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2915
2916
2917 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2918
2919 # For better backward compatibility.  To be removed once Automake 1.9.x
2920 # dies out for good.  For more background, see:
2921 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2922 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2923 mkdir_p='$(MKDIR_P)'
2924
2925 # We need awk for the "check" target.  The system "awk" is bad on
2926 # some platforms.
2927 # Always define AMTAR for backward compatibility.  Yes, it's still used
2928 # in the wild :-(  We should find a proper way to deprecate it ...
2929 AMTAR='$${TAR-tar}'
2930
2931
2932 # We'll loop over all known methods to create a tar archive until one works.
2933 _am_tools='gnutar  pax cpio none'
2934
2935 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2936
2937
2938
2939
2940
2941
2942 # POSIX will say in a future version that running "rm -f" with no argument
2943 # is OK; and we want to be able to make that assumption in our Makefile
2944 # recipes.  So use an aggressive probe to check that the usage we want is
2945 # actually supported "in the wild" to an acceptable degree.
2946 # See automake bug#10828.
2947 # To make any issue more visible, cause the running configure to be aborted
2948 # by default if the 'rm' program in use doesn't match our expectations; the
2949 # user can still override this though.
2950 if rm -f && rm -fr && rm -rf; then : OK; else
2951   cat >&2 <<'END'
2952 Oops!
2953
2954 Your 'rm' program seems unable to run without file operands specified
2955 on the command line, even when the '-f' option is present.  This is contrary
2956 to the behaviour of most rm programs out there, and not conforming with
2957 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2958
2959 Please tell bug-automake@gnu.org about your system, including the value
2960 of your $PATH and any error possibly output before this message.  This
2961 can help us improve future automake versions.
2962
2963 END
2964   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2965     echo 'Configuration will proceed anyway, since you have set the' >&2
2966     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2967     echo >&2
2968   else
2969     cat >&2 <<'END'
2970 Aborting the configuration process, to ensure you take notice of the issue.
2971
2972 You can download and install GNU coreutils to get an 'rm' implementation
2973 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2974
2975 If you want to complete the configuration process using your problematic
2976 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2977 to "yes", and re-run configure.
2978
2979 END
2980     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2981   fi
2982 fi
2983
2984 ac_config_headers="$ac_config_headers config.h"
2985
2986 #AC_PREFIX_DEFAULT(duck)
2987 case `pwd` in
2988   *\ * | *\     *)
2989     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2990 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2991 esac
2992
2993
2994
2995 macro_version='2.4.2'
2996 macro_revision='1.3337'
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010 ltmain="$ac_aux_dir/ltmain.sh"
3011
3012 # Make sure we can run config.sub.
3013 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3014   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3015
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3017 $as_echo_n "checking build system type... " >&6; }
3018 if ${ac_cv_build+:} false; then :
3019   $as_echo_n "(cached) " >&6
3020 else
3021   ac_build_alias=$build_alias
3022 test "x$ac_build_alias" = x &&
3023   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3024 test "x$ac_build_alias" = x &&
3025   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3026 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3027   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3028
3029 fi
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3031 $as_echo "$ac_cv_build" >&6; }
3032 case $ac_cv_build in
3033 *-*-*) ;;
3034 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3035 esac
3036 build=$ac_cv_build
3037 ac_save_IFS=$IFS; IFS='-'
3038 set x $ac_cv_build
3039 shift
3040 build_cpu=$1
3041 build_vendor=$2
3042 shift; shift
3043 # Remember, the first character of IFS is used to create $*,
3044 # except with old shells:
3045 build_os=$*
3046 IFS=$ac_save_IFS
3047 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3048
3049
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3051 $as_echo_n "checking host system type... " >&6; }
3052 if ${ac_cv_host+:} false; then :
3053   $as_echo_n "(cached) " >&6
3054 else
3055   if test "x$host_alias" = x; then
3056   ac_cv_host=$ac_cv_build
3057 else
3058   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3059     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3060 fi
3061
3062 fi
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3064 $as_echo "$ac_cv_host" >&6; }
3065 case $ac_cv_host in
3066 *-*-*) ;;
3067 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3068 esac
3069 host=$ac_cv_host
3070 ac_save_IFS=$IFS; IFS='-'
3071 set x $ac_cv_host
3072 shift
3073 host_cpu=$1
3074 host_vendor=$2
3075 shift; shift
3076 # Remember, the first character of IFS is used to create $*,
3077 # except with old shells:
3078 host_os=$*
3079 IFS=$ac_save_IFS
3080 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3081
3082
3083 # Backslashify metacharacters that are still active within
3084 # double-quoted strings.
3085 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3086
3087 # Same as above, but do not quote variable references.
3088 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3089
3090 # Sed substitution to delay expansion of an escaped shell variable in a
3091 # double_quote_subst'ed string.
3092 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3093
3094 # Sed substitution to delay expansion of an escaped single quote.
3095 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3096
3097 # Sed substitution to avoid accidental globbing in evaled expressions
3098 no_glob_subst='s/\*/\\\*/g'
3099
3100 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3101 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3102 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3103
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3105 $as_echo_n "checking how to print strings... " >&6; }
3106 # Test print first, because it will be a builtin if present.
3107 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3108    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3109   ECHO='print -r --'
3110 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3111   ECHO='printf %s\n'
3112 else
3113   # Use this function as a fallback that always works.
3114   func_fallback_echo ()
3115   {
3116     eval 'cat <<_LTECHO_EOF
3117 $1
3118 _LTECHO_EOF'
3119   }
3120   ECHO='func_fallback_echo'
3121 fi
3122
3123 # func_echo_all arg...
3124 # Invoke $ECHO with all args, space-separated.
3125 func_echo_all ()
3126 {
3127     $ECHO ""
3128 }
3129
3130 case "$ECHO" in
3131   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3132 $as_echo "printf" >&6; } ;;
3133   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3134 $as_echo "print -r" >&6; } ;;
3135   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3136 $as_echo "cat" >&6; } ;;
3137 esac
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152 DEPDIR="${am__leading_dot}deps"
3153
3154 ac_config_commands="$ac_config_commands depfiles"
3155
3156
3157 am_make=${MAKE-make}
3158 cat > confinc << 'END'
3159 am__doit:
3160         @echo this is the am__doit target
3161 .PHONY: am__doit
3162 END
3163 # If we don't find an include directive, just comment out the code.
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3165 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3166 am__include="#"
3167 am__quote=
3168 _am_result=none
3169 # First try GNU make style include.
3170 echo "include confinc" > confmf
3171 # Ignore all kinds of additional output from 'make'.
3172 case `$am_make -s -f confmf 2> /dev/null` in #(
3173 *the\ am__doit\ target*)
3174   am__include=include
3175   am__quote=
3176   _am_result=GNU
3177   ;;
3178 esac
3179 # Now try BSD make style include.
3180 if test "$am__include" = "#"; then
3181    echo '.include "confinc"' > confmf
3182    case `$am_make -s -f confmf 2> /dev/null` in #(
3183    *the\ am__doit\ target*)
3184      am__include=.include
3185      am__quote="\""
3186      _am_result=BSD
3187      ;;
3188    esac
3189 fi
3190
3191
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3193 $as_echo "$_am_result" >&6; }
3194 rm -f confinc confmf
3195
3196 # Check whether --enable-dependency-tracking was given.
3197 if test "${enable_dependency_tracking+set}" = set; then :
3198   enableval=$enable_dependency_tracking;
3199 fi
3200
3201 if test "x$enable_dependency_tracking" != xno; then
3202   am_depcomp="$ac_aux_dir/depcomp"
3203   AMDEPBACKSLASH='\'
3204   am__nodep='_no'
3205 fi
3206  if test "x$enable_dependency_tracking" != xno; then
3207   AMDEP_TRUE=
3208   AMDEP_FALSE='#'
3209 else
3210   AMDEP_TRUE='#'
3211   AMDEP_FALSE=
3212 fi
3213
3214
3215 ac_ext=c
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3220 if test -n "$ac_tool_prefix"; then
3221   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3222 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_CC+:} false; then :
3226   $as_echo_n "(cached) " >&6
3227 else
3228   if test -n "$CC"; then
3229   ac_cv_prog_CC="$CC" # Let the user override the test.
3230 else
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 for as_dir in $PATH
3233 do
3234   IFS=$as_save_IFS
3235   test -z "$as_dir" && as_dir=.
3236     for ac_exec_ext in '' $ac_executable_extensions; do
3237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3238     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240     break 2
3241   fi
3242 done
3243   done
3244 IFS=$as_save_IFS
3245
3246 fi
3247 fi
3248 CC=$ac_cv_prog_CC
3249 if test -n "$CC"; then
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3251 $as_echo "$CC" >&6; }
3252 else
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 fi
3256
3257
3258 fi
3259 if test -z "$ac_cv_prog_CC"; then
3260   ac_ct_CC=$CC
3261   # Extract the first word of "gcc", so it can be a program name with args.
3262 set dummy gcc; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3266   $as_echo_n "(cached) " >&6
3267 else
3268   if test -n "$ac_ct_CC"; then
3269   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3273 do
3274   IFS=$as_save_IFS
3275   test -z "$as_dir" && as_dir=.
3276     for ac_exec_ext in '' $ac_executable_extensions; do
3277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3278     ac_cv_prog_ac_ct_CC="gcc"
3279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280     break 2
3281   fi
3282 done
3283   done
3284 IFS=$as_save_IFS
3285
3286 fi
3287 fi
3288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3289 if test -n "$ac_ct_CC"; then
3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3291 $as_echo "$ac_ct_CC" >&6; }
3292 else
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3295 fi
3296
3297   if test "x$ac_ct_CC" = x; then
3298     CC=""
3299   else
3300     case $cross_compiling:$ac_tool_warned in
3301 yes:)
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3304 ac_tool_warned=yes ;;
3305 esac
3306     CC=$ac_ct_CC
3307   fi
3308 else
3309   CC="$ac_cv_prog_CC"
3310 fi
3311
3312 if test -z "$CC"; then
3313           if test -n "$ac_tool_prefix"; then
3314     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3315 set dummy ${ac_tool_prefix}cc; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if ${ac_cv_prog_CC+:} false; then :
3319   $as_echo_n "(cached) " >&6
3320 else
3321   if test -n "$CC"; then
3322   ac_cv_prog_CC="$CC" # Let the user override the test.
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3326 do
3327   IFS=$as_save_IFS
3328   test -z "$as_dir" && as_dir=.
3329     for ac_exec_ext in '' $ac_executable_extensions; do
3330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331     ac_cv_prog_CC="${ac_tool_prefix}cc"
3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333     break 2
3334   fi
3335 done
3336   done
3337 IFS=$as_save_IFS
3338
3339 fi
3340 fi
3341 CC=$ac_cv_prog_CC
3342 if test -n "$CC"; then
3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3344 $as_echo "$CC" >&6; }
3345 else
3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3348 fi
3349
3350
3351   fi
3352 fi
3353 if test -z "$CC"; then
3354   # Extract the first word of "cc", so it can be a program name with args.
3355 set dummy cc; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if ${ac_cv_prog_CC+:} false; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   if test -n "$CC"; then
3362   ac_cv_prog_CC="$CC" # Let the user override the test.
3363 else
3364   ac_prog_rejected=no
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH
3367 do
3368   IFS=$as_save_IFS
3369   test -z "$as_dir" && as_dir=.
3370     for ac_exec_ext in '' $ac_executable_extensions; do
3371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3373        ac_prog_rejected=yes
3374        continue
3375      fi
3376     ac_cv_prog_CC="cc"
3377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378     break 2
3379   fi
3380 done
3381   done
3382 IFS=$as_save_IFS
3383
3384 if test $ac_prog_rejected = yes; then
3385   # We found a bogon in the path, so make sure we never use it.
3386   set dummy $ac_cv_prog_CC
3387   shift
3388   if test $# != 0; then
3389     # We chose a different compiler from the bogus one.
3390     # However, it has the same basename, so the bogon will be chosen
3391     # first if we set CC to just the basename; use the full file name.
3392     shift
3393     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3394   fi
3395 fi
3396 fi
3397 fi
3398 CC=$ac_cv_prog_CC
3399 if test -n "$CC"; then
3400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3401 $as_echo "$CC" >&6; }
3402 else
3403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3405 fi
3406
3407
3408 fi
3409 if test -z "$CC"; then
3410   if test -n "$ac_tool_prefix"; then
3411   for ac_prog in cl.exe
3412   do
3413     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3414 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if ${ac_cv_prog_CC+:} false; then :
3418   $as_echo_n "(cached) " >&6
3419 else
3420   if test -n "$CC"; then
3421   ac_cv_prog_CC="$CC" # Let the user override the test.
3422 else
3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3424 for as_dir in $PATH
3425 do
3426   IFS=$as_save_IFS
3427   test -z "$as_dir" && as_dir=.
3428     for ac_exec_ext in '' $ac_executable_extensions; do
3429   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3430     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432     break 2
3433   fi
3434 done
3435   done
3436 IFS=$as_save_IFS
3437
3438 fi
3439 fi
3440 CC=$ac_cv_prog_CC
3441 if test -n "$CC"; then
3442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3443 $as_echo "$CC" >&6; }
3444 else
3445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3447 fi
3448
3449
3450     test -n "$CC" && break
3451   done
3452 fi
3453 if test -z "$CC"; then
3454   ac_ct_CC=$CC
3455   for ac_prog in cl.exe
3456 do
3457   # Extract the first word of "$ac_prog", so it can be a program name with args.
3458 set dummy $ac_prog; ac_word=$2
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3460 $as_echo_n "checking for $ac_word... " >&6; }
3461 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3462   $as_echo_n "(cached) " >&6
3463 else
3464   if test -n "$ac_ct_CC"; then
3465   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3466 else
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 for as_dir in $PATH
3469 do
3470   IFS=$as_save_IFS
3471   test -z "$as_dir" && as_dir=.
3472     for ac_exec_ext in '' $ac_executable_extensions; do
3473   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474     ac_cv_prog_ac_ct_CC="$ac_prog"
3475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3476     break 2
3477   fi
3478 done
3479   done
3480 IFS=$as_save_IFS
3481
3482 fi
3483 fi
3484 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3485 if test -n "$ac_ct_CC"; then
3486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3487 $as_echo "$ac_ct_CC" >&6; }
3488 else
3489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3490 $as_echo "no" >&6; }
3491 fi
3492
3493
3494   test -n "$ac_ct_CC" && break
3495 done
3496
3497   if test "x$ac_ct_CC" = x; then
3498     CC=""
3499   else
3500     case $cross_compiling:$ac_tool_warned in
3501 yes:)
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3504 ac_tool_warned=yes ;;
3505 esac
3506     CC=$ac_ct_CC
3507   fi
3508 fi
3509
3510 fi
3511
3512
3513 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3515 as_fn_error $? "no acceptable C compiler found in \$PATH
3516 See \`config.log' for more details" "$LINENO" 5; }
3517
3518 # Provide some information about the compiler.
3519 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3520 set X $ac_compile
3521 ac_compiler=$2
3522 for ac_option in --version -v -V -qversion; do
3523   { { ac_try="$ac_compiler $ac_option >&5"
3524 case "(($ac_try" in
3525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526   *) ac_try_echo=$ac_try;;
3527 esac
3528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529 $as_echo "$ac_try_echo"; } >&5
3530   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3531   ac_status=$?
3532   if test -s conftest.err; then
3533     sed '10a\
3534 ... rest of stderr output deleted ...
3535          10q' conftest.err >conftest.er1
3536     cat conftest.er1 >&5
3537   fi
3538   rm -f conftest.er1 conftest.err
3539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540   test $ac_status = 0; }
3541 done
3542
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h.  */
3545
3546 int
3547 main ()
3548 {
3549
3550   ;
3551   return 0;
3552 }
3553 _ACEOF
3554 ac_clean_files_save=$ac_clean_files
3555 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3556 # Try to create an executable without -o first, disregard a.out.
3557 # It will help us diagnose broken compilers, and finding out an intuition
3558 # of exeext.
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3560 $as_echo_n "checking whether the C compiler works... " >&6; }
3561 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3562
3563 # The possible output files:
3564 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3565
3566 ac_rmfiles=
3567 for ac_file in $ac_files
3568 do
3569   case $ac_file in
3570     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3571     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3572   esac
3573 done
3574 rm -f $ac_rmfiles
3575
3576 if { { ac_try="$ac_link_default"
3577 case "(($ac_try" in
3578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579   *) ac_try_echo=$ac_try;;
3580 esac
3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3582 $as_echo "$ac_try_echo"; } >&5
3583   (eval "$ac_link_default") 2>&5
3584   ac_status=$?
3585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3586   test $ac_status = 0; }; then :
3587   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3588 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3589 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3590 # so that the user can short-circuit this test for compilers unknown to
3591 # Autoconf.
3592 for ac_file in $ac_files ''
3593 do
3594   test -f "$ac_file" || continue
3595   case $ac_file in
3596     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3597         ;;
3598     [ab].out )
3599         # We found the default executable, but exeext='' is most
3600         # certainly right.
3601         break;;
3602     *.* )
3603         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3604         then :; else
3605            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3606         fi
3607         # We set ac_cv_exeext here because the later test for it is not
3608         # safe: cross compilers may not add the suffix if given an `-o'
3609         # argument, so we may need to know it at that point already.
3610         # Even if this section looks crufty: it has the advantage of
3611         # actually working.
3612         break;;
3613     * )
3614         break;;
3615   esac
3616 done
3617 test "$ac_cv_exeext" = no && ac_cv_exeext=
3618
3619 else
3620   ac_file=''
3621 fi
3622 if test -z "$ac_file"; then :
3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 $as_echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.$ac_ext >&5
3627
3628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630 as_fn_error 77 "C compiler cannot create executables
3631 See \`config.log' for more details" "$LINENO" 5; }
3632 else
3633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3634 $as_echo "yes" >&6; }
3635 fi
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3637 $as_echo_n "checking for C compiler default output file name... " >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3639 $as_echo "$ac_file" >&6; }
3640 ac_exeext=$ac_cv_exeext
3641
3642 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3643 ac_clean_files=$ac_clean_files_save
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3645 $as_echo_n "checking for suffix of executables... " >&6; }
3646 if { { ac_try="$ac_link"
3647 case "(($ac_try" in
3648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649   *) ac_try_echo=$ac_try;;
3650 esac
3651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652 $as_echo "$ac_try_echo"; } >&5
3653   (eval "$ac_link") 2>&5
3654   ac_status=$?
3655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656   test $ac_status = 0; }; then :
3657   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3658 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3659 # work properly (i.e., refer to `conftest.exe'), while it won't with
3660 # `rm'.
3661 for ac_file in conftest.exe conftest conftest.*; do
3662   test -f "$ac_file" || continue
3663   case $ac_file in
3664     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3665     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3666           break;;
3667     * ) break;;
3668   esac
3669 done
3670 else
3671   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3673 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3674 See \`config.log' for more details" "$LINENO" 5; }
3675 fi
3676 rm -f conftest conftest$ac_cv_exeext
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3678 $as_echo "$ac_cv_exeext" >&6; }
3679
3680 rm -f conftest.$ac_ext
3681 EXEEXT=$ac_cv_exeext
3682 ac_exeext=$EXEEXT
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h.  */
3685 #include <stdio.h>
3686 int
3687 main ()
3688 {
3689 FILE *f = fopen ("conftest.out", "w");
3690  return ferror (f) || fclose (f) != 0;
3691
3692   ;
3693   return 0;
3694 }
3695 _ACEOF
3696 ac_clean_files="$ac_clean_files conftest.out"
3697 # Check that the compiler produces executables we can run.  If not, either
3698 # the compiler is broken, or we cross compile.
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3700 $as_echo_n "checking whether we are cross compiling... " >&6; }
3701 if test "$cross_compiling" != yes; then
3702   { { ac_try="$ac_link"
3703 case "(($ac_try" in
3704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705   *) ac_try_echo=$ac_try;;
3706 esac
3707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3708 $as_echo "$ac_try_echo"; } >&5
3709   (eval "$ac_link") 2>&5
3710   ac_status=$?
3711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712   test $ac_status = 0; }
3713   if { ac_try='./conftest$ac_cv_exeext'
3714   { { case "(($ac_try" in
3715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716   *) ac_try_echo=$ac_try;;
3717 esac
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720   (eval "$ac_try") 2>&5
3721   ac_status=$?
3722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723   test $ac_status = 0; }; }; then
3724     cross_compiling=no
3725   else
3726     if test "$cross_compiling" = maybe; then
3727         cross_compiling=yes
3728     else
3729         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3731 as_fn_error $? "cannot run C compiled programs.
3732 If you meant to cross compile, use \`--host'.
3733 See \`config.log' for more details" "$LINENO" 5; }
3734     fi
3735   fi
3736 fi
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3738 $as_echo "$cross_compiling" >&6; }
3739
3740 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3741 ac_clean_files=$ac_clean_files_save
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3743 $as_echo_n "checking for suffix of object files... " >&6; }
3744 if ${ac_cv_objext+:} false; then :
3745   $as_echo_n "(cached) " >&6
3746 else
3747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h.  */
3749
3750 int
3751 main ()
3752 {
3753
3754   ;
3755   return 0;
3756 }
3757 _ACEOF
3758 rm -f conftest.o conftest.obj
3759 if { { ac_try="$ac_compile"
3760 case "(($ac_try" in
3761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762   *) ac_try_echo=$ac_try;;
3763 esac
3764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3765 $as_echo "$ac_try_echo"; } >&5
3766   (eval "$ac_compile") 2>&5
3767   ac_status=$?
3768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3769   test $ac_status = 0; }; then :
3770   for ac_file in conftest.o conftest.obj conftest.*; do
3771   test -f "$ac_file" || continue;
3772   case $ac_file in
3773     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3774     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3775        break;;
3776   esac
3777 done
3778 else
3779   $as_echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3781
3782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 as_fn_error $? "cannot compute suffix of object files: cannot compile
3785 See \`config.log' for more details" "$LINENO" 5; }
3786 fi
3787 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3788 fi
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3790 $as_echo "$ac_cv_objext" >&6; }
3791 OBJEXT=$ac_cv_objext
3792 ac_objext=$OBJEXT
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3794 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3795 if ${ac_cv_c_compiler_gnu+:} false; then :
3796   $as_echo_n "(cached) " >&6
3797 else
3798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h.  */
3800
3801 int
3802 main ()
3803 {
3804 #ifndef __GNUC__
3805        choke me
3806 #endif
3807
3808   ;
3809   return 0;
3810 }
3811 _ACEOF
3812 if ac_fn_c_try_compile "$LINENO"; then :
3813   ac_compiler_gnu=yes
3814 else
3815   ac_compiler_gnu=no
3816 fi
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3819
3820 fi
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3822 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3823 if test $ac_compiler_gnu = yes; then
3824   GCC=yes
3825 else
3826   GCC=
3827 fi
3828 ac_test_CFLAGS=${CFLAGS+set}
3829 ac_save_CFLAGS=$CFLAGS
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3831 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3832 if ${ac_cv_prog_cc_g+:} false; then :
3833   $as_echo_n "(cached) " >&6
3834 else
3835   ac_save_c_werror_flag=$ac_c_werror_flag
3836    ac_c_werror_flag=yes
3837    ac_cv_prog_cc_g=no
3838    CFLAGS="-g"
3839    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h.  */
3841
3842 int
3843 main ()
3844 {
3845
3846   ;
3847   return 0;
3848 }
3849 _ACEOF
3850 if ac_fn_c_try_compile "$LINENO"; then :
3851   ac_cv_prog_cc_g=yes
3852 else
3853   CFLAGS=""
3854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h.  */
3856
3857 int
3858 main ()
3859 {
3860
3861   ;
3862   return 0;
3863 }
3864 _ACEOF
3865 if ac_fn_c_try_compile "$LINENO"; then :
3866
3867 else
3868   ac_c_werror_flag=$ac_save_c_werror_flag
3869          CFLAGS="-g"
3870          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h.  */
3872
3873 int
3874 main ()
3875 {
3876
3877   ;
3878   return 0;
3879 }
3880 _ACEOF
3881 if ac_fn_c_try_compile "$LINENO"; then :
3882   ac_cv_prog_cc_g=yes
3883 fi
3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885 fi
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887 fi
3888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889    ac_c_werror_flag=$ac_save_c_werror_flag
3890 fi
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3892 $as_echo "$ac_cv_prog_cc_g" >&6; }
3893 if test "$ac_test_CFLAGS" = set; then
3894   CFLAGS=$ac_save_CFLAGS
3895 elif test $ac_cv_prog_cc_g = yes; then
3896   if test "$GCC" = yes; then
3897     CFLAGS="-g -O2"
3898   else
3899     CFLAGS="-g"
3900   fi
3901 else
3902   if test "$GCC" = yes; then
3903     CFLAGS="-O2"
3904   else
3905     CFLAGS=
3906   fi
3907 fi
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3909 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3910 if ${ac_cv_prog_cc_c89+:} false; then :
3911   $as_echo_n "(cached) " >&6
3912 else
3913   ac_cv_prog_cc_c89=no
3914 ac_save_CC=$CC
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h.  */
3917 #include <stdarg.h>
3918 #include <stdio.h>
3919 struct stat;
3920 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3921 struct buf { int x; };
3922 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3923 static char *e (p, i)
3924      char **p;
3925      int i;
3926 {
3927   return p[i];
3928 }
3929 static char *f (char * (*g) (char **, int), char **p, ...)
3930 {
3931   char *s;
3932   va_list v;
3933   va_start (v,p);
3934   s = g (p, va_arg (v,int));
3935   va_end (v);
3936   return s;
3937 }
3938
3939 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3940    function prototypes and stuff, but not '\xHH' hex character constants.
3941    These don't provoke an error unfortunately, instead are silently treated
3942    as 'x'.  The following induces an error, until -std is added to get
3943    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3944    array size at least.  It's necessary to write '\x00'==0 to get something
3945    that's true only with -std.  */
3946 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3947
3948 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3949    inside strings and character constants.  */
3950 #define FOO(x) 'x'
3951 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3952
3953 int test (int i, double x);
3954 struct s1 {int (*f) (int a);};
3955 struct s2 {int (*f) (double a);};
3956 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3957 int argc;
3958 char **argv;
3959 int
3960 main ()
3961 {
3962 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3963   ;
3964   return 0;
3965 }
3966 _ACEOF
3967 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3968         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3969 do
3970   CC="$ac_save_CC $ac_arg"
3971   if ac_fn_c_try_compile "$LINENO"; then :
3972   ac_cv_prog_cc_c89=$ac_arg
3973 fi
3974 rm -f core conftest.err conftest.$ac_objext
3975   test "x$ac_cv_prog_cc_c89" != "xno" && break
3976 done
3977 rm -f conftest.$ac_ext
3978 CC=$ac_save_CC
3979
3980 fi
3981 # AC_CACHE_VAL
3982 case "x$ac_cv_prog_cc_c89" in
3983   x)
3984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3985 $as_echo "none needed" >&6; } ;;
3986   xno)
3987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3988 $as_echo "unsupported" >&6; } ;;
3989   *)
3990     CC="$CC $ac_cv_prog_cc_c89"
3991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3992 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3993 esac
3994 if test "x$ac_cv_prog_cc_c89" != xno; then :
3995
3996 fi
3997
3998 ac_ext=c
3999 ac_cpp='$CPP $CPPFLAGS'
4000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4003
4004 ac_ext=c
4005 ac_cpp='$CPP $CPPFLAGS'
4006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4010 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4011 if ${am_cv_prog_cc_c_o+:} false; then :
4012   $as_echo_n "(cached) " >&6
4013 else
4014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h.  */
4016
4017 int
4018 main ()
4019 {
4020
4021   ;
4022   return 0;
4023 }
4024 _ACEOF
4025   # Make sure it works both with $CC and with simple cc.
4026   # Following AC_PROG_CC_C_O, we do the test twice because some
4027   # compilers refuse to overwrite an existing .o file with -o,
4028   # though they will create one.
4029   am_cv_prog_cc_c_o=yes
4030   for am_i in 1 2; do
4031     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4032    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4033    ac_status=$?
4034    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035    (exit $ac_status); } \
4036          && test -f conftest2.$ac_objext; then
4037       : OK
4038     else
4039       am_cv_prog_cc_c_o=no
4040       break
4041     fi
4042   done
4043   rm -f core conftest*
4044   unset am_i
4045 fi
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4047 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4048 if test "$am_cv_prog_cc_c_o" != yes; then
4049    # Losing compiler, so override with the script.
4050    # FIXME: It is wrong to rewrite CC.
4051    # But if we don't then we get into trouble of one sort or another.
4052    # A longer-term fix would be to have automake use am__CC in this case,
4053    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4054    CC="$am_aux_dir/compile $CC"
4055 fi
4056 ac_ext=c
4057 ac_cpp='$CPP $CPPFLAGS'
4058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4061
4062
4063 depcc="$CC"   am_compiler_list=
4064
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4066 $as_echo_n "checking dependency style of $depcc... " >&6; }
4067 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4068   $as_echo_n "(cached) " >&6
4069 else
4070   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4071   # We make a subdir and do the tests there.  Otherwise we can end up
4072   # making bogus files that we don't know about and never remove.  For
4073   # instance it was reported that on HP-UX the gcc test will end up
4074   # making a dummy file named 'D' -- because '-MD' means "put the output
4075   # in D".
4076   rm -rf conftest.dir
4077   mkdir conftest.dir
4078   # Copy depcomp to subdir because otherwise we won't find it if we're
4079   # using a relative directory.
4080   cp "$am_depcomp" conftest.dir
4081   cd conftest.dir
4082   # We will build objects and dependencies in a subdirectory because
4083   # it helps to detect inapplicable dependency modes.  For instance
4084   # both Tru64's cc and ICC support -MD to output dependencies as a
4085   # side effect of compilation, but ICC will put the dependencies in
4086   # the current directory while Tru64 will put them in the object
4087   # directory.
4088   mkdir sub
4089
4090   am_cv_CC_dependencies_compiler_type=none
4091   if test "$am_compiler_list" = ""; then
4092      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4093   fi
4094   am__universal=false
4095   case " $depcc " in #(
4096      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4097      esac
4098
4099   for depmode in $am_compiler_list; do
4100     # Setup a source with many dependencies, because some compilers
4101     # like to wrap large dependency lists on column 80 (with \), and
4102     # we should not choose a depcomp mode which is confused by this.
4103     #
4104     # We need to recreate these files for each test, as the compiler may
4105     # overwrite some of them when testing with obscure command lines.
4106     # This happens at least with the AIX C compiler.
4107     : > sub/conftest.c
4108     for i in 1 2 3 4 5 6; do
4109       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4110       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4111       # Solaris 10 /bin/sh.
4112       echo '/* dummy */' > sub/conftst$i.h
4113     done
4114     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4115
4116     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4117     # mode.  It turns out that the SunPro C++ compiler does not properly
4118     # handle '-M -o', and we need to detect this.  Also, some Intel
4119     # versions had trouble with output in subdirs.
4120     am__obj=sub/conftest.${OBJEXT-o}
4121     am__minus_obj="-o $am__obj"
4122     case $depmode in
4123     gcc)
4124       # This depmode causes a compiler race in universal mode.
4125       test "$am__universal" = false || continue
4126       ;;
4127     nosideeffect)
4128       # After this tag, mechanisms are not by side-effect, so they'll
4129       # only be used when explicitly requested.
4130       if test "x$enable_dependency_tracking" = xyes; then
4131         continue
4132       else
4133         break
4134       fi
4135       ;;
4136     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4137       # This compiler won't grok '-c -o', but also, the minuso test has
4138       # not run yet.  These depmodes are late enough in the game, and
4139       # so weak that their functioning should not be impacted.
4140       am__obj=conftest.${OBJEXT-o}
4141       am__minus_obj=
4142       ;;
4143     none) break ;;
4144     esac
4145     if depmode=$depmode \
4146        source=sub/conftest.c object=$am__obj \
4147        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4148        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4149          >/dev/null 2>conftest.err &&
4150        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4151        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4152        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4153        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4154       # icc doesn't choke on unknown options, it will just issue warnings
4155       # or remarks (even with -Werror).  So we grep stderr for any message
4156       # that says an option was ignored or not supported.
4157       # When given -MP, icc 7.0 and 7.1 complain thusly:
4158       #   icc: Command line warning: ignoring option '-M'; no argument required
4159       # The diagnosis changed in icc 8.0:
4160       #   icc: Command line remark: option '-MP' not supported
4161       if (grep 'ignoring option' conftest.err ||
4162           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4163         am_cv_CC_dependencies_compiler_type=$depmode
4164         break
4165       fi
4166     fi
4167   done
4168
4169   cd ..
4170   rm -rf conftest.dir
4171 else
4172   am_cv_CC_dependencies_compiler_type=none
4173 fi
4174
4175 fi
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4177 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4178 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4179
4180  if
4181   test "x$enable_dependency_tracking" != xno \
4182   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4183   am__fastdepCC_TRUE=
4184   am__fastdepCC_FALSE='#'
4185 else
4186   am__fastdepCC_TRUE='#'
4187   am__fastdepCC_FALSE=
4188 fi
4189
4190
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4192 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4193 if ${ac_cv_path_SED+:} false; then :
4194   $as_echo_n "(cached) " >&6
4195 else
4196             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4197      for ac_i in 1 2 3 4 5 6 7; do
4198        ac_script="$ac_script$as_nl$ac_script"
4199      done
4200      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4201      { ac_script=; unset ac_script;}
4202      if test -z "$SED"; then
4203   ac_path_SED_found=false
4204   # Loop through the user's path and test for each of PROGNAME-LIST
4205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 for as_dir in $PATH
4207 do
4208   IFS=$as_save_IFS
4209   test -z "$as_dir" && as_dir=.
4210     for ac_prog in sed gsed; do
4211     for ac_exec_ext in '' $ac_executable_extensions; do
4212       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4213       as_fn_executable_p "$ac_path_SED" || continue
4214 # Check for GNU ac_path_SED and select it if it is found.
4215   # Check for GNU $ac_path_SED
4216 case `"$ac_path_SED" --version 2>&1` in
4217 *GNU*)
4218   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4219 *)
4220   ac_count=0
4221   $as_echo_n 0123456789 >"conftest.in"
4222   while :
4223   do
4224     cat "conftest.in" "conftest.in" >"conftest.tmp"
4225     mv "conftest.tmp" "conftest.in"
4226     cp "conftest.in" "conftest.nl"
4227     $as_echo '' >> "conftest.nl"
4228     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4229     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4230     as_fn_arith $ac_count + 1 && ac_count=$as_val
4231     if test $ac_count -gt ${ac_path_SED_max-0}; then
4232       # Best one so far, save it but keep looking for a better one
4233       ac_cv_path_SED="$ac_path_SED"
4234       ac_path_SED_max=$ac_count
4235     fi
4236     # 10*(2^10) chars as input seems more than enough
4237     test $ac_count -gt 10 && break
4238   done
4239   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4240 esac
4241
4242       $ac_path_SED_found && break 3
4243     done
4244   done
4245   done
4246 IFS=$as_save_IFS
4247   if test -z "$ac_cv_path_SED"; then
4248     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4249   fi
4250 else
4251   ac_cv_path_SED=$SED
4252 fi
4253
4254 fi
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4256 $as_echo "$ac_cv_path_SED" >&6; }
4257  SED="$ac_cv_path_SED"
4258   rm -f conftest.sed
4259
4260 test -z "$SED" && SED=sed
4261 Xsed="$SED -e 1s/^X//"
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4274 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4275 if ${ac_cv_path_GREP+:} false; then :
4276   $as_echo_n "(cached) " >&6
4277 else
4278   if test -z "$GREP"; then
4279   ac_path_GREP_found=false
4280   # Loop through the user's path and test for each of PROGNAME-LIST
4281   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4283 do
4284   IFS=$as_save_IFS
4285   test -z "$as_dir" && as_dir=.
4286     for ac_prog in grep ggrep; do
4287     for ac_exec_ext in '' $ac_executable_extensions; do
4288       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4289       as_fn_executable_p "$ac_path_GREP" || continue
4290 # Check for GNU ac_path_GREP and select it if it is found.
4291   # Check for GNU $ac_path_GREP
4292 case `"$ac_path_GREP" --version 2>&1` in
4293 *GNU*)
4294   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4295 *)
4296   ac_count=0
4297   $as_echo_n 0123456789 >"conftest.in"
4298   while :
4299   do
4300     cat "conftest.in" "conftest.in" >"conftest.tmp"
4301     mv "conftest.tmp" "conftest.in"
4302     cp "conftest.in" "conftest.nl"
4303     $as_echo 'GREP' >> "conftest.nl"
4304     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4305     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4306     as_fn_arith $ac_count + 1 && ac_count=$as_val
4307     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4308       # Best one so far, save it but keep looking for a better one
4309       ac_cv_path_GREP="$ac_path_GREP"
4310       ac_path_GREP_max=$ac_count
4311     fi
4312     # 10*(2^10) chars as input seems more than enough
4313     test $ac_count -gt 10 && break
4314   done
4315   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4316 esac
4317
4318       $ac_path_GREP_found && break 3
4319     done
4320   done
4321   done
4322 IFS=$as_save_IFS
4323   if test -z "$ac_cv_path_GREP"; then
4324     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4325   fi
4326 else
4327   ac_cv_path_GREP=$GREP
4328 fi
4329
4330 fi
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4332 $as_echo "$ac_cv_path_GREP" >&6; }
4333  GREP="$ac_cv_path_GREP"
4334
4335
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4337 $as_echo_n "checking for egrep... " >&6; }
4338 if ${ac_cv_path_EGREP+:} false; then :
4339   $as_echo_n "(cached) " >&6
4340 else
4341   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4342    then ac_cv_path_EGREP="$GREP -E"
4343    else
4344      if test -z "$EGREP"; then
4345   ac_path_EGREP_found=false
4346   # Loop through the user's path and test for each of PROGNAME-LIST
4347   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4349 do
4350   IFS=$as_save_IFS
4351   test -z "$as_dir" && as_dir=.
4352     for ac_prog in egrep; do
4353     for ac_exec_ext in '' $ac_executable_extensions; do
4354       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4355       as_fn_executable_p "$ac_path_EGREP" || continue
4356 # Check for GNU ac_path_EGREP and select it if it is found.
4357   # Check for GNU $ac_path_EGREP
4358 case `"$ac_path_EGREP" --version 2>&1` in
4359 *GNU*)
4360   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4361 *)
4362   ac_count=0
4363   $as_echo_n 0123456789 >"conftest.in"
4364   while :
4365   do
4366     cat "conftest.in" "conftest.in" >"conftest.tmp"
4367     mv "conftest.tmp" "conftest.in"
4368     cp "conftest.in" "conftest.nl"
4369     $as_echo 'EGREP' >> "conftest.nl"
4370     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4371     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4372     as_fn_arith $ac_count + 1 && ac_count=$as_val
4373     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4374       # Best one so far, save it but keep looking for a better one
4375       ac_cv_path_EGREP="$ac_path_EGREP"
4376       ac_path_EGREP_max=$ac_count
4377     fi
4378     # 10*(2^10) chars as input seems more than enough
4379     test $ac_count -gt 10 && break
4380   done
4381   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4382 esac
4383
4384       $ac_path_EGREP_found && break 3
4385     done
4386   done
4387   done
4388 IFS=$as_save_IFS
4389   if test -z "$ac_cv_path_EGREP"; then
4390     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4391   fi
4392 else
4393   ac_cv_path_EGREP=$EGREP
4394 fi
4395
4396    fi
4397 fi
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4399 $as_echo "$ac_cv_path_EGREP" >&6; }
4400  EGREP="$ac_cv_path_EGREP"
4401
4402
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4404 $as_echo_n "checking for fgrep... " >&6; }
4405 if ${ac_cv_path_FGREP+:} false; then :
4406   $as_echo_n "(cached) " >&6
4407 else
4408   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4409    then ac_cv_path_FGREP="$GREP -F"
4410    else
4411      if test -z "$FGREP"; then
4412   ac_path_FGREP_found=false
4413   # Loop through the user's path and test for each of PROGNAME-LIST
4414   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4416 do
4417   IFS=$as_save_IFS
4418   test -z "$as_dir" && as_dir=.
4419     for ac_prog in fgrep; do
4420     for ac_exec_ext in '' $ac_executable_extensions; do
4421       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4422       as_fn_executable_p "$ac_path_FGREP" || continue
4423 # Check for GNU ac_path_FGREP and select it if it is found.
4424   # Check for GNU $ac_path_FGREP
4425 case `"$ac_path_FGREP" --version 2>&1` in
4426 *GNU*)
4427   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4428 *)
4429   ac_count=0
4430   $as_echo_n 0123456789 >"conftest.in"
4431   while :
4432   do
4433     cat "conftest.in" "conftest.in" >"conftest.tmp"
4434     mv "conftest.tmp" "conftest.in"
4435     cp "conftest.in" "conftest.nl"
4436     $as_echo 'FGREP' >> "conftest.nl"
4437     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4438     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4439     as_fn_arith $ac_count + 1 && ac_count=$as_val
4440     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4441       # Best one so far, save it but keep looking for a better one
4442       ac_cv_path_FGREP="$ac_path_FGREP"
4443       ac_path_FGREP_max=$ac_count
4444     fi
4445     # 10*(2^10) chars as input seems more than enough
4446     test $ac_count -gt 10 && break
4447   done
4448   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 esac
4450
4451       $ac_path_FGREP_found && break 3
4452     done
4453   done
4454   done
4455 IFS=$as_save_IFS
4456   if test -z "$ac_cv_path_FGREP"; then
4457     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4458   fi
4459 else
4460   ac_cv_path_FGREP=$FGREP
4461 fi
4462
4463    fi
4464 fi
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4466 $as_echo "$ac_cv_path_FGREP" >&6; }
4467  FGREP="$ac_cv_path_FGREP"
4468
4469
4470 test -z "$GREP" && GREP=grep
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490 # Check whether --with-gnu-ld was given.
4491 if test "${with_gnu_ld+set}" = set; then :
4492   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4493 else
4494   with_gnu_ld=no
4495 fi
4496
4497 ac_prog=ld
4498 if test "$GCC" = yes; then
4499   # Check if gcc -print-prog-name=ld gives a path.
4500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4501 $as_echo_n "checking for ld used by $CC... " >&6; }
4502   case $host in
4503   *-*-mingw*)
4504     # gcc leaves a trailing carriage return which upsets mingw
4505     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4506   *)
4507     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4508   esac
4509   case $ac_prog in
4510     # Accept absolute paths.
4511     [\\/]* | ?:[\\/]*)
4512       re_direlt='/[^/][^/]*/\.\./'
4513       # Canonicalize the pathname of ld
4514       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4515       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4516         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4517       done
4518       test -z "$LD" && LD="$ac_prog"
4519       ;;
4520   "")
4521     # If it fails, then pretend we aren't using GCC.
4522     ac_prog=ld
4523     ;;
4524   *)
4525     # If it is relative, then search for the first ld in PATH.
4526     with_gnu_ld=unknown
4527     ;;
4528   esac
4529 elif test "$with_gnu_ld" = yes; then
4530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4531 $as_echo_n "checking for GNU ld... " >&6; }
4532 else
4533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4534 $as_echo_n "checking for non-GNU ld... " >&6; }
4535 fi
4536 if ${lt_cv_path_LD+:} false; then :
4537   $as_echo_n "(cached) " >&6
4538 else
4539   if test -z "$LD"; then
4540   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4541   for ac_dir in $PATH; do
4542     IFS="$lt_save_ifs"
4543     test -z "$ac_dir" && ac_dir=.
4544     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4545       lt_cv_path_LD="$ac_dir/$ac_prog"
4546       # Check to see if the program is GNU ld.  I'd rather use --version,
4547       # but apparently some variants of GNU ld only accept -v.
4548       # Break only if it was the GNU/non-GNU ld that we prefer.
4549       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4550       *GNU* | *'with BFD'*)
4551         test "$with_gnu_ld" != no && break
4552         ;;
4553       *)
4554         test "$with_gnu_ld" != yes && break
4555         ;;
4556       esac
4557     fi
4558   done
4559   IFS="$lt_save_ifs"
4560 else
4561   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4562 fi
4563 fi
4564
4565 LD="$lt_cv_path_LD"
4566 if test -n "$LD"; then
4567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4568 $as_echo "$LD" >&6; }
4569 else
4570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4572 fi
4573 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4575 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4576 if ${lt_cv_prog_gnu_ld+:} false; then :
4577   $as_echo_n "(cached) " >&6
4578 else
4579   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4580 case `$LD -v 2>&1 </dev/null` in
4581 *GNU* | *'with BFD'*)
4582   lt_cv_prog_gnu_ld=yes
4583   ;;
4584 *)
4585   lt_cv_prog_gnu_ld=no
4586   ;;
4587 esac
4588 fi
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4590 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4591 with_gnu_ld=$lt_cv_prog_gnu_ld
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4602 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4603 if ${lt_cv_path_NM+:} false; then :
4604   $as_echo_n "(cached) " >&6
4605 else
4606   if test -n "$NM"; then
4607   # Let the user override the test.
4608   lt_cv_path_NM="$NM"
4609 else
4610   lt_nm_to_check="${ac_tool_prefix}nm"
4611   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4612     lt_nm_to_check="$lt_nm_to_check nm"
4613   fi
4614   for lt_tmp_nm in $lt_nm_to_check; do
4615     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4616     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4617       IFS="$lt_save_ifs"
4618       test -z "$ac_dir" && ac_dir=.
4619       tmp_nm="$ac_dir/$lt_tmp_nm"
4620       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4621         # Check to see if the nm accepts a BSD-compat flag.
4622         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4623         #   nm: unknown option "B" ignored
4624         # Tru64's nm complains that /dev/null is an invalid object file
4625         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4626         */dev/null* | *'Invalid file or object type'*)
4627           lt_cv_path_NM="$tmp_nm -B"
4628           break
4629           ;;
4630         *)
4631           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4632           */dev/null*)
4633             lt_cv_path_NM="$tmp_nm -p"
4634             break
4635             ;;
4636           *)
4637             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4638             continue # so that we can try to find one that supports BSD flags
4639             ;;
4640           esac
4641           ;;
4642         esac
4643       fi
4644     done
4645     IFS="$lt_save_ifs"
4646   done
4647   : ${lt_cv_path_NM=no}
4648 fi
4649 fi
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4651 $as_echo "$lt_cv_path_NM" >&6; }
4652 if test "$lt_cv_path_NM" != "no"; then
4653   NM="$lt_cv_path_NM"
4654 else
4655   # Didn't find any BSD compatible name lister, look for dumpbin.
4656   if test -n "$DUMPBIN"; then :
4657     # Let the user override the test.
4658   else
4659     if test -n "$ac_tool_prefix"; then
4660   for ac_prog in dumpbin "link -dump"
4661   do
4662     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_DUMPBIN+:} false; then :
4667   $as_echo_n "(cached) " >&6
4668 else
4669   if test -n "$DUMPBIN"; then
4670   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4671 else
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 for as_dir in $PATH
4674 do
4675   IFS=$as_save_IFS
4676   test -z "$as_dir" && as_dir=.
4677     for ac_exec_ext in '' $ac_executable_extensions; do
4678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4679     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681     break 2
4682   fi
4683 done
4684   done
4685 IFS=$as_save_IFS
4686
4687 fi
4688 fi
4689 DUMPBIN=$ac_cv_prog_DUMPBIN
4690 if test -n "$DUMPBIN"; then
4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4692 $as_echo "$DUMPBIN" >&6; }
4693 else
4694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4696 fi
4697
4698
4699     test -n "$DUMPBIN" && break
4700   done
4701 fi
4702 if test -z "$DUMPBIN"; then
4703   ac_ct_DUMPBIN=$DUMPBIN
4704   for ac_prog in dumpbin "link -dump"
4705 do
4706   # Extract the first word of "$ac_prog", so it can be a program name with args.
4707 set dummy $ac_prog; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4711   $as_echo_n "(cached) " >&6
4712 else
4713   if test -n "$ac_ct_DUMPBIN"; then
4714   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4715 else
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4718 do
4719   IFS=$as_save_IFS
4720   test -z "$as_dir" && as_dir=.
4721     for ac_exec_ext in '' $ac_executable_extensions; do
4722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4723     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725     break 2
4726   fi
4727 done
4728   done
4729 IFS=$as_save_IFS
4730
4731 fi
4732 fi
4733 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4734 if test -n "$ac_ct_DUMPBIN"; then
4735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4736 $as_echo "$ac_ct_DUMPBIN" >&6; }
4737 else
4738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 fi
4741
4742
4743   test -n "$ac_ct_DUMPBIN" && break
4744 done
4745
4746   if test "x$ac_ct_DUMPBIN" = x; then
4747     DUMPBIN=":"
4748   else
4749     case $cross_compiling:$ac_tool_warned in
4750 yes:)
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned=yes ;;
4754 esac
4755     DUMPBIN=$ac_ct_DUMPBIN
4756   fi
4757 fi
4758
4759     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4760     *COFF*)
4761       DUMPBIN="$DUMPBIN -symbols"
4762       ;;
4763     *)
4764       DUMPBIN=:
4765       ;;
4766     esac
4767   fi
4768
4769   if test "$DUMPBIN" != ":"; then
4770     NM="$DUMPBIN"
4771   fi
4772 fi
4773 test -z "$NM" && NM=nm
4774
4775
4776
4777
4778
4779
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4781 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4782 if ${lt_cv_nm_interface+:} false; then :
4783   $as_echo_n "(cached) " >&6
4784 else
4785   lt_cv_nm_interface="BSD nm"
4786   echo "int some_variable = 0;" > conftest.$ac_ext
4787   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4788   (eval "$ac_compile" 2>conftest.err)
4789   cat conftest.err >&5
4790   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4791   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4792   cat conftest.err >&5
4793   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4794   cat conftest.out >&5
4795   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4796     lt_cv_nm_interface="MS dumpbin"
4797   fi
4798   rm -f conftest*
4799 fi
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4801 $as_echo "$lt_cv_nm_interface" >&6; }
4802
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4804 $as_echo_n "checking whether ln -s works... " >&6; }
4805 LN_S=$as_ln_s
4806 if test "$LN_S" = "ln -s"; then
4807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4808 $as_echo "yes" >&6; }
4809 else
4810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4811 $as_echo "no, using $LN_S" >&6; }
4812 fi
4813
4814 # find the maximum length of command line arguments
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4816 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4817 if ${lt_cv_sys_max_cmd_len+:} false; then :
4818   $as_echo_n "(cached) " >&6
4819 else
4820     i=0
4821   teststring="ABCD"
4822
4823   case $build_os in
4824   msdosdjgpp*)
4825     # On DJGPP, this test can blow up pretty badly due to problems in libc
4826     # (any single argument exceeding 2000 bytes causes a buffer overrun
4827     # during glob expansion).  Even if it were fixed, the result of this
4828     # check would be larger than it should be.
4829     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4830     ;;
4831
4832   gnu*)
4833     # Under GNU Hurd, this test is not required because there is
4834     # no limit to the length of command line arguments.
4835     # Libtool will interpret -1 as no limit whatsoever
4836     lt_cv_sys_max_cmd_len=-1;
4837     ;;
4838
4839   cygwin* | mingw* | cegcc*)
4840     # On Win9x/ME, this test blows up -- it succeeds, but takes
4841     # about 5 minutes as the teststring grows exponentially.
4842     # Worse, since 9x/ME are not pre-emptively multitasking,
4843     # you end up with a "frozen" computer, even though with patience
4844     # the test eventually succeeds (with a max line length of 256k).
4845     # Instead, let's just punt: use the minimum linelength reported by
4846     # all of the supported platforms: 8192 (on NT/2K/XP).
4847     lt_cv_sys_max_cmd_len=8192;
4848     ;;
4849
4850   mint*)
4851     # On MiNT this can take a long time and run out of memory.
4852     lt_cv_sys_max_cmd_len=8192;
4853     ;;
4854
4855   amigaos*)
4856     # On AmigaOS with pdksh, this test takes hours, literally.
4857     # So we just punt and use a minimum line length of 8192.
4858     lt_cv_sys_max_cmd_len=8192;
4859     ;;
4860
4861   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4862     # This has been around since 386BSD, at least.  Likely further.
4863     if test -x /sbin/sysctl; then
4864       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4865     elif test -x /usr/sbin/sysctl; then
4866       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4867     else
4868       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4869     fi
4870     # And add a safety zone
4871     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4872     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4873     ;;
4874
4875   interix*)
4876     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4877     lt_cv_sys_max_cmd_len=196608
4878     ;;
4879
4880   os2*)
4881     # The test takes a long time on OS/2.
4882     lt_cv_sys_max_cmd_len=8192
4883     ;;
4884
4885   osf*)
4886     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4887     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4888     # nice to cause kernel panics so lets avoid the loop below.
4889     # First set a reasonable default.
4890     lt_cv_sys_max_cmd_len=16384
4891     #
4892     if test -x /sbin/sysconfig; then
4893       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4894         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4895       esac
4896     fi
4897     ;;
4898   sco3.2v5*)
4899     lt_cv_sys_max_cmd_len=102400
4900     ;;
4901   sysv5* | sco5v6* | sysv4.2uw2*)
4902     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4903     if test -n "$kargmax"; then
4904       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4905     else
4906       lt_cv_sys_max_cmd_len=32768
4907     fi
4908     ;;
4909   *)
4910     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4911     if test -n "$lt_cv_sys_max_cmd_len" && \
4912         test undefined != "$lt_cv_sys_max_cmd_len"; then
4913       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4914       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4915     else
4916       # Make teststring a little bigger before we do anything with it.
4917       # a 1K string should be a reasonable start.
4918       for i in 1 2 3 4 5 6 7 8 ; do
4919         teststring=$teststring$teststring
4920       done
4921       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4922       # If test is not a shell built-in, we'll probably end up computing a
4923       # maximum length that is only half of the actual maximum length, but
4924       # we can't tell.
4925       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4926                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4927               test $i != 17 # 1/2 MB should be enough
4928       do
4929         i=`expr $i + 1`
4930         teststring=$teststring$teststring
4931       done
4932       # Only check the string length outside the loop.
4933       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4934       teststring=
4935       # Add a significant safety factor because C++ compilers can tack on
4936       # massive amounts of additional arguments before passing them to the
4937       # linker.  It appears as though 1/2 is a usable value.
4938       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4939     fi
4940     ;;
4941   esac
4942
4943 fi
4944
4945 if test -n $lt_cv_sys_max_cmd_len ; then
4946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4947 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4948 else
4949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4950 $as_echo "none" >&6; }
4951 fi
4952 max_cmd_len=$lt_cv_sys_max_cmd_len
4953
4954
4955
4956
4957
4958
4959 : ${CP="cp -f"}
4960 : ${MV="mv -f"}
4961 : ${RM="rm -f"}
4962
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4964 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4965 # Try some XSI features
4966 xsi_shell=no
4967 ( _lt_dummy="a/b/c"
4968   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4969       = c,a/b,b/c, \
4970     && eval 'test $(( 1 + 1 )) -eq 2 \
4971     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4972   && xsi_shell=yes
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4974 $as_echo "$xsi_shell" >&6; }
4975
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4978 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4979 lt_shell_append=no
4980 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4981     >/dev/null 2>&1 \
4982   && lt_shell_append=yes
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4984 $as_echo "$lt_shell_append" >&6; }
4985
4986
4987 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4988   lt_unset=unset
4989 else
4990   lt_unset=false
4991 fi
4992
4993
4994
4995
4996
4997 # test EBCDIC or ASCII
4998 case `echo X|tr X '\101'` in
4999  A) # ASCII based system
5000     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5001   lt_SP2NL='tr \040 \012'
5002   lt_NL2SP='tr \015\012 \040\040'
5003   ;;
5004  *) # EBCDIC based system
5005   lt_SP2NL='tr \100 \n'
5006   lt_NL2SP='tr \r\n \100\100'
5007   ;;
5008 esac
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5019 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5020 if ${lt_cv_to_host_file_cmd+:} false; then :
5021   $as_echo_n "(cached) " >&6
5022 else
5023   case $host in
5024   *-*-mingw* )
5025     case $build in
5026       *-*-mingw* ) # actually msys
5027         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5028         ;;
5029       *-*-cygwin* )
5030         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5031         ;;
5032       * ) # otherwise, assume *nix
5033         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5034         ;;
5035     esac
5036     ;;
5037   *-*-cygwin* )
5038     case $build in
5039       *-*-mingw* ) # actually msys
5040         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5041         ;;
5042       *-*-cygwin* )
5043         lt_cv_to_host_file_cmd=func_convert_file_noop
5044         ;;
5045       * ) # otherwise, assume *nix
5046         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5047         ;;
5048     esac
5049     ;;
5050   * ) # unhandled hosts (and "normal" native builds)
5051     lt_cv_to_host_file_cmd=func_convert_file_noop
5052     ;;
5053 esac
5054
5055 fi
5056
5057 to_host_file_cmd=$lt_cv_to_host_file_cmd
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5059 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5060
5061
5062
5063
5064
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5066 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5067 if ${lt_cv_to_tool_file_cmd+:} false; then :
5068   $as_echo_n "(cached) " >&6
5069 else
5070   #assume ordinary cross tools, or native build.
5071 lt_cv_to_tool_file_cmd=func_convert_file_noop
5072 case $host in
5073   *-*-mingw* )
5074     case $build in
5075       *-*-mingw* ) # actually msys
5076         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5077         ;;
5078     esac
5079     ;;
5080 esac
5081
5082 fi
5083
5084 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5086 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5087
5088
5089
5090
5091
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5093 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5094 if ${lt_cv_ld_reload_flag+:} false; then :
5095   $as_echo_n "(cached) " >&6
5096 else
5097   lt_cv_ld_reload_flag='-r'
5098 fi
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5100 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5101 reload_flag=$lt_cv_ld_reload_flag
5102 case $reload_flag in
5103 "" | " "*) ;;
5104 *) reload_flag=" $reload_flag" ;;
5105 esac
5106 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5107 case $host_os in
5108   cygwin* | mingw* | pw32* | cegcc*)
5109     if test "$GCC" != yes; then
5110       reload_cmds=false
5111     fi
5112     ;;
5113   darwin*)
5114     if test "$GCC" = yes; then
5115       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5116     else
5117       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5118     fi
5119     ;;
5120 esac
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130 if test -n "$ac_tool_prefix"; then
5131   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5132 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_OBJDUMP+:} false; then :
5136   $as_echo_n "(cached) " >&6
5137 else
5138   if test -n "$OBJDUMP"; then
5139   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5143 do
5144   IFS=$as_save_IFS
5145   test -z "$as_dir" && as_dir=.
5146     for ac_exec_ext in '' $ac_executable_extensions; do
5147   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150     break 2
5151   fi
5152 done
5153   done
5154 IFS=$as_save_IFS
5155
5156 fi
5157 fi
5158 OBJDUMP=$ac_cv_prog_OBJDUMP
5159 if test -n "$OBJDUMP"; then
5160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5161 $as_echo "$OBJDUMP" >&6; }
5162 else
5163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5165 fi
5166
5167
5168 fi
5169 if test -z "$ac_cv_prog_OBJDUMP"; then
5170   ac_ct_OBJDUMP=$OBJDUMP
5171   # Extract the first word of "objdump", so it can be a program name with args.
5172 set dummy objdump; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5176   $as_echo_n "(cached) " >&6
5177 else
5178   if test -n "$ac_ct_OBJDUMP"; then
5179   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5183 do
5184   IFS=$as_save_IFS
5185   test -z "$as_dir" && as_dir=.
5186     for ac_exec_ext in '' $ac_executable_extensions; do
5187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190     break 2
5191   fi
5192 done
5193   done
5194 IFS=$as_save_IFS
5195
5196 fi
5197 fi
5198 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5199 if test -n "$ac_ct_OBJDUMP"; then
5200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5201 $as_echo "$ac_ct_OBJDUMP" >&6; }
5202 else
5203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5205 fi
5206
5207   if test "x$ac_ct_OBJDUMP" = x; then
5208     OBJDUMP="false"
5209   else
5210     case $cross_compiling:$ac_tool_warned in
5211 yes:)
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216     OBJDUMP=$ac_ct_OBJDUMP
5217   fi
5218 else
5219   OBJDUMP="$ac_cv_prog_OBJDUMP"
5220 fi
5221
5222 test -z "$OBJDUMP" && OBJDUMP=objdump
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5233 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5234 if ${lt_cv_deplibs_check_method+:} false; then :
5235   $as_echo_n "(cached) " >&6
5236 else
5237   lt_cv_file_magic_cmd='$MAGIC_CMD'
5238 lt_cv_file_magic_test_file=
5239 lt_cv_deplibs_check_method='unknown'
5240 # Need to set the preceding variable on all platforms that support
5241 # interlibrary dependencies.
5242 # 'none' -- dependencies not supported.
5243 # `unknown' -- same as none, but documents that we really don't know.
5244 # 'pass_all' -- all dependencies passed with no checks.
5245 # 'test_compile' -- check by making test program.
5246 # 'file_magic [[regex]]' -- check by looking for files in library path
5247 # which responds to the $file_magic_cmd with a given extended regex.
5248 # If you have `file' or equivalent on your system and you're not sure
5249 # whether `pass_all' will *always* work, you probably want this one.
5250
5251 case $host_os in
5252 aix[4-9]*)
5253   lt_cv_deplibs_check_method=pass_all
5254   ;;
5255
5256 beos*)
5257   lt_cv_deplibs_check_method=pass_all
5258   ;;
5259
5260 bsdi[45]*)
5261   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5262   lt_cv_file_magic_cmd='/usr/bin/file -L'
5263   lt_cv_file_magic_test_file=/shlib/libc.so
5264   ;;
5265
5266 cygwin*)
5267   # func_win32_libid is a shell function defined in ltmain.sh
5268   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5269   lt_cv_file_magic_cmd='func_win32_libid'
5270   ;;
5271
5272 mingw* | pw32*)
5273   # Base MSYS/MinGW do not provide the 'file' command needed by
5274   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5275   # unless we find 'file', for example because we are cross-compiling.
5276   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5277   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5278     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5279     lt_cv_file_magic_cmd='func_win32_libid'
5280   else
5281     # Keep this pattern in sync with the one in func_win32_libid.
5282     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5283     lt_cv_file_magic_cmd='$OBJDUMP -f'
5284   fi
5285   ;;
5286
5287 cegcc*)
5288   # use the weaker test based on 'objdump'. See mingw*.
5289   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5290   lt_cv_file_magic_cmd='$OBJDUMP -f'
5291   ;;
5292
5293 darwin* | rhapsody*)
5294   lt_cv_deplibs_check_method=pass_all
5295   ;;
5296
5297 freebsd* | dragonfly*)
5298   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5299     case $host_cpu in
5300     i*86 )
5301       # Not sure whether the presence of OpenBSD here was a mistake.
5302       # Let's accept both of them until this is cleared up.
5303       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5304       lt_cv_file_magic_cmd=/usr/bin/file
5305       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5306       ;;
5307     esac
5308   else
5309     lt_cv_deplibs_check_method=pass_all
5310   fi
5311   ;;
5312
5313 haiku*)
5314   lt_cv_deplibs_check_method=pass_all
5315   ;;
5316
5317 hpux10.20* | hpux11*)
5318   lt_cv_file_magic_cmd=/usr/bin/file
5319   case $host_cpu in
5320   ia64*)
5321     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5322     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5323     ;;
5324   hppa*64*)
5325     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5326     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5327     ;;
5328   *)
5329     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5330     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5331     ;;
5332   esac
5333   ;;
5334
5335 interix[3-9]*)
5336   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5337   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5338   ;;
5339
5340 irix5* | irix6* | nonstopux*)
5341   case $LD in
5342   *-32|*"-32 ") libmagic=32-bit;;
5343   *-n32|*"-n32 ") libmagic=N32;;
5344   *-64|*"-64 ") libmagic=64-bit;;
5345   *) libmagic=never-match;;
5346   esac
5347   lt_cv_deplibs_check_method=pass_all
5348   ;;
5349
5350 # This must be glibc/ELF.
5351 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5352   lt_cv_deplibs_check_method=pass_all
5353   ;;
5354
5355 netbsd* | netbsdelf*-gnu)
5356   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5357     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5358   else
5359     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5360   fi
5361   ;;
5362
5363 newos6*)
5364   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5365   lt_cv_file_magic_cmd=/usr/bin/file
5366   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5367   ;;
5368
5369 *nto* | *qnx*)
5370   lt_cv_deplibs_check_method=pass_all
5371   ;;
5372
5373 openbsd*)
5374   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5375     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5376   else
5377     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5378   fi
5379   ;;
5380
5381 osf3* | osf4* | osf5*)
5382   lt_cv_deplibs_check_method=pass_all
5383   ;;
5384
5385 rdos*)
5386   lt_cv_deplibs_check_method=pass_all
5387   ;;
5388
5389 solaris*)
5390   lt_cv_deplibs_check_method=pass_all
5391   ;;
5392
5393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5394   lt_cv_deplibs_check_method=pass_all
5395   ;;
5396
5397 sysv4 | sysv4.3*)
5398   case $host_vendor in
5399   motorola)
5400     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5401     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5402     ;;
5403   ncr)
5404     lt_cv_deplibs_check_method=pass_all
5405     ;;
5406   sequent)
5407     lt_cv_file_magic_cmd='/bin/file'
5408     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5409     ;;
5410   sni)
5411     lt_cv_file_magic_cmd='/bin/file'
5412     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5413     lt_cv_file_magic_test_file=/lib/libc.so
5414     ;;
5415   siemens)
5416     lt_cv_deplibs_check_method=pass_all
5417     ;;
5418   pc)
5419     lt_cv_deplibs_check_method=pass_all
5420     ;;
5421   esac
5422   ;;
5423
5424 tpf*)
5425   lt_cv_deplibs_check_method=pass_all
5426   ;;
5427 esac
5428
5429 fi
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5431 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5432
5433 file_magic_glob=
5434 want_nocaseglob=no
5435 if test "$build" = "$host"; then
5436   case $host_os in
5437   mingw* | pw32*)
5438     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5439       want_nocaseglob=yes
5440     else
5441       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5442     fi
5443     ;;
5444   esac
5445 fi
5446
5447 file_magic_cmd=$lt_cv_file_magic_cmd
5448 deplibs_check_method=$lt_cv_deplibs_check_method
5449 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472 if test -n "$ac_tool_prefix"; then
5473   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_DLLTOOL+:} false; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   if test -n "$DLLTOOL"; then
5481   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5485 do
5486   IFS=$as_save_IFS
5487   test -z "$as_dir" && as_dir=.
5488     for ac_exec_ext in '' $ac_executable_extensions; do
5489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492     break 2
5493   fi
5494 done
5495   done
5496 IFS=$as_save_IFS
5497
5498 fi
5499 fi
5500 DLLTOOL=$ac_cv_prog_DLLTOOL
5501 if test -n "$DLLTOOL"; then
5502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5503 $as_echo "$DLLTOOL" >&6; }
5504 else
5505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 fi
5508
5509
5510 fi
5511 if test -z "$ac_cv_prog_DLLTOOL"; then
5512   ac_ct_DLLTOOL=$DLLTOOL
5513   # Extract the first word of "dlltool", so it can be a program name with args.
5514 set dummy dlltool; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5518   $as_echo_n "(cached) " >&6
5519 else
5520   if test -n "$ac_ct_DLLTOOL"; then
5521   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5525 do
5526   IFS=$as_save_IFS
5527   test -z "$as_dir" && as_dir=.
5528     for ac_exec_ext in '' $ac_executable_extensions; do
5529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532     break 2
5533   fi
5534 done
5535   done
5536 IFS=$as_save_IFS
5537
5538 fi
5539 fi
5540 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5541 if test -n "$ac_ct_DLLTOOL"; then
5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5543 $as_echo "$ac_ct_DLLTOOL" >&6; }
5544 else
5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5547 fi
5548
5549   if test "x$ac_ct_DLLTOOL" = x; then
5550     DLLTOOL="false"
5551   else
5552     case $cross_compiling:$ac_tool_warned in
5553 yes:)
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5556 ac_tool_warned=yes ;;
5557 esac
5558     DLLTOOL=$ac_ct_DLLTOOL
5559   fi
5560 else
5561   DLLTOOL="$ac_cv_prog_DLLTOOL"
5562 fi
5563
5564 test -z "$DLLTOOL" && DLLTOOL=dlltool
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5576 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5577 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5578   $as_echo_n "(cached) " >&6
5579 else
5580   lt_cv_sharedlib_from_linklib_cmd='unknown'
5581
5582 case $host_os in
5583 cygwin* | mingw* | pw32* | cegcc*)
5584   # two different shell functions defined in ltmain.sh
5585   # decide which to use based on capabilities of $DLLTOOL
5586   case `$DLLTOOL --help 2>&1` in
5587   *--identify-strict*)
5588     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5589     ;;
5590   *)
5591     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5592     ;;
5593   esac
5594   ;;
5595 *)
5596   # fallback: assume linklib IS sharedlib
5597   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5598   ;;
5599 esac
5600
5601 fi
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5603 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5604 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5605 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5606
5607
5608
5609
5610
5611
5612
5613
5614 if test -n "$ac_tool_prefix"; then
5615   for ac_prog in ar
5616   do
5617     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_AR+:} false; then :
5622   $as_echo_n "(cached) " >&6
5623 else
5624   if test -n "$AR"; then
5625   ac_cv_prog_AR="$AR" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5629 do
5630   IFS=$as_save_IFS
5631   test -z "$as_dir" && as_dir=.
5632     for ac_exec_ext in '' $ac_executable_extensions; do
5633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636     break 2
5637   fi
5638 done
5639   done
5640 IFS=$as_save_IFS
5641
5642 fi
5643 fi
5644 AR=$ac_cv_prog_AR
5645 if test -n "$AR"; then
5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5647 $as_echo "$AR" >&6; }
5648 else
5649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5651 fi
5652
5653
5654     test -n "$AR" && break
5655   done
5656 fi
5657 if test -z "$AR"; then
5658   ac_ct_AR=$AR
5659   for ac_prog in ar
5660 do
5661   # Extract the first word of "$ac_prog", so it can be a program name with args.
5662 set dummy $ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5666   $as_echo_n "(cached) " >&6
5667 else
5668   if test -n "$ac_ct_AR"; then
5669   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5673 do
5674   IFS=$as_save_IFS
5675   test -z "$as_dir" && as_dir=.
5676     for ac_exec_ext in '' $ac_executable_extensions; do
5677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678     ac_cv_prog_ac_ct_AR="$ac_prog"
5679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680     break 2
5681   fi
5682 done
5683   done
5684 IFS=$as_save_IFS
5685
5686 fi
5687 fi
5688 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5689 if test -n "$ac_ct_AR"; then
5690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5691 $as_echo "$ac_ct_AR" >&6; }
5692 else
5693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5695 fi
5696
5697
5698   test -n "$ac_ct_AR" && break
5699 done
5700
5701   if test "x$ac_ct_AR" = x; then
5702     AR="false"
5703   else
5704     case $cross_compiling:$ac_tool_warned in
5705 yes:)
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5708 ac_tool_warned=yes ;;
5709 esac
5710     AR=$ac_ct_AR
5711   fi
5712 fi
5713
5714 : ${AR=ar}
5715 : ${AR_FLAGS=cru}
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5728 $as_echo_n "checking for archiver @FILE support... " >&6; }
5729 if ${lt_cv_ar_at_file+:} false; then :
5730   $as_echo_n "(cached) " >&6
5731 else
5732   lt_cv_ar_at_file=no
5733    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5734 /* end confdefs.h.  */
5735
5736 int
5737 main ()
5738 {
5739
5740   ;
5741   return 0;
5742 }
5743 _ACEOF
5744 if ac_fn_c_try_compile "$LINENO"; then :
5745   echo conftest.$ac_objext > conftest.lst
5746       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5747       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5748   (eval $lt_ar_try) 2>&5
5749   ac_status=$?
5750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5751   test $ac_status = 0; }
5752       if test "$ac_status" -eq 0; then
5753         # Ensure the archiver fails upon bogus file names.
5754         rm -f conftest.$ac_objext libconftest.a
5755         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5756   (eval $lt_ar_try) 2>&5
5757   ac_status=$?
5758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5759   test $ac_status = 0; }
5760         if test "$ac_status" -ne 0; then
5761           lt_cv_ar_at_file=@
5762         fi
5763       fi
5764       rm -f conftest.* libconftest.a
5765
5766 fi
5767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5768
5769 fi
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5771 $as_echo "$lt_cv_ar_at_file" >&6; }
5772
5773 if test "x$lt_cv_ar_at_file" = xno; then
5774   archiver_list_spec=
5775 else
5776   archiver_list_spec=$lt_cv_ar_at_file
5777 fi
5778
5779
5780
5781
5782
5783
5784
5785 if test -n "$ac_tool_prefix"; then
5786   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}strip; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_STRIP+:} false; then :
5791   $as_echo_n "(cached) " >&6
5792 else
5793   if test -n "$STRIP"; then
5794   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5795 else
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 for as_dir in $PATH
5798 do
5799   IFS=$as_save_IFS
5800   test -z "$as_dir" && as_dir=.
5801     for ac_exec_ext in '' $ac_executable_extensions; do
5802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805     break 2
5806   fi
5807 done
5808   done
5809 IFS=$as_save_IFS
5810
5811 fi
5812 fi
5813 STRIP=$ac_cv_prog_STRIP
5814 if test -n "$STRIP"; then
5815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5816 $as_echo "$STRIP" >&6; }
5817 else
5818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5820 fi
5821
5822
5823 fi
5824 if test -z "$ac_cv_prog_STRIP"; then
5825   ac_ct_STRIP=$STRIP
5826   # Extract the first word of "strip", so it can be a program name with args.
5827 set dummy strip; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5831   $as_echo_n "(cached) " >&6
5832 else
5833   if test -n "$ac_ct_STRIP"; then
5834   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5838 do
5839   IFS=$as_save_IFS
5840   test -z "$as_dir" && as_dir=.
5841     for ac_exec_ext in '' $ac_executable_extensions; do
5842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843     ac_cv_prog_ac_ct_STRIP="strip"
5844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845     break 2
5846   fi
5847 done
5848   done
5849 IFS=$as_save_IFS
5850
5851 fi
5852 fi
5853 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5854 if test -n "$ac_ct_STRIP"; then
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5856 $as_echo "$ac_ct_STRIP" >&6; }
5857 else
5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5860 fi
5861
5862   if test "x$ac_ct_STRIP" = x; then
5863     STRIP=":"
5864   else
5865     case $cross_compiling:$ac_tool_warned in
5866 yes:)
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned=yes ;;
5870 esac
5871     STRIP=$ac_ct_STRIP
5872   fi
5873 else
5874   STRIP="$ac_cv_prog_STRIP"
5875 fi
5876
5877 test -z "$STRIP" && STRIP=:
5878
5879
5880
5881
5882
5883
5884 if test -n "$ac_tool_prefix"; then
5885   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_RANLIB+:} false; then :
5890   $as_echo_n "(cached) " >&6
5891 else
5892   if test -n "$RANLIB"; then
5893   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5897 do
5898   IFS=$as_save_IFS
5899   test -z "$as_dir" && as_dir=.
5900     for ac_exec_ext in '' $ac_executable_extensions; do
5901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904     break 2
5905   fi
5906 done
5907   done
5908 IFS=$as_save_IFS
5909
5910 fi
5911 fi
5912 RANLIB=$ac_cv_prog_RANLIB
5913 if test -n "$RANLIB"; then
5914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5915 $as_echo "$RANLIB" >&6; }
5916 else
5917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5919 fi
5920
5921
5922 fi
5923 if test -z "$ac_cv_prog_RANLIB"; then
5924   ac_ct_RANLIB=$RANLIB
5925   # Extract the first word of "ranlib", so it can be a program name with args.
5926 set dummy ranlib; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5930   $as_echo_n "(cached) " >&6
5931 else
5932   if test -n "$ac_ct_RANLIB"; then
5933   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5934 else
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 for as_dir in $PATH
5937 do
5938   IFS=$as_save_IFS
5939   test -z "$as_dir" && as_dir=.
5940     for ac_exec_ext in '' $ac_executable_extensions; do
5941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942     ac_cv_prog_ac_ct_RANLIB="ranlib"
5943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944     break 2
5945   fi
5946 done
5947   done
5948 IFS=$as_save_IFS
5949
5950 fi
5951 fi
5952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5953 if test -n "$ac_ct_RANLIB"; then
5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5955 $as_echo "$ac_ct_RANLIB" >&6; }
5956 else
5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5959 fi
5960
5961   if test "x$ac_ct_RANLIB" = x; then
5962     RANLIB=":"
5963   else
5964     case $cross_compiling:$ac_tool_warned in
5965 yes:)
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5968 ac_tool_warned=yes ;;
5969 esac
5970     RANLIB=$ac_ct_RANLIB
5971   fi
5972 else
5973   RANLIB="$ac_cv_prog_RANLIB"
5974 fi
5975
5976 test -z "$RANLIB" && RANLIB=:
5977
5978
5979
5980
5981
5982
5983 # Determine commands to create old-style static archives.
5984 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5985 old_postinstall_cmds='chmod 644 $oldlib'
5986 old_postuninstall_cmds=
5987
5988 if test -n "$RANLIB"; then
5989   case $host_os in
5990   openbsd*)
5991     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5992     ;;
5993   *)
5994     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5995     ;;
5996   esac
5997   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5998 fi
5999
6000 case $host_os in
6001   darwin*)
6002     lock_old_archive_extraction=yes ;;
6003   *)
6004     lock_old_archive_extraction=no ;;
6005 esac
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045 # If no C compiler was specified, use CC.
6046 LTCC=${LTCC-"$CC"}
6047
6048 # If no C compiler flags were specified, use CFLAGS.
6049 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6050
6051 # Allow CC to be a program name with arguments.
6052 compiler=$CC
6053
6054
6055 # Check for command to grab the raw symbol name followed by C symbol from nm.
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6057 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6058 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6059   $as_echo_n "(cached) " >&6
6060 else
6061
6062 # These are sane defaults that work on at least a few old systems.
6063 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6064
6065 # Character class describing NM global symbol codes.
6066 symcode='[BCDEGRST]'
6067
6068 # Regexp to match symbols that can be accessed directly from C.
6069 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6070
6071 # Define system-specific variables.
6072 case $host_os in
6073 aix*)
6074   symcode='[BCDT]'
6075   ;;
6076 cygwin* | mingw* | pw32* | cegcc*)
6077   symcode='[ABCDGISTW]'
6078   ;;
6079 hpux*)
6080   if test "$host_cpu" = ia64; then
6081     symcode='[ABCDEGRST]'
6082   fi
6083   ;;
6084 irix* | nonstopux*)
6085   symcode='[BCDEGRST]'
6086   ;;
6087 osf*)
6088   symcode='[BCDEGQRST]'
6089   ;;
6090 solaris*)
6091   symcode='[BDRT]'
6092   ;;
6093 sco3.2v5*)
6094   symcode='[DT]'
6095   ;;
6096 sysv4.2uw2*)
6097   symcode='[DT]'
6098   ;;
6099 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6100   symcode='[ABDT]'
6101   ;;
6102 sysv4)
6103   symcode='[DFNSTU]'
6104   ;;
6105 esac
6106
6107 # If we're using GNU nm, then use its standard symbol codes.
6108 case `$NM -V 2>&1` in
6109 *GNU* | *'with BFD'*)
6110   symcode='[ABCDGIRSTW]' ;;
6111 esac
6112
6113 # Transform an extracted symbol line into a proper C declaration.
6114 # Some systems (esp. on ia64) link data and code symbols differently,
6115 # so use this general approach.
6116 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6117
6118 # Transform an extracted symbol line into symbol name and symbol address
6119 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6120 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6121
6122 # Handle CRLF in mingw tool chain
6123 opt_cr=
6124 case $build_os in
6125 mingw*)
6126   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6127   ;;
6128 esac
6129
6130 # Try without a prefix underscore, then with it.
6131 for ac_symprfx in "" "_"; do
6132
6133   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6134   symxfrm="\\1 $ac_symprfx\\2 \\2"
6135
6136   # Write the raw and C identifiers.
6137   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6138     # Fake it for dumpbin and say T for any non-static function
6139     # and D for any global variable.
6140     # Also find C++ and __fastcall symbols from MSVC++,
6141     # which start with @ or ?.
6142     lt_cv_sys_global_symbol_pipe="$AWK '"\
6143 "     {last_section=section; section=\$ 3};"\
6144 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6145 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6146 "     \$ 0!~/External *\|/{next};"\
6147 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6148 "     {if(hide[section]) next};"\
6149 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6150 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6151 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6152 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6153 "     ' prfx=^$ac_symprfx"
6154   else
6155     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6156   fi
6157   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6158
6159   # Check to see that the pipe works correctly.
6160   pipe_works=no
6161
6162   rm -f conftest*
6163   cat > conftest.$ac_ext <<_LT_EOF
6164 #ifdef __cplusplus
6165 extern "C" {
6166 #endif
6167 char nm_test_var;
6168 void nm_test_func(void);
6169 void nm_test_func(void){}
6170 #ifdef __cplusplus
6171 }
6172 #endif
6173 int main(){nm_test_var='a';nm_test_func();return(0);}
6174 _LT_EOF
6175
6176   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6177   (eval $ac_compile) 2>&5
6178   ac_status=$?
6179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6180   test $ac_status = 0; }; then
6181     # Now try to grab the symbols.
6182     nlist=conftest.nm
6183     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6184   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6185   ac_status=$?
6186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187   test $ac_status = 0; } && test -s "$nlist"; then
6188       # Try sorting and uniquifying the output.
6189       if sort "$nlist" | uniq > "$nlist"T; then
6190         mv -f "$nlist"T "$nlist"
6191       else
6192         rm -f "$nlist"T
6193       fi
6194
6195       # Make sure that we snagged all the symbols we need.
6196       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6197         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6198           cat <<_LT_EOF > conftest.$ac_ext
6199 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6200 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6201 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6202    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6203 # define LT_DLSYM_CONST
6204 #elif defined(__osf__)
6205 /* This system does not cope well with relocations in const data.  */
6206 # define LT_DLSYM_CONST
6207 #else
6208 # define LT_DLSYM_CONST const
6209 #endif
6210
6211 #ifdef __cplusplus
6212 extern "C" {
6213 #endif
6214
6215 _LT_EOF
6216           # Now generate the symbol file.
6217           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6218
6219           cat <<_LT_EOF >> conftest.$ac_ext
6220
6221 /* The mapping between symbol names and symbols.  */
6222 LT_DLSYM_CONST struct {
6223   const char *name;
6224   void       *address;
6225 }
6226 lt__PROGRAM__LTX_preloaded_symbols[] =
6227 {
6228   { "@PROGRAM@", (void *) 0 },
6229 _LT_EOF
6230           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6231           cat <<\_LT_EOF >> conftest.$ac_ext
6232   {0, (void *) 0}
6233 };
6234
6235 /* This works around a problem in FreeBSD linker */
6236 #ifdef FREEBSD_WORKAROUND
6237 static const void *lt_preloaded_setup() {
6238   return lt__PROGRAM__LTX_preloaded_symbols;
6239 }
6240 #endif
6241
6242 #ifdef __cplusplus
6243 }
6244 #endif
6245 _LT_EOF
6246           # Now try linking the two files.
6247           mv conftest.$ac_objext conftstm.$ac_objext
6248           lt_globsym_save_LIBS=$LIBS
6249           lt_globsym_save_CFLAGS=$CFLAGS
6250           LIBS="conftstm.$ac_objext"
6251           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6252           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6253   (eval $ac_link) 2>&5
6254   ac_status=$?
6255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6256   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6257             pipe_works=yes
6258           fi
6259           LIBS=$lt_globsym_save_LIBS
6260           CFLAGS=$lt_globsym_save_CFLAGS
6261         else
6262           echo "cannot find nm_test_func in $nlist" >&5
6263         fi
6264       else
6265         echo "cannot find nm_test_var in $nlist" >&5
6266       fi
6267     else
6268       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6269     fi
6270   else
6271     echo "$progname: failed program was:" >&5
6272     cat conftest.$ac_ext >&5
6273   fi
6274   rm -rf conftest* conftst*
6275
6276   # Do not use the global_symbol_pipe unless it works.
6277   if test "$pipe_works" = yes; then
6278     break
6279   else
6280     lt_cv_sys_global_symbol_pipe=
6281   fi
6282 done
6283
6284 fi
6285
6286 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6287   lt_cv_sys_global_symbol_to_cdecl=
6288 fi
6289 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6291 $as_echo "failed" >&6; }
6292 else
6293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6294 $as_echo "ok" >&6; }
6295 fi
6296
6297 # Response file support.
6298 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6299   nm_file_list_spec='@'
6300 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6301   nm_file_list_spec='@'
6302 fi
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6331 $as_echo_n "checking for sysroot... " >&6; }
6332
6333 # Check whether --with-sysroot was given.
6334 if test "${with_sysroot+set}" = set; then :
6335   withval=$with_sysroot;
6336 else
6337   with_sysroot=no
6338 fi
6339
6340
6341 lt_sysroot=
6342 case ${with_sysroot} in #(
6343  yes)
6344    if test "$GCC" = yes; then
6345      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6346    fi
6347    ;; #(
6348  /*)
6349    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6350    ;; #(
6351  no|'')
6352    ;; #(
6353  *)
6354    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6355 $as_echo "${with_sysroot}" >&6; }
6356    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6357    ;;
6358 esac
6359
6360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6361 $as_echo "${lt_sysroot:-no}" >&6; }
6362
6363
6364
6365
6366
6367 # Check whether --enable-libtool-lock was given.
6368 if test "${enable_libtool_lock+set}" = set; then :
6369   enableval=$enable_libtool_lock;
6370 fi
6371
6372 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6373
6374 # Some flags need to be propagated to the compiler or linker for good
6375 # libtool support.
6376 case $host in
6377 ia64-*-hpux*)
6378   # Find out which ABI we are using.
6379   echo 'int i;' > conftest.$ac_ext
6380   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6381   (eval $ac_compile) 2>&5
6382   ac_status=$?
6383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384   test $ac_status = 0; }; then
6385     case `/usr/bin/file conftest.$ac_objext` in
6386       *ELF-32*)
6387         HPUX_IA64_MODE="32"
6388         ;;
6389       *ELF-64*)
6390         HPUX_IA64_MODE="64"
6391         ;;
6392     esac
6393   fi
6394   rm -rf conftest*
6395   ;;
6396 *-*-irix6*)
6397   # Find out which ABI we are using.
6398   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6399   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6400   (eval $ac_compile) 2>&5
6401   ac_status=$?
6402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6403   test $ac_status = 0; }; then
6404     if test "$lt_cv_prog_gnu_ld" = yes; then
6405       case `/usr/bin/file conftest.$ac_objext` in
6406         *32-bit*)
6407           LD="${LD-ld} -melf32bsmip"
6408           ;;
6409         *N32*)
6410           LD="${LD-ld} -melf32bmipn32"
6411           ;;
6412         *64-bit*)
6413           LD="${LD-ld} -melf64bmip"
6414         ;;
6415       esac
6416     else
6417       case `/usr/bin/file conftest.$ac_objext` in
6418         *32-bit*)
6419           LD="${LD-ld} -32"
6420           ;;
6421         *N32*)
6422           LD="${LD-ld} -n32"
6423           ;;
6424         *64-bit*)
6425           LD="${LD-ld} -64"
6426           ;;
6427       esac
6428     fi
6429   fi
6430   rm -rf conftest*
6431   ;;
6432
6433 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6434 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6435   # Find out which ABI we are using.
6436   echo 'int i;' > conftest.$ac_ext
6437   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6438   (eval $ac_compile) 2>&5
6439   ac_status=$?
6440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6441   test $ac_status = 0; }; then
6442     case `/usr/bin/file conftest.o` in
6443       *32-bit*)
6444         case $host in
6445           x86_64-*kfreebsd*-gnu)
6446             LD="${LD-ld} -m elf_i386_fbsd"
6447             ;;
6448           x86_64-*linux*)
6449             case `/usr/bin/file conftest.o` in
6450               *x86-64*)
6451                 LD="${LD-ld} -m elf32_x86_64"
6452                 ;;
6453               *)
6454                 LD="${LD-ld} -m elf_i386"
6455                 ;;
6456             esac
6457             ;;
6458           powerpc64le-*)
6459             LD="${LD-ld} -m elf32lppclinux"
6460             ;;
6461           powerpc64-*)
6462             LD="${LD-ld} -m elf32ppclinux"
6463             ;;
6464           s390x-*linux*)
6465             LD="${LD-ld} -m elf_s390"
6466             ;;
6467           sparc64-*linux*)
6468             LD="${LD-ld} -m elf32_sparc"
6469             ;;
6470         esac
6471         ;;
6472       *64-bit*)
6473         case $host in
6474           x86_64-*kfreebsd*-gnu)
6475             LD="${LD-ld} -m elf_x86_64_fbsd"
6476             ;;
6477           x86_64-*linux*)
6478             LD="${LD-ld} -m elf_x86_64"
6479             ;;
6480           powerpcle-*)
6481             LD="${LD-ld} -m elf64lppc"
6482             ;;
6483           powerpc-*)
6484             LD="${LD-ld} -m elf64ppc"
6485             ;;
6486           s390*-*linux*|s390*-*tpf*)
6487             LD="${LD-ld} -m elf64_s390"
6488             ;;
6489           sparc*-*linux*)
6490             LD="${LD-ld} -m elf64_sparc"
6491             ;;
6492         esac
6493         ;;
6494     esac
6495   fi
6496   rm -rf conftest*
6497   ;;
6498
6499 *-*-sco3.2v5*)
6500   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6501   SAVE_CFLAGS="$CFLAGS"
6502   CFLAGS="$CFLAGS -belf"
6503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6504 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6505 if ${lt_cv_cc_needs_belf+:} false; then :
6506   $as_echo_n "(cached) " >&6
6507 else
6508   ac_ext=c
6509 ac_cpp='$CPP $CPPFLAGS'
6510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6513
6514      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 /* end confdefs.h.  */
6516
6517 int
6518 main ()
6519 {
6520
6521   ;
6522   return 0;
6523 }
6524 _ACEOF
6525 if ac_fn_c_try_link "$LINENO"; then :
6526   lt_cv_cc_needs_belf=yes
6527 else
6528   lt_cv_cc_needs_belf=no
6529 fi
6530 rm -f core conftest.err conftest.$ac_objext \
6531     conftest$ac_exeext conftest.$ac_ext
6532      ac_ext=c
6533 ac_cpp='$CPP $CPPFLAGS'
6534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6537
6538 fi
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6540 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6541   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6542     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6543     CFLAGS="$SAVE_CFLAGS"
6544   fi
6545   ;;
6546 *-*solaris*)
6547   # Find out which ABI we are using.
6548   echo 'int i;' > conftest.$ac_ext
6549   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6550   (eval $ac_compile) 2>&5
6551   ac_status=$?
6552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6553   test $ac_status = 0; }; then
6554     case `/usr/bin/file conftest.o` in
6555     *64-bit*)
6556       case $lt_cv_prog_gnu_ld in
6557       yes*)
6558         case $host in
6559         i?86-*-solaris*)
6560           LD="${LD-ld} -m elf_x86_64"
6561           ;;
6562         sparc*-*-solaris*)
6563           LD="${LD-ld} -m elf64_sparc"
6564           ;;
6565         esac
6566         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6567         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6568           LD="${LD-ld}_sol2"
6569         fi
6570         ;;
6571       *)
6572         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6573           LD="${LD-ld} -64"
6574         fi
6575         ;;
6576       esac
6577       ;;
6578     esac
6579   fi
6580   rm -rf conftest*
6581   ;;
6582 esac
6583
6584 need_locks="$enable_libtool_lock"
6585
6586 if test -n "$ac_tool_prefix"; then
6587   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6588 set dummy ${ac_tool_prefix}mt; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6592   $as_echo_n "(cached) " >&6
6593 else
6594   if test -n "$MANIFEST_TOOL"; then
6595   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6596 else
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 for as_dir in $PATH
6599 do
6600   IFS=$as_save_IFS
6601   test -z "$as_dir" && as_dir=.
6602     for ac_exec_ext in '' $ac_executable_extensions; do
6603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606     break 2
6607   fi
6608 done
6609   done
6610 IFS=$as_save_IFS
6611
6612 fi
6613 fi
6614 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6615 if test -n "$MANIFEST_TOOL"; then
6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6617 $as_echo "$MANIFEST_TOOL" >&6; }
6618 else
6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6621 fi
6622
6623
6624 fi
6625 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6626   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6627   # Extract the first word of "mt", so it can be a program name with args.
6628 set dummy mt; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6632   $as_echo_n "(cached) " >&6
6633 else
6634   if test -n "$ac_ct_MANIFEST_TOOL"; then
6635   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6639 do
6640   IFS=$as_save_IFS
6641   test -z "$as_dir" && as_dir=.
6642     for ac_exec_ext in '' $ac_executable_extensions; do
6643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646     break 2
6647   fi
6648 done
6649   done
6650 IFS=$as_save_IFS
6651
6652 fi
6653 fi
6654 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6655 if test -n "$ac_ct_MANIFEST_TOOL"; then
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6657 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6658 else
6659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6661 fi
6662
6663   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6664     MANIFEST_TOOL=":"
6665   else
6666     case $cross_compiling:$ac_tool_warned in
6667 yes:)
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6670 ac_tool_warned=yes ;;
6671 esac
6672     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6673   fi
6674 else
6675   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6676 fi
6677
6678 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6680 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6681 if ${lt_cv_path_mainfest_tool+:} false; then :
6682   $as_echo_n "(cached) " >&6
6683 else
6684   lt_cv_path_mainfest_tool=no
6685   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6686   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6687   cat conftest.err >&5
6688   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6689     lt_cv_path_mainfest_tool=yes
6690   fi
6691   rm -f conftest*
6692 fi
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6694 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6695 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6696   MANIFEST_TOOL=:
6697 fi
6698
6699
6700
6701
6702
6703
6704   case $host_os in
6705     rhapsody* | darwin*)
6706     if test -n "$ac_tool_prefix"; then
6707   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6712   $as_echo_n "(cached) " >&6
6713 else
6714   if test -n "$DSYMUTIL"; then
6715   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6719 do
6720   IFS=$as_save_IFS
6721   test -z "$as_dir" && as_dir=.
6722     for ac_exec_ext in '' $ac_executable_extensions; do
6723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6724     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726     break 2
6727   fi
6728 done
6729   done
6730 IFS=$as_save_IFS
6731
6732 fi
6733 fi
6734 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6735 if test -n "$DSYMUTIL"; then
6736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6737 $as_echo "$DSYMUTIL" >&6; }
6738 else
6739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6741 fi
6742
6743
6744 fi
6745 if test -z "$ac_cv_prog_DSYMUTIL"; then
6746   ac_ct_DSYMUTIL=$DSYMUTIL
6747   # Extract the first word of "dsymutil", so it can be a program name with args.
6748 set dummy dsymutil; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6752   $as_echo_n "(cached) " >&6
6753 else
6754   if test -n "$ac_ct_DSYMUTIL"; then
6755   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6759 do
6760   IFS=$as_save_IFS
6761   test -z "$as_dir" && as_dir=.
6762     for ac_exec_ext in '' $ac_executable_extensions; do
6763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766     break 2
6767   fi
6768 done
6769   done
6770 IFS=$as_save_IFS
6771
6772 fi
6773 fi
6774 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6775 if test -n "$ac_ct_DSYMUTIL"; then
6776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6777 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6778 else
6779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6781 fi
6782
6783   if test "x$ac_ct_DSYMUTIL" = x; then
6784     DSYMUTIL=":"
6785   else
6786     case $cross_compiling:$ac_tool_warned in
6787 yes:)
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6790 ac_tool_warned=yes ;;
6791 esac
6792     DSYMUTIL=$ac_ct_DSYMUTIL
6793   fi
6794 else
6795   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6796 fi
6797
6798     if test -n "$ac_tool_prefix"; then
6799   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6800 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802 $as_echo_n "checking for $ac_word... " >&6; }
6803 if ${ac_cv_prog_NMEDIT+:} false; then :
6804   $as_echo_n "(cached) " >&6
6805 else
6806   if test -n "$NMEDIT"; then
6807   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6808 else
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 for as_dir in $PATH
6811 do
6812   IFS=$as_save_IFS
6813   test -z "$as_dir" && as_dir=.
6814     for ac_exec_ext in '' $ac_executable_extensions; do
6815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6816     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818     break 2
6819   fi
6820 done
6821   done
6822 IFS=$as_save_IFS
6823
6824 fi
6825 fi
6826 NMEDIT=$ac_cv_prog_NMEDIT
6827 if test -n "$NMEDIT"; then
6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6829 $as_echo "$NMEDIT" >&6; }
6830 else
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 $as_echo "no" >&6; }
6833 fi
6834
6835
6836 fi
6837 if test -z "$ac_cv_prog_NMEDIT"; then
6838   ac_ct_NMEDIT=$NMEDIT
6839   # Extract the first word of "nmedit", so it can be a program name with args.
6840 set dummy nmedit; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842 $as_echo_n "checking for $ac_word... " >&6; }
6843 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6844   $as_echo_n "(cached) " >&6
6845 else
6846   if test -n "$ac_ct_NMEDIT"; then
6847   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6848 else
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 for as_dir in $PATH
6851 do
6852   IFS=$as_save_IFS
6853   test -z "$as_dir" && as_dir=.
6854     for ac_exec_ext in '' $ac_executable_extensions; do
6855   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6856     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858     break 2
6859   fi
6860 done
6861   done
6862 IFS=$as_save_IFS
6863
6864 fi
6865 fi
6866 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6867 if test -n "$ac_ct_NMEDIT"; then
6868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6869 $as_echo "$ac_ct_NMEDIT" >&6; }
6870 else
6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 $as_echo "no" >&6; }
6873 fi
6874
6875   if test "x$ac_ct_NMEDIT" = x; then
6876     NMEDIT=":"
6877   else
6878     case $cross_compiling:$ac_tool_warned in
6879 yes:)
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6882 ac_tool_warned=yes ;;
6883 esac
6884     NMEDIT=$ac_ct_NMEDIT
6885   fi
6886 else
6887   NMEDIT="$ac_cv_prog_NMEDIT"
6888 fi
6889
6890     if test -n "$ac_tool_prefix"; then
6891   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_LIPO+:} false; then :
6896   $as_echo_n "(cached) " >&6
6897 else
6898   if test -n "$LIPO"; then
6899   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6900 else
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 for as_dir in $PATH
6903 do
6904   IFS=$as_save_IFS
6905   test -z "$as_dir" && as_dir=.
6906     for ac_exec_ext in '' $ac_executable_extensions; do
6907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6908     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910     break 2
6911   fi
6912 done
6913   done
6914 IFS=$as_save_IFS
6915
6916 fi
6917 fi
6918 LIPO=$ac_cv_prog_LIPO
6919 if test -n "$LIPO"; then
6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6921 $as_echo "$LIPO" >&6; }
6922 else
6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6925 fi
6926
6927
6928 fi
6929 if test -z "$ac_cv_prog_LIPO"; then
6930   ac_ct_LIPO=$LIPO
6931   # Extract the first word of "lipo", so it can be a program name with args.
6932 set dummy lipo; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6936   $as_echo_n "(cached) " >&6
6937 else
6938   if test -n "$ac_ct_LIPO"; then
6939   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6940 else
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 for as_dir in $PATH
6943 do
6944   IFS=$as_save_IFS
6945   test -z "$as_dir" && as_dir=.
6946     for ac_exec_ext in '' $ac_executable_extensions; do
6947   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948     ac_cv_prog_ac_ct_LIPO="lipo"
6949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950     break 2
6951   fi
6952 done
6953   done
6954 IFS=$as_save_IFS
6955
6956 fi
6957 fi
6958 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6959 if test -n "$ac_ct_LIPO"; then
6960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6961 $as_echo "$ac_ct_LIPO" >&6; }
6962 else
6963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6965 fi
6966
6967   if test "x$ac_ct_LIPO" = x; then
6968     LIPO=":"
6969   else
6970     case $cross_compiling:$ac_tool_warned in
6971 yes:)
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6975 esac
6976     LIPO=$ac_ct_LIPO
6977   fi
6978 else
6979   LIPO="$ac_cv_prog_LIPO"
6980 fi
6981
6982     if test -n "$ac_tool_prefix"; then
6983   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6984 set dummy ${ac_tool_prefix}otool; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_OTOOL+:} false; then :
6988   $as_echo_n "(cached) " >&6
6989 else
6990   if test -n "$OTOOL"; then
6991   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6992 else
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 for as_dir in $PATH
6995 do
6996   IFS=$as_save_IFS
6997   test -z "$as_dir" && as_dir=.
6998     for ac_exec_ext in '' $ac_executable_extensions; do
6999   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7000     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002     break 2
7003   fi
7004 done
7005   done
7006 IFS=$as_save_IFS
7007
7008 fi
7009 fi
7010 OTOOL=$ac_cv_prog_OTOOL
7011 if test -n "$OTOOL"; then
7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7013 $as_echo "$OTOOL" >&6; }
7014 else
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7017 fi
7018
7019
7020 fi
7021 if test -z "$ac_cv_prog_OTOOL"; then
7022   ac_ct_OTOOL=$OTOOL
7023   # Extract the first word of "otool", so it can be a program name with args.
7024 set dummy otool; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7028   $as_echo_n "(cached) " >&6
7029 else
7030   if test -n "$ac_ct_OTOOL"; then
7031   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7032 else
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 for as_dir in $PATH
7035 do
7036   IFS=$as_save_IFS
7037   test -z "$as_dir" && as_dir=.
7038     for ac_exec_ext in '' $ac_executable_extensions; do
7039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040     ac_cv_prog_ac_ct_OTOOL="otool"
7041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042     break 2
7043   fi
7044 done
7045   done
7046 IFS=$as_save_IFS
7047
7048 fi
7049 fi
7050 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7051 if test -n "$ac_ct_OTOOL"; then
7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7053 $as_echo "$ac_ct_OTOOL" >&6; }
7054 else
7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7057 fi
7058
7059   if test "x$ac_ct_OTOOL" = x; then
7060     OTOOL=":"
7061   else
7062     case $cross_compiling:$ac_tool_warned in
7063 yes:)
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned=yes ;;
7067 esac
7068     OTOOL=$ac_ct_OTOOL
7069   fi
7070 else
7071   OTOOL="$ac_cv_prog_OTOOL"
7072 fi
7073
7074     if test -n "$ac_tool_prefix"; then
7075   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7076 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_OTOOL64+:} false; then :
7080   $as_echo_n "(cached) " >&6
7081 else
7082   if test -n "$OTOOL64"; then
7083   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7084 else
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 for as_dir in $PATH
7087 do
7088   IFS=$as_save_IFS
7089   test -z "$as_dir" && as_dir=.
7090     for ac_exec_ext in '' $ac_executable_extensions; do
7091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094     break 2
7095   fi
7096 done
7097   done
7098 IFS=$as_save_IFS
7099
7100 fi
7101 fi
7102 OTOOL64=$ac_cv_prog_OTOOL64
7103 if test -n "$OTOOL64"; then
7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7105 $as_echo "$OTOOL64" >&6; }
7106 else
7107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7109 fi
7110
7111
7112 fi
7113 if test -z "$ac_cv_prog_OTOOL64"; then
7114   ac_ct_OTOOL64=$OTOOL64
7115   # Extract the first word of "otool64", so it can be a program name with args.
7116 set dummy otool64; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7120   $as_echo_n "(cached) " >&6
7121 else
7122   if test -n "$ac_ct_OTOOL64"; then
7123   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7124 else
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 for as_dir in $PATH
7127 do
7128   IFS=$as_save_IFS
7129   test -z "$as_dir" && as_dir=.
7130     for ac_exec_ext in '' $ac_executable_extensions; do
7131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132     ac_cv_prog_ac_ct_OTOOL64="otool64"
7133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134     break 2
7135   fi
7136 done
7137   done
7138 IFS=$as_save_IFS
7139
7140 fi
7141 fi
7142 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7143 if test -n "$ac_ct_OTOOL64"; then
7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7145 $as_echo "$ac_ct_OTOOL64" >&6; }
7146 else
7147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7149 fi
7150
7151   if test "x$ac_ct_OTOOL64" = x; then
7152     OTOOL64=":"
7153   else
7154     case $cross_compiling:$ac_tool_warned in
7155 yes:)
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned=yes ;;
7159 esac
7160     OTOOL64=$ac_ct_OTOOL64
7161   fi
7162 else
7163   OTOOL64="$ac_cv_prog_OTOOL64"
7164 fi
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7193 $as_echo_n "checking for -single_module linker flag... " >&6; }
7194 if ${lt_cv_apple_cc_single_mod+:} false; then :
7195   $as_echo_n "(cached) " >&6
7196 else
7197   lt_cv_apple_cc_single_mod=no
7198       if test -z "${LT_MULTI_MODULE}"; then
7199         # By default we will add the -single_module flag. You can override
7200         # by either setting the environment variable LT_MULTI_MODULE
7201         # non-empty at configure time, or by adding -multi_module to the
7202         # link flags.
7203         rm -rf libconftest.dylib*
7204         echo "int foo(void){return 1;}" > conftest.c
7205         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7206 -dynamiclib -Wl,-single_module conftest.c" >&5
7207         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7208           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7209         _lt_result=$?
7210         # If there is a non-empty error log, and "single_module"
7211         # appears in it, assume the flag caused a linker warning
7212         if test -s conftest.err && $GREP single_module conftest.err; then
7213           cat conftest.err >&5
7214         # Otherwise, if the output was created with a 0 exit code from
7215         # the compiler, it worked.
7216         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7217           lt_cv_apple_cc_single_mod=yes
7218         else
7219           cat conftest.err >&5
7220         fi
7221         rm -rf libconftest.dylib*
7222         rm -f conftest.*
7223       fi
7224 fi
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7226 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7227
7228     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7229 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7230 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7231   $as_echo_n "(cached) " >&6
7232 else
7233   lt_cv_ld_exported_symbols_list=no
7234       save_LDFLAGS=$LDFLAGS
7235       echo "_main" > conftest.sym
7236       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h.  */
7239
7240 int
7241 main ()
7242 {
7243
7244   ;
7245   return 0;
7246 }
7247 _ACEOF
7248 if ac_fn_c_try_link "$LINENO"; then :
7249   lt_cv_ld_exported_symbols_list=yes
7250 else
7251   lt_cv_ld_exported_symbols_list=no
7252 fi
7253 rm -f core conftest.err conftest.$ac_objext \
7254     conftest$ac_exeext conftest.$ac_ext
7255         LDFLAGS="$save_LDFLAGS"
7256
7257 fi
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7259 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7260
7261     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7262 $as_echo_n "checking for -force_load linker flag... " >&6; }
7263 if ${lt_cv_ld_force_load+:} false; then :
7264   $as_echo_n "(cached) " >&6
7265 else
7266   lt_cv_ld_force_load=no
7267       cat > conftest.c << _LT_EOF
7268 int forced_loaded() { return 2;}
7269 _LT_EOF
7270       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7271       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7272       echo "$AR cru libconftest.a conftest.o" >&5
7273       $AR cru libconftest.a conftest.o 2>&5
7274       echo "$RANLIB libconftest.a" >&5
7275       $RANLIB libconftest.a 2>&5
7276       cat > conftest.c << _LT_EOF
7277 int main() { return 0;}
7278 _LT_EOF
7279       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7280       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7281       _lt_result=$?
7282       if test -s conftest.err && $GREP force_load conftest.err; then
7283         cat conftest.err >&5
7284       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7285         lt_cv_ld_force_load=yes
7286       else
7287         cat conftest.err >&5
7288       fi
7289         rm -f conftest.err libconftest.a conftest conftest.c
7290         rm -rf conftest.dSYM
7291
7292 fi
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7294 $as_echo "$lt_cv_ld_force_load" >&6; }
7295     case $host_os in
7296     rhapsody* | darwin1.[012])
7297       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7298     darwin1.*)
7299       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7300     darwin*) # darwin 5.x on
7301       # if running on 10.5 or later, the deployment target defaults
7302       # to the OS version, if on x86, and 10.4, the deployment
7303       # target defaults to 10.4. Don't you love it?
7304       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7305         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7306           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7307         10.[012]*)
7308           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7309         10.*)
7310           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7311       esac
7312     ;;
7313   esac
7314     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7315       _lt_dar_single_mod='$single_module'
7316     fi
7317     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7318       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7319     else
7320       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7321     fi
7322     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7323       _lt_dsymutil='~$DSYMUTIL $lib || :'
7324     else
7325       _lt_dsymutil=
7326     fi
7327     ;;
7328   esac
7329
7330 ac_ext=c
7331 ac_cpp='$CPP $CPPFLAGS'
7332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7336 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7337 # On Suns, sometimes $CPP names a directory.
7338 if test -n "$CPP" && test -d "$CPP"; then
7339   CPP=
7340 fi
7341 if test -z "$CPP"; then
7342   if ${ac_cv_prog_CPP+:} false; then :
7343   $as_echo_n "(cached) " >&6
7344 else
7345       # Double quotes because CPP needs to be expanded
7346     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7347     do
7348       ac_preproc_ok=false
7349 for ac_c_preproc_warn_flag in '' yes
7350 do
7351   # Use a header file that comes with gcc, so configuring glibc
7352   # with a fresh cross-compiler works.
7353   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7354   # <limits.h> exists even on freestanding compilers.
7355   # On the NeXT, cc -E runs the code through the compiler's parser,
7356   # not just through cpp. "Syntax error" is here to catch this case.
7357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h.  */
7359 #ifdef __STDC__
7360 # include <limits.h>
7361 #else
7362 # include <assert.h>
7363 #endif
7364                      Syntax error
7365 _ACEOF
7366 if ac_fn_c_try_cpp "$LINENO"; then :
7367
7368 else
7369   # Broken: fails on valid input.
7370 continue
7371 fi
7372 rm -f conftest.err conftest.i conftest.$ac_ext
7373
7374   # OK, works on sane cases.  Now check whether nonexistent headers
7375   # can be detected and how.
7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h.  */
7378 #include <ac_nonexistent.h>
7379 _ACEOF
7380 if ac_fn_c_try_cpp "$LINENO"; then :
7381   # Broken: success on invalid input.
7382 continue
7383 else
7384   # Passes both tests.
7385 ac_preproc_ok=:
7386 break
7387 fi
7388 rm -f conftest.err conftest.i conftest.$ac_ext
7389
7390 done
7391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7392 rm -f conftest.i conftest.err conftest.$ac_ext
7393 if $ac_preproc_ok; then :
7394   break
7395 fi
7396
7397     done
7398     ac_cv_prog_CPP=$CPP
7399
7400 fi
7401   CPP=$ac_cv_prog_CPP
7402 else
7403   ac_cv_prog_CPP=$CPP
7404 fi
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7406 $as_echo "$CPP" >&6; }
7407 ac_preproc_ok=false
7408 for ac_c_preproc_warn_flag in '' yes
7409 do
7410   # Use a header file that comes with gcc, so configuring glibc
7411   # with a fresh cross-compiler works.
7412   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7413   # <limits.h> exists even on freestanding compilers.
7414   # On the NeXT, cc -E runs the code through the compiler's parser,
7415   # not just through cpp. "Syntax error" is here to catch this case.
7416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7417 /* end confdefs.h.  */
7418 #ifdef __STDC__
7419 # include <limits.h>
7420 #else
7421 # include <assert.h>
7422 #endif
7423                      Syntax error
7424 _ACEOF
7425 if ac_fn_c_try_cpp "$LINENO"; then :
7426
7427 else
7428   # Broken: fails on valid input.
7429 continue
7430 fi
7431 rm -f conftest.err conftest.i conftest.$ac_ext
7432
7433   # OK, works on sane cases.  Now check whether nonexistent headers
7434   # can be detected and how.
7435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7436 /* end confdefs.h.  */
7437 #include <ac_nonexistent.h>
7438 _ACEOF
7439 if ac_fn_c_try_cpp "$LINENO"; then :
7440   # Broken: success on invalid input.
7441 continue
7442 else
7443   # Passes both tests.
7444 ac_preproc_ok=:
7445 break
7446 fi
7447 rm -f conftest.err conftest.i conftest.$ac_ext
7448
7449 done
7450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7451 rm -f conftest.i conftest.err conftest.$ac_ext
7452 if $ac_preproc_ok; then :
7453
7454 else
7455   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7457 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7458 See \`config.log' for more details" "$LINENO" 5; }
7459 fi
7460
7461 ac_ext=c
7462 ac_cpp='$CPP $CPPFLAGS'
7463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7466
7467
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7469 $as_echo_n "checking for ANSI C header files... " >&6; }
7470 if ${ac_cv_header_stdc+:} false; then :
7471   $as_echo_n "(cached) " >&6
7472 else
7473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h.  */
7475 #include <stdlib.h>
7476 #include <stdarg.h>
7477 #include <string.h>
7478 #include <float.h>
7479
7480 int
7481 main ()
7482 {
7483
7484   ;
7485   return 0;
7486 }
7487 _ACEOF
7488 if ac_fn_c_try_compile "$LINENO"; then :
7489   ac_cv_header_stdc=yes
7490 else
7491   ac_cv_header_stdc=no
7492 fi
7493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7494
7495 if test $ac_cv_header_stdc = yes; then
7496   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h.  */
7499 #include <string.h>
7500
7501 _ACEOF
7502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7503   $EGREP "memchr" >/dev/null 2>&1; then :
7504
7505 else
7506   ac_cv_header_stdc=no
7507 fi
7508 rm -f conftest*
7509
7510 fi
7511
7512 if test $ac_cv_header_stdc = yes; then
7513   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7515 /* end confdefs.h.  */
7516 #include <stdlib.h>
7517
7518 _ACEOF
7519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7520   $EGREP "free" >/dev/null 2>&1; then :
7521
7522 else
7523   ac_cv_header_stdc=no
7524 fi
7525 rm -f conftest*
7526
7527 fi
7528
7529 if test $ac_cv_header_stdc = yes; then
7530   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7531   if test "$cross_compiling" = yes; then :
7532   :
7533 else
7534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7535 /* end confdefs.h.  */
7536 #include <ctype.h>
7537 #include <stdlib.h>
7538 #if ((' ' & 0x0FF) == 0x020)
7539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7541 #else
7542 # define ISLOWER(c) \
7543                    (('a' <= (c) && (c) <= 'i') \
7544                      || ('j' <= (c) && (c) <= 'r') \
7545                      || ('s' <= (c) && (c) <= 'z'))
7546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7547 #endif
7548
7549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7550 int
7551 main ()
7552 {
7553   int i;
7554   for (i = 0; i < 256; i++)
7555     if (XOR (islower (i), ISLOWER (i))
7556         || toupper (i) != TOUPPER (i))
7557       return 2;
7558   return 0;
7559 }
7560 _ACEOF
7561 if ac_fn_c_try_run "$LINENO"; then :
7562
7563 else
7564   ac_cv_header_stdc=no
7565 fi
7566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7567   conftest.$ac_objext conftest.beam conftest.$ac_ext
7568 fi
7569
7570 fi
7571 fi
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7573 $as_echo "$ac_cv_header_stdc" >&6; }
7574 if test $ac_cv_header_stdc = yes; then
7575
7576 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7577
7578 fi
7579
7580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7581 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7582                   inttypes.h stdint.h unistd.h
7583 do :
7584   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7586 "
7587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7588   cat >>confdefs.h <<_ACEOF
7589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 _ACEOF
7591
7592 fi
7593
7594 done
7595
7596
7597 for ac_header in dlfcn.h
7598 do :
7599   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7600 "
7601 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7602   cat >>confdefs.h <<_ACEOF
7603 #define HAVE_DLFCN_H 1
7604 _ACEOF
7605
7606 fi
7607
7608 done
7609
7610
7611
7612
7613
7614 # Set options
7615
7616
7617
7618         enable_dlopen=no
7619
7620
7621   enable_win32_dll=no
7622
7623
7624             # Check whether --enable-shared was given.
7625 if test "${enable_shared+set}" = set; then :
7626   enableval=$enable_shared; p=${PACKAGE-default}
7627     case $enableval in
7628     yes) enable_shared=yes ;;
7629     no) enable_shared=no ;;
7630     *)
7631       enable_shared=no
7632       # Look at the argument we got.  We use all the common list separators.
7633       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7634       for pkg in $enableval; do
7635         IFS="$lt_save_ifs"
7636         if test "X$pkg" = "X$p"; then
7637           enable_shared=yes
7638         fi
7639       done
7640       IFS="$lt_save_ifs"
7641       ;;
7642     esac
7643 else
7644   enable_shared=yes
7645 fi
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655   # Check whether --enable-static was given.
7656 if test "${enable_static+set}" = set; then :
7657   enableval=$enable_static; p=${PACKAGE-default}
7658     case $enableval in
7659     yes) enable_static=yes ;;
7660     no) enable_static=no ;;
7661     *)
7662      enable_static=no
7663       # Look at the argument we got.  We use all the common list separators.
7664       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7665       for pkg in $enableval; do
7666         IFS="$lt_save_ifs"
7667         if test "X$pkg" = "X$p"; then
7668           enable_static=yes
7669         fi
7670       done
7671       IFS="$lt_save_ifs"
7672       ;;
7673     esac
7674 else
7675   enable_static=yes
7676 fi
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687 # Check whether --with-pic was given.
7688 if test "${with_pic+set}" = set; then :
7689   withval=$with_pic; lt_p=${PACKAGE-default}
7690     case $withval in
7691     yes|no) pic_mode=$withval ;;
7692     *)
7693       pic_mode=default
7694       # Look at the argument we got.  We use all the common list separators.
7695       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7696       for lt_pkg in $withval; do
7697         IFS="$lt_save_ifs"
7698         if test "X$lt_pkg" = "X$lt_p"; then
7699           pic_mode=yes
7700         fi
7701       done
7702       IFS="$lt_save_ifs"
7703       ;;
7704     esac
7705 else
7706   pic_mode=default
7707 fi
7708
7709
7710 test -z "$pic_mode" && pic_mode=default
7711
7712
7713
7714
7715
7716
7717
7718   # Check whether --enable-fast-install was given.
7719 if test "${enable_fast_install+set}" = set; then :
7720   enableval=$enable_fast_install; p=${PACKAGE-default}
7721     case $enableval in
7722     yes) enable_fast_install=yes ;;
7723     no) enable_fast_install=no ;;
7724     *)
7725       enable_fast_install=no
7726       # Look at the argument we got.  We use all the common list separators.
7727       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7728       for pkg in $enableval; do
7729         IFS="$lt_save_ifs"
7730         if test "X$pkg" = "X$p"; then
7731           enable_fast_install=yes
7732         fi
7733       done
7734       IFS="$lt_save_ifs"
7735       ;;
7736     esac
7737 else
7738   enable_fast_install=yes
7739 fi
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751 # This can be used to rebuild libtool when needed
7752 LIBTOOL_DEPS="$ltmain"
7753
7754 # Always use our own libtool.
7755 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786 test -z "$LN_S" && LN_S="ln -s"
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801 if test -n "${ZSH_VERSION+set}" ; then
7802    setopt NO_GLOB_SUBST
7803 fi
7804
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7806 $as_echo_n "checking for objdir... " >&6; }
7807 if ${lt_cv_objdir+:} false; then :
7808   $as_echo_n "(cached) " >&6
7809 else
7810   rm -f .libs 2>/dev/null
7811 mkdir .libs 2>/dev/null
7812 if test -d .libs; then
7813   lt_cv_objdir=.libs
7814 else
7815   # MS-DOS does not allow filenames that begin with a dot.
7816   lt_cv_objdir=_libs
7817 fi
7818 rmdir .libs 2>/dev/null
7819 fi
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7821 $as_echo "$lt_cv_objdir" >&6; }
7822 objdir=$lt_cv_objdir
7823
7824
7825
7826
7827
7828 cat >>confdefs.h <<_ACEOF
7829 #define LT_OBJDIR "$lt_cv_objdir/"
7830 _ACEOF
7831
7832
7833
7834
7835 case $host_os in
7836 aix3*)
7837   # AIX sometimes has problems with the GCC collect2 program.  For some
7838   # reason, if we set the COLLECT_NAMES environment variable, the problems
7839   # vanish in a puff of smoke.
7840   if test "X${COLLECT_NAMES+set}" != Xset; then
7841     COLLECT_NAMES=
7842     export COLLECT_NAMES
7843   fi
7844   ;;
7845 esac
7846
7847 # Global variables:
7848 ofile=libtool
7849 can_build_shared=yes
7850
7851 # All known linkers require a `.a' archive for static linking (except MSVC,
7852 # which needs '.lib').
7853 libext=a
7854
7855 with_gnu_ld="$lt_cv_prog_gnu_ld"
7856
7857 old_CC="$CC"
7858 old_CFLAGS="$CFLAGS"
7859
7860 # Set sane defaults for various variables
7861 test -z "$CC" && CC=cc
7862 test -z "$LTCC" && LTCC=$CC
7863 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7864 test -z "$LD" && LD=ld
7865 test -z "$ac_objext" && ac_objext=o
7866
7867 for cc_temp in $compiler""; do
7868   case $cc_temp in
7869     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7870     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7871     \-*) ;;
7872     *) break;;
7873   esac
7874 done
7875 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7876
7877
7878 # Only perform the check for file, if the check method requires it
7879 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7880 case $deplibs_check_method in
7881 file_magic*)
7882   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7884 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7885 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7886   $as_echo_n "(cached) " >&6
7887 else
7888   case $MAGIC_CMD in
7889 [\\/*] |  ?:[\\/]*)
7890   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7891   ;;
7892 *)
7893   lt_save_MAGIC_CMD="$MAGIC_CMD"
7894   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7895   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7896   for ac_dir in $ac_dummy; do
7897     IFS="$lt_save_ifs"
7898     test -z "$ac_dir" && ac_dir=.
7899     if test -f $ac_dir/${ac_tool_prefix}file; then
7900       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7901       if test -n "$file_magic_test_file"; then
7902         case $deplibs_check_method in
7903         "file_magic "*)
7904           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7905           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7906           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7907             $EGREP "$file_magic_regex" > /dev/null; then
7908             :
7909           else
7910             cat <<_LT_EOF 1>&2
7911
7912 *** Warning: the command libtool uses to detect shared libraries,
7913 *** $file_magic_cmd, produces output that libtool cannot recognize.
7914 *** The result is that libtool may fail to recognize shared libraries
7915 *** as such.  This will affect the creation of libtool libraries that
7916 *** depend on shared libraries, but programs linked with such libtool
7917 *** libraries will work regardless of this problem.  Nevertheless, you
7918 *** may want to report the problem to your system manager and/or to
7919 *** bug-libtool@gnu.org
7920
7921 _LT_EOF
7922           fi ;;
7923         esac
7924       fi
7925       break
7926     fi
7927   done
7928   IFS="$lt_save_ifs"
7929   MAGIC_CMD="$lt_save_MAGIC_CMD"
7930   ;;
7931 esac
7932 fi
7933
7934 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7935 if test -n "$MAGIC_CMD"; then
7936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7937 $as_echo "$MAGIC_CMD" >&6; }
7938 else
7939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7940 $as_echo "no" >&6; }
7941 fi
7942
7943
7944
7945
7946
7947 if test -z "$lt_cv_path_MAGIC_CMD"; then
7948   if test -n "$ac_tool_prefix"; then
7949     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7950 $as_echo_n "checking for file... " >&6; }
7951 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7952   $as_echo_n "(cached) " >&6
7953 else
7954   case $MAGIC_CMD in
7955 [\\/*] |  ?:[\\/]*)
7956   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7957   ;;
7958 *)
7959   lt_save_MAGIC_CMD="$MAGIC_CMD"
7960   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7961   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7962   for ac_dir in $ac_dummy; do
7963     IFS="$lt_save_ifs"
7964     test -z "$ac_dir" && ac_dir=.
7965     if test -f $ac_dir/file; then
7966       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7967       if test -n "$file_magic_test_file"; then
7968         case $deplibs_check_method in
7969         "file_magic "*)
7970           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7971           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7972           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7973             $EGREP "$file_magic_regex" > /dev/null; then
7974             :
7975           else
7976             cat <<_LT_EOF 1>&2
7977
7978 *** Warning: the command libtool uses to detect shared libraries,
7979 *** $file_magic_cmd, produces output that libtool cannot recognize.
7980 *** The result is that libtool may fail to recognize shared libraries
7981 *** as such.  This will affect the creation of libtool libraries that
7982 *** depend on shared libraries, but programs linked with such libtool
7983 *** libraries will work regardless of this problem.  Nevertheless, you
7984 *** may want to report the problem to your system manager and/or to
7985 *** bug-libtool@gnu.org
7986
7987 _LT_EOF
7988           fi ;;
7989         esac
7990       fi
7991       break
7992     fi
7993   done
7994   IFS="$lt_save_ifs"
7995   MAGIC_CMD="$lt_save_MAGIC_CMD"
7996   ;;
7997 esac
7998 fi
7999
8000 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8001 if test -n "$MAGIC_CMD"; then
8002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8003 $as_echo "$MAGIC_CMD" >&6; }
8004 else
8005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8007 fi
8008
8009
8010   else
8011     MAGIC_CMD=:
8012   fi
8013 fi
8014
8015   fi
8016   ;;
8017 esac
8018
8019 # Use C for the default configuration in the libtool script
8020
8021 lt_save_CC="$CC"
8022 ac_ext=c
8023 ac_cpp='$CPP $CPPFLAGS'
8024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8027
8028
8029 # Source file extension for C test sources.
8030 ac_ext=c
8031
8032 # Object file extension for compiled C test sources.
8033 objext=o
8034 objext=$objext
8035
8036 # Code to be used in simple compile tests
8037 lt_simple_compile_test_code="int some_variable = 0;"
8038
8039 # Code to be used in simple link tests
8040 lt_simple_link_test_code='int main(){return(0);}'
8041
8042
8043
8044
8045
8046
8047
8048 # If no C compiler was specified, use CC.
8049 LTCC=${LTCC-"$CC"}
8050
8051 # If no C compiler flags were specified, use CFLAGS.
8052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8053
8054 # Allow CC to be a program name with arguments.
8055 compiler=$CC
8056
8057 # Save the default compiler, since it gets overwritten when the other
8058 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8059 compiler_DEFAULT=$CC
8060
8061 # save warnings/boilerplate of simple test code
8062 ac_outfile=conftest.$ac_objext
8063 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8064 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8065 _lt_compiler_boilerplate=`cat conftest.err`
8066 $RM conftest*
8067
8068 ac_outfile=conftest.$ac_objext
8069 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8070 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8071 _lt_linker_boilerplate=`cat conftest.err`
8072 $RM -r conftest*
8073
8074
8075 ## CAVEAT EMPTOR:
8076 ## There is no encapsulation within the following macros, do not change
8077 ## the running order or otherwise move them around unless you know exactly
8078 ## what you are doing...
8079 if test -n "$compiler"; then
8080
8081 lt_prog_compiler_no_builtin_flag=
8082
8083 if test "$GCC" = yes; then
8084   case $cc_basename in
8085   nvcc*)
8086     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8087   *)
8088     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8089   esac
8090
8091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8092 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8093 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8094   $as_echo_n "(cached) " >&6
8095 else
8096   lt_cv_prog_compiler_rtti_exceptions=no
8097    ac_outfile=conftest.$ac_objext
8098    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8099    lt_compiler_flag="-fno-rtti -fno-exceptions"
8100    # Insert the option either (1) after the last *FLAGS variable, or
8101    # (2) before a word containing "conftest.", or (3) at the end.
8102    # Note that $ac_compile itself does not contain backslashes and begins
8103    # with a dollar sign (not a hyphen), so the echo should work correctly.
8104    # The option is referenced via a variable to avoid confusing sed.
8105    lt_compile=`echo "$ac_compile" | $SED \
8106    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8107    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8108    -e 's:$: $lt_compiler_flag:'`
8109    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8110    (eval "$lt_compile" 2>conftest.err)
8111    ac_status=$?
8112    cat conftest.err >&5
8113    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114    if (exit $ac_status) && test -s "$ac_outfile"; then
8115      # The compiler can only warn and ignore the option if not recognized
8116      # So say no if there are warnings other than the usual output.
8117      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8118      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8119      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8120        lt_cv_prog_compiler_rtti_exceptions=yes
8121      fi
8122    fi
8123    $RM conftest*
8124
8125 fi
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8127 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8128
8129 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8130     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8131 else
8132     :
8133 fi
8134
8135 fi
8136
8137
8138
8139
8140
8141
8142   lt_prog_compiler_wl=
8143 lt_prog_compiler_pic=
8144 lt_prog_compiler_static=
8145
8146
8147   if test "$GCC" = yes; then
8148     lt_prog_compiler_wl='-Wl,'
8149     lt_prog_compiler_static='-static'
8150
8151     case $host_os in
8152       aix*)
8153       # All AIX code is PIC.
8154       if test "$host_cpu" = ia64; then
8155         # AIX 5 now supports IA64 processor
8156         lt_prog_compiler_static='-Bstatic'
8157       fi
8158       ;;
8159
8160     amigaos*)
8161       case $host_cpu in
8162       powerpc)
8163             # see comment about AmigaOS4 .so support
8164             lt_prog_compiler_pic='-fPIC'
8165         ;;
8166       m68k)
8167             # FIXME: we need at least 68020 code to build shared libraries, but
8168             # adding the `-m68020' flag to GCC prevents building anything better,
8169             # like `-m68040'.
8170             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8171         ;;
8172       esac
8173       ;;
8174
8175     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8176       # PIC is the default for these OSes.
8177       ;;
8178
8179     mingw* | cygwin* | pw32* | os2* | cegcc*)
8180       # This hack is so that the source file can tell whether it is being
8181       # built for inclusion in a dll (and should export symbols for example).
8182       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8183       # (--disable-auto-import) libraries
8184       lt_prog_compiler_pic='-DDLL_EXPORT'
8185       ;;
8186
8187     darwin* | rhapsody*)
8188       # PIC is the default on this platform
8189       # Common symbols not allowed in MH_DYLIB files
8190       lt_prog_compiler_pic='-fno-common'
8191       ;;
8192
8193     haiku*)
8194       # PIC is the default for Haiku.
8195       # The "-static" flag exists, but is broken.
8196       lt_prog_compiler_static=
8197       ;;
8198
8199     hpux*)
8200       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8201       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8202       # sets the default TLS model and affects inlining.
8203       case $host_cpu in
8204       hppa*64*)
8205         # +Z the default
8206         ;;
8207       *)
8208         lt_prog_compiler_pic='-fPIC'
8209         ;;
8210       esac
8211       ;;
8212
8213     interix[3-9]*)
8214       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8215       # Instead, we relocate shared libraries at runtime.
8216       ;;
8217
8218     msdosdjgpp*)
8219       # Just because we use GCC doesn't mean we suddenly get shared libraries
8220       # on systems that don't support them.
8221       lt_prog_compiler_can_build_shared=no
8222       enable_shared=no
8223       ;;
8224
8225     *nto* | *qnx*)
8226       # QNX uses GNU C++, but need to define -shared option too, otherwise
8227       # it will coredump.
8228       lt_prog_compiler_pic='-fPIC -shared'
8229       ;;
8230
8231     sysv4*MP*)
8232       if test -d /usr/nec; then
8233         lt_prog_compiler_pic=-Kconform_pic
8234       fi
8235       ;;
8236
8237     *)
8238       lt_prog_compiler_pic='-fPIC'
8239       ;;
8240     esac
8241
8242     case $cc_basename in
8243     nvcc*) # Cuda Compiler Driver 2.2
8244       lt_prog_compiler_wl='-Xlinker '
8245       if test -n "$lt_prog_compiler_pic"; then
8246         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8247       fi
8248       ;;
8249     esac
8250   else
8251     # PORTME Check for flag to pass linker flags through the system compiler.
8252     case $host_os in
8253     aix*)
8254       lt_prog_compiler_wl='-Wl,'
8255       if test "$host_cpu" = ia64; then
8256         # AIX 5 now supports IA64 processor
8257         lt_prog_compiler_static='-Bstatic'
8258       else
8259         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8260       fi
8261       ;;
8262
8263     mingw* | cygwin* | pw32* | os2* | cegcc*)
8264       # This hack is so that the source file can tell whether it is being
8265       # built for inclusion in a dll (and should export symbols for example).
8266       lt_prog_compiler_pic='-DDLL_EXPORT'
8267       ;;
8268
8269     hpux9* | hpux10* | hpux11*)
8270       lt_prog_compiler_wl='-Wl,'
8271       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8272       # not for PA HP-UX.
8273       case $host_cpu in
8274       hppa*64*|ia64*)
8275         # +Z the default
8276         ;;
8277       *)
8278         lt_prog_compiler_pic='+Z'
8279         ;;
8280       esac
8281       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8282       lt_prog_compiler_static='${wl}-a ${wl}archive'
8283       ;;
8284
8285     irix5* | irix6* | nonstopux*)
8286       lt_prog_compiler_wl='-Wl,'
8287       # PIC (with -KPIC) is the default.
8288       lt_prog_compiler_static='-non_shared'
8289       ;;
8290
8291     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8292       case $cc_basename in
8293       # old Intel for x86_64 which still supported -KPIC.
8294       ecc*)
8295         lt_prog_compiler_wl='-Wl,'
8296         lt_prog_compiler_pic='-KPIC'
8297         lt_prog_compiler_static='-static'
8298         ;;
8299       # icc used to be incompatible with GCC.
8300       # ICC 10 doesn't accept -KPIC any more.
8301       icc* | ifort*)
8302         lt_prog_compiler_wl='-Wl,'
8303         lt_prog_compiler_pic='-fPIC'
8304         lt_prog_compiler_static='-static'
8305         ;;
8306       # Lahey Fortran 8.1.
8307       lf95*)
8308         lt_prog_compiler_wl='-Wl,'
8309         lt_prog_compiler_pic='--shared'
8310         lt_prog_compiler_static='--static'
8311         ;;
8312       nagfor*)
8313         # NAG Fortran compiler
8314         lt_prog_compiler_wl='-Wl,-Wl,,'
8315         lt_prog_compiler_pic='-PIC'
8316         lt_prog_compiler_static='-Bstatic'
8317         ;;
8318       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8319         # Portland Group compilers (*not* the Pentium gcc compiler,
8320         # which looks to be a dead project)
8321         lt_prog_compiler_wl='-Wl,'
8322         lt_prog_compiler_pic='-fpic'
8323         lt_prog_compiler_static='-Bstatic'
8324         ;;
8325       ccc*)
8326         lt_prog_compiler_wl='-Wl,'
8327         # All Alpha code is PIC.
8328         lt_prog_compiler_static='-non_shared'
8329         ;;
8330       xl* | bgxl* | bgf* | mpixl*)
8331         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8332         lt_prog_compiler_wl='-Wl,'
8333         lt_prog_compiler_pic='-qpic'
8334         lt_prog_compiler_static='-qstaticlink'
8335         ;;
8336       *)
8337         case `$CC -V 2>&1 | sed 5q` in
8338         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8339           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8340           lt_prog_compiler_pic='-KPIC'
8341           lt_prog_compiler_static='-Bstatic'
8342           lt_prog_compiler_wl=''
8343           ;;
8344         *Sun\ F* | *Sun*Fortran*)
8345           lt_prog_compiler_pic='-KPIC'
8346           lt_prog_compiler_static='-Bstatic'
8347           lt_prog_compiler_wl='-Qoption ld '
8348           ;;
8349         *Sun\ C*)
8350           # Sun C 5.9
8351           lt_prog_compiler_pic='-KPIC'
8352           lt_prog_compiler_static='-Bstatic'
8353           lt_prog_compiler_wl='-Wl,'
8354           ;;
8355         *Intel*\ [CF]*Compiler*)
8356           lt_prog_compiler_wl='-Wl,'
8357           lt_prog_compiler_pic='-fPIC'
8358           lt_prog_compiler_static='-static'
8359           ;;
8360         *Portland\ Group*)
8361           lt_prog_compiler_wl='-Wl,'
8362           lt_prog_compiler_pic='-fpic'
8363           lt_prog_compiler_static='-Bstatic'
8364           ;;
8365         esac
8366         ;;
8367       esac
8368       ;;
8369
8370     newsos6)
8371       lt_prog_compiler_pic='-KPIC'
8372       lt_prog_compiler_static='-Bstatic'
8373       ;;
8374
8375     *nto* | *qnx*)
8376       # QNX uses GNU C++, but need to define -shared option too, otherwise
8377       # it will coredump.
8378       lt_prog_compiler_pic='-fPIC -shared'
8379       ;;
8380
8381     osf3* | osf4* | osf5*)
8382       lt_prog_compiler_wl='-Wl,'
8383       # All OSF/1 code is PIC.
8384       lt_prog_compiler_static='-non_shared'
8385       ;;
8386
8387     rdos*)
8388       lt_prog_compiler_static='-non_shared'
8389       ;;
8390
8391     solaris*)
8392       lt_prog_compiler_pic='-KPIC'
8393       lt_prog_compiler_static='-Bstatic'
8394       case $cc_basename in
8395       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8396         lt_prog_compiler_wl='-Qoption ld ';;
8397       *)
8398         lt_prog_compiler_wl='-Wl,';;
8399       esac
8400       ;;
8401
8402     sunos4*)
8403       lt_prog_compiler_wl='-Qoption ld '
8404       lt_prog_compiler_pic='-PIC'
8405       lt_prog_compiler_static='-Bstatic'
8406       ;;
8407
8408     sysv4 | sysv4.2uw2* | sysv4.3*)
8409       lt_prog_compiler_wl='-Wl,'
8410       lt_prog_compiler_pic='-KPIC'
8411       lt_prog_compiler_static='-Bstatic'
8412       ;;
8413
8414     sysv4*MP*)
8415       if test -d /usr/nec ;then
8416         lt_prog_compiler_pic='-Kconform_pic'
8417         lt_prog_compiler_static='-Bstatic'
8418       fi
8419       ;;
8420
8421     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8422       lt_prog_compiler_wl='-Wl,'
8423       lt_prog_compiler_pic='-KPIC'
8424       lt_prog_compiler_static='-Bstatic'
8425       ;;
8426
8427     unicos*)
8428       lt_prog_compiler_wl='-Wl,'
8429       lt_prog_compiler_can_build_shared=no
8430       ;;
8431
8432     uts4*)
8433       lt_prog_compiler_pic='-pic'
8434       lt_prog_compiler_static='-Bstatic'
8435       ;;
8436
8437     *)
8438       lt_prog_compiler_can_build_shared=no
8439       ;;
8440     esac
8441   fi
8442
8443 case $host_os in
8444   # For platforms which do not support PIC, -DPIC is meaningless:
8445   *djgpp*)
8446     lt_prog_compiler_pic=
8447     ;;
8448   *)
8449     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8450     ;;
8451 esac
8452
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8454 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8455 if ${lt_cv_prog_compiler_pic+:} false; then :
8456   $as_echo_n "(cached) " >&6
8457 else
8458   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8459 fi
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8461 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8462 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8463
8464 #
8465 # Check to make sure the PIC flag actually works.
8466 #
8467 if test -n "$lt_prog_compiler_pic"; then
8468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8469 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8470 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8471   $as_echo_n "(cached) " >&6
8472 else
8473   lt_cv_prog_compiler_pic_works=no
8474    ac_outfile=conftest.$ac_objext
8475    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8476    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8477    # Insert the option either (1) after the last *FLAGS variable, or
8478    # (2) before a word containing "conftest.", or (3) at the end.
8479    # Note that $ac_compile itself does not contain backslashes and begins
8480    # with a dollar sign (not a hyphen), so the echo should work correctly.
8481    # The option is referenced via a variable to avoid confusing sed.
8482    lt_compile=`echo "$ac_compile" | $SED \
8483    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8484    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8485    -e 's:$: $lt_compiler_flag:'`
8486    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8487    (eval "$lt_compile" 2>conftest.err)
8488    ac_status=$?
8489    cat conftest.err >&5
8490    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491    if (exit $ac_status) && test -s "$ac_outfile"; then
8492      # The compiler can only warn and ignore the option if not recognized
8493      # So say no if there are warnings other than the usual output.
8494      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8495      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8496      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8497        lt_cv_prog_compiler_pic_works=yes
8498      fi
8499    fi
8500    $RM conftest*
8501
8502 fi
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8504 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8505
8506 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8507     case $lt_prog_compiler_pic in
8508      "" | " "*) ;;
8509      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8510      esac
8511 else
8512     lt_prog_compiler_pic=
8513      lt_prog_compiler_can_build_shared=no
8514 fi
8515
8516 fi
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528 #
8529 # Check to make sure the static flag actually works.
8530 #
8531 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8533 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8534 if ${lt_cv_prog_compiler_static_works+:} false; then :
8535   $as_echo_n "(cached) " >&6
8536 else
8537   lt_cv_prog_compiler_static_works=no
8538    save_LDFLAGS="$LDFLAGS"
8539    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8540    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8541    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8542      # The linker can only warn and ignore the option if not recognized
8543      # So say no if there are warnings
8544      if test -s conftest.err; then
8545        # Append any errors to the config.log.
8546        cat conftest.err 1>&5
8547        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8548        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8549        if diff conftest.exp conftest.er2 >/dev/null; then
8550          lt_cv_prog_compiler_static_works=yes
8551        fi
8552      else
8553        lt_cv_prog_compiler_static_works=yes
8554      fi
8555    fi
8556    $RM -r conftest*
8557    LDFLAGS="$save_LDFLAGS"
8558
8559 fi
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8561 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8562
8563 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8564     :
8565 else
8566     lt_prog_compiler_static=
8567 fi
8568
8569
8570
8571
8572
8573
8574
8575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8576 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8577 if ${lt_cv_prog_compiler_c_o+:} false; then :
8578   $as_echo_n "(cached) " >&6
8579 else
8580   lt_cv_prog_compiler_c_o=no
8581    $RM -r conftest 2>/dev/null
8582    mkdir conftest
8583    cd conftest
8584    mkdir out
8585    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8586
8587    lt_compiler_flag="-o out/conftest2.$ac_objext"
8588    # Insert the option either (1) after the last *FLAGS variable, or
8589    # (2) before a word containing "conftest.", or (3) at the end.
8590    # Note that $ac_compile itself does not contain backslashes and begins
8591    # with a dollar sign (not a hyphen), so the echo should work correctly.
8592    lt_compile=`echo "$ac_compile" | $SED \
8593    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8594    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8595    -e 's:$: $lt_compiler_flag:'`
8596    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8597    (eval "$lt_compile" 2>out/conftest.err)
8598    ac_status=$?
8599    cat out/conftest.err >&5
8600    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8602    then
8603      # The compiler can only warn and ignore the option if not recognized
8604      # So say no if there are warnings
8605      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8606      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8607      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8608        lt_cv_prog_compiler_c_o=yes
8609      fi
8610    fi
8611    chmod u+w . 2>&5
8612    $RM conftest*
8613    # SGI C++ compiler will create directory out/ii_files/ for
8614    # template instantiation
8615    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8616    $RM out/* && rmdir out
8617    cd ..
8618    $RM -r conftest
8619    $RM conftest*
8620
8621 fi
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8623 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8624
8625
8626
8627
8628
8629
8630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8631 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8632 if ${lt_cv_prog_compiler_c_o+:} false; then :
8633   $as_echo_n "(cached) " >&6
8634 else
8635   lt_cv_prog_compiler_c_o=no
8636    $RM -r conftest 2>/dev/null
8637    mkdir conftest
8638    cd conftest
8639    mkdir out
8640    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8641
8642    lt_compiler_flag="-o out/conftest2.$ac_objext"
8643    # Insert the option either (1) after the last *FLAGS variable, or
8644    # (2) before a word containing "conftest.", or (3) at the end.
8645    # Note that $ac_compile itself does not contain backslashes and begins
8646    # with a dollar sign (not a hyphen), so the echo should work correctly.
8647    lt_compile=`echo "$ac_compile" | $SED \
8648    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8649    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8650    -e 's:$: $lt_compiler_flag:'`
8651    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8652    (eval "$lt_compile" 2>out/conftest.err)
8653    ac_status=$?
8654    cat out/conftest.err >&5
8655    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8657    then
8658      # The compiler can only warn and ignore the option if not recognized
8659      # So say no if there are warnings
8660      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8661      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8662      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8663        lt_cv_prog_compiler_c_o=yes
8664      fi
8665    fi
8666    chmod u+w . 2>&5
8667    $RM conftest*
8668    # SGI C++ compiler will create directory out/ii_files/ for
8669    # template instantiation
8670    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8671    $RM out/* && rmdir out
8672    cd ..
8673    $RM -r conftest
8674    $RM conftest*
8675
8676 fi
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8678 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8679
8680
8681
8682
8683 hard_links="nottested"
8684 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8685   # do not overwrite the value of need_locks provided by the user
8686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8687 $as_echo_n "checking if we can lock with hard links... " >&6; }
8688   hard_links=yes
8689   $RM conftest*
8690   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8691   touch conftest.a
8692   ln conftest.a conftest.b 2>&5 || hard_links=no
8693   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8695 $as_echo "$hard_links" >&6; }
8696   if test "$hard_links" = no; then
8697     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8698 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8699     need_locks=warn
8700   fi
8701 else
8702   need_locks=no
8703 fi
8704
8705
8706
8707
8708
8709
8710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8711 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8712
8713   runpath_var=
8714   allow_undefined_flag=
8715   always_export_symbols=no
8716   archive_cmds=
8717   archive_expsym_cmds=
8718   compiler_needs_object=no
8719   enable_shared_with_static_runtimes=no
8720   export_dynamic_flag_spec=
8721   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8722   hardcode_automatic=no
8723   hardcode_direct=no
8724   hardcode_direct_absolute=no
8725   hardcode_libdir_flag_spec=
8726   hardcode_libdir_separator=
8727   hardcode_minus_L=no
8728   hardcode_shlibpath_var=unsupported
8729   inherit_rpath=no
8730   link_all_deplibs=unknown
8731   module_cmds=
8732   module_expsym_cmds=
8733   old_archive_from_new_cmds=
8734   old_archive_from_expsyms_cmds=
8735   thread_safe_flag_spec=
8736   whole_archive_flag_spec=
8737   # include_expsyms should be a list of space-separated symbols to be *always*
8738   # included in the symbol list
8739   include_expsyms=
8740   # exclude_expsyms can be an extended regexp of symbols to exclude
8741   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8742   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8743   # as well as any symbol that contains `d'.
8744   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8745   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8746   # platforms (ab)use it in PIC code, but their linkers get confused if
8747   # the symbol is explicitly referenced.  Since portable code cannot
8748   # rely on this symbol name, it's probably fine to never include it in
8749   # preloaded symbol tables.
8750   # Exclude shared library initialization/finalization symbols.
8751   extract_expsyms_cmds=
8752
8753   case $host_os in
8754   cygwin* | mingw* | pw32* | cegcc*)
8755     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8756     # When not using gcc, we currently assume that we are using
8757     # Microsoft Visual C++.
8758     if test "$GCC" != yes; then
8759       with_gnu_ld=no
8760     fi
8761     ;;
8762   interix*)
8763     # we just hope/assume this is gcc and not c89 (= MSVC++)
8764     with_gnu_ld=yes
8765     ;;
8766   openbsd*)
8767     with_gnu_ld=no
8768     ;;
8769   linux* | k*bsd*-gnu | gnu*)
8770     link_all_deplibs=no
8771     ;;
8772   esac
8773
8774   ld_shlibs=yes
8775
8776   # On some targets, GNU ld is compatible enough with the native linker
8777   # that we're better off using the native interface for both.
8778   lt_use_gnu_ld_interface=no
8779   if test "$with_gnu_ld" = yes; then
8780     case $host_os in
8781       aix*)
8782         # The AIX port of GNU ld has always aspired to compatibility
8783         # with the native linker.  However, as the warning in the GNU ld
8784         # block says, versions before 2.19.5* couldn't really create working
8785         # shared libraries, regardless of the interface used.
8786         case `$LD -v 2>&1` in
8787           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8788           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8789           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8790           *)
8791             lt_use_gnu_ld_interface=yes
8792             ;;
8793         esac
8794         ;;
8795       *)
8796         lt_use_gnu_ld_interface=yes
8797         ;;
8798     esac
8799   fi
8800
8801   if test "$lt_use_gnu_ld_interface" = yes; then
8802     # If archive_cmds runs LD, not CC, wlarc should be empty
8803     wlarc='${wl}'
8804
8805     # Set some defaults for GNU ld with shared library support. These
8806     # are reset later if shared libraries are not supported. Putting them
8807     # here allows them to be overridden if necessary.
8808     runpath_var=LD_RUN_PATH
8809     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8810     export_dynamic_flag_spec='${wl}--export-dynamic'
8811     # ancient GNU ld didn't support --whole-archive et. al.
8812     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8813       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8814     else
8815       whole_archive_flag_spec=
8816     fi
8817     supports_anon_versioning=no
8818     case `$LD -v 2>&1` in
8819       *GNU\ gold*) supports_anon_versioning=yes ;;
8820       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8821       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8822       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8823       *\ 2.11.*) ;; # other 2.11 versions
8824       *) supports_anon_versioning=yes ;;
8825     esac
8826
8827     # See if GNU ld supports shared libraries.
8828     case $host_os in
8829     aix[3-9]*)
8830       # On AIX/PPC, the GNU linker is very broken
8831       if test "$host_cpu" != ia64; then
8832         ld_shlibs=no
8833         cat <<_LT_EOF 1>&2
8834
8835 *** Warning: the GNU linker, at least up to release 2.19, is reported
8836 *** to be unable to reliably create shared libraries on AIX.
8837 *** Therefore, libtool is disabling shared libraries support.  If you
8838 *** really care for shared libraries, you may want to install binutils
8839 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8840 *** You will then need to restart the configuration process.
8841
8842 _LT_EOF
8843       fi
8844       ;;
8845
8846     amigaos*)
8847       case $host_cpu in
8848       powerpc)
8849             # see comment about AmigaOS4 .so support
8850             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8851             archive_expsym_cmds=''
8852         ;;
8853       m68k)
8854             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8855             hardcode_libdir_flag_spec='-L$libdir'
8856             hardcode_minus_L=yes
8857         ;;
8858       esac
8859       ;;
8860
8861     beos*)
8862       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8863         allow_undefined_flag=unsupported
8864         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8865         # support --undefined.  This deserves some investigation.  FIXME
8866         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8867       else
8868         ld_shlibs=no
8869       fi
8870       ;;
8871
8872     cygwin* | mingw* | pw32* | cegcc*)
8873       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8874       # as there is no search path for DLLs.
8875       hardcode_libdir_flag_spec='-L$libdir'
8876       export_dynamic_flag_spec='${wl}--export-all-symbols'
8877       allow_undefined_flag=unsupported
8878       always_export_symbols=no
8879       enable_shared_with_static_runtimes=yes
8880       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8881       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8882
8883       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8884         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8885         # If the export-symbols file already is a .def file (1st line
8886         # is EXPORTS), use it as is; otherwise, prepend...
8887         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8888           cp $export_symbols $output_objdir/$soname.def;
8889         else
8890           echo EXPORTS > $output_objdir/$soname.def;
8891           cat $export_symbols >> $output_objdir/$soname.def;
8892         fi~
8893         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8894       else
8895         ld_shlibs=no
8896       fi
8897       ;;
8898
8899     haiku*)
8900       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901       link_all_deplibs=yes
8902       ;;
8903
8904     interix[3-9]*)
8905       hardcode_direct=no
8906       hardcode_shlibpath_var=no
8907       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8908       export_dynamic_flag_spec='${wl}-E'
8909       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8910       # Instead, shared libraries are loaded at an image base (0x10000000 by
8911       # default) and relocated if they conflict, which is a slow very memory
8912       # consuming and fragmenting process.  To avoid this, we pick a random,
8913       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8914       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8915       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8916       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8917       ;;
8918
8919     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8920       tmp_diet=no
8921       if test "$host_os" = linux-dietlibc; then
8922         case $cc_basename in
8923           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8924         esac
8925       fi
8926       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8927          && test "$tmp_diet" = no
8928       then
8929         tmp_addflag=' $pic_flag'
8930         tmp_sharedflag='-shared'
8931         case $cc_basename,$host_cpu in
8932         pgcc*)                          # Portland Group C compiler
8933           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8934           tmp_addflag=' $pic_flag'
8935           ;;
8936         pgf77* | pgf90* | pgf95* | pgfortran*)
8937                                         # Portland Group f77 and f90 compilers
8938           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8939           tmp_addflag=' $pic_flag -Mnomain' ;;
8940         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8941           tmp_addflag=' -i_dynamic' ;;
8942         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8943           tmp_addflag=' -i_dynamic -nofor_main' ;;
8944         ifc* | ifort*)                  # Intel Fortran compiler
8945           tmp_addflag=' -nofor_main' ;;
8946         lf95*)                          # Lahey Fortran 8.1
8947           whole_archive_flag_spec=
8948           tmp_sharedflag='--shared' ;;
8949         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8950           tmp_sharedflag='-qmkshrobj'
8951           tmp_addflag= ;;
8952         nvcc*)  # Cuda Compiler Driver 2.2
8953           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8954           compiler_needs_object=yes
8955           ;;
8956         esac
8957         case `$CC -V 2>&1 | sed 5q` in
8958         *Sun\ C*)                       # Sun C 5.9
8959           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8960           compiler_needs_object=yes
8961           tmp_sharedflag='-G' ;;
8962         *Sun\ F*)                       # Sun Fortran 8.3
8963           tmp_sharedflag='-G' ;;
8964         esac
8965         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966
8967         if test "x$supports_anon_versioning" = xyes; then
8968           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8969             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8970             echo "local: *; };" >> $output_objdir/$libname.ver~
8971             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8972         fi
8973
8974         case $cc_basename in
8975         xlf* | bgf* | bgxlf* | mpixlf*)
8976           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8977           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8978           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8979           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8980           if test "x$supports_anon_versioning" = xyes; then
8981             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8982               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8983               echo "local: *; };" >> $output_objdir/$libname.ver~
8984               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8985           fi
8986           ;;
8987         esac
8988       else
8989         ld_shlibs=no
8990       fi
8991       ;;
8992
8993     netbsd* | netbsdelf*-gnu)
8994       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8995         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8996         wlarc=
8997       else
8998         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8999         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9000       fi
9001       ;;
9002
9003     solaris*)
9004       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9005         ld_shlibs=no
9006         cat <<_LT_EOF 1>&2
9007
9008 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9009 *** create shared libraries on Solaris systems.  Therefore, libtool
9010 *** is disabling shared libraries support.  We urge you to upgrade GNU
9011 *** binutils to release 2.9.1 or newer.  Another option is to modify
9012 *** your PATH or compiler configuration so that the native linker is
9013 *** used, and then restart.
9014
9015 _LT_EOF
9016       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9017         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9018         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9019       else
9020         ld_shlibs=no
9021       fi
9022       ;;
9023
9024     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9025       case `$LD -v 2>&1` in
9026         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9027         ld_shlibs=no
9028         cat <<_LT_EOF 1>&2
9029
9030 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9031 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9032 *** is disabling shared libraries support.  We urge you to upgrade GNU
9033 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9034 *** your PATH or compiler configuration so that the native linker is
9035 *** used, and then restart.
9036
9037 _LT_EOF
9038         ;;
9039         *)
9040           # For security reasons, it is highly recommended that you always
9041           # use absolute paths for naming shared libraries, and exclude the
9042           # DT_RUNPATH tag from executables and libraries.  But doing so
9043           # requires that you compile everything twice, which is a pain.
9044           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9045             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9047             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9048           else
9049             ld_shlibs=no
9050           fi
9051         ;;
9052       esac
9053       ;;
9054
9055     sunos4*)
9056       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9057       wlarc=
9058       hardcode_direct=yes
9059       hardcode_shlibpath_var=no
9060       ;;
9061
9062     *)
9063       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9064         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9065         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9066       else
9067         ld_shlibs=no
9068       fi
9069       ;;
9070     esac
9071
9072     if test "$ld_shlibs" = no; then
9073       runpath_var=
9074       hardcode_libdir_flag_spec=
9075       export_dynamic_flag_spec=
9076       whole_archive_flag_spec=
9077     fi
9078   else
9079     # PORTME fill in a description of your system's linker (not GNU ld)
9080     case $host_os in
9081     aix3*)
9082       allow_undefined_flag=unsupported
9083       always_export_symbols=yes
9084       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9085       # Note: this linker hardcodes the directories in LIBPATH if there
9086       # are no directories specified by -L.
9087       hardcode_minus_L=yes
9088       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9089         # Neither direct hardcoding nor static linking is supported with a
9090         # broken collect2.
9091         hardcode_direct=unsupported
9092       fi
9093       ;;
9094
9095     aix[4-9]*)
9096       if test "$host_cpu" = ia64; then
9097         # On IA64, the linker does run time linking by default, so we don't
9098         # have to do anything special.
9099         aix_use_runtimelinking=no
9100         exp_sym_flag='-Bexport'
9101         no_entry_flag=""
9102       else
9103         # If we're using GNU nm, then we don't want the "-C" option.
9104         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9105         # Also, AIX nm treats weak defined symbols like other global
9106         # defined symbols, whereas GNU nm marks them as "W".
9107         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9108           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9109         else
9110           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9111         fi
9112         aix_use_runtimelinking=no
9113
9114         # Test if we are trying to use run time linking or normal
9115         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9116         # need to do runtime linking.
9117         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9118           for ld_flag in $LDFLAGS; do
9119           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9120             aix_use_runtimelinking=yes
9121             break
9122           fi
9123           done
9124           ;;
9125         esac
9126
9127         exp_sym_flag='-bexport'
9128         no_entry_flag='-bnoentry'
9129       fi
9130
9131       # When large executables or shared objects are built, AIX ld can
9132       # have problems creating the table of contents.  If linking a library
9133       # or program results in "error TOC overflow" add -mminimal-toc to
9134       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9135       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9136
9137       archive_cmds=''
9138       hardcode_direct=yes
9139       hardcode_direct_absolute=yes
9140       hardcode_libdir_separator=':'
9141       link_all_deplibs=yes
9142       file_list_spec='${wl}-f,'
9143
9144       if test "$GCC" = yes; then
9145         case $host_os in aix4.[012]|aix4.[012].*)
9146         # We only want to do this on AIX 4.2 and lower, the check
9147         # below for broken collect2 doesn't work under 4.3+
9148           collect2name=`${CC} -print-prog-name=collect2`
9149           if test -f "$collect2name" &&
9150            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9151           then
9152           # We have reworked collect2
9153           :
9154           else
9155           # We have old collect2
9156           hardcode_direct=unsupported
9157           # It fails to find uninstalled libraries when the uninstalled
9158           # path is not listed in the libpath.  Setting hardcode_minus_L
9159           # to unsupported forces relinking
9160           hardcode_minus_L=yes
9161           hardcode_libdir_flag_spec='-L$libdir'
9162           hardcode_libdir_separator=
9163           fi
9164           ;;
9165         esac
9166         shared_flag='-shared'
9167         if test "$aix_use_runtimelinking" = yes; then
9168           shared_flag="$shared_flag "'${wl}-G'
9169         fi
9170         link_all_deplibs=no
9171       else
9172         # not using gcc
9173         if test "$host_cpu" = ia64; then
9174         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9175         # chokes on -Wl,-G. The following line is correct:
9176           shared_flag='-G'
9177         else
9178           if test "$aix_use_runtimelinking" = yes; then
9179             shared_flag='${wl}-G'
9180           else
9181             shared_flag='${wl}-bM:SRE'
9182           fi
9183         fi
9184       fi
9185
9186       export_dynamic_flag_spec='${wl}-bexpall'
9187       # It seems that -bexpall does not export symbols beginning with
9188       # underscore (_), so it is better to generate a list of symbols to export.
9189       always_export_symbols=yes
9190       if test "$aix_use_runtimelinking" = yes; then
9191         # Warning - without using the other runtime loading flags (-brtl),
9192         # -berok will link without error, but may produce a broken library.
9193         allow_undefined_flag='-berok'
9194         # Determine the default libpath from the value encoded in an
9195         # empty executable.
9196         if test "${lt_cv_aix_libpath+set}" = set; then
9197   aix_libpath=$lt_cv_aix_libpath
9198 else
9199   if ${lt_cv_aix_libpath_+:} false; then :
9200   $as_echo_n "(cached) " >&6
9201 else
9202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h.  */
9204
9205 int
9206 main ()
9207 {
9208
9209   ;
9210   return 0;
9211 }
9212 _ACEOF
9213 if ac_fn_c_try_link "$LINENO"; then :
9214
9215   lt_aix_libpath_sed='
9216       /Import File Strings/,/^$/ {
9217           /^0/ {
9218               s/^0  *\([^ ]*\) *$/\1/
9219               p
9220           }
9221       }'
9222   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9223   # Check for a 64-bit object if we didn't find anything.
9224   if test -z "$lt_cv_aix_libpath_"; then
9225     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9226   fi
9227 fi
9228 rm -f core conftest.err conftest.$ac_objext \
9229     conftest$ac_exeext conftest.$ac_ext
9230   if test -z "$lt_cv_aix_libpath_"; then
9231     lt_cv_aix_libpath_="/usr/lib:/lib"
9232   fi
9233
9234 fi
9235
9236   aix_libpath=$lt_cv_aix_libpath_
9237 fi
9238
9239         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9240         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9241       else
9242         if test "$host_cpu" = ia64; then
9243           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9244           allow_undefined_flag="-z nodefs"
9245           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9246         else
9247          # Determine the default libpath from the value encoded in an
9248          # empty executable.
9249          if test "${lt_cv_aix_libpath+set}" = set; then
9250   aix_libpath=$lt_cv_aix_libpath
9251 else
9252   if ${lt_cv_aix_libpath_+:} false; then :
9253   $as_echo_n "(cached) " >&6
9254 else
9255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h.  */
9257
9258 int
9259 main ()
9260 {
9261
9262   ;
9263   return 0;
9264 }
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267
9268   lt_aix_libpath_sed='
9269       /Import File Strings/,/^$/ {
9270           /^0/ {
9271               s/^0  *\([^ ]*\) *$/\1/
9272               p
9273           }
9274       }'
9275   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9276   # Check for a 64-bit object if we didn't find anything.
9277   if test -z "$lt_cv_aix_libpath_"; then
9278     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9279   fi
9280 fi
9281 rm -f core conftest.err conftest.$ac_objext \
9282     conftest$ac_exeext conftest.$ac_ext
9283   if test -z "$lt_cv_aix_libpath_"; then
9284     lt_cv_aix_libpath_="/usr/lib:/lib"
9285   fi
9286
9287 fi
9288
9289   aix_libpath=$lt_cv_aix_libpath_
9290 fi
9291
9292          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9293           # Warning - without using the other run time loading flags,
9294           # -berok will link without error, but may produce a broken library.
9295           no_undefined_flag=' ${wl}-bernotok'
9296           allow_undefined_flag=' ${wl}-berok'
9297           if test "$with_gnu_ld" = yes; then
9298             # We only use this code for GNU lds that support --whole-archive.
9299             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9300           else
9301             # Exported symbols can be pulled into shared objects from archives
9302             whole_archive_flag_spec='$convenience'
9303           fi
9304           archive_cmds_need_lc=yes
9305           # This is similar to how AIX traditionally builds its shared libraries.
9306           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9307         fi
9308       fi
9309       ;;
9310
9311     amigaos*)
9312       case $host_cpu in
9313       powerpc)
9314             # see comment about AmigaOS4 .so support
9315             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316             archive_expsym_cmds=''
9317         ;;
9318       m68k)
9319             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9320             hardcode_libdir_flag_spec='-L$libdir'
9321             hardcode_minus_L=yes
9322         ;;
9323       esac
9324       ;;
9325
9326     bsdi[45]*)
9327       export_dynamic_flag_spec=-rdynamic
9328       ;;
9329
9330     cygwin* | mingw* | pw32* | cegcc*)
9331       # When not using gcc, we currently assume that we are using
9332       # Microsoft Visual C++.
9333       # hardcode_libdir_flag_spec is actually meaningless, as there is
9334       # no search path for DLLs.
9335       case $cc_basename in
9336       cl*)
9337         # Native MSVC
9338         hardcode_libdir_flag_spec=' '
9339         allow_undefined_flag=unsupported
9340         always_export_symbols=yes
9341         file_list_spec='@'
9342         # Tell ltmain to make .lib files, not .a files.
9343         libext=lib
9344         # Tell ltmain to make .dll files, not .so files.
9345         shrext_cmds=".dll"
9346         # FIXME: Setting linknames here is a bad hack.
9347         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9348         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9349             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9350           else
9351             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9352           fi~
9353           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9354           linknames='
9355         # The linker will not automatically build a static lib if we build a DLL.
9356         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9357         enable_shared_with_static_runtimes=yes
9358         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9359         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9360         # Don't use ranlib
9361         old_postinstall_cmds='chmod 644 $oldlib'
9362         postlink_cmds='lt_outputfile="@OUTPUT@"~
9363           lt_tool_outputfile="@TOOL_OUTPUT@"~
9364           case $lt_outputfile in
9365             *.exe|*.EXE) ;;
9366             *)
9367               lt_outputfile="$lt_outputfile.exe"
9368               lt_tool_outputfile="$lt_tool_outputfile.exe"
9369               ;;
9370           esac~
9371           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9372             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9373             $RM "$lt_outputfile.manifest";
9374           fi'
9375         ;;
9376       *)
9377         # Assume MSVC wrapper
9378         hardcode_libdir_flag_spec=' '
9379         allow_undefined_flag=unsupported
9380         # Tell ltmain to make .lib files, not .a files.
9381         libext=lib
9382         # Tell ltmain to make .dll files, not .so files.
9383         shrext_cmds=".dll"
9384         # FIXME: Setting linknames here is a bad hack.
9385         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9386         # The linker will automatically build a .lib file if we build a DLL.
9387         old_archive_from_new_cmds='true'
9388         # FIXME: Should let the user specify the lib program.
9389         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9390         enable_shared_with_static_runtimes=yes
9391         ;;
9392       esac
9393       ;;
9394
9395     darwin* | rhapsody*)
9396
9397
9398   archive_cmds_need_lc=no
9399   hardcode_direct=no
9400   hardcode_automatic=yes
9401   hardcode_shlibpath_var=unsupported
9402   if test "$lt_cv_ld_force_load" = "yes"; then
9403     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9404
9405   else
9406     whole_archive_flag_spec=''
9407   fi
9408   link_all_deplibs=yes
9409   allow_undefined_flag="$_lt_dar_allow_undefined"
9410   case $cc_basename in
9411      ifort*) _lt_dar_can_shared=yes ;;
9412      *) _lt_dar_can_shared=$GCC ;;
9413   esac
9414   if test "$_lt_dar_can_shared" = "yes"; then
9415     output_verbose_link_cmd=func_echo_all
9416     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9417     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9418     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9419     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9420
9421   else
9422   ld_shlibs=no
9423   fi
9424
9425       ;;
9426
9427     dgux*)
9428       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9429       hardcode_libdir_flag_spec='-L$libdir'
9430       hardcode_shlibpath_var=no
9431       ;;
9432
9433     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9434     # support.  Future versions do this automatically, but an explicit c++rt0.o
9435     # does not break anything, and helps significantly (at the cost of a little
9436     # extra space).
9437     freebsd2.2*)
9438       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9439       hardcode_libdir_flag_spec='-R$libdir'
9440       hardcode_direct=yes
9441       hardcode_shlibpath_var=no
9442       ;;
9443
9444     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9445     freebsd2.*)
9446       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9447       hardcode_direct=yes
9448       hardcode_minus_L=yes
9449       hardcode_shlibpath_var=no
9450       ;;
9451
9452     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9453     freebsd* | dragonfly*)
9454       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9455       hardcode_libdir_flag_spec='-R$libdir'
9456       hardcode_direct=yes
9457       hardcode_shlibpath_var=no
9458       ;;
9459
9460     hpux9*)
9461       if test "$GCC" = yes; then
9462         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9463       else
9464         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9465       fi
9466       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9467       hardcode_libdir_separator=:
9468       hardcode_direct=yes
9469
9470       # hardcode_minus_L: Not really in the search PATH,
9471       # but as the default location of the library.
9472       hardcode_minus_L=yes
9473       export_dynamic_flag_spec='${wl}-E'
9474       ;;
9475
9476     hpux10*)
9477       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9478         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9479       else
9480         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9481       fi
9482       if test "$with_gnu_ld" = no; then
9483         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9484         hardcode_libdir_separator=:
9485         hardcode_direct=yes
9486         hardcode_direct_absolute=yes
9487         export_dynamic_flag_spec='${wl}-E'
9488         # hardcode_minus_L: Not really in the search PATH,
9489         # but as the default location of the library.
9490         hardcode_minus_L=yes
9491       fi
9492       ;;
9493
9494     hpux11*)
9495       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9496         case $host_cpu in
9497         hppa*64*)
9498           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9499           ;;
9500         ia64*)
9501           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9502           ;;
9503         *)
9504           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9505           ;;
9506         esac
9507       else
9508         case $host_cpu in
9509         hppa*64*)
9510           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9511           ;;
9512         ia64*)
9513           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9514           ;;
9515         *)
9516
9517           # Older versions of the 11.00 compiler do not understand -b yet
9518           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9519           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9520 $as_echo_n "checking if $CC understands -b... " >&6; }
9521 if ${lt_cv_prog_compiler__b+:} false; then :
9522   $as_echo_n "(cached) " >&6
9523 else
9524   lt_cv_prog_compiler__b=no
9525    save_LDFLAGS="$LDFLAGS"
9526    LDFLAGS="$LDFLAGS -b"
9527    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9528    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9529      # The linker can only warn and ignore the option if not recognized
9530      # So say no if there are warnings
9531      if test -s conftest.err; then
9532        # Append any errors to the config.log.
9533        cat conftest.err 1>&5
9534        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9535        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9536        if diff conftest.exp conftest.er2 >/dev/null; then
9537          lt_cv_prog_compiler__b=yes
9538        fi
9539      else
9540        lt_cv_prog_compiler__b=yes
9541      fi
9542    fi
9543    $RM -r conftest*
9544    LDFLAGS="$save_LDFLAGS"
9545
9546 fi
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9548 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9549
9550 if test x"$lt_cv_prog_compiler__b" = xyes; then
9551     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9552 else
9553     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9554 fi
9555
9556           ;;
9557         esac
9558       fi
9559       if test "$with_gnu_ld" = no; then
9560         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9561         hardcode_libdir_separator=:
9562
9563         case $host_cpu in
9564         hppa*64*|ia64*)
9565           hardcode_direct=no
9566           hardcode_shlibpath_var=no
9567           ;;
9568         *)
9569           hardcode_direct=yes
9570           hardcode_direct_absolute=yes
9571           export_dynamic_flag_spec='${wl}-E'
9572
9573           # hardcode_minus_L: Not really in the search PATH,
9574           # but as the default location of the library.
9575           hardcode_minus_L=yes
9576           ;;
9577         esac
9578       fi
9579       ;;
9580
9581     irix5* | irix6* | nonstopux*)
9582       if test "$GCC" = yes; then
9583         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9584         # Try to use the -exported_symbol ld option, if it does not
9585         # work, assume that -exports_file does not work either and
9586         # implicitly export all symbols.
9587         # This should be the same for all languages, so no per-tag cache variable.
9588         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9589 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9590 if ${lt_cv_irix_exported_symbol+:} false; then :
9591   $as_echo_n "(cached) " >&6
9592 else
9593   save_LDFLAGS="$LDFLAGS"
9594            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9595            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h.  */
9597 int foo (void) { return 0; }
9598 _ACEOF
9599 if ac_fn_c_try_link "$LINENO"; then :
9600   lt_cv_irix_exported_symbol=yes
9601 else
9602   lt_cv_irix_exported_symbol=no
9603 fi
9604 rm -f core conftest.err conftest.$ac_objext \
9605     conftest$ac_exeext conftest.$ac_ext
9606            LDFLAGS="$save_LDFLAGS"
9607 fi
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9609 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9610         if test "$lt_cv_irix_exported_symbol" = yes; then
9611           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9612         fi
9613       else
9614         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9615         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9616       fi
9617       archive_cmds_need_lc='no'
9618       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9619       hardcode_libdir_separator=:
9620       inherit_rpath=yes
9621       link_all_deplibs=yes
9622       ;;
9623
9624     netbsd* | netbsdelf*-gnu)
9625       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9626         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9627       else
9628         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9629       fi
9630       hardcode_libdir_flag_spec='-R$libdir'
9631       hardcode_direct=yes
9632       hardcode_shlibpath_var=no
9633       ;;
9634
9635     newsos6)
9636       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637       hardcode_direct=yes
9638       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9639       hardcode_libdir_separator=:
9640       hardcode_shlibpath_var=no
9641       ;;
9642
9643     *nto* | *qnx*)
9644       ;;
9645
9646     openbsd*)
9647       if test -f /usr/libexec/ld.so; then
9648         hardcode_direct=yes
9649         hardcode_shlibpath_var=no
9650         hardcode_direct_absolute=yes
9651         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9652           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9653           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9654           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9655           export_dynamic_flag_spec='${wl}-E'
9656         else
9657           case $host_os in
9658            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9659              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9660              hardcode_libdir_flag_spec='-R$libdir'
9661              ;;
9662            *)
9663              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9664              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9665              ;;
9666           esac
9667         fi
9668       else
9669         ld_shlibs=no
9670       fi
9671       ;;
9672
9673     os2*)
9674       hardcode_libdir_flag_spec='-L$libdir'
9675       hardcode_minus_L=yes
9676       allow_undefined_flag=unsupported
9677       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9678       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9679       ;;
9680
9681     osf3*)
9682       if test "$GCC" = yes; then
9683         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9684         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9685       else
9686         allow_undefined_flag=' -expect_unresolved \*'
9687         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9688       fi
9689       archive_cmds_need_lc='no'
9690       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9691       hardcode_libdir_separator=:
9692       ;;
9693
9694     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9695       if test "$GCC" = yes; then
9696         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9697         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9698         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9699       else
9700         allow_undefined_flag=' -expect_unresolved \*'
9701         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9702         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9703         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9704
9705         # Both c and cxx compiler support -rpath directly
9706         hardcode_libdir_flag_spec='-rpath $libdir'
9707       fi
9708       archive_cmds_need_lc='no'
9709       hardcode_libdir_separator=:
9710       ;;
9711
9712     solaris*)
9713       no_undefined_flag=' -z defs'
9714       if test "$GCC" = yes; then
9715         wlarc='${wl}'
9716         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9717         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9718           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9719       else
9720         case `$CC -V 2>&1` in
9721         *"Compilers 5.0"*)
9722           wlarc=''
9723           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9724           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9725           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9726           ;;
9727         *)
9728           wlarc='${wl}'
9729           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9730           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9731           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9732           ;;
9733         esac
9734       fi
9735       hardcode_libdir_flag_spec='-R$libdir'
9736       hardcode_shlibpath_var=no
9737       case $host_os in
9738       solaris2.[0-5] | solaris2.[0-5].*) ;;
9739       *)
9740         # The compiler driver will combine and reorder linker options,
9741         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9742         # but is careful enough not to reorder.
9743         # Supported since Solaris 2.6 (maybe 2.5.1?)
9744         if test "$GCC" = yes; then
9745           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9746         else
9747           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9748         fi
9749         ;;
9750       esac
9751       link_all_deplibs=yes
9752       ;;
9753
9754     sunos4*)
9755       if test "x$host_vendor" = xsequent; then
9756         # Use $CC to link under sequent, because it throws in some extra .o
9757         # files that make .init and .fini sections work.
9758         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9759       else
9760         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9761       fi
9762       hardcode_libdir_flag_spec='-L$libdir'
9763       hardcode_direct=yes
9764       hardcode_minus_L=yes
9765       hardcode_shlibpath_var=no
9766       ;;
9767
9768     sysv4)
9769       case $host_vendor in
9770         sni)
9771           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9772           hardcode_direct=yes # is this really true???
9773         ;;
9774         siemens)
9775           ## LD is ld it makes a PLAMLIB
9776           ## CC just makes a GrossModule.
9777           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9778           reload_cmds='$CC -r -o $output$reload_objs'
9779           hardcode_direct=no
9780         ;;
9781         motorola)
9782           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9783           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9784         ;;
9785       esac
9786       runpath_var='LD_RUN_PATH'
9787       hardcode_shlibpath_var=no
9788       ;;
9789
9790     sysv4.3*)
9791       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9792       hardcode_shlibpath_var=no
9793       export_dynamic_flag_spec='-Bexport'
9794       ;;
9795
9796     sysv4*MP*)
9797       if test -d /usr/nec; then
9798         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9799         hardcode_shlibpath_var=no
9800         runpath_var=LD_RUN_PATH
9801         hardcode_runpath_var=yes
9802         ld_shlibs=yes
9803       fi
9804       ;;
9805
9806     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9807       no_undefined_flag='${wl}-z,text'
9808       archive_cmds_need_lc=no
9809       hardcode_shlibpath_var=no
9810       runpath_var='LD_RUN_PATH'
9811
9812       if test "$GCC" = yes; then
9813         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9814         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9815       else
9816         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9817         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9818       fi
9819       ;;
9820
9821     sysv5* | sco3.2v5* | sco5v6*)
9822       # Note: We can NOT use -z defs as we might desire, because we do not
9823       # link with -lc, and that would cause any symbols used from libc to
9824       # always be unresolved, which means just about no library would
9825       # ever link correctly.  If we're not using GNU ld we use -z text
9826       # though, which does catch some bad symbols but isn't as heavy-handed
9827       # as -z defs.
9828       no_undefined_flag='${wl}-z,text'
9829       allow_undefined_flag='${wl}-z,nodefs'
9830       archive_cmds_need_lc=no
9831       hardcode_shlibpath_var=no
9832       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9833       hardcode_libdir_separator=':'
9834       link_all_deplibs=yes
9835       export_dynamic_flag_spec='${wl}-Bexport'
9836       runpath_var='LD_RUN_PATH'
9837
9838       if test "$GCC" = yes; then
9839         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841       else
9842         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9844       fi
9845       ;;
9846
9847     uts4*)
9848       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9849       hardcode_libdir_flag_spec='-L$libdir'
9850       hardcode_shlibpath_var=no
9851       ;;
9852
9853     *)
9854       ld_shlibs=no
9855       ;;
9856     esac
9857
9858     if test x$host_vendor = xsni; then
9859       case $host in
9860       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9861         export_dynamic_flag_spec='${wl}-Blargedynsym'
9862         ;;
9863       esac
9864     fi
9865   fi
9866
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9868 $as_echo "$ld_shlibs" >&6; }
9869 test "$ld_shlibs" = no && can_build_shared=no
9870
9871 with_gnu_ld=$with_gnu_ld
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887 #
9888 # Do we need to explicitly link libc?
9889 #
9890 case "x$archive_cmds_need_lc" in
9891 x|xyes)
9892   # Assume -lc should be added
9893   archive_cmds_need_lc=yes
9894
9895   if test "$enable_shared" = yes && test "$GCC" = yes; then
9896     case $archive_cmds in
9897     *'~'*)
9898       # FIXME: we may have to deal with multi-command sequences.
9899       ;;
9900     '$CC '*)
9901       # Test whether the compiler implicitly links with -lc since on some
9902       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9903       # to ld, don't add -lc before -lgcc.
9904       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9905 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9906 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9907   $as_echo_n "(cached) " >&6
9908 else
9909   $RM conftest*
9910         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9911
9912         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9913   (eval $ac_compile) 2>&5
9914   ac_status=$?
9915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9916   test $ac_status = 0; } 2>conftest.err; then
9917           soname=conftest
9918           lib=conftest
9919           libobjs=conftest.$ac_objext
9920           deplibs=
9921           wl=$lt_prog_compiler_wl
9922           pic_flag=$lt_prog_compiler_pic
9923           compiler_flags=-v
9924           linker_flags=-v
9925           verstring=
9926           output_objdir=.
9927           libname=conftest
9928           lt_save_allow_undefined_flag=$allow_undefined_flag
9929           allow_undefined_flag=
9930           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9931   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9932   ac_status=$?
9933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9934   test $ac_status = 0; }
9935           then
9936             lt_cv_archive_cmds_need_lc=no
9937           else
9938             lt_cv_archive_cmds_need_lc=yes
9939           fi
9940           allow_undefined_flag=$lt_save_allow_undefined_flag
9941         else
9942           cat conftest.err 1>&5
9943         fi
9944         $RM conftest*
9945
9946 fi
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9948 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9949       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9950       ;;
9951     esac
9952   fi
9953   ;;
9954 esac
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10108 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10109
10110 if test "$GCC" = yes; then
10111   case $host_os in
10112     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10113     *) lt_awk_arg="/^libraries:/" ;;
10114   esac
10115   case $host_os in
10116     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10117     *) lt_sed_strip_eq="s,=/,/,g" ;;
10118   esac
10119   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10120   case $lt_search_path_spec in
10121   *\;*)
10122     # if the path contains ";" then we assume it to be the separator
10123     # otherwise default to the standard path separator (i.e. ":") - it is
10124     # assumed that no part of a normal pathname contains ";" but that should
10125     # okay in the real world where ";" in dirpaths is itself problematic.
10126     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10127     ;;
10128   *)
10129     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10130     ;;
10131   esac
10132   # Ok, now we have the path, separated by spaces, we can step through it
10133   # and add multilib dir if necessary.
10134   lt_tmp_lt_search_path_spec=
10135   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10136   for lt_sys_path in $lt_search_path_spec; do
10137     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10138       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10139     else
10140       test -d "$lt_sys_path" && \
10141         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10142     fi
10143   done
10144   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10145 BEGIN {RS=" "; FS="/|\n";} {
10146   lt_foo="";
10147   lt_count=0;
10148   for (lt_i = NF; lt_i > 0; lt_i--) {
10149     if ($lt_i != "" && $lt_i != ".") {
10150       if ($lt_i == "..") {
10151         lt_count++;
10152       } else {
10153         if (lt_count == 0) {
10154           lt_foo="/" $lt_i lt_foo;
10155         } else {
10156           lt_count--;
10157         }
10158       }
10159     }
10160   }
10161   if (lt_foo != "") { lt_freq[lt_foo]++; }
10162   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10163 }'`
10164   # AWK program above erroneously prepends '/' to C:/dos/paths
10165   # for these hosts.
10166   case $host_os in
10167     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10168       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10169   esac
10170   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10171 else
10172   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10173 fi
10174 library_names_spec=
10175 libname_spec='lib$name'
10176 soname_spec=
10177 shrext_cmds=".so"
10178 postinstall_cmds=
10179 postuninstall_cmds=
10180 finish_cmds=
10181 finish_eval=
10182 shlibpath_var=
10183 shlibpath_overrides_runpath=unknown
10184 version_type=none
10185 dynamic_linker="$host_os ld.so"
10186 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10187 need_lib_prefix=unknown
10188 hardcode_into_libs=no
10189
10190 # when you set need_version to no, make sure it does not cause -set_version
10191 # flags to be left without arguments
10192 need_version=unknown
10193
10194 case $host_os in
10195 aix3*)
10196   version_type=linux # correct to gnu/linux during the next big refactor
10197   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10198   shlibpath_var=LIBPATH
10199
10200   # AIX 3 has no versioning support, so we append a major version to the name.
10201   soname_spec='${libname}${release}${shared_ext}$major'
10202   ;;
10203
10204 aix[4-9]*)
10205   version_type=linux # correct to gnu/linux during the next big refactor
10206   need_lib_prefix=no
10207   need_version=no
10208   hardcode_into_libs=yes
10209   if test "$host_cpu" = ia64; then
10210     # AIX 5 supports IA64
10211     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10212     shlibpath_var=LD_LIBRARY_PATH
10213   else
10214     # With GCC up to 2.95.x, collect2 would create an import file
10215     # for dependence libraries.  The import file would start with
10216     # the line `#! .'.  This would cause the generated library to
10217     # depend on `.', always an invalid library.  This was fixed in
10218     # development snapshots of GCC prior to 3.0.
10219     case $host_os in
10220       aix4 | aix4.[01] | aix4.[01].*)
10221       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10222            echo ' yes '
10223            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10224         :
10225       else
10226         can_build_shared=no
10227       fi
10228       ;;
10229     esac
10230     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10231     # soname into executable. Probably we can add versioning support to
10232     # collect2, so additional links can be useful in future.
10233     if test "$aix_use_runtimelinking" = yes; then
10234       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10235       # instead of lib<name>.a to let people know that these are not
10236       # typical AIX shared libraries.
10237       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10238     else
10239       # We preserve .a as extension for shared libraries through AIX4.2
10240       # and later when we are not doing run time linking.
10241       library_names_spec='${libname}${release}.a $libname.a'
10242       soname_spec='${libname}${release}${shared_ext}$major'
10243     fi
10244     shlibpath_var=LIBPATH
10245   fi
10246   ;;
10247
10248 amigaos*)
10249   case $host_cpu in
10250   powerpc)
10251     # Since July 2007 AmigaOS4 officially supports .so libraries.
10252     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10253     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10254     ;;
10255   m68k)
10256     library_names_spec='$libname.ixlibrary $libname.a'
10257     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10258     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10259     ;;
10260   esac
10261   ;;
10262
10263 beos*)
10264   library_names_spec='${libname}${shared_ext}'
10265   dynamic_linker="$host_os ld.so"
10266   shlibpath_var=LIBRARY_PATH
10267   ;;
10268
10269 bsdi[45]*)
10270   version_type=linux # correct to gnu/linux during the next big refactor
10271   need_version=no
10272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10273   soname_spec='${libname}${release}${shared_ext}$major'
10274   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10275   shlibpath_var=LD_LIBRARY_PATH
10276   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10277   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10278   # the default ld.so.conf also contains /usr/contrib/lib and
10279   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10280   # libtool to hard-code these into programs
10281   ;;
10282
10283 cygwin* | mingw* | pw32* | cegcc*)
10284   version_type=windows
10285   shrext_cmds=".dll"
10286   need_version=no
10287   need_lib_prefix=no
10288
10289   case $GCC,$cc_basename in
10290   yes,*)
10291     # gcc
10292     library_names_spec='$libname.dll.a'
10293     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10294     postinstall_cmds='base_file=`basename \${file}`~
10295       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10296       dldir=$destdir/`dirname \$dlpath`~
10297       test -d \$dldir || mkdir -p \$dldir~
10298       $install_prog $dir/$dlname \$dldir/$dlname~
10299       chmod a+x \$dldir/$dlname~
10300       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10301         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10302       fi'
10303     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10304       dlpath=$dir/\$dldll~
10305        $RM \$dlpath'
10306     shlibpath_overrides_runpath=yes
10307
10308     case $host_os in
10309     cygwin*)
10310       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10311       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10312
10313       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10314       ;;
10315     mingw* | cegcc*)
10316       # MinGW DLLs use traditional 'lib' prefix
10317       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10318       ;;
10319     pw32*)
10320       # pw32 DLLs use 'pw' prefix rather than 'lib'
10321       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10322       ;;
10323     esac
10324     dynamic_linker='Win32 ld.exe'
10325     ;;
10326
10327   *,cl*)
10328     # Native MSVC
10329     libname_spec='$name'
10330     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10331     library_names_spec='${libname}.dll.lib'
10332
10333     case $build_os in
10334     mingw*)
10335       sys_lib_search_path_spec=
10336       lt_save_ifs=$IFS
10337       IFS=';'
10338       for lt_path in $LIB
10339       do
10340         IFS=$lt_save_ifs
10341         # Let DOS variable expansion print the short 8.3 style file name.
10342         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10343         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10344       done
10345       IFS=$lt_save_ifs
10346       # Convert to MSYS style.
10347       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10348       ;;
10349     cygwin*)
10350       # Convert to unix form, then to dos form, then back to unix form
10351       # but this time dos style (no spaces!) so that the unix form looks
10352       # like /cygdrive/c/PROGRA~1:/cygdr...
10353       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10354       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10355       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10356       ;;
10357     *)
10358       sys_lib_search_path_spec="$LIB"
10359       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10360         # It is most probably a Windows format PATH.
10361         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10362       else
10363         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10364       fi
10365       # FIXME: find the short name or the path components, as spaces are
10366       # common. (e.g. "Program Files" -> "PROGRA~1")
10367       ;;
10368     esac
10369
10370     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10371     postinstall_cmds='base_file=`basename \${file}`~
10372       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10373       dldir=$destdir/`dirname \$dlpath`~
10374       test -d \$dldir || mkdir -p \$dldir~
10375       $install_prog $dir/$dlname \$dldir/$dlname'
10376     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10377       dlpath=$dir/\$dldll~
10378        $RM \$dlpath'
10379     shlibpath_overrides_runpath=yes
10380     dynamic_linker='Win32 link.exe'
10381     ;;
10382
10383   *)
10384     # Assume MSVC wrapper
10385     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10386     dynamic_linker='Win32 ld.exe'
10387     ;;
10388   esac
10389   # FIXME: first we should search . and the directory the executable is in
10390   shlibpath_var=PATH
10391   ;;
10392
10393 darwin* | rhapsody*)
10394   dynamic_linker="$host_os dyld"
10395   version_type=darwin
10396   need_lib_prefix=no
10397   need_version=no
10398   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10399   soname_spec='${libname}${release}${major}$shared_ext'
10400   shlibpath_overrides_runpath=yes
10401   shlibpath_var=DYLD_LIBRARY_PATH
10402   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10403
10404   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10405   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10406   ;;
10407
10408 dgux*)
10409   version_type=linux # correct to gnu/linux during the next big refactor
10410   need_lib_prefix=no
10411   need_version=no
10412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10413   soname_spec='${libname}${release}${shared_ext}$major'
10414   shlibpath_var=LD_LIBRARY_PATH
10415   ;;
10416
10417 freebsd* | dragonfly*)
10418   # DragonFly does not have aout.  When/if they implement a new
10419   # versioning mechanism, adjust this.
10420   if test -x /usr/bin/objformat; then
10421     objformat=`/usr/bin/objformat`
10422   else
10423     case $host_os in
10424     freebsd[23].*) objformat=aout ;;
10425     *) objformat=elf ;;
10426     esac
10427   fi
10428   version_type=freebsd-$objformat
10429   case $version_type in
10430     freebsd-elf*)
10431       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10432       need_version=no
10433       need_lib_prefix=no
10434       ;;
10435     freebsd-*)
10436       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10437       need_version=yes
10438       ;;
10439   esac
10440   shlibpath_var=LD_LIBRARY_PATH
10441   case $host_os in
10442   freebsd2.*)
10443     shlibpath_overrides_runpath=yes
10444     ;;
10445   freebsd3.[01]* | freebsdelf3.[01]*)
10446     shlibpath_overrides_runpath=yes
10447     hardcode_into_libs=yes
10448     ;;
10449   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10450   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10451     shlibpath_overrides_runpath=no
10452     hardcode_into_libs=yes
10453     ;;
10454   *) # from 4.6 on, and DragonFly
10455     shlibpath_overrides_runpath=yes
10456     hardcode_into_libs=yes
10457     ;;
10458   esac
10459   ;;
10460
10461 haiku*)
10462   version_type=linux # correct to gnu/linux during the next big refactor
10463   need_lib_prefix=no
10464   need_version=no
10465   dynamic_linker="$host_os runtime_loader"
10466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10467   soname_spec='${libname}${release}${shared_ext}$major'
10468   shlibpath_var=LIBRARY_PATH
10469   shlibpath_overrides_runpath=yes
10470   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10471   hardcode_into_libs=yes
10472   ;;
10473
10474 hpux9* | hpux10* | hpux11*)
10475   # Give a soname corresponding to the major version so that dld.sl refuses to
10476   # link against other versions.
10477   version_type=sunos
10478   need_lib_prefix=no
10479   need_version=no
10480   case $host_cpu in
10481   ia64*)
10482     shrext_cmds='.so'
10483     hardcode_into_libs=yes
10484     dynamic_linker="$host_os dld.so"
10485     shlibpath_var=LD_LIBRARY_PATH
10486     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10487     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488     soname_spec='${libname}${release}${shared_ext}$major'
10489     if test "X$HPUX_IA64_MODE" = X32; then
10490       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10491     else
10492       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10493     fi
10494     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10495     ;;
10496   hppa*64*)
10497     shrext_cmds='.sl'
10498     hardcode_into_libs=yes
10499     dynamic_linker="$host_os dld.sl"
10500     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10501     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10502     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503     soname_spec='${libname}${release}${shared_ext}$major'
10504     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10505     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10506     ;;
10507   *)
10508     shrext_cmds='.sl'
10509     dynamic_linker="$host_os dld.sl"
10510     shlibpath_var=SHLIB_PATH
10511     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10512     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513     soname_spec='${libname}${release}${shared_ext}$major'
10514     ;;
10515   esac
10516   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10517   postinstall_cmds='chmod 555 $lib'
10518   # or fails outright, so override atomically:
10519   install_override_mode=555
10520   ;;
10521
10522 interix[3-9]*)
10523   version_type=linux # correct to gnu/linux during the next big refactor
10524   need_lib_prefix=no
10525   need_version=no
10526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10527   soname_spec='${libname}${release}${shared_ext}$major'
10528   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10529   shlibpath_var=LD_LIBRARY_PATH
10530   shlibpath_overrides_runpath=no
10531   hardcode_into_libs=yes
10532   ;;
10533
10534 irix5* | irix6* | nonstopux*)
10535   case $host_os in
10536     nonstopux*) version_type=nonstopux ;;
10537     *)
10538         if test "$lt_cv_prog_gnu_ld" = yes; then
10539                 version_type=linux # correct to gnu/linux during the next big refactor
10540         else
10541                 version_type=irix
10542         fi ;;
10543   esac
10544   need_lib_prefix=no
10545   need_version=no
10546   soname_spec='${libname}${release}${shared_ext}$major'
10547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10548   case $host_os in
10549   irix5* | nonstopux*)
10550     libsuff= shlibsuff=
10551     ;;
10552   *)
10553     case $LD in # libtool.m4 will add one of these switches to LD
10554     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10555       libsuff= shlibsuff= libmagic=32-bit;;
10556     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10557       libsuff=32 shlibsuff=N32 libmagic=N32;;
10558     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10559       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10560     *) libsuff= shlibsuff= libmagic=never-match;;
10561     esac
10562     ;;
10563   esac
10564   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10565   shlibpath_overrides_runpath=no
10566   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10567   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10568   hardcode_into_libs=yes
10569   ;;
10570
10571 # No shared lib support for Linux oldld, aout, or coff.
10572 linux*oldld* | linux*aout* | linux*coff*)
10573   dynamic_linker=no
10574   ;;
10575
10576 # This must be glibc/ELF.
10577 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10578   version_type=linux # correct to gnu/linux during the next big refactor
10579   need_lib_prefix=no
10580   need_version=no
10581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582   soname_spec='${libname}${release}${shared_ext}$major'
10583   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10584   shlibpath_var=LD_LIBRARY_PATH
10585   shlibpath_overrides_runpath=no
10586
10587   # Some binutils ld are patched to set DT_RUNPATH
10588   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10589   $as_echo_n "(cached) " >&6
10590 else
10591   lt_cv_shlibpath_overrides_runpath=no
10592     save_LDFLAGS=$LDFLAGS
10593     save_libdir=$libdir
10594     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10595          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10596     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h.  */
10598
10599 int
10600 main ()
10601 {
10602
10603   ;
10604   return 0;
10605 }
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10609   lt_cv_shlibpath_overrides_runpath=yes
10610 fi
10611 fi
10612 rm -f core conftest.err conftest.$ac_objext \
10613     conftest$ac_exeext conftest.$ac_ext
10614     LDFLAGS=$save_LDFLAGS
10615     libdir=$save_libdir
10616
10617 fi
10618
10619   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10620
10621   # This implies no fast_install, which is unacceptable.
10622   # Some rework will be needed to allow for fast_install
10623   # before this can be enabled.
10624   hardcode_into_libs=yes
10625
10626   # Append ld.so.conf contents to the search path
10627   if test -f /etc/ld.so.conf; then
10628     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10629     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10630   fi
10631
10632   # We used to test for /lib/ld.so.1 and disable shared libraries on
10633   # powerpc, because MkLinux only supported shared libraries with the
10634   # GNU dynamic linker.  Since this was broken with cross compilers,
10635   # most powerpc-linux boxes support dynamic linking these days and
10636   # people can always --disable-shared, the test was removed, and we
10637   # assume the GNU/Linux dynamic linker is in use.
10638   dynamic_linker='GNU/Linux ld.so'
10639   ;;
10640
10641 netbsdelf*-gnu)
10642   version_type=linux
10643   need_lib_prefix=no
10644   need_version=no
10645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10646   soname_spec='${libname}${release}${shared_ext}$major'
10647   shlibpath_var=LD_LIBRARY_PATH
10648   shlibpath_overrides_runpath=no
10649   hardcode_into_libs=yes
10650   dynamic_linker='NetBSD ld.elf_so'
10651   ;;
10652
10653 netbsd*)
10654   version_type=sunos
10655   need_lib_prefix=no
10656   need_version=no
10657   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10658     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10659     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10660     dynamic_linker='NetBSD (a.out) ld.so'
10661   else
10662     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10663     soname_spec='${libname}${release}${shared_ext}$major'
10664     dynamic_linker='NetBSD ld.elf_so'
10665   fi
10666   shlibpath_var=LD_LIBRARY_PATH
10667   shlibpath_overrides_runpath=yes
10668   hardcode_into_libs=yes
10669   ;;
10670
10671 newsos6)
10672   version_type=linux # correct to gnu/linux during the next big refactor
10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674   shlibpath_var=LD_LIBRARY_PATH
10675   shlibpath_overrides_runpath=yes
10676   ;;
10677
10678 *nto* | *qnx*)
10679   version_type=qnx
10680   need_lib_prefix=no
10681   need_version=no
10682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10683   soname_spec='${libname}${release}${shared_ext}$major'
10684   shlibpath_var=LD_LIBRARY_PATH
10685   shlibpath_overrides_runpath=no
10686   hardcode_into_libs=yes
10687   dynamic_linker='ldqnx.so'
10688   ;;
10689
10690 openbsd*)
10691   version_type=sunos
10692   sys_lib_dlsearch_path_spec="/usr/lib"
10693   need_lib_prefix=no
10694   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10695   case $host_os in
10696     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10697     *)                          need_version=no  ;;
10698   esac
10699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10700   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10701   shlibpath_var=LD_LIBRARY_PATH
10702   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10703     case $host_os in
10704       openbsd2.[89] | openbsd2.[89].*)
10705         shlibpath_overrides_runpath=no
10706         ;;
10707       *)
10708         shlibpath_overrides_runpath=yes
10709         ;;
10710       esac
10711   else
10712     shlibpath_overrides_runpath=yes
10713   fi
10714   ;;
10715
10716 os2*)
10717   libname_spec='$name'
10718   shrext_cmds=".dll"
10719   need_lib_prefix=no
10720   library_names_spec='$libname${shared_ext} $libname.a'
10721   dynamic_linker='OS/2 ld.exe'
10722   shlibpath_var=LIBPATH
10723   ;;
10724
10725 osf3* | osf4* | osf5*)
10726   version_type=osf
10727   need_lib_prefix=no
10728   need_version=no
10729   soname_spec='${libname}${release}${shared_ext}$major'
10730   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10731   shlibpath_var=LD_LIBRARY_PATH
10732   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10733   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10734   ;;
10735
10736 rdos*)
10737   dynamic_linker=no
10738   ;;
10739
10740 solaris*)
10741   version_type=linux # correct to gnu/linux during the next big refactor
10742   need_lib_prefix=no
10743   need_version=no
10744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745   soname_spec='${libname}${release}${shared_ext}$major'
10746   shlibpath_var=LD_LIBRARY_PATH
10747   shlibpath_overrides_runpath=yes
10748   hardcode_into_libs=yes
10749   # ldd complains unless libraries are executable
10750   postinstall_cmds='chmod +x $lib'
10751   ;;
10752
10753 sunos4*)
10754   version_type=sunos
10755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10756   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10757   shlibpath_var=LD_LIBRARY_PATH
10758   shlibpath_overrides_runpath=yes
10759   if test "$with_gnu_ld" = yes; then
10760     need_lib_prefix=no
10761   fi
10762   need_version=yes
10763   ;;
10764
10765 sysv4 | sysv4.3*)
10766   version_type=linux # correct to gnu/linux during the next big refactor
10767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10768   soname_spec='${libname}${release}${shared_ext}$major'
10769   shlibpath_var=LD_LIBRARY_PATH
10770   case $host_vendor in
10771     sni)
10772       shlibpath_overrides_runpath=no
10773       need_lib_prefix=no
10774       runpath_var=LD_RUN_PATH
10775       ;;
10776     siemens)
10777       need_lib_prefix=no
10778       ;;
10779     motorola)
10780       need_lib_prefix=no
10781       need_version=no
10782       shlibpath_overrides_runpath=no
10783       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10784       ;;
10785   esac
10786   ;;
10787
10788 sysv4*MP*)
10789   if test -d /usr/nec ;then
10790     version_type=linux # correct to gnu/linux during the next big refactor
10791     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10792     soname_spec='$libname${shared_ext}.$major'
10793     shlibpath_var=LD_LIBRARY_PATH
10794   fi
10795   ;;
10796
10797 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10798   version_type=freebsd-elf
10799   need_lib_prefix=no
10800   need_version=no
10801   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10802   soname_spec='${libname}${release}${shared_ext}$major'
10803   shlibpath_var=LD_LIBRARY_PATH
10804   shlibpath_overrides_runpath=yes
10805   hardcode_into_libs=yes
10806   if test "$with_gnu_ld" = yes; then
10807     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10808   else
10809     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10810     case $host_os in
10811       sco3.2v5*)
10812         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10813         ;;
10814     esac
10815   fi
10816   sys_lib_dlsearch_path_spec='/usr/lib'
10817   ;;
10818
10819 tpf*)
10820   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10821   version_type=linux # correct to gnu/linux during the next big refactor
10822   need_lib_prefix=no
10823   need_version=no
10824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825   shlibpath_var=LD_LIBRARY_PATH
10826   shlibpath_overrides_runpath=no
10827   hardcode_into_libs=yes
10828   ;;
10829
10830 uts4*)
10831   version_type=linux # correct to gnu/linux during the next big refactor
10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833   soname_spec='${libname}${release}${shared_ext}$major'
10834   shlibpath_var=LD_LIBRARY_PATH
10835   ;;
10836
10837 *)
10838   dynamic_linker=no
10839   ;;
10840 esac
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10842 $as_echo "$dynamic_linker" >&6; }
10843 test "$dynamic_linker" = no && can_build_shared=no
10844
10845 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10846 if test "$GCC" = yes; then
10847   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10848 fi
10849
10850 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10851   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10852 fi
10853 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10854   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10855 fi
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10949 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10950 hardcode_action=
10951 if test -n "$hardcode_libdir_flag_spec" ||
10952    test -n "$runpath_var" ||
10953    test "X$hardcode_automatic" = "Xyes" ; then
10954
10955   # We can hardcode non-existent directories.
10956   if test "$hardcode_direct" != no &&
10957      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10958      # have to relink, otherwise we might link with an installed library
10959      # when we should be linking with a yet-to-be-installed one
10960      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10961      test "$hardcode_minus_L" != no; then
10962     # Linking always hardcodes the temporary library directory.
10963     hardcode_action=relink
10964   else
10965     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10966     hardcode_action=immediate
10967   fi
10968 else
10969   # We cannot hardcode anything, or else we can only hardcode existing
10970   # directories.
10971   hardcode_action=unsupported
10972 fi
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10974 $as_echo "$hardcode_action" >&6; }
10975
10976 if test "$hardcode_action" = relink ||
10977    test "$inherit_rpath" = yes; then
10978   # Fast installation is not supported
10979   enable_fast_install=no
10980 elif test "$shlibpath_overrides_runpath" = yes ||
10981      test "$enable_shared" = no; then
10982   # Fast installation is not necessary
10983   enable_fast_install=needless
10984 fi
10985
10986
10987
10988
10989
10990
10991   if test "x$enable_dlopen" != xyes; then
10992   enable_dlopen=unknown
10993   enable_dlopen_self=unknown
10994   enable_dlopen_self_static=unknown
10995 else
10996   lt_cv_dlopen=no
10997   lt_cv_dlopen_libs=
10998
10999   case $host_os in
11000   beos*)
11001     lt_cv_dlopen="load_add_on"
11002     lt_cv_dlopen_libs=
11003     lt_cv_dlopen_self=yes
11004     ;;
11005
11006   mingw* | pw32* | cegcc*)
11007     lt_cv_dlopen="LoadLibrary"
11008     lt_cv_dlopen_libs=
11009     ;;
11010
11011   cygwin*)
11012     lt_cv_dlopen="dlopen"
11013     lt_cv_dlopen_libs=
11014     ;;
11015
11016   darwin*)
11017   # if libdl is installed we need to link against it
11018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11019 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11020 if ${ac_cv_lib_dl_dlopen+:} false; then :
11021   $as_echo_n "(cached) " >&6
11022 else
11023   ac_check_lib_save_LIBS=$LIBS
11024 LIBS="-ldl  $LIBS"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h.  */
11027
11028 /* Override any GCC internal prototype to avoid an error.
11029    Use char because int might match the return type of a GCC
11030    builtin and then its argument prototype would still apply.  */
11031 #ifdef __cplusplus
11032 extern "C"
11033 #endif
11034 char dlopen ();
11035 int
11036 main ()
11037 {
11038 return dlopen ();
11039   ;
11040   return 0;
11041 }
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"; then :
11044   ac_cv_lib_dl_dlopen=yes
11045 else
11046   ac_cv_lib_dl_dlopen=no
11047 fi
11048 rm -f core conftest.err conftest.$ac_objext \
11049     conftest$ac_exeext conftest.$ac_ext
11050 LIBS=$ac_check_lib_save_LIBS
11051 fi
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11053 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11054 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11055   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11056 else
11057
11058     lt_cv_dlopen="dyld"
11059     lt_cv_dlopen_libs=
11060     lt_cv_dlopen_self=yes
11061
11062 fi
11063
11064     ;;
11065
11066   *)
11067     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11068 if test "x$ac_cv_func_shl_load" = xyes; then :
11069   lt_cv_dlopen="shl_load"
11070 else
11071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11072 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11073 if ${ac_cv_lib_dld_shl_load+:} false; then :
11074   $as_echo_n "(cached) " >&6
11075 else
11076   ac_check_lib_save_LIBS=$LIBS
11077 LIBS="-ldld  $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h.  */
11080
11081 /* Override any GCC internal prototype to avoid an error.
11082    Use char because int might match the return type of a GCC
11083    builtin and then its argument prototype would still apply.  */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char shl_load ();
11088 int
11089 main ()
11090 {
11091 return shl_load ();
11092   ;
11093   return 0;
11094 }
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097   ac_cv_lib_dld_shl_load=yes
11098 else
11099   ac_cv_lib_dld_shl_load=no
11100 fi
11101 rm -f core conftest.err conftest.$ac_objext \
11102     conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_lib_save_LIBS
11104 fi
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11106 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11107 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11108   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11109 else
11110   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11111 if test "x$ac_cv_func_dlopen" = xyes; then :
11112   lt_cv_dlopen="dlopen"
11113 else
11114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11115 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11116 if ${ac_cv_lib_dl_dlopen+:} false; then :
11117   $as_echo_n "(cached) " >&6
11118 else
11119   ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-ldl  $LIBS"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h.  */
11123
11124 /* Override any GCC internal prototype to avoid an error.
11125    Use char because int might match the return type of a GCC
11126    builtin and then its argument prototype would still apply.  */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char dlopen ();
11131 int
11132 main ()
11133 {
11134 return dlopen ();
11135   ;
11136   return 0;
11137 }
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140   ac_cv_lib_dl_dlopen=yes
11141 else
11142   ac_cv_lib_dl_dlopen=no
11143 fi
11144 rm -f core conftest.err conftest.$ac_objext \
11145     conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_lib_save_LIBS
11147 fi
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11149 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11150 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11151   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11152 else
11153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11154 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11155 if ${ac_cv_lib_svld_dlopen+:} false; then :
11156   $as_echo_n "(cached) " >&6
11157 else
11158   ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lsvld  $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h.  */
11162
11163 /* Override any GCC internal prototype to avoid an error.
11164    Use char because int might match the return type of a GCC
11165    builtin and then its argument prototype would still apply.  */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char dlopen ();
11170 int
11171 main ()
11172 {
11173 return dlopen ();
11174   ;
11175   return 0;
11176 }
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179   ac_cv_lib_svld_dlopen=yes
11180 else
11181   ac_cv_lib_svld_dlopen=no
11182 fi
11183 rm -f core conftest.err conftest.$ac_objext \
11184     conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11186 fi
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11188 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11189 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11190   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11191 else
11192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11193 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11194 if ${ac_cv_lib_dld_dld_link+:} false; then :
11195   $as_echo_n "(cached) " >&6
11196 else
11197   ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-ldld  $LIBS"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h.  */
11201
11202 /* Override any GCC internal prototype to avoid an error.
11203    Use char because int might match the return type of a GCC
11204    builtin and then its argument prototype would still apply.  */
11205 #ifdef __cplusplus
11206 extern "C"
11207 #endif
11208 char dld_link ();
11209 int
11210 main ()
11211 {
11212 return dld_link ();
11213   ;
11214   return 0;
11215 }
11216 _ACEOF
11217 if ac_fn_c_try_link "$LINENO"; then :
11218   ac_cv_lib_dld_dld_link=yes
11219 else
11220   ac_cv_lib_dld_dld_link=no
11221 fi
11222 rm -f core conftest.err conftest.$ac_objext \
11223     conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11225 fi
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11227 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11228 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11229   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11230 fi
11231
11232
11233 fi
11234
11235
11236 fi
11237
11238
11239 fi
11240
11241
11242 fi
11243
11244
11245 fi
11246
11247     ;;
11248   esac
11249
11250   if test "x$lt_cv_dlopen" != xno; then
11251     enable_dlopen=yes
11252   else
11253     enable_dlopen=no
11254   fi
11255
11256   case $lt_cv_dlopen in
11257   dlopen)
11258     save_CPPFLAGS="$CPPFLAGS"
11259     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11260
11261     save_LDFLAGS="$LDFLAGS"
11262     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11263
11264     save_LIBS="$LIBS"
11265     LIBS="$lt_cv_dlopen_libs $LIBS"
11266
11267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11268 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11269 if ${lt_cv_dlopen_self+:} false; then :
11270   $as_echo_n "(cached) " >&6
11271 else
11272           if test "$cross_compiling" = yes; then :
11273   lt_cv_dlopen_self=cross
11274 else
11275   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11276   lt_status=$lt_dlunknown
11277   cat > conftest.$ac_ext <<_LT_EOF
11278 #line $LINENO "configure"
11279 #include "confdefs.h"
11280
11281 #if HAVE_DLFCN_H
11282 #include <dlfcn.h>
11283 #endif
11284
11285 #include <stdio.h>
11286
11287 #ifdef RTLD_GLOBAL
11288 #  define LT_DLGLOBAL           RTLD_GLOBAL
11289 #else
11290 #  ifdef DL_GLOBAL
11291 #    define LT_DLGLOBAL         DL_GLOBAL
11292 #  else
11293 #    define LT_DLGLOBAL         0
11294 #  endif
11295 #endif
11296
11297 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11298    find out it does not work in some platform. */
11299 #ifndef LT_DLLAZY_OR_NOW
11300 #  ifdef RTLD_LAZY
11301 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11302 #  else
11303 #    ifdef DL_LAZY
11304 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11305 #    else
11306 #      ifdef RTLD_NOW
11307 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11308 #      else
11309 #        ifdef DL_NOW
11310 #          define LT_DLLAZY_OR_NOW      DL_NOW
11311 #        else
11312 #          define LT_DLLAZY_OR_NOW      0
11313 #        endif
11314 #      endif
11315 #    endif
11316 #  endif
11317 #endif
11318
11319 /* When -fvisbility=hidden is used, assume the code has been annotated
11320    correspondingly for the symbols needed.  */
11321 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11322 int fnord () __attribute__((visibility("default")));
11323 #endif
11324
11325 int fnord () { return 42; }
11326 int main ()
11327 {
11328   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11329   int status = $lt_dlunknown;
11330
11331   if (self)
11332     {
11333       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11334       else
11335         {
11336           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11337           else puts (dlerror ());
11338         }
11339       /* dlclose (self); */
11340     }
11341   else
11342     puts (dlerror ());
11343
11344   return status;
11345 }
11346 _LT_EOF
11347   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11348   (eval $ac_link) 2>&5
11349   ac_status=$?
11350   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11351   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11352     (./conftest; exit; ) >&5 2>/dev/null
11353     lt_status=$?
11354     case x$lt_status in
11355       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11356       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11357       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11358     esac
11359   else :
11360     # compilation failed
11361     lt_cv_dlopen_self=no
11362   fi
11363 fi
11364 rm -fr conftest*
11365
11366
11367 fi
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11369 $as_echo "$lt_cv_dlopen_self" >&6; }
11370
11371     if test "x$lt_cv_dlopen_self" = xyes; then
11372       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11373       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11374 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11375 if ${lt_cv_dlopen_self_static+:} false; then :
11376   $as_echo_n "(cached) " >&6
11377 else
11378           if test "$cross_compiling" = yes; then :
11379   lt_cv_dlopen_self_static=cross
11380 else
11381   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11382   lt_status=$lt_dlunknown
11383   cat > conftest.$ac_ext <<_LT_EOF
11384 #line $LINENO "configure"
11385 #include "confdefs.h"
11386
11387 #if HAVE_DLFCN_H
11388 #include <dlfcn.h>
11389 #endif
11390
11391 #include <stdio.h>
11392
11393 #ifdef RTLD_GLOBAL
11394 #  define LT_DLGLOBAL           RTLD_GLOBAL
11395 #else
11396 #  ifdef DL_GLOBAL
11397 #    define LT_DLGLOBAL         DL_GLOBAL
11398 #  else
11399 #    define LT_DLGLOBAL         0
11400 #  endif
11401 #endif
11402
11403 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11404    find out it does not work in some platform. */
11405 #ifndef LT_DLLAZY_OR_NOW
11406 #  ifdef RTLD_LAZY
11407 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11408 #  else
11409 #    ifdef DL_LAZY
11410 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11411 #    else
11412 #      ifdef RTLD_NOW
11413 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11414 #      else
11415 #        ifdef DL_NOW
11416 #          define LT_DLLAZY_OR_NOW      DL_NOW
11417 #        else
11418 #          define LT_DLLAZY_OR_NOW      0
11419 #        endif
11420 #      endif
11421 #    endif
11422 #  endif
11423 #endif
11424
11425 /* When -fvisbility=hidden is used, assume the code has been annotated
11426    correspondingly for the symbols needed.  */
11427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11428 int fnord () __attribute__((visibility("default")));
11429 #endif
11430
11431 int fnord () { return 42; }
11432 int main ()
11433 {
11434   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11435   int status = $lt_dlunknown;
11436
11437   if (self)
11438     {
11439       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11440       else
11441         {
11442           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11443           else puts (dlerror ());
11444         }
11445       /* dlclose (self); */
11446     }
11447   else
11448     puts (dlerror ());
11449
11450   return status;
11451 }
11452 _LT_EOF
11453   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11454   (eval $ac_link) 2>&5
11455   ac_status=$?
11456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11457   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11458     (./conftest; exit; ) >&5 2>/dev/null
11459     lt_status=$?
11460     case x$lt_status in
11461       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11462       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11463       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11464     esac
11465   else :
11466     # compilation failed
11467     lt_cv_dlopen_self_static=no
11468   fi
11469 fi
11470 rm -fr conftest*
11471
11472
11473 fi
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11475 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11476     fi
11477
11478     CPPFLAGS="$save_CPPFLAGS"
11479     LDFLAGS="$save_LDFLAGS"
11480     LIBS="$save_LIBS"
11481     ;;
11482   esac
11483
11484   case $lt_cv_dlopen_self in
11485   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11486   *) enable_dlopen_self=unknown ;;
11487   esac
11488
11489   case $lt_cv_dlopen_self_static in
11490   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11491   *) enable_dlopen_self_static=unknown ;;
11492   esac
11493 fi
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511 striplib=
11512 old_striplib=
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11514 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11515 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11516   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11517   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11519 $as_echo "yes" >&6; }
11520 else
11521 # FIXME - insert some real tests, host_os isn't really good enough
11522   case $host_os in
11523   darwin*)
11524     if test -n "$STRIP" ; then
11525       striplib="$STRIP -x"
11526       old_striplib="$STRIP -S"
11527       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11528 $as_echo "yes" >&6; }
11529     else
11530       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531 $as_echo "no" >&6; }
11532     fi
11533     ;;
11534   *)
11535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536 $as_echo "no" >&6; }
11537     ;;
11538   esac
11539 fi
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552   # Report which library types will actually be built
11553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11554 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11556 $as_echo "$can_build_shared" >&6; }
11557
11558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11559 $as_echo_n "checking whether to build shared libraries... " >&6; }
11560   test "$can_build_shared" = "no" && enable_shared=no
11561
11562   # On AIX, shared libraries and static libraries use the same namespace, and
11563   # are all built from PIC.
11564   case $host_os in
11565   aix3*)
11566     test "$enable_shared" = yes && enable_static=no
11567     if test -n "$RANLIB"; then
11568       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11569       postinstall_cmds='$RANLIB $lib'
11570     fi
11571     ;;
11572
11573   aix[4-9]*)
11574     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11575       test "$enable_shared" = yes && enable_static=no
11576     fi
11577     ;;
11578   esac
11579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11580 $as_echo "$enable_shared" >&6; }
11581
11582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11583 $as_echo_n "checking whether to build static libraries... " >&6; }
11584   # Make sure either enable_shared or enable_static is yes.
11585   test "$enable_shared" = yes || enable_static=yes
11586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11587 $as_echo "$enable_static" >&6; }
11588
11589
11590
11591
11592 fi
11593 ac_ext=c
11594 ac_cpp='$CPP $CPPFLAGS'
11595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11598
11599 CC="$lt_save_CC"
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615         ac_config_commands="$ac_config_commands libtool"
11616
11617
11618
11619
11620 # Only expand once:
11621
11622
11623
11624
11625 ######################################################################
11626 # DOXYGEN SUPPORT
11627 ######################################################################
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638 # Files:
11639 DX_PROJECT=$PACKAGE_NAME
11640
11641 DX_CONFIG=doxygen.cfg
11642
11643 DX_DOCDIR=doc
11644
11645
11646 # Environment variables used inside doxygen.cfg:
11647 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11648
11649 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11650
11651 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11652
11653 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11654
11655
11656 # Doxygen itself:
11657
11658
11659
11660
11661     # Check whether --enable-doxygen-doc was given.
11662 if test "${enable_doxygen_doc+set}" = set; then :
11663   enableval=$enable_doxygen_doc;
11664 case "$enableval" in
11665 #(
11666 y|Y|yes|Yes|YES)
11667     DX_FLAG_doc=1
11668
11669
11670 ;; #(
11671 n|N|no|No|NO)
11672     DX_FLAG_doc=0
11673
11674 ;; #(
11675 *)
11676     as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11677 ;;
11678 esac
11679
11680 else
11681
11682 DX_FLAG_doc=1
11683
11684
11685
11686 fi
11687
11688 if test "$DX_FLAG_doc" = 1; then
11689
11690 if test -n "$ac_tool_prefix"; then
11691   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11692 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11694 $as_echo_n "checking for $ac_word... " >&6; }
11695 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
11696   $as_echo_n "(cached) " >&6
11697 else
11698   case $DX_DOXYGEN in
11699   [\\/]* | ?:[\\/]*)
11700   ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11701   ;;
11702   *)
11703   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11704 for as_dir in $PATH
11705 do
11706   IFS=$as_save_IFS
11707   test -z "$as_dir" && as_dir=.
11708     for ac_exec_ext in '' $ac_executable_extensions; do
11709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11710     ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11712     break 2
11713   fi
11714 done
11715   done
11716 IFS=$as_save_IFS
11717
11718   ;;
11719 esac
11720 fi
11721 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11722 if test -n "$DX_DOXYGEN"; then
11723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11724 $as_echo "$DX_DOXYGEN" >&6; }
11725 else
11726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 $as_echo "no" >&6; }
11728 fi
11729
11730
11731 fi
11732 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11733   ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11734   # Extract the first word of "doxygen", so it can be a program name with args.
11735 set dummy doxygen; ac_word=$2
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11737 $as_echo_n "checking for $ac_word... " >&6; }
11738 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
11739   $as_echo_n "(cached) " >&6
11740 else
11741   case $ac_pt_DX_DOXYGEN in
11742   [\\/]* | ?:[\\/]*)
11743   ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11744   ;;
11745   *)
11746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11748 do
11749   IFS=$as_save_IFS
11750   test -z "$as_dir" && as_dir=.
11751     for ac_exec_ext in '' $ac_executable_extensions; do
11752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753     ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11755     break 2
11756   fi
11757 done
11758   done
11759 IFS=$as_save_IFS
11760
11761   ;;
11762 esac
11763 fi
11764 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11765 if test -n "$ac_pt_DX_DOXYGEN"; then
11766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11767 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11768 else
11769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11770 $as_echo "no" >&6; }
11771 fi
11772
11773   if test "x$ac_pt_DX_DOXYGEN" = x; then
11774     DX_DOXYGEN=""
11775   else
11776     case $cross_compiling:$ac_tool_warned in
11777 yes:)
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11780 ac_tool_warned=yes ;;
11781 esac
11782     DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11783   fi
11784 else
11785   DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11786 fi
11787
11788 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11789     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11790 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11791     DX_FLAG_doc=0
11792
11793 fi
11794
11795
11796 if test -n "$ac_tool_prefix"; then
11797   # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11798 set dummy ${ac_tool_prefix}perl; ac_word=$2
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11800 $as_echo_n "checking for $ac_word... " >&6; }
11801 if ${ac_cv_path_DX_PERL+:} false; then :
11802   $as_echo_n "(cached) " >&6
11803 else
11804   case $DX_PERL in
11805   [\\/]* | ?:[\\/]*)
11806   ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11807   ;;
11808   *)
11809   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11811 do
11812   IFS=$as_save_IFS
11813   test -z "$as_dir" && as_dir=.
11814     for ac_exec_ext in '' $ac_executable_extensions; do
11815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11816     ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11818     break 2
11819   fi
11820 done
11821   done
11822 IFS=$as_save_IFS
11823
11824   ;;
11825 esac
11826 fi
11827 DX_PERL=$ac_cv_path_DX_PERL
11828 if test -n "$DX_PERL"; then
11829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11830 $as_echo "$DX_PERL" >&6; }
11831 else
11832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833 $as_echo "no" >&6; }
11834 fi
11835
11836
11837 fi
11838 if test -z "$ac_cv_path_DX_PERL"; then
11839   ac_pt_DX_PERL=$DX_PERL
11840   # Extract the first word of "perl", so it can be a program name with args.
11841 set dummy perl; ac_word=$2
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11843 $as_echo_n "checking for $ac_word... " >&6; }
11844 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
11845   $as_echo_n "(cached) " >&6
11846 else
11847   case $ac_pt_DX_PERL in
11848   [\\/]* | ?:[\\/]*)
11849   ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11850   ;;
11851   *)
11852   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11853 for as_dir in $PATH
11854 do
11855   IFS=$as_save_IFS
11856   test -z "$as_dir" && as_dir=.
11857     for ac_exec_ext in '' $ac_executable_extensions; do
11858   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11859     ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11861     break 2
11862   fi
11863 done
11864   done
11865 IFS=$as_save_IFS
11866
11867   ;;
11868 esac
11869 fi
11870 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11871 if test -n "$ac_pt_DX_PERL"; then
11872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11873 $as_echo "$ac_pt_DX_PERL" >&6; }
11874 else
11875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11876 $as_echo "no" >&6; }
11877 fi
11878
11879   if test "x$ac_pt_DX_PERL" = x; then
11880     DX_PERL=""
11881   else
11882     case $cross_compiling:$ac_tool_warned in
11883 yes:)
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11886 ac_tool_warned=yes ;;
11887 esac
11888     DX_PERL=$ac_pt_DX_PERL
11889   fi
11890 else
11891   DX_PERL="$ac_cv_path_DX_PERL"
11892 fi
11893
11894 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11895     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11896 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11897     DX_FLAG_doc=0
11898
11899 fi
11900
11901     :
11902 fi
11903 if test "$DX_FLAG_doc" = 1; then
11904      if :; then
11905   DX_COND_doc_TRUE=
11906   DX_COND_doc_FALSE='#'
11907 else
11908   DX_COND_doc_TRUE='#'
11909   DX_COND_doc_FALSE=
11910 fi
11911
11912     DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
11913
11914     :
11915 else
11916      if false; then
11917   DX_COND_doc_TRUE=
11918   DX_COND_doc_FALSE='#'
11919 else
11920   DX_COND_doc_TRUE='#'
11921   DX_COND_doc_FALSE=
11922 fi
11923
11924
11925     :
11926 fi
11927
11928
11929 # Dot for graphics:
11930
11931
11932
11933
11934     # Check whether --enable-doxygen-dot was given.
11935 if test "${enable_doxygen_dot+set}" = set; then :
11936   enableval=$enable_doxygen_dot;
11937 case "$enableval" in
11938 #(
11939 y|Y|yes|Yes|YES)
11940     DX_FLAG_dot=1
11941
11942
11943 test "$DX_FLAG_doc" = "1" \
11944 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
11945
11946 ;; #(
11947 n|N|no|No|NO)
11948     DX_FLAG_dot=0
11949
11950 ;; #(
11951 *)
11952     as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
11953 ;;
11954 esac
11955
11956 else
11957
11958 DX_FLAG_dot=1
11959
11960
11961 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
11962
11963
11964
11965 fi
11966
11967 if test "$DX_FLAG_dot" = 1; then
11968
11969 if test -n "$ac_tool_prefix"; then
11970   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
11971 set dummy ${ac_tool_prefix}dot; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_path_DX_DOT+:} false; then :
11975   $as_echo_n "(cached) " >&6
11976 else
11977   case $DX_DOT in
11978   [\\/]* | ?:[\\/]*)
11979   ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11980   ;;
11981   *)
11982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11984 do
11985   IFS=$as_save_IFS
11986   test -z "$as_dir" && as_dir=.
11987     for ac_exec_ext in '' $ac_executable_extensions; do
11988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11989     ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11991     break 2
11992   fi
11993 done
11994   done
11995 IFS=$as_save_IFS
11996
11997   ;;
11998 esac
11999 fi
12000 DX_DOT=$ac_cv_path_DX_DOT
12001 if test -n "$DX_DOT"; then
12002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12003 $as_echo "$DX_DOT" >&6; }
12004 else
12005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12006 $as_echo "no" >&6; }
12007 fi
12008
12009
12010 fi
12011 if test -z "$ac_cv_path_DX_DOT"; then
12012   ac_pt_DX_DOT=$DX_DOT
12013   # Extract the first word of "dot", so it can be a program name with args.
12014 set dummy dot; ac_word=$2
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12016 $as_echo_n "checking for $ac_word... " >&6; }
12017 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
12018   $as_echo_n "(cached) " >&6
12019 else
12020   case $ac_pt_DX_DOT in
12021   [\\/]* | ?:[\\/]*)
12022   ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12023   ;;
12024   *)
12025   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12026 for as_dir in $PATH
12027 do
12028   IFS=$as_save_IFS
12029   test -z "$as_dir" && as_dir=.
12030     for ac_exec_ext in '' $ac_executable_extensions; do
12031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12032     ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12034     break 2
12035   fi
12036 done
12037   done
12038 IFS=$as_save_IFS
12039
12040   ;;
12041 esac
12042 fi
12043 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12044 if test -n "$ac_pt_DX_DOT"; then
12045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12046 $as_echo "$ac_pt_DX_DOT" >&6; }
12047 else
12048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12050 fi
12051
12052   if test "x$ac_pt_DX_DOT" = x; then
12053     DX_DOT=""
12054   else
12055     case $cross_compiling:$ac_tool_warned in
12056 yes:)
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12059 ac_tool_warned=yes ;;
12060 esac
12061     DX_DOT=$ac_pt_DX_DOT
12062   fi
12063 else
12064   DX_DOT="$ac_cv_path_DX_DOT"
12065 fi
12066
12067 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12068     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12069 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12070     DX_FLAG_dot=0
12071
12072 fi
12073
12074     :
12075 fi
12076 if test "$DX_FLAG_dot" = 1; then
12077      if :; then
12078   DX_COND_dot_TRUE=
12079   DX_COND_dot_FALSE='#'
12080 else
12081   DX_COND_dot_TRUE='#'
12082   DX_COND_dot_FALSE=
12083 fi
12084
12085     DX_ENV="$DX_ENV HAVE_DOT='YES'"
12086
12087              DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12088
12089     :
12090 else
12091      if false; then
12092   DX_COND_dot_TRUE=
12093   DX_COND_dot_FALSE='#'
12094 else
12095   DX_COND_dot_TRUE='#'
12096   DX_COND_dot_FALSE=
12097 fi
12098
12099     DX_ENV="$DX_ENV HAVE_DOT='NO'"
12100
12101     :
12102 fi
12103
12104
12105 # Man pages generation:
12106
12107
12108
12109
12110     # Check whether --enable-doxygen-man was given.
12111 if test "${enable_doxygen_man+set}" = set; then :
12112   enableval=$enable_doxygen_man;
12113 case "$enableval" in
12114 #(
12115 y|Y|yes|Yes|YES)
12116     DX_FLAG_man=1
12117
12118
12119 test "$DX_FLAG_doc" = "1" \
12120 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12121
12122 ;; #(
12123 n|N|no|No|NO)
12124     DX_FLAG_man=0
12125
12126 ;; #(
12127 *)
12128     as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12129 ;;
12130 esac
12131
12132 else
12133
12134 DX_FLAG_man=0
12135
12136
12137 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12138
12139
12140
12141 fi
12142
12143 if test "$DX_FLAG_man" = 1; then
12144
12145     :
12146 fi
12147 if test "$DX_FLAG_man" = 1; then
12148      if :; then
12149   DX_COND_man_TRUE=
12150   DX_COND_man_FALSE='#'
12151 else
12152   DX_COND_man_TRUE='#'
12153   DX_COND_man_FALSE=
12154 fi
12155
12156     DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12157
12158     :
12159 else
12160      if false; then
12161   DX_COND_man_TRUE=
12162   DX_COND_man_FALSE='#'
12163 else
12164   DX_COND_man_TRUE='#'
12165   DX_COND_man_FALSE=
12166 fi
12167
12168     DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12169
12170     :
12171 fi
12172
12173
12174 # RTF file generation:
12175
12176
12177
12178
12179     # Check whether --enable-doxygen-rtf was given.
12180 if test "${enable_doxygen_rtf+set}" = set; then :
12181   enableval=$enable_doxygen_rtf;
12182 case "$enableval" in
12183 #(
12184 y|Y|yes|Yes|YES)
12185     DX_FLAG_rtf=1
12186
12187
12188 test "$DX_FLAG_doc" = "1" \
12189 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12190
12191 ;; #(
12192 n|N|no|No|NO)
12193     DX_FLAG_rtf=0
12194
12195 ;; #(
12196 *)
12197     as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12198 ;;
12199 esac
12200
12201 else
12202
12203 DX_FLAG_rtf=0
12204
12205
12206 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12207
12208
12209
12210 fi
12211
12212 if test "$DX_FLAG_rtf" = 1; then
12213
12214     :
12215 fi
12216 if test "$DX_FLAG_rtf" = 1; then
12217      if :; then
12218   DX_COND_rtf_TRUE=
12219   DX_COND_rtf_FALSE='#'
12220 else
12221   DX_COND_rtf_TRUE='#'
12222   DX_COND_rtf_FALSE=
12223 fi
12224
12225     DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12226
12227     :
12228 else
12229      if false; then
12230   DX_COND_rtf_TRUE=
12231   DX_COND_rtf_FALSE='#'
12232 else
12233   DX_COND_rtf_TRUE='#'
12234   DX_COND_rtf_FALSE=
12235 fi
12236
12237     DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12238
12239     :
12240 fi
12241
12242
12243 # XML file generation:
12244
12245
12246
12247
12248     # Check whether --enable-doxygen-xml was given.
12249 if test "${enable_doxygen_xml+set}" = set; then :
12250   enableval=$enable_doxygen_xml;
12251 case "$enableval" in
12252 #(
12253 y|Y|yes|Yes|YES)
12254     DX_FLAG_xml=1
12255
12256
12257 test "$DX_FLAG_doc" = "1" \
12258 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12259
12260 ;; #(
12261 n|N|no|No|NO)
12262     DX_FLAG_xml=0
12263
12264 ;; #(
12265 *)
12266     as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12267 ;;
12268 esac
12269
12270 else
12271
12272 DX_FLAG_xml=0
12273
12274
12275 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12276
12277
12278
12279 fi
12280
12281 if test "$DX_FLAG_xml" = 1; then
12282
12283     :
12284 fi
12285 if test "$DX_FLAG_xml" = 1; then
12286      if :; then
12287   DX_COND_xml_TRUE=
12288   DX_COND_xml_FALSE='#'
12289 else
12290   DX_COND_xml_TRUE='#'
12291   DX_COND_xml_FALSE=
12292 fi
12293
12294     DX_ENV="$DX_ENV GENERATE_XML='YES'"
12295
12296     :
12297 else
12298      if false; then
12299   DX_COND_xml_TRUE=
12300   DX_COND_xml_FALSE='#'
12301 else
12302   DX_COND_xml_TRUE='#'
12303   DX_COND_xml_FALSE=
12304 fi
12305
12306     DX_ENV="$DX_ENV GENERATE_XML='NO'"
12307
12308     :
12309 fi
12310
12311
12312 # (Compressed) HTML help generation:
12313
12314
12315
12316
12317     # Check whether --enable-doxygen-chm was given.
12318 if test "${enable_doxygen_chm+set}" = set; then :
12319   enableval=$enable_doxygen_chm;
12320 case "$enableval" in
12321 #(
12322 y|Y|yes|Yes|YES)
12323     DX_FLAG_chm=1
12324
12325
12326 test "$DX_FLAG_doc" = "1" \
12327 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12328
12329 ;; #(
12330 n|N|no|No|NO)
12331     DX_FLAG_chm=0
12332
12333 ;; #(
12334 *)
12335     as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12336 ;;
12337 esac
12338
12339 else
12340
12341 DX_FLAG_chm=0
12342
12343
12344 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12345
12346
12347
12348 fi
12349
12350 if test "$DX_FLAG_chm" = 1; then
12351
12352 if test -n "$ac_tool_prefix"; then
12353   # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12354 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12356 $as_echo_n "checking for $ac_word... " >&6; }
12357 if ${ac_cv_path_DX_HHC+:} false; then :
12358   $as_echo_n "(cached) " >&6
12359 else
12360   case $DX_HHC in
12361   [\\/]* | ?:[\\/]*)
12362   ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12363   ;;
12364   *)
12365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12366 for as_dir in $PATH
12367 do
12368   IFS=$as_save_IFS
12369   test -z "$as_dir" && as_dir=.
12370     for ac_exec_ext in '' $ac_executable_extensions; do
12371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12372     ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12374     break 2
12375   fi
12376 done
12377   done
12378 IFS=$as_save_IFS
12379
12380   ;;
12381 esac
12382 fi
12383 DX_HHC=$ac_cv_path_DX_HHC
12384 if test -n "$DX_HHC"; then
12385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12386 $as_echo "$DX_HHC" >&6; }
12387 else
12388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12389 $as_echo "no" >&6; }
12390 fi
12391
12392
12393 fi
12394 if test -z "$ac_cv_path_DX_HHC"; then
12395   ac_pt_DX_HHC=$DX_HHC
12396   # Extract the first word of "hhc", so it can be a program name with args.
12397 set dummy hhc; ac_word=$2
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12399 $as_echo_n "checking for $ac_word... " >&6; }
12400 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
12401   $as_echo_n "(cached) " >&6
12402 else
12403   case $ac_pt_DX_HHC in
12404   [\\/]* | ?:[\\/]*)
12405   ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12406   ;;
12407   *)
12408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12409 for as_dir in $PATH
12410 do
12411   IFS=$as_save_IFS
12412   test -z "$as_dir" && as_dir=.
12413     for ac_exec_ext in '' $ac_executable_extensions; do
12414   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12415     ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12417     break 2
12418   fi
12419 done
12420   done
12421 IFS=$as_save_IFS
12422
12423   ;;
12424 esac
12425 fi
12426 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12427 if test -n "$ac_pt_DX_HHC"; then
12428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12429 $as_echo "$ac_pt_DX_HHC" >&6; }
12430 else
12431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12433 fi
12434
12435   if test "x$ac_pt_DX_HHC" = x; then
12436     DX_HHC=""
12437   else
12438     case $cross_compiling:$ac_tool_warned in
12439 yes:)
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12442 ac_tool_warned=yes ;;
12443 esac
12444     DX_HHC=$ac_pt_DX_HHC
12445   fi
12446 else
12447   DX_HHC="$ac_cv_path_DX_HHC"
12448 fi
12449
12450 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12451     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12452 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12453     DX_FLAG_chm=0
12454
12455 fi
12456
12457     :
12458 fi
12459 if test "$DX_FLAG_chm" = 1; then
12460      if :; then
12461   DX_COND_chm_TRUE=
12462   DX_COND_chm_FALSE='#'
12463 else
12464   DX_COND_chm_TRUE='#'
12465   DX_COND_chm_FALSE=
12466 fi
12467
12468     DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12469
12470              DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12471
12472              DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12473
12474     :
12475 else
12476      if false; then
12477   DX_COND_chm_TRUE=
12478   DX_COND_chm_FALSE='#'
12479 else
12480   DX_COND_chm_TRUE='#'
12481   DX_COND_chm_FALSE=
12482 fi
12483
12484     DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12485
12486     :
12487 fi
12488
12489
12490 # Seperate CHI file generation.
12491
12492
12493
12494
12495     # Check whether --enable-doxygen-chi was given.
12496 if test "${enable_doxygen_chi+set}" = set; then :
12497   enableval=$enable_doxygen_chi;
12498 case "$enableval" in
12499 #(
12500 y|Y|yes|Yes|YES)
12501     DX_FLAG_chi=1
12502
12503
12504 test "$DX_FLAG_chm" = "1" \
12505 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12506
12507 ;; #(
12508 n|N|no|No|NO)
12509     DX_FLAG_chi=0
12510
12511 ;; #(
12512 *)
12513     as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12514 ;;
12515 esac
12516
12517 else
12518
12519 DX_FLAG_chi=0
12520
12521
12522 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12523
12524
12525
12526 fi
12527
12528 if test "$DX_FLAG_chi" = 1; then
12529
12530     :
12531 fi
12532 if test "$DX_FLAG_chi" = 1; then
12533      if :; then
12534   DX_COND_chi_TRUE=
12535   DX_COND_chi_FALSE='#'
12536 else
12537   DX_COND_chi_TRUE='#'
12538   DX_COND_chi_FALSE=
12539 fi
12540
12541     DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12542
12543     :
12544 else
12545      if false; then
12546   DX_COND_chi_TRUE=
12547   DX_COND_chi_FALSE='#'
12548 else
12549   DX_COND_chi_TRUE='#'
12550   DX_COND_chi_FALSE=
12551 fi
12552
12553     DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12554
12555     :
12556 fi
12557
12558
12559 # Plain HTML pages generation:
12560
12561
12562
12563
12564     # Check whether --enable-doxygen-html was given.
12565 if test "${enable_doxygen_html+set}" = set; then :
12566   enableval=$enable_doxygen_html;
12567 case "$enableval" in
12568 #(
12569 y|Y|yes|Yes|YES)
12570     DX_FLAG_html=1
12571
12572
12573 test "$DX_FLAG_doc" = "1" \
12574 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12575
12576 test "$DX_FLAG_chm" = "0" \
12577 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12578
12579 ;; #(
12580 n|N|no|No|NO)
12581     DX_FLAG_html=0
12582
12583 ;; #(
12584 *)
12585     as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12586 ;;
12587 esac
12588
12589 else
12590
12591 DX_FLAG_html=1
12592
12593
12594 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12595
12596
12597 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12598
12599
12600
12601 fi
12602
12603 if test "$DX_FLAG_html" = 1; then
12604
12605     :
12606 fi
12607 if test "$DX_FLAG_html" = 1; then
12608      if :; then
12609   DX_COND_html_TRUE=
12610   DX_COND_html_FALSE='#'
12611 else
12612   DX_COND_html_TRUE='#'
12613   DX_COND_html_FALSE=
12614 fi
12615
12616     DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12617
12618     :
12619 else
12620      if false; then
12621   DX_COND_html_TRUE=
12622   DX_COND_html_FALSE='#'
12623 else
12624   DX_COND_html_TRUE='#'
12625   DX_COND_html_FALSE=
12626 fi
12627
12628     test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12629
12630     :
12631 fi
12632
12633
12634 # PostScript file generation:
12635
12636
12637
12638
12639     # Check whether --enable-doxygen-ps was given.
12640 if test "${enable_doxygen_ps+set}" = set; then :
12641   enableval=$enable_doxygen_ps;
12642 case "$enableval" in
12643 #(
12644 y|Y|yes|Yes|YES)
12645     DX_FLAG_ps=1
12646
12647
12648 test "$DX_FLAG_doc" = "1" \
12649 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12650
12651 ;; #(
12652 n|N|no|No|NO)
12653     DX_FLAG_ps=0
12654
12655 ;; #(
12656 *)
12657     as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12658 ;;
12659 esac
12660
12661 else
12662
12663 DX_FLAG_ps=0
12664
12665
12666 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12667
12668
12669
12670 fi
12671
12672 if test "$DX_FLAG_ps" = 1; then
12673
12674 if test -n "$ac_tool_prefix"; then
12675   # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12676 set dummy ${ac_tool_prefix}latex; ac_word=$2
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12678 $as_echo_n "checking for $ac_word... " >&6; }
12679 if ${ac_cv_path_DX_LATEX+:} false; then :
12680   $as_echo_n "(cached) " >&6
12681 else
12682   case $DX_LATEX in
12683   [\\/]* | ?:[\\/]*)
12684   ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12685   ;;
12686   *)
12687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12688 for as_dir in $PATH
12689 do
12690   IFS=$as_save_IFS
12691   test -z "$as_dir" && as_dir=.
12692     for ac_exec_ext in '' $ac_executable_extensions; do
12693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12694     ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12696     break 2
12697   fi
12698 done
12699   done
12700 IFS=$as_save_IFS
12701
12702   ;;
12703 esac
12704 fi
12705 DX_LATEX=$ac_cv_path_DX_LATEX
12706 if test -n "$DX_LATEX"; then
12707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12708 $as_echo "$DX_LATEX" >&6; }
12709 else
12710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12712 fi
12713
12714
12715 fi
12716 if test -z "$ac_cv_path_DX_LATEX"; then
12717   ac_pt_DX_LATEX=$DX_LATEX
12718   # Extract the first word of "latex", so it can be a program name with args.
12719 set dummy latex; ac_word=$2
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12721 $as_echo_n "checking for $ac_word... " >&6; }
12722 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
12723   $as_echo_n "(cached) " >&6
12724 else
12725   case $ac_pt_DX_LATEX in
12726   [\\/]* | ?:[\\/]*)
12727   ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12728   ;;
12729   *)
12730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12732 do
12733   IFS=$as_save_IFS
12734   test -z "$as_dir" && as_dir=.
12735     for ac_exec_ext in '' $ac_executable_extensions; do
12736   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12737     ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12739     break 2
12740   fi
12741 done
12742   done
12743 IFS=$as_save_IFS
12744
12745   ;;
12746 esac
12747 fi
12748 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12749 if test -n "$ac_pt_DX_LATEX"; then
12750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12751 $as_echo "$ac_pt_DX_LATEX" >&6; }
12752 else
12753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12755 fi
12756
12757   if test "x$ac_pt_DX_LATEX" = x; then
12758     DX_LATEX=""
12759   else
12760     case $cross_compiling:$ac_tool_warned in
12761 yes:)
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12764 ac_tool_warned=yes ;;
12765 esac
12766     DX_LATEX=$ac_pt_DX_LATEX
12767   fi
12768 else
12769   DX_LATEX="$ac_cv_path_DX_LATEX"
12770 fi
12771
12772 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12774 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12775     DX_FLAG_ps=0
12776
12777 fi
12778
12779
12780 if test -n "$ac_tool_prefix"; then
12781   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12782 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12784 $as_echo_n "checking for $ac_word... " >&6; }
12785 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
12786   $as_echo_n "(cached) " >&6
12787 else
12788   case $DX_MAKEINDEX in
12789   [\\/]* | ?:[\\/]*)
12790   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12791   ;;
12792   *)
12793   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12794 for as_dir in $PATH
12795 do
12796   IFS=$as_save_IFS
12797   test -z "$as_dir" && as_dir=.
12798     for ac_exec_ext in '' $ac_executable_extensions; do
12799   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12800     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12802     break 2
12803   fi
12804 done
12805   done
12806 IFS=$as_save_IFS
12807
12808   ;;
12809 esac
12810 fi
12811 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12812 if test -n "$DX_MAKEINDEX"; then
12813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12814 $as_echo "$DX_MAKEINDEX" >&6; }
12815 else
12816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12817 $as_echo "no" >&6; }
12818 fi
12819
12820
12821 fi
12822 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12823   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12824   # Extract the first word of "makeindex", so it can be a program name with args.
12825 set dummy makeindex; ac_word=$2
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12827 $as_echo_n "checking for $ac_word... " >&6; }
12828 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
12829   $as_echo_n "(cached) " >&6
12830 else
12831   case $ac_pt_DX_MAKEINDEX in
12832   [\\/]* | ?:[\\/]*)
12833   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12834   ;;
12835   *)
12836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12837 for as_dir in $PATH
12838 do
12839   IFS=$as_save_IFS
12840   test -z "$as_dir" && as_dir=.
12841     for ac_exec_ext in '' $ac_executable_extensions; do
12842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12843     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12845     break 2
12846   fi
12847 done
12848   done
12849 IFS=$as_save_IFS
12850
12851   ;;
12852 esac
12853 fi
12854 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12855 if test -n "$ac_pt_DX_MAKEINDEX"; then
12856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12857 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12858 else
12859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12861 fi
12862
12863   if test "x$ac_pt_DX_MAKEINDEX" = x; then
12864     DX_MAKEINDEX=""
12865   else
12866     case $cross_compiling:$ac_tool_warned in
12867 yes:)
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12870 ac_tool_warned=yes ;;
12871 esac
12872     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12873   fi
12874 else
12875   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12876 fi
12877
12878 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12879     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12880 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12881     DX_FLAG_ps=0
12882
12883 fi
12884
12885
12886 if test -n "$ac_tool_prefix"; then
12887   # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12888 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12890 $as_echo_n "checking for $ac_word... " >&6; }
12891 if ${ac_cv_path_DX_DVIPS+:} false; then :
12892   $as_echo_n "(cached) " >&6
12893 else
12894   case $DX_DVIPS in
12895   [\\/]* | ?:[\\/]*)
12896   ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12897   ;;
12898   *)
12899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12901 do
12902   IFS=$as_save_IFS
12903   test -z "$as_dir" && as_dir=.
12904     for ac_exec_ext in '' $ac_executable_extensions; do
12905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12906     ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12908     break 2
12909   fi
12910 done
12911   done
12912 IFS=$as_save_IFS
12913
12914   ;;
12915 esac
12916 fi
12917 DX_DVIPS=$ac_cv_path_DX_DVIPS
12918 if test -n "$DX_DVIPS"; then
12919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
12920 $as_echo "$DX_DVIPS" >&6; }
12921 else
12922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12923 $as_echo "no" >&6; }
12924 fi
12925
12926
12927 fi
12928 if test -z "$ac_cv_path_DX_DVIPS"; then
12929   ac_pt_DX_DVIPS=$DX_DVIPS
12930   # Extract the first word of "dvips", so it can be a program name with args.
12931 set dummy dvips; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12933 $as_echo_n "checking for $ac_word... " >&6; }
12934 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
12935   $as_echo_n "(cached) " >&6
12936 else
12937   case $ac_pt_DX_DVIPS in
12938   [\\/]* | ?:[\\/]*)
12939   ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12940   ;;
12941   *)
12942   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $PATH
12944 do
12945   IFS=$as_save_IFS
12946   test -z "$as_dir" && as_dir=.
12947     for ac_exec_ext in '' $ac_executable_extensions; do
12948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12949     ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12951     break 2
12952   fi
12953 done
12954   done
12955 IFS=$as_save_IFS
12956
12957   ;;
12958 esac
12959 fi
12960 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12961 if test -n "$ac_pt_DX_DVIPS"; then
12962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
12963 $as_echo "$ac_pt_DX_DVIPS" >&6; }
12964 else
12965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12966 $as_echo "no" >&6; }
12967 fi
12968
12969   if test "x$ac_pt_DX_DVIPS" = x; then
12970     DX_DVIPS=""
12971   else
12972     case $cross_compiling:$ac_tool_warned in
12973 yes:)
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12976 ac_tool_warned=yes ;;
12977 esac
12978     DX_DVIPS=$ac_pt_DX_DVIPS
12979   fi
12980 else
12981   DX_DVIPS="$ac_cv_path_DX_DVIPS"
12982 fi
12983
12984 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12985     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12986 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12987     DX_FLAG_ps=0
12988
12989 fi
12990
12991
12992 if test -n "$ac_tool_prefix"; then
12993   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12994 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12996 $as_echo_n "checking for $ac_word... " >&6; }
12997 if ${ac_cv_path_DX_EGREP+:} false; then :
12998   $as_echo_n "(cached) " >&6
12999 else
13000   case $DX_EGREP in
13001   [\\/]* | ?:[\\/]*)
13002   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13003   ;;
13004   *)
13005   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13007 do
13008   IFS=$as_save_IFS
13009   test -z "$as_dir" && as_dir=.
13010     for ac_exec_ext in '' $ac_executable_extensions; do
13011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13012     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13014     break 2
13015   fi
13016 done
13017   done
13018 IFS=$as_save_IFS
13019
13020   ;;
13021 esac
13022 fi
13023 DX_EGREP=$ac_cv_path_DX_EGREP
13024 if test -n "$DX_EGREP"; then
13025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13026 $as_echo "$DX_EGREP" >&6; }
13027 else
13028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13029 $as_echo "no" >&6; }
13030 fi
13031
13032
13033 fi
13034 if test -z "$ac_cv_path_DX_EGREP"; then
13035   ac_pt_DX_EGREP=$DX_EGREP
13036   # Extract the first word of "egrep", so it can be a program name with args.
13037 set dummy egrep; ac_word=$2
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13039 $as_echo_n "checking for $ac_word... " >&6; }
13040 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13041   $as_echo_n "(cached) " >&6
13042 else
13043   case $ac_pt_DX_EGREP in
13044   [\\/]* | ?:[\\/]*)
13045   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13046   ;;
13047   *)
13048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13049 for as_dir in $PATH
13050 do
13051   IFS=$as_save_IFS
13052   test -z "$as_dir" && as_dir=.
13053     for ac_exec_ext in '' $ac_executable_extensions; do
13054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13055     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13057     break 2
13058   fi
13059 done
13060   done
13061 IFS=$as_save_IFS
13062
13063   ;;
13064 esac
13065 fi
13066 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13067 if test -n "$ac_pt_DX_EGREP"; then
13068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13069 $as_echo "$ac_pt_DX_EGREP" >&6; }
13070 else
13071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13072 $as_echo "no" >&6; }
13073 fi
13074
13075   if test "x$ac_pt_DX_EGREP" = x; then
13076     DX_EGREP=""
13077   else
13078     case $cross_compiling:$ac_tool_warned in
13079 yes:)
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13082 ac_tool_warned=yes ;;
13083 esac
13084     DX_EGREP=$ac_pt_DX_EGREP
13085   fi
13086 else
13087   DX_EGREP="$ac_cv_path_DX_EGREP"
13088 fi
13089
13090 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13091     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13092 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13093     DX_FLAG_ps=0
13094
13095 fi
13096
13097     :
13098 fi
13099 if test "$DX_FLAG_ps" = 1; then
13100      if :; then
13101   DX_COND_ps_TRUE=
13102   DX_COND_ps_FALSE='#'
13103 else
13104   DX_COND_ps_TRUE='#'
13105   DX_COND_ps_FALSE=
13106 fi
13107
13108
13109     :
13110 else
13111      if false; then
13112   DX_COND_ps_TRUE=
13113   DX_COND_ps_FALSE='#'
13114 else
13115   DX_COND_ps_TRUE='#'
13116   DX_COND_ps_FALSE=
13117 fi
13118
13119
13120     :
13121 fi
13122
13123
13124 # PDF file generation:
13125
13126
13127
13128
13129     # Check whether --enable-doxygen-pdf was given.
13130 if test "${enable_doxygen_pdf+set}" = set; then :
13131   enableval=$enable_doxygen_pdf;
13132 case "$enableval" in
13133 #(
13134 y|Y|yes|Yes|YES)
13135     DX_FLAG_pdf=1
13136
13137
13138 test "$DX_FLAG_doc" = "1" \
13139 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13140
13141 ;; #(
13142 n|N|no|No|NO)
13143     DX_FLAG_pdf=0
13144
13145 ;; #(
13146 *)
13147     as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13148 ;;
13149 esac
13150
13151 else
13152
13153 DX_FLAG_pdf=0
13154
13155
13156 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13157
13158
13159
13160 fi
13161
13162 if test "$DX_FLAG_pdf" = 1; then
13163
13164 if test -n "$ac_tool_prefix"; then
13165   # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13166 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13168 $as_echo_n "checking for $ac_word... " >&6; }
13169 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
13170   $as_echo_n "(cached) " >&6
13171 else
13172   case $DX_PDFLATEX in
13173   [\\/]* | ?:[\\/]*)
13174   ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13175   ;;
13176   *)
13177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13178 for as_dir in $PATH
13179 do
13180   IFS=$as_save_IFS
13181   test -z "$as_dir" && as_dir=.
13182     for ac_exec_ext in '' $ac_executable_extensions; do
13183   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13184     ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13186     break 2
13187   fi
13188 done
13189   done
13190 IFS=$as_save_IFS
13191
13192   ;;
13193 esac
13194 fi
13195 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13196 if test -n "$DX_PDFLATEX"; then
13197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13198 $as_echo "$DX_PDFLATEX" >&6; }
13199 else
13200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13201 $as_echo "no" >&6; }
13202 fi
13203
13204
13205 fi
13206 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13207   ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13208   # Extract the first word of "pdflatex", so it can be a program name with args.
13209 set dummy pdflatex; ac_word=$2
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13211 $as_echo_n "checking for $ac_word... " >&6; }
13212 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
13213   $as_echo_n "(cached) " >&6
13214 else
13215   case $ac_pt_DX_PDFLATEX in
13216   [\\/]* | ?:[\\/]*)
13217   ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13218   ;;
13219   *)
13220   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13221 for as_dir in $PATH
13222 do
13223   IFS=$as_save_IFS
13224   test -z "$as_dir" && as_dir=.
13225     for ac_exec_ext in '' $ac_executable_extensions; do
13226   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13227     ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13229     break 2
13230   fi
13231 done
13232   done
13233 IFS=$as_save_IFS
13234
13235   ;;
13236 esac
13237 fi
13238 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13239 if test -n "$ac_pt_DX_PDFLATEX"; then
13240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13241 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13242 else
13243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13244 $as_echo "no" >&6; }
13245 fi
13246
13247   if test "x$ac_pt_DX_PDFLATEX" = x; then
13248     DX_PDFLATEX=""
13249   else
13250     case $cross_compiling:$ac_tool_warned in
13251 yes:)
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13254 ac_tool_warned=yes ;;
13255 esac
13256     DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13257   fi
13258 else
13259   DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13260 fi
13261
13262 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13263     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13264 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13265     DX_FLAG_pdf=0
13266
13267 fi
13268
13269
13270 if test -n "$ac_tool_prefix"; then
13271   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13272 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13274 $as_echo_n "checking for $ac_word... " >&6; }
13275 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13276   $as_echo_n "(cached) " >&6
13277 else
13278   case $DX_MAKEINDEX in
13279   [\\/]* | ?:[\\/]*)
13280   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13281   ;;
13282   *)
13283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13284 for as_dir in $PATH
13285 do
13286   IFS=$as_save_IFS
13287   test -z "$as_dir" && as_dir=.
13288     for ac_exec_ext in '' $ac_executable_extensions; do
13289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13290     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13292     break 2
13293   fi
13294 done
13295   done
13296 IFS=$as_save_IFS
13297
13298   ;;
13299 esac
13300 fi
13301 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13302 if test -n "$DX_MAKEINDEX"; then
13303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13304 $as_echo "$DX_MAKEINDEX" >&6; }
13305 else
13306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307 $as_echo "no" >&6; }
13308 fi
13309
13310
13311 fi
13312 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13313   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13314   # Extract the first word of "makeindex", so it can be a program name with args.
13315 set dummy makeindex; ac_word=$2
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13317 $as_echo_n "checking for $ac_word... " >&6; }
13318 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13319   $as_echo_n "(cached) " >&6
13320 else
13321   case $ac_pt_DX_MAKEINDEX in
13322   [\\/]* | ?:[\\/]*)
13323   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13324   ;;
13325   *)
13326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13328 do
13329   IFS=$as_save_IFS
13330   test -z "$as_dir" && as_dir=.
13331     for ac_exec_ext in '' $ac_executable_extensions; do
13332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13333     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13335     break 2
13336   fi
13337 done
13338   done
13339 IFS=$as_save_IFS
13340
13341   ;;
13342 esac
13343 fi
13344 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13345 if test -n "$ac_pt_DX_MAKEINDEX"; then
13346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13347 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13348 else
13349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13350 $as_echo "no" >&6; }
13351 fi
13352
13353   if test "x$ac_pt_DX_MAKEINDEX" = x; then
13354     DX_MAKEINDEX=""
13355   else
13356     case $cross_compiling:$ac_tool_warned in
13357 yes:)
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13360 ac_tool_warned=yes ;;
13361 esac
13362     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13363   fi
13364 else
13365   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13366 fi
13367
13368 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13369     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13370 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13371     DX_FLAG_pdf=0
13372
13373 fi
13374
13375
13376 if test -n "$ac_tool_prefix"; then
13377   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13378 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13380 $as_echo_n "checking for $ac_word... " >&6; }
13381 if ${ac_cv_path_DX_EGREP+:} false; then :
13382   $as_echo_n "(cached) " >&6
13383 else
13384   case $DX_EGREP in
13385   [\\/]* | ?:[\\/]*)
13386   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13387   ;;
13388   *)
13389   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13390 for as_dir in $PATH
13391 do
13392   IFS=$as_save_IFS
13393   test -z "$as_dir" && as_dir=.
13394     for ac_exec_ext in '' $ac_executable_extensions; do
13395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13396     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13398     break 2
13399   fi
13400 done
13401   done
13402 IFS=$as_save_IFS
13403
13404   ;;
13405 esac
13406 fi
13407 DX_EGREP=$ac_cv_path_DX_EGREP
13408 if test -n "$DX_EGREP"; then
13409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13410 $as_echo "$DX_EGREP" >&6; }
13411 else
13412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13413 $as_echo "no" >&6; }
13414 fi
13415
13416
13417 fi
13418 if test -z "$ac_cv_path_DX_EGREP"; then
13419   ac_pt_DX_EGREP=$DX_EGREP
13420   # Extract the first word of "egrep", so it can be a program name with args.
13421 set dummy egrep; ac_word=$2
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13423 $as_echo_n "checking for $ac_word... " >&6; }
13424 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13425   $as_echo_n "(cached) " >&6
13426 else
13427   case $ac_pt_DX_EGREP in
13428   [\\/]* | ?:[\\/]*)
13429   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13430   ;;
13431   *)
13432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13433 for as_dir in $PATH
13434 do
13435   IFS=$as_save_IFS
13436   test -z "$as_dir" && as_dir=.
13437     for ac_exec_ext in '' $ac_executable_extensions; do
13438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13439     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13441     break 2
13442   fi
13443 done
13444   done
13445 IFS=$as_save_IFS
13446
13447   ;;
13448 esac
13449 fi
13450 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13451 if test -n "$ac_pt_DX_EGREP"; then
13452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13453 $as_echo "$ac_pt_DX_EGREP" >&6; }
13454 else
13455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13456 $as_echo "no" >&6; }
13457 fi
13458
13459   if test "x$ac_pt_DX_EGREP" = x; then
13460     DX_EGREP=""
13461   else
13462     case $cross_compiling:$ac_tool_warned in
13463 yes:)
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13466 ac_tool_warned=yes ;;
13467 esac
13468     DX_EGREP=$ac_pt_DX_EGREP
13469   fi
13470 else
13471   DX_EGREP="$ac_cv_path_DX_EGREP"
13472 fi
13473
13474 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13475     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13476 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13477     DX_FLAG_pdf=0
13478
13479 fi
13480
13481     :
13482 fi
13483 if test "$DX_FLAG_pdf" = 1; then
13484      if :; then
13485   DX_COND_pdf_TRUE=
13486   DX_COND_pdf_FALSE='#'
13487 else
13488   DX_COND_pdf_TRUE='#'
13489   DX_COND_pdf_FALSE=
13490 fi
13491
13492
13493     :
13494 else
13495      if false; then
13496   DX_COND_pdf_TRUE=
13497   DX_COND_pdf_FALSE='#'
13498 else
13499   DX_COND_pdf_TRUE='#'
13500   DX_COND_pdf_FALSE=
13501 fi
13502
13503
13504     :
13505 fi
13506
13507
13508 # LaTeX generation for PS and/or PDF:
13509 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13510      if :; then
13511   DX_COND_latex_TRUE=
13512   DX_COND_latex_FALSE='#'
13513 else
13514   DX_COND_latex_TRUE='#'
13515   DX_COND_latex_FALSE=
13516 fi
13517
13518     DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13519
13520 else
13521      if false; then
13522   DX_COND_latex_TRUE=
13523   DX_COND_latex_FALSE='#'
13524 else
13525   DX_COND_latex_TRUE='#'
13526   DX_COND_latex_FALSE=
13527 fi
13528
13529     DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13530
13531 fi
13532
13533 # Paper size for PS and/or PDF:
13534
13535 case "$DOXYGEN_PAPER_SIZE" in
13536 #(
13537 "")
13538     DOXYGEN_PAPER_SIZE=""
13539
13540 ;; #(
13541 a4wide|a4|letter|legal|executive)
13542     DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13543
13544 ;; #(
13545 *)
13546     as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13547 ;;
13548 esac
13549
13550 #For debugging:
13551 #echo DX_FLAG_doc=$DX_FLAG_doc
13552 #echo DX_FLAG_dot=$DX_FLAG_dot
13553 #echo DX_FLAG_man=$DX_FLAG_man
13554 #echo DX_FLAG_html=$DX_FLAG_html
13555 #echo DX_FLAG_chm=$DX_FLAG_chm
13556 #echo DX_FLAG_chi=$DX_FLAG_chi
13557 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13558 #echo DX_FLAG_xml=$DX_FLAG_xml
13559 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13560 #echo DX_FLAG_ps=$DX_FLAG_ps
13561 #echo DX_ENV=$DX_ENV
13562
13563 ######################################################################
13564
13565 # Checks for programs.
13566 ac_ext=cpp
13567 ac_cpp='$CXXCPP $CPPFLAGS'
13568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13571 if test -z "$CXX"; then
13572   if test -n "$CCC"; then
13573     CXX=$CCC
13574   else
13575     if test -n "$ac_tool_prefix"; then
13576   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13577   do
13578     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581 $as_echo_n "checking for $ac_word... " >&6; }
13582 if ${ac_cv_prog_CXX+:} false; then :
13583   $as_echo_n "(cached) " >&6
13584 else
13585   if test -n "$CXX"; then
13586   ac_cv_prog_CXX="$CXX" # Let the user override the test.
13587 else
13588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13589 for as_dir in $PATH
13590 do
13591   IFS=$as_save_IFS
13592   test -z "$as_dir" && as_dir=.
13593     for ac_exec_ext in '' $ac_executable_extensions; do
13594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13595     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13597     break 2
13598   fi
13599 done
13600   done
13601 IFS=$as_save_IFS
13602
13603 fi
13604 fi
13605 CXX=$ac_cv_prog_CXX
13606 if test -n "$CXX"; then
13607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13608 $as_echo "$CXX" >&6; }
13609 else
13610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13611 $as_echo "no" >&6; }
13612 fi
13613
13614
13615     test -n "$CXX" && break
13616   done
13617 fi
13618 if test -z "$CXX"; then
13619   ac_ct_CXX=$CXX
13620   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13621 do
13622   # Extract the first word of "$ac_prog", so it can be a program name with args.
13623 set dummy $ac_prog; ac_word=$2
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13625 $as_echo_n "checking for $ac_word... " >&6; }
13626 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13627   $as_echo_n "(cached) " >&6
13628 else
13629   if test -n "$ac_ct_CXX"; then
13630   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13631 else
13632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13633 for as_dir in $PATH
13634 do
13635   IFS=$as_save_IFS
13636   test -z "$as_dir" && as_dir=.
13637     for ac_exec_ext in '' $ac_executable_extensions; do
13638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13639     ac_cv_prog_ac_ct_CXX="$ac_prog"
13640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13641     break 2
13642   fi
13643 done
13644   done
13645 IFS=$as_save_IFS
13646
13647 fi
13648 fi
13649 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13650 if test -n "$ac_ct_CXX"; then
13651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13652 $as_echo "$ac_ct_CXX" >&6; }
13653 else
13654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13655 $as_echo "no" >&6; }
13656 fi
13657
13658
13659   test -n "$ac_ct_CXX" && break
13660 done
13661
13662   if test "x$ac_ct_CXX" = x; then
13663     CXX="g++"
13664   else
13665     case $cross_compiling:$ac_tool_warned in
13666 yes:)
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13669 ac_tool_warned=yes ;;
13670 esac
13671     CXX=$ac_ct_CXX
13672   fi
13673 fi
13674
13675   fi
13676 fi
13677 # Provide some information about the compiler.
13678 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13679 set X $ac_compile
13680 ac_compiler=$2
13681 for ac_option in --version -v -V -qversion; do
13682   { { ac_try="$ac_compiler $ac_option >&5"
13683 case "(($ac_try" in
13684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13685   *) ac_try_echo=$ac_try;;
13686 esac
13687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13688 $as_echo "$ac_try_echo"; } >&5
13689   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13690   ac_status=$?
13691   if test -s conftest.err; then
13692     sed '10a\
13693 ... rest of stderr output deleted ...
13694          10q' conftest.err >conftest.er1
13695     cat conftest.er1 >&5
13696   fi
13697   rm -f conftest.er1 conftest.err
13698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13699   test $ac_status = 0; }
13700 done
13701
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13703 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13704 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13705   $as_echo_n "(cached) " >&6
13706 else
13707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h.  */
13709
13710 int
13711 main ()
13712 {
13713 #ifndef __GNUC__
13714        choke me
13715 #endif
13716
13717   ;
13718   return 0;
13719 }
13720 _ACEOF
13721 if ac_fn_cxx_try_compile "$LINENO"; then :
13722   ac_compiler_gnu=yes
13723 else
13724   ac_compiler_gnu=no
13725 fi
13726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13727 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13728
13729 fi
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13731 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13732 if test $ac_compiler_gnu = yes; then
13733   GXX=yes
13734 else
13735   GXX=
13736 fi
13737 ac_test_CXXFLAGS=${CXXFLAGS+set}
13738 ac_save_CXXFLAGS=$CXXFLAGS
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13740 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13741 if ${ac_cv_prog_cxx_g+:} false; then :
13742   $as_echo_n "(cached) " >&6
13743 else
13744   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13745    ac_cxx_werror_flag=yes
13746    ac_cv_prog_cxx_g=no
13747    CXXFLAGS="-g"
13748    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h.  */
13750
13751 int
13752 main ()
13753 {
13754
13755   ;
13756   return 0;
13757 }
13758 _ACEOF
13759 if ac_fn_cxx_try_compile "$LINENO"; then :
13760   ac_cv_prog_cxx_g=yes
13761 else
13762   CXXFLAGS=""
13763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h.  */
13765
13766 int
13767 main ()
13768 {
13769
13770   ;
13771   return 0;
13772 }
13773 _ACEOF
13774 if ac_fn_cxx_try_compile "$LINENO"; then :
13775
13776 else
13777   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13778          CXXFLAGS="-g"
13779          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h.  */
13781
13782 int
13783 main ()
13784 {
13785
13786   ;
13787   return 0;
13788 }
13789 _ACEOF
13790 if ac_fn_cxx_try_compile "$LINENO"; then :
13791   ac_cv_prog_cxx_g=yes
13792 fi
13793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13794 fi
13795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13796 fi
13797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13798    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13799 fi
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13801 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13802 if test "$ac_test_CXXFLAGS" = set; then
13803   CXXFLAGS=$ac_save_CXXFLAGS
13804 elif test $ac_cv_prog_cxx_g = yes; then
13805   if test "$GXX" = yes; then
13806     CXXFLAGS="-g -O2"
13807   else
13808     CXXFLAGS="-g"
13809   fi
13810 else
13811   if test "$GXX" = yes; then
13812     CXXFLAGS="-O2"
13813   else
13814     CXXFLAGS=
13815   fi
13816 fi
13817 ac_ext=c
13818 ac_cpp='$CPP $CPPFLAGS'
13819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13822
13823 depcc="$CXX"  am_compiler_list=
13824
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13826 $as_echo_n "checking dependency style of $depcc... " >&6; }
13827 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13828   $as_echo_n "(cached) " >&6
13829 else
13830   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13831   # We make a subdir and do the tests there.  Otherwise we can end up
13832   # making bogus files that we don't know about and never remove.  For
13833   # instance it was reported that on HP-UX the gcc test will end up
13834   # making a dummy file named 'D' -- because '-MD' means "put the output
13835   # in D".
13836   rm -rf conftest.dir
13837   mkdir conftest.dir
13838   # Copy depcomp to subdir because otherwise we won't find it if we're
13839   # using a relative directory.
13840   cp "$am_depcomp" conftest.dir
13841   cd conftest.dir
13842   # We will build objects and dependencies in a subdirectory because
13843   # it helps to detect inapplicable dependency modes.  For instance
13844   # both Tru64's cc and ICC support -MD to output dependencies as a
13845   # side effect of compilation, but ICC will put the dependencies in
13846   # the current directory while Tru64 will put them in the object
13847   # directory.
13848   mkdir sub
13849
13850   am_cv_CXX_dependencies_compiler_type=none
13851   if test "$am_compiler_list" = ""; then
13852      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13853   fi
13854   am__universal=false
13855   case " $depcc " in #(
13856      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13857      esac
13858
13859   for depmode in $am_compiler_list; do
13860     # Setup a source with many dependencies, because some compilers
13861     # like to wrap large dependency lists on column 80 (with \), and
13862     # we should not choose a depcomp mode which is confused by this.
13863     #
13864     # We need to recreate these files for each test, as the compiler may
13865     # overwrite some of them when testing with obscure command lines.
13866     # This happens at least with the AIX C compiler.
13867     : > sub/conftest.c
13868     for i in 1 2 3 4 5 6; do
13869       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13870       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13871       # Solaris 10 /bin/sh.
13872       echo '/* dummy */' > sub/conftst$i.h
13873     done
13874     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13875
13876     # We check with '-c' and '-o' for the sake of the "dashmstdout"
13877     # mode.  It turns out that the SunPro C++ compiler does not properly
13878     # handle '-M -o', and we need to detect this.  Also, some Intel
13879     # versions had trouble with output in subdirs.
13880     am__obj=sub/conftest.${OBJEXT-o}
13881     am__minus_obj="-o $am__obj"
13882     case $depmode in
13883     gcc)
13884       # This depmode causes a compiler race in universal mode.
13885       test "$am__universal" = false || continue
13886       ;;
13887     nosideeffect)
13888       # After this tag, mechanisms are not by side-effect, so they'll
13889       # only be used when explicitly requested.
13890       if test "x$enable_dependency_tracking" = xyes; then
13891         continue
13892       else
13893         break
13894       fi
13895       ;;
13896     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13897       # This compiler won't grok '-c -o', but also, the minuso test has
13898       # not run yet.  These depmodes are late enough in the game, and
13899       # so weak that their functioning should not be impacted.
13900       am__obj=conftest.${OBJEXT-o}
13901       am__minus_obj=
13902       ;;
13903     none) break ;;
13904     esac
13905     if depmode=$depmode \
13906        source=sub/conftest.c object=$am__obj \
13907        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13908        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13909          >/dev/null 2>conftest.err &&
13910        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13911        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13912        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13913        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13914       # icc doesn't choke on unknown options, it will just issue warnings
13915       # or remarks (even with -Werror).  So we grep stderr for any message
13916       # that says an option was ignored or not supported.
13917       # When given -MP, icc 7.0 and 7.1 complain thusly:
13918       #   icc: Command line warning: ignoring option '-M'; no argument required
13919       # The diagnosis changed in icc 8.0:
13920       #   icc: Command line remark: option '-MP' not supported
13921       if (grep 'ignoring option' conftest.err ||
13922           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13923         am_cv_CXX_dependencies_compiler_type=$depmode
13924         break
13925       fi
13926     fi
13927   done
13928
13929   cd ..
13930   rm -rf conftest.dir
13931 else
13932   am_cv_CXX_dependencies_compiler_type=none
13933 fi
13934
13935 fi
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13937 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13938 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13939
13940  if
13941   test "x$enable_dependency_tracking" != xno \
13942   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13943   am__fastdepCXX_TRUE=
13944   am__fastdepCXX_FALSE='#'
13945 else
13946   am__fastdepCXX_TRUE='#'
13947   am__fastdepCXX_FALSE=
13948 fi
13949
13950
13951
13952
13953 func_stripname_cnf ()
13954 {
13955   case ${2} in
13956   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13957   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13958   esac
13959 } # func_stripname_cnf
13960
13961       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13962     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13963     (test "X$CXX" != "Xg++"))) ; then
13964   ac_ext=cpp
13965 ac_cpp='$CXXCPP $CPPFLAGS'
13966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13970 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13971 if test -z "$CXXCPP"; then
13972   if ${ac_cv_prog_CXXCPP+:} false; then :
13973   $as_echo_n "(cached) " >&6
13974 else
13975       # Double quotes because CXXCPP needs to be expanded
13976     for CXXCPP in "$CXX -E" "/lib/cpp"
13977     do
13978       ac_preproc_ok=false
13979 for ac_cxx_preproc_warn_flag in '' yes
13980 do
13981   # Use a header file that comes with gcc, so configuring glibc
13982   # with a fresh cross-compiler works.
13983   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13984   # <limits.h> exists even on freestanding compilers.
13985   # On the NeXT, cc -E runs the code through the compiler's parser,
13986   # not just through cpp. "Syntax error" is here to catch this case.
13987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h.  */
13989 #ifdef __STDC__
13990 # include <limits.h>
13991 #else
13992 # include <assert.h>
13993 #endif
13994                      Syntax error
13995 _ACEOF
13996 if ac_fn_cxx_try_cpp "$LINENO"; then :
13997
13998 else
13999   # Broken: fails on valid input.
14000 continue
14001 fi
14002 rm -f conftest.err conftest.i conftest.$ac_ext
14003
14004   # OK, works on sane cases.  Now check whether nonexistent headers
14005   # can be detected and how.
14006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h.  */
14008 #include <ac_nonexistent.h>
14009 _ACEOF
14010 if ac_fn_cxx_try_cpp "$LINENO"; then :
14011   # Broken: success on invalid input.
14012 continue
14013 else
14014   # Passes both tests.
14015 ac_preproc_ok=:
14016 break
14017 fi
14018 rm -f conftest.err conftest.i conftest.$ac_ext
14019
14020 done
14021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14022 rm -f conftest.i conftest.err conftest.$ac_ext
14023 if $ac_preproc_ok; then :
14024   break
14025 fi
14026
14027     done
14028     ac_cv_prog_CXXCPP=$CXXCPP
14029
14030 fi
14031   CXXCPP=$ac_cv_prog_CXXCPP
14032 else
14033   ac_cv_prog_CXXCPP=$CXXCPP
14034 fi
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14036 $as_echo "$CXXCPP" >&6; }
14037 ac_preproc_ok=false
14038 for ac_cxx_preproc_warn_flag in '' yes
14039 do
14040   # Use a header file that comes with gcc, so configuring glibc
14041   # with a fresh cross-compiler works.
14042   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14043   # <limits.h> exists even on freestanding compilers.
14044   # On the NeXT, cc -E runs the code through the compiler's parser,
14045   # not just through cpp. "Syntax error" is here to catch this case.
14046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h.  */
14048 #ifdef __STDC__
14049 # include <limits.h>
14050 #else
14051 # include <assert.h>
14052 #endif
14053                      Syntax error
14054 _ACEOF
14055 if ac_fn_cxx_try_cpp "$LINENO"; then :
14056
14057 else
14058   # Broken: fails on valid input.
14059 continue
14060 fi
14061 rm -f conftest.err conftest.i conftest.$ac_ext
14062
14063   # OK, works on sane cases.  Now check whether nonexistent headers
14064   # can be detected and how.
14065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h.  */
14067 #include <ac_nonexistent.h>
14068 _ACEOF
14069 if ac_fn_cxx_try_cpp "$LINENO"; then :
14070   # Broken: success on invalid input.
14071 continue
14072 else
14073   # Passes both tests.
14074 ac_preproc_ok=:
14075 break
14076 fi
14077 rm -f conftest.err conftest.i conftest.$ac_ext
14078
14079 done
14080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14081 rm -f conftest.i conftest.err conftest.$ac_ext
14082 if $ac_preproc_ok; then :
14083
14084 else
14085   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14087 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14088 See \`config.log' for more details" "$LINENO" 5; }
14089 fi
14090
14091 ac_ext=c
14092 ac_cpp='$CPP $CPPFLAGS'
14093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14096
14097 else
14098   _lt_caught_CXX_error=yes
14099 fi
14100
14101 ac_ext=cpp
14102 ac_cpp='$CXXCPP $CPPFLAGS'
14103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14106
14107 archive_cmds_need_lc_CXX=no
14108 allow_undefined_flag_CXX=
14109 always_export_symbols_CXX=no
14110 archive_expsym_cmds_CXX=
14111 compiler_needs_object_CXX=no
14112 export_dynamic_flag_spec_CXX=
14113 hardcode_direct_CXX=no
14114 hardcode_direct_absolute_CXX=no
14115 hardcode_libdir_flag_spec_CXX=
14116 hardcode_libdir_separator_CXX=
14117 hardcode_minus_L_CXX=no
14118 hardcode_shlibpath_var_CXX=unsupported
14119 hardcode_automatic_CXX=no
14120 inherit_rpath_CXX=no
14121 module_cmds_CXX=
14122 module_expsym_cmds_CXX=
14123 link_all_deplibs_CXX=unknown
14124 old_archive_cmds_CXX=$old_archive_cmds
14125 reload_flag_CXX=$reload_flag
14126 reload_cmds_CXX=$reload_cmds
14127 no_undefined_flag_CXX=
14128 whole_archive_flag_spec_CXX=
14129 enable_shared_with_static_runtimes_CXX=no
14130
14131 # Source file extension for C++ test sources.
14132 ac_ext=cpp
14133
14134 # Object file extension for compiled C++ test sources.
14135 objext=o
14136 objext_CXX=$objext
14137
14138 # No sense in running all these tests if we already determined that
14139 # the CXX compiler isn't working.  Some variables (like enable_shared)
14140 # are currently assumed to apply to all compilers on this platform,
14141 # and will be corrupted by setting them based on a non-working compiler.
14142 if test "$_lt_caught_CXX_error" != yes; then
14143   # Code to be used in simple compile tests
14144   lt_simple_compile_test_code="int some_variable = 0;"
14145
14146   # Code to be used in simple link tests
14147   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14148
14149   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14150
14151
14152
14153
14154
14155
14156 # If no C compiler was specified, use CC.
14157 LTCC=${LTCC-"$CC"}
14158
14159 # If no C compiler flags were specified, use CFLAGS.
14160 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14161
14162 # Allow CC to be a program name with arguments.
14163 compiler=$CC
14164
14165
14166   # save warnings/boilerplate of simple test code
14167   ac_outfile=conftest.$ac_objext
14168 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14169 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14170 _lt_compiler_boilerplate=`cat conftest.err`
14171 $RM conftest*
14172
14173   ac_outfile=conftest.$ac_objext
14174 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14175 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14176 _lt_linker_boilerplate=`cat conftest.err`
14177 $RM -r conftest*
14178
14179
14180   # Allow CC to be a program name with arguments.
14181   lt_save_CC=$CC
14182   lt_save_CFLAGS=$CFLAGS
14183   lt_save_LD=$LD
14184   lt_save_GCC=$GCC
14185   GCC=$GXX
14186   lt_save_with_gnu_ld=$with_gnu_ld
14187   lt_save_path_LD=$lt_cv_path_LD
14188   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14189     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14190   else
14191     $as_unset lt_cv_prog_gnu_ld
14192   fi
14193   if test -n "${lt_cv_path_LDCXX+set}"; then
14194     lt_cv_path_LD=$lt_cv_path_LDCXX
14195   else
14196     $as_unset lt_cv_path_LD
14197   fi
14198   test -z "${LDCXX+set}" || LD=$LDCXX
14199   CC=${CXX-"c++"}
14200   CFLAGS=$CXXFLAGS
14201   compiler=$CC
14202   compiler_CXX=$CC
14203   for cc_temp in $compiler""; do
14204   case $cc_temp in
14205     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14206     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14207     \-*) ;;
14208     *) break;;
14209   esac
14210 done
14211 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14212
14213
14214   if test -n "$compiler"; then
14215     # We don't want -fno-exception when compiling C++ code, so set the
14216     # no_builtin_flag separately
14217     if test "$GXX" = yes; then
14218       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14219     else
14220       lt_prog_compiler_no_builtin_flag_CXX=
14221     fi
14222
14223     if test "$GXX" = yes; then
14224       # Set up default GNU C++ configuration
14225
14226
14227
14228 # Check whether --with-gnu-ld was given.
14229 if test "${with_gnu_ld+set}" = set; then :
14230   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14231 else
14232   with_gnu_ld=no
14233 fi
14234
14235 ac_prog=ld
14236 if test "$GCC" = yes; then
14237   # Check if gcc -print-prog-name=ld gives a path.
14238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14239 $as_echo_n "checking for ld used by $CC... " >&6; }
14240   case $host in
14241   *-*-mingw*)
14242     # gcc leaves a trailing carriage return which upsets mingw
14243     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14244   *)
14245     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14246   esac
14247   case $ac_prog in
14248     # Accept absolute paths.
14249     [\\/]* | ?:[\\/]*)
14250       re_direlt='/[^/][^/]*/\.\./'
14251       # Canonicalize the pathname of ld
14252       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14253       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14254         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14255       done
14256       test -z "$LD" && LD="$ac_prog"
14257       ;;
14258   "")
14259     # If it fails, then pretend we aren't using GCC.
14260     ac_prog=ld
14261     ;;
14262   *)
14263     # If it is relative, then search for the first ld in PATH.
14264     with_gnu_ld=unknown
14265     ;;
14266   esac
14267 elif test "$with_gnu_ld" = yes; then
14268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14269 $as_echo_n "checking for GNU ld... " >&6; }
14270 else
14271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14272 $as_echo_n "checking for non-GNU ld... " >&6; }
14273 fi
14274 if ${lt_cv_path_LD+:} false; then :
14275   $as_echo_n "(cached) " >&6
14276 else
14277   if test -z "$LD"; then
14278   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14279   for ac_dir in $PATH; do
14280     IFS="$lt_save_ifs"
14281     test -z "$ac_dir" && ac_dir=.
14282     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14283       lt_cv_path_LD="$ac_dir/$ac_prog"
14284       # Check to see if the program is GNU ld.  I'd rather use --version,
14285       # but apparently some variants of GNU ld only accept -v.
14286       # Break only if it was the GNU/non-GNU ld that we prefer.
14287       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14288       *GNU* | *'with BFD'*)
14289         test "$with_gnu_ld" != no && break
14290         ;;
14291       *)
14292         test "$with_gnu_ld" != yes && break
14293         ;;
14294       esac
14295     fi
14296   done
14297   IFS="$lt_save_ifs"
14298 else
14299   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14300 fi
14301 fi
14302
14303 LD="$lt_cv_path_LD"
14304 if test -n "$LD"; then
14305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14306 $as_echo "$LD" >&6; }
14307 else
14308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14309 $as_echo "no" >&6; }
14310 fi
14311 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14313 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14314 if ${lt_cv_prog_gnu_ld+:} false; then :
14315   $as_echo_n "(cached) " >&6
14316 else
14317   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14318 case `$LD -v 2>&1 </dev/null` in
14319 *GNU* | *'with BFD'*)
14320   lt_cv_prog_gnu_ld=yes
14321   ;;
14322 *)
14323   lt_cv_prog_gnu_ld=no
14324   ;;
14325 esac
14326 fi
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14328 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14329 with_gnu_ld=$lt_cv_prog_gnu_ld
14330
14331
14332
14333
14334
14335
14336
14337       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14338       # archiving commands below assume that GNU ld is being used.
14339       if test "$with_gnu_ld" = yes; then
14340         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14341         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14342
14343         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14344         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14345
14346         # If archive_cmds runs LD, not CC, wlarc should be empty
14347         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14348         #     investigate it a little bit more. (MM)
14349         wlarc='${wl}'
14350
14351         # ancient GNU ld didn't support --whole-archive et. al.
14352         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14353           $GREP 'no-whole-archive' > /dev/null; then
14354           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14355         else
14356           whole_archive_flag_spec_CXX=
14357         fi
14358       else
14359         with_gnu_ld=no
14360         wlarc=
14361
14362         # A generic and very simple default shared library creation
14363         # command for GNU C++ for the case where it uses the native
14364         # linker, instead of GNU ld.  If possible, this setting should
14365         # overridden to take advantage of the native linker features on
14366         # the platform it is being used on.
14367         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14368       fi
14369
14370       # Commands to make compiler produce verbose output that lists
14371       # what "hidden" libraries, object files and flags are used when
14372       # linking a shared library.
14373       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14374
14375     else
14376       GXX=no
14377       with_gnu_ld=no
14378       wlarc=
14379     fi
14380
14381     # PORTME: fill in a description of your system's C++ link characteristics
14382     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14383 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14384     ld_shlibs_CXX=yes
14385     case $host_os in
14386       aix3*)
14387         # FIXME: insert proper C++ library support
14388         ld_shlibs_CXX=no
14389         ;;
14390       aix[4-9]*)
14391         if test "$host_cpu" = ia64; then
14392           # On IA64, the linker does run time linking by default, so we don't
14393           # have to do anything special.
14394           aix_use_runtimelinking=no
14395           exp_sym_flag='-Bexport'
14396           no_entry_flag=""
14397         else
14398           aix_use_runtimelinking=no
14399
14400           # Test if we are trying to use run time linking or normal
14401           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14402           # need to do runtime linking.
14403           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14404             for ld_flag in $LDFLAGS; do
14405               case $ld_flag in
14406               *-brtl*)
14407                 aix_use_runtimelinking=yes
14408                 break
14409                 ;;
14410               esac
14411             done
14412             ;;
14413           esac
14414
14415           exp_sym_flag='-bexport'
14416           no_entry_flag='-bnoentry'
14417         fi
14418
14419         # When large executables or shared objects are built, AIX ld can
14420         # have problems creating the table of contents.  If linking a library
14421         # or program results in "error TOC overflow" add -mminimal-toc to
14422         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14423         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14424
14425         archive_cmds_CXX=''
14426         hardcode_direct_CXX=yes
14427         hardcode_direct_absolute_CXX=yes
14428         hardcode_libdir_separator_CXX=':'
14429         link_all_deplibs_CXX=yes
14430         file_list_spec_CXX='${wl}-f,'
14431
14432         if test "$GXX" = yes; then
14433           case $host_os in aix4.[012]|aix4.[012].*)
14434           # We only want to do this on AIX 4.2 and lower, the check
14435           # below for broken collect2 doesn't work under 4.3+
14436           collect2name=`${CC} -print-prog-name=collect2`
14437           if test -f "$collect2name" &&
14438              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14439           then
14440             # We have reworked collect2
14441             :
14442           else
14443             # We have old collect2
14444             hardcode_direct_CXX=unsupported
14445             # It fails to find uninstalled libraries when the uninstalled
14446             # path is not listed in the libpath.  Setting hardcode_minus_L
14447             # to unsupported forces relinking
14448             hardcode_minus_L_CXX=yes
14449             hardcode_libdir_flag_spec_CXX='-L$libdir'
14450             hardcode_libdir_separator_CXX=
14451           fi
14452           esac
14453           shared_flag='-shared'
14454           if test "$aix_use_runtimelinking" = yes; then
14455             shared_flag="$shared_flag "'${wl}-G'
14456           fi
14457         else
14458           # not using gcc
14459           if test "$host_cpu" = ia64; then
14460           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14461           # chokes on -Wl,-G. The following line is correct:
14462           shared_flag='-G'
14463           else
14464             if test "$aix_use_runtimelinking" = yes; then
14465               shared_flag='${wl}-G'
14466             else
14467               shared_flag='${wl}-bM:SRE'
14468             fi
14469           fi
14470         fi
14471
14472         export_dynamic_flag_spec_CXX='${wl}-bexpall'
14473         # It seems that -bexpall does not export symbols beginning with
14474         # underscore (_), so it is better to generate a list of symbols to
14475         # export.
14476         always_export_symbols_CXX=yes
14477         if test "$aix_use_runtimelinking" = yes; then
14478           # Warning - without using the other runtime loading flags (-brtl),
14479           # -berok will link without error, but may produce a broken library.
14480           allow_undefined_flag_CXX='-berok'
14481           # Determine the default libpath from the value encoded in an empty
14482           # executable.
14483           if test "${lt_cv_aix_libpath+set}" = set; then
14484   aix_libpath=$lt_cv_aix_libpath
14485 else
14486   if ${lt_cv_aix_libpath__CXX+:} false; then :
14487   $as_echo_n "(cached) " >&6
14488 else
14489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h.  */
14491
14492 int
14493 main ()
14494 {
14495
14496   ;
14497   return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501
14502   lt_aix_libpath_sed='
14503       /Import File Strings/,/^$/ {
14504           /^0/ {
14505               s/^0  *\([^ ]*\) *$/\1/
14506               p
14507           }
14508       }'
14509   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14510   # Check for a 64-bit object if we didn't find anything.
14511   if test -z "$lt_cv_aix_libpath__CXX"; then
14512     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14513   fi
14514 fi
14515 rm -f core conftest.err conftest.$ac_objext \
14516     conftest$ac_exeext conftest.$ac_ext
14517   if test -z "$lt_cv_aix_libpath__CXX"; then
14518     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14519   fi
14520
14521 fi
14522
14523   aix_libpath=$lt_cv_aix_libpath__CXX
14524 fi
14525
14526           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14527
14528           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14529         else
14530           if test "$host_cpu" = ia64; then
14531             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14532             allow_undefined_flag_CXX="-z nodefs"
14533             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14534           else
14535             # Determine the default libpath from the value encoded in an
14536             # empty executable.
14537             if test "${lt_cv_aix_libpath+set}" = set; then
14538   aix_libpath=$lt_cv_aix_libpath
14539 else
14540   if ${lt_cv_aix_libpath__CXX+:} false; then :
14541   $as_echo_n "(cached) " >&6
14542 else
14543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h.  */
14545
14546 int
14547 main ()
14548 {
14549
14550   ;
14551   return 0;
14552 }
14553 _ACEOF
14554 if ac_fn_cxx_try_link "$LINENO"; then :
14555
14556   lt_aix_libpath_sed='
14557       /Import File Strings/,/^$/ {
14558           /^0/ {
14559               s/^0  *\([^ ]*\) *$/\1/
14560               p
14561           }
14562       }'
14563   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14564   # Check for a 64-bit object if we didn't find anything.
14565   if test -z "$lt_cv_aix_libpath__CXX"; then
14566     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14567   fi
14568 fi
14569 rm -f core conftest.err conftest.$ac_objext \
14570     conftest$ac_exeext conftest.$ac_ext
14571   if test -z "$lt_cv_aix_libpath__CXX"; then
14572     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14573   fi
14574
14575 fi
14576
14577   aix_libpath=$lt_cv_aix_libpath__CXX
14578 fi
14579
14580             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14581             # Warning - without using the other run time loading flags,
14582             # -berok will link without error, but may produce a broken library.
14583             no_undefined_flag_CXX=' ${wl}-bernotok'
14584             allow_undefined_flag_CXX=' ${wl}-berok'
14585             if test "$with_gnu_ld" = yes; then
14586               # We only use this code for GNU lds that support --whole-archive.
14587               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14588             else
14589               # Exported symbols can be pulled into shared objects from archives
14590               whole_archive_flag_spec_CXX='$convenience'
14591             fi
14592             archive_cmds_need_lc_CXX=yes
14593             # This is similar to how AIX traditionally builds its shared
14594             # libraries.
14595             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14596           fi
14597         fi
14598         ;;
14599
14600       beos*)
14601         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14602           allow_undefined_flag_CXX=unsupported
14603           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14604           # support --undefined.  This deserves some investigation.  FIXME
14605           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14606         else
14607           ld_shlibs_CXX=no
14608         fi
14609         ;;
14610
14611       chorus*)
14612         case $cc_basename in
14613           *)
14614           # FIXME: insert proper C++ library support
14615           ld_shlibs_CXX=no
14616           ;;
14617         esac
14618         ;;
14619
14620       cygwin* | mingw* | pw32* | cegcc*)
14621         case $GXX,$cc_basename in
14622         ,cl* | no,cl*)
14623           # Native MSVC
14624           # hardcode_libdir_flag_spec is actually meaningless, as there is
14625           # no search path for DLLs.
14626           hardcode_libdir_flag_spec_CXX=' '
14627           allow_undefined_flag_CXX=unsupported
14628           always_export_symbols_CXX=yes
14629           file_list_spec_CXX='@'
14630           # Tell ltmain to make .lib files, not .a files.
14631           libext=lib
14632           # Tell ltmain to make .dll files, not .so files.
14633           shrext_cmds=".dll"
14634           # FIXME: Setting linknames here is a bad hack.
14635           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14636           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14637               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14638             else
14639               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14640             fi~
14641             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14642             linknames='
14643           # The linker will not automatically build a static lib if we build a DLL.
14644           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14645           enable_shared_with_static_runtimes_CXX=yes
14646           # Don't use ranlib
14647           old_postinstall_cmds_CXX='chmod 644 $oldlib'
14648           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14649             lt_tool_outputfile="@TOOL_OUTPUT@"~
14650             case $lt_outputfile in
14651               *.exe|*.EXE) ;;
14652               *)
14653                 lt_outputfile="$lt_outputfile.exe"
14654                 lt_tool_outputfile="$lt_tool_outputfile.exe"
14655                 ;;
14656             esac~
14657             func_to_tool_file "$lt_outputfile"~
14658             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14659               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14660               $RM "$lt_outputfile.manifest";
14661             fi'
14662           ;;
14663         *)
14664           # g++
14665           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14666           # as there is no search path for DLLs.
14667           hardcode_libdir_flag_spec_CXX='-L$libdir'
14668           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14669           allow_undefined_flag_CXX=unsupported
14670           always_export_symbols_CXX=no
14671           enable_shared_with_static_runtimes_CXX=yes
14672
14673           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14674             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14675             # If the export-symbols file already is a .def file (1st line
14676             # is EXPORTS), use it as is; otherwise, prepend...
14677             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14678               cp $export_symbols $output_objdir/$soname.def;
14679             else
14680               echo EXPORTS > $output_objdir/$soname.def;
14681               cat $export_symbols >> $output_objdir/$soname.def;
14682             fi~
14683             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14684           else
14685             ld_shlibs_CXX=no
14686           fi
14687           ;;
14688         esac
14689         ;;
14690       darwin* | rhapsody*)
14691
14692
14693   archive_cmds_need_lc_CXX=no
14694   hardcode_direct_CXX=no
14695   hardcode_automatic_CXX=yes
14696   hardcode_shlibpath_var_CXX=unsupported
14697   if test "$lt_cv_ld_force_load" = "yes"; then
14698     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14699
14700   else
14701     whole_archive_flag_spec_CXX=''
14702   fi
14703   link_all_deplibs_CXX=yes
14704   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14705   case $cc_basename in
14706      ifort*) _lt_dar_can_shared=yes ;;
14707      *) _lt_dar_can_shared=$GCC ;;
14708   esac
14709   if test "$_lt_dar_can_shared" = "yes"; then
14710     output_verbose_link_cmd=func_echo_all
14711     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14712     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14713     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14714     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14715        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14716       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14717       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14718     fi
14719
14720   else
14721   ld_shlibs_CXX=no
14722   fi
14723
14724         ;;
14725
14726       dgux*)
14727         case $cc_basename in
14728           ec++*)
14729             # FIXME: insert proper C++ library support
14730             ld_shlibs_CXX=no
14731             ;;
14732           ghcx*)
14733             # Green Hills C++ Compiler
14734             # FIXME: insert proper C++ library support
14735             ld_shlibs_CXX=no
14736             ;;
14737           *)
14738             # FIXME: insert proper C++ library support
14739             ld_shlibs_CXX=no
14740             ;;
14741         esac
14742         ;;
14743
14744       freebsd2.*)
14745         # C++ shared libraries reported to be fairly broken before
14746         # switch to ELF
14747         ld_shlibs_CXX=no
14748         ;;
14749
14750       freebsd-elf*)
14751         archive_cmds_need_lc_CXX=no
14752         ;;
14753
14754       freebsd* | dragonfly*)
14755         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14756         # conventions
14757         ld_shlibs_CXX=yes
14758         ;;
14759
14760       haiku*)
14761         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14762         link_all_deplibs_CXX=yes
14763         ;;
14764
14765       hpux9*)
14766         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14767         hardcode_libdir_separator_CXX=:
14768         export_dynamic_flag_spec_CXX='${wl}-E'
14769         hardcode_direct_CXX=yes
14770         hardcode_minus_L_CXX=yes # Not in the search PATH,
14771                                              # but as the default
14772                                              # location of the library.
14773
14774         case $cc_basename in
14775           CC*)
14776             # FIXME: insert proper C++ library support
14777             ld_shlibs_CXX=no
14778             ;;
14779           aCC*)
14780             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14781             # Commands to make compiler produce verbose output that lists
14782             # what "hidden" libraries, object files and flags are used when
14783             # linking a shared library.
14784             #
14785             # There doesn't appear to be a way to prevent this compiler from
14786             # explicitly linking system object files so we need to strip them
14787             # from the output so that they don't get included in the library
14788             # dependencies.
14789             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14790             ;;
14791           *)
14792             if test "$GXX" = yes; then
14793               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14794             else
14795               # FIXME: insert proper C++ library support
14796               ld_shlibs_CXX=no
14797             fi
14798             ;;
14799         esac
14800         ;;
14801
14802       hpux10*|hpux11*)
14803         if test $with_gnu_ld = no; then
14804           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14805           hardcode_libdir_separator_CXX=:
14806
14807           case $host_cpu in
14808             hppa*64*|ia64*)
14809               ;;
14810             *)
14811               export_dynamic_flag_spec_CXX='${wl}-E'
14812               ;;
14813           esac
14814         fi
14815         case $host_cpu in
14816           hppa*64*|ia64*)
14817             hardcode_direct_CXX=no
14818             hardcode_shlibpath_var_CXX=no
14819             ;;
14820           *)
14821             hardcode_direct_CXX=yes
14822             hardcode_direct_absolute_CXX=yes
14823             hardcode_minus_L_CXX=yes # Not in the search PATH,
14824                                                  # but as the default
14825                                                  # location of the library.
14826             ;;
14827         esac
14828
14829         case $cc_basename in
14830           CC*)
14831             # FIXME: insert proper C++ library support
14832             ld_shlibs_CXX=no
14833             ;;
14834           aCC*)
14835             case $host_cpu in
14836               hppa*64*)
14837                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14838                 ;;
14839               ia64*)
14840                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14841                 ;;
14842               *)
14843                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14844                 ;;
14845             esac
14846             # Commands to make compiler produce verbose output that lists
14847             # what "hidden" libraries, object files and flags are used when
14848             # linking a shared library.
14849             #
14850             # There doesn't appear to be a way to prevent this compiler from
14851             # explicitly linking system object files so we need to strip them
14852             # from the output so that they don't get included in the library
14853             # dependencies.
14854             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14855             ;;
14856           *)
14857             if test "$GXX" = yes; then
14858               if test $with_gnu_ld = no; then
14859                 case $host_cpu in
14860                   hppa*64*)
14861                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14862                     ;;
14863                   ia64*)
14864                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14865                     ;;
14866                   *)
14867                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14868                     ;;
14869                 esac
14870               fi
14871             else
14872               # FIXME: insert proper C++ library support
14873               ld_shlibs_CXX=no
14874             fi
14875             ;;
14876         esac
14877         ;;
14878
14879       interix[3-9]*)
14880         hardcode_direct_CXX=no
14881         hardcode_shlibpath_var_CXX=no
14882         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14883         export_dynamic_flag_spec_CXX='${wl}-E'
14884         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14885         # Instead, shared libraries are loaded at an image base (0x10000000 by
14886         # default) and relocated if they conflict, which is a slow very memory
14887         # consuming and fragmenting process.  To avoid this, we pick a random,
14888         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14889         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14890         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14891         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14892         ;;
14893       irix5* | irix6*)
14894         case $cc_basename in
14895           CC*)
14896             # SGI C++
14897             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14898
14899             # Archives containing C++ object files must be created using
14900             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14901             # necessary to make sure instantiated templates are included
14902             # in the archive.
14903             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14904             ;;
14905           *)
14906             if test "$GXX" = yes; then
14907               if test "$with_gnu_ld" = no; then
14908                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14909               else
14910                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14911               fi
14912             fi
14913             link_all_deplibs_CXX=yes
14914             ;;
14915         esac
14916         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14917         hardcode_libdir_separator_CXX=:
14918         inherit_rpath_CXX=yes
14919         ;;
14920
14921       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14922         case $cc_basename in
14923           KCC*)
14924             # Kuck and Associates, Inc. (KAI) C++ Compiler
14925
14926             # KCC will only create a shared library if the output file
14927             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14928             # to its proper name (with version) after linking.
14929             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14930             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14931             # Commands to make compiler produce verbose output that lists
14932             # what "hidden" libraries, object files and flags are used when
14933             # linking a shared library.
14934             #
14935             # There doesn't appear to be a way to prevent this compiler from
14936             # explicitly linking system object files so we need to strip them
14937             # from the output so that they don't get included in the library
14938             # dependencies.
14939             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14940
14941             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14942             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14943
14944             # Archives containing C++ object files must be created using
14945             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14946             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14947             ;;
14948           icpc* | ecpc* )
14949             # Intel C++
14950             with_gnu_ld=yes
14951             # version 8.0 and above of icpc choke on multiply defined symbols
14952             # if we add $predep_objects and $postdep_objects, however 7.1 and
14953             # earlier do not add the objects themselves.
14954             case `$CC -V 2>&1` in
14955               *"Version 7."*)
14956                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14957                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14958                 ;;
14959               *)  # Version 8.0 or newer
14960                 tmp_idyn=
14961                 case $host_cpu in
14962                   ia64*) tmp_idyn=' -i_dynamic';;
14963                 esac
14964                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14965                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14966                 ;;
14967             esac
14968             archive_cmds_need_lc_CXX=no
14969             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14970             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14971             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14972             ;;
14973           pgCC* | pgcpp*)
14974             # Portland Group C++ compiler
14975             case `$CC -V` in
14976             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14977               prelink_cmds_CXX='tpldir=Template.dir~
14978                 rm -rf $tpldir~
14979                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14980                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14981               old_archive_cmds_CXX='tpldir=Template.dir~
14982                 rm -rf $tpldir~
14983                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14984                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14985                 $RANLIB $oldlib'
14986               archive_cmds_CXX='tpldir=Template.dir~
14987                 rm -rf $tpldir~
14988                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14989                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14990               archive_expsym_cmds_CXX='tpldir=Template.dir~
14991                 rm -rf $tpldir~
14992                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14993                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14994               ;;
14995             *) # Version 6 and above use weak symbols
14996               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14997               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14998               ;;
14999             esac
15000
15001             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15002             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15003             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15004             ;;
15005           cxx*)
15006             # Compaq C++
15007             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15008             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15009
15010             runpath_var=LD_RUN_PATH
15011             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15012             hardcode_libdir_separator_CXX=:
15013
15014             # Commands to make compiler produce verbose output that lists
15015             # what "hidden" libraries, object files and flags are used when
15016             # linking a shared library.
15017             #
15018             # There doesn't appear to be a way to prevent this compiler from
15019             # explicitly linking system object files so we need to strip them
15020             # from the output so that they don't get included in the library
15021             # dependencies.
15022             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15023             ;;
15024           xl* | mpixl* | bgxl*)
15025             # IBM XL 8.0 on PPC, with GNU ld
15026             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15027             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15028             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15029             if test "x$supports_anon_versioning" = xyes; then
15030               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15031                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15032                 echo "local: *; };" >> $output_objdir/$libname.ver~
15033                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15034             fi
15035             ;;
15036           *)
15037             case `$CC -V 2>&1 | sed 5q` in
15038             *Sun\ C*)
15039               # Sun C++ 5.9
15040               no_undefined_flag_CXX=' -zdefs'
15041               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15042               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15043               hardcode_libdir_flag_spec_CXX='-R$libdir'
15044               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15045               compiler_needs_object_CXX=yes
15046
15047               # Not sure whether something based on
15048               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15049               # would be better.
15050               output_verbose_link_cmd='func_echo_all'
15051
15052               # Archives containing C++ object files must be created using
15053               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15054               # necessary to make sure instantiated templates are included
15055               # in the archive.
15056               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15057               ;;
15058             esac
15059             ;;
15060         esac
15061         ;;
15062
15063       lynxos*)
15064         # FIXME: insert proper C++ library support
15065         ld_shlibs_CXX=no
15066         ;;
15067
15068       m88k*)
15069         # FIXME: insert proper C++ library support
15070         ld_shlibs_CXX=no
15071         ;;
15072
15073       mvs*)
15074         case $cc_basename in
15075           cxx*)
15076             # FIXME: insert proper C++ library support
15077             ld_shlibs_CXX=no
15078             ;;
15079           *)
15080             # FIXME: insert proper C++ library support
15081             ld_shlibs_CXX=no
15082             ;;
15083         esac
15084         ;;
15085
15086       netbsd*)
15087         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15088           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15089           wlarc=
15090           hardcode_libdir_flag_spec_CXX='-R$libdir'
15091           hardcode_direct_CXX=yes
15092           hardcode_shlibpath_var_CXX=no
15093         fi
15094         # Workaround some broken pre-1.5 toolchains
15095         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15096         ;;
15097
15098       *nto* | *qnx*)
15099         ld_shlibs_CXX=yes
15100         ;;
15101
15102       openbsd2*)
15103         # C++ shared libraries are fairly broken
15104         ld_shlibs_CXX=no
15105         ;;
15106
15107       openbsd*)
15108         if test -f /usr/libexec/ld.so; then
15109           hardcode_direct_CXX=yes
15110           hardcode_shlibpath_var_CXX=no
15111           hardcode_direct_absolute_CXX=yes
15112           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15113           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15114           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15115             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15116             export_dynamic_flag_spec_CXX='${wl}-E'
15117             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15118           fi
15119           output_verbose_link_cmd=func_echo_all
15120         else
15121           ld_shlibs_CXX=no
15122         fi
15123         ;;
15124
15125       osf3* | osf4* | osf5*)
15126         case $cc_basename in
15127           KCC*)
15128             # Kuck and Associates, Inc. (KAI) C++ Compiler
15129
15130             # KCC will only create a shared library if the output file
15131             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15132             # to its proper name (with version) after linking.
15133             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15134
15135             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15136             hardcode_libdir_separator_CXX=:
15137
15138             # Archives containing C++ object files must be created using
15139             # the KAI C++ compiler.
15140             case $host in
15141               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15142               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15143             esac
15144             ;;
15145           RCC*)
15146             # Rational C++ 2.4.1
15147             # FIXME: insert proper C++ library support
15148             ld_shlibs_CXX=no
15149             ;;
15150           cxx*)
15151             case $host in
15152               osf3*)
15153                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15154                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15155                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15156                 ;;
15157               *)
15158                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15159                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15160                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15161                   echo "-hidden">> $lib.exp~
15162                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15163                   $RM $lib.exp'
15164                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15165                 ;;
15166             esac
15167
15168             hardcode_libdir_separator_CXX=:
15169
15170             # Commands to make compiler produce verbose output that lists
15171             # what "hidden" libraries, object files and flags are used when
15172             # linking a shared library.
15173             #
15174             # There doesn't appear to be a way to prevent this compiler from
15175             # explicitly linking system object files so we need to strip them
15176             # from the output so that they don't get included in the library
15177             # dependencies.
15178             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15179             ;;
15180           *)
15181             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15182               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15183               case $host in
15184                 osf3*)
15185                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15186                   ;;
15187                 *)
15188                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15189                   ;;
15190               esac
15191
15192               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15193               hardcode_libdir_separator_CXX=:
15194
15195               # Commands to make compiler produce verbose output that lists
15196               # what "hidden" libraries, object files and flags are used when
15197               # linking a shared library.
15198               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15199
15200             else
15201               # FIXME: insert proper C++ library support
15202               ld_shlibs_CXX=no
15203             fi
15204             ;;
15205         esac
15206         ;;
15207
15208       psos*)
15209         # FIXME: insert proper C++ library support
15210         ld_shlibs_CXX=no
15211         ;;
15212
15213       sunos4*)
15214         case $cc_basename in
15215           CC*)
15216             # Sun C++ 4.x
15217             # FIXME: insert proper C++ library support
15218             ld_shlibs_CXX=no
15219             ;;
15220           lcc*)
15221             # Lucid
15222             # FIXME: insert proper C++ library support
15223             ld_shlibs_CXX=no
15224             ;;
15225           *)
15226             # FIXME: insert proper C++ library support
15227             ld_shlibs_CXX=no
15228             ;;
15229         esac
15230         ;;
15231
15232       solaris*)
15233         case $cc_basename in
15234           CC* | sunCC*)
15235             # Sun C++ 4.2, 5.x and Centerline C++
15236             archive_cmds_need_lc_CXX=yes
15237             no_undefined_flag_CXX=' -zdefs'
15238             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15239             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15240               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15241
15242             hardcode_libdir_flag_spec_CXX='-R$libdir'
15243             hardcode_shlibpath_var_CXX=no
15244             case $host_os in
15245               solaris2.[0-5] | solaris2.[0-5].*) ;;
15246               *)
15247                 # The compiler driver will combine and reorder linker options,
15248                 # but understands `-z linker_flag'.
15249                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15250                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15251                 ;;
15252             esac
15253             link_all_deplibs_CXX=yes
15254
15255             output_verbose_link_cmd='func_echo_all'
15256
15257             # Archives containing C++ object files must be created using
15258             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15259             # necessary to make sure instantiated templates are included
15260             # in the archive.
15261             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15262             ;;
15263           gcx*)
15264             # Green Hills C++ Compiler
15265             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15266
15267             # The C++ compiler must be used to create the archive.
15268             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15269             ;;
15270           *)
15271             # GNU C++ compiler with Solaris linker
15272             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15273               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15274               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15275                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15276                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15277                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15278
15279                 # Commands to make compiler produce verbose output that lists
15280                 # what "hidden" libraries, object files and flags are used when
15281                 # linking a shared library.
15282                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15283               else
15284                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15285                 # platform.
15286                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15287                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15288                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15289
15290                 # Commands to make compiler produce verbose output that lists
15291                 # what "hidden" libraries, object files and flags are used when
15292                 # linking a shared library.
15293                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15294               fi
15295
15296               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15297               case $host_os in
15298                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15299                 *)
15300                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15301                   ;;
15302               esac
15303             fi
15304             ;;
15305         esac
15306         ;;
15307
15308     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15309       no_undefined_flag_CXX='${wl}-z,text'
15310       archive_cmds_need_lc_CXX=no
15311       hardcode_shlibpath_var_CXX=no
15312       runpath_var='LD_RUN_PATH'
15313
15314       case $cc_basename in
15315         CC*)
15316           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15317           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15318           ;;
15319         *)
15320           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15321           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15322           ;;
15323       esac
15324       ;;
15325
15326       sysv5* | sco3.2v5* | sco5v6*)
15327         # Note: We can NOT use -z defs as we might desire, because we do not
15328         # link with -lc, and that would cause any symbols used from libc to
15329         # always be unresolved, which means just about no library would
15330         # ever link correctly.  If we're not using GNU ld we use -z text
15331         # though, which does catch some bad symbols but isn't as heavy-handed
15332         # as -z defs.
15333         no_undefined_flag_CXX='${wl}-z,text'
15334         allow_undefined_flag_CXX='${wl}-z,nodefs'
15335         archive_cmds_need_lc_CXX=no
15336         hardcode_shlibpath_var_CXX=no
15337         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15338         hardcode_libdir_separator_CXX=':'
15339         link_all_deplibs_CXX=yes
15340         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15341         runpath_var='LD_RUN_PATH'
15342
15343         case $cc_basename in
15344           CC*)
15345             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15346             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15347             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15348               '"$old_archive_cmds_CXX"
15349             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15350               '"$reload_cmds_CXX"
15351             ;;
15352           *)
15353             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15354             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15355             ;;
15356         esac
15357       ;;
15358
15359       tandem*)
15360         case $cc_basename in
15361           NCC*)
15362             # NonStop-UX NCC 3.20
15363             # FIXME: insert proper C++ library support
15364             ld_shlibs_CXX=no
15365             ;;
15366           *)
15367             # FIXME: insert proper C++ library support
15368             ld_shlibs_CXX=no
15369             ;;
15370         esac
15371         ;;
15372
15373       vxworks*)
15374         # FIXME: insert proper C++ library support
15375         ld_shlibs_CXX=no
15376         ;;
15377
15378       *)
15379         # FIXME: insert proper C++ library support
15380         ld_shlibs_CXX=no
15381         ;;
15382     esac
15383
15384     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15385 $as_echo "$ld_shlibs_CXX" >&6; }
15386     test "$ld_shlibs_CXX" = no && can_build_shared=no
15387
15388     GCC_CXX="$GXX"
15389     LD_CXX="$LD"
15390
15391     ## CAVEAT EMPTOR:
15392     ## There is no encapsulation within the following macros, do not change
15393     ## the running order or otherwise move them around unless you know exactly
15394     ## what you are doing...
15395     # Dependencies to place before and after the object being linked:
15396 predep_objects_CXX=
15397 postdep_objects_CXX=
15398 predeps_CXX=
15399 postdeps_CXX=
15400 compiler_lib_search_path_CXX=
15401
15402 cat > conftest.$ac_ext <<_LT_EOF
15403 class Foo
15404 {
15405 public:
15406   Foo (void) { a = 0; }
15407 private:
15408   int a;
15409 };
15410 _LT_EOF
15411
15412
15413 _lt_libdeps_save_CFLAGS=$CFLAGS
15414 case "$CC $CFLAGS " in #(
15415 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15416 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15417 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15418 esac
15419
15420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15421   (eval $ac_compile) 2>&5
15422   ac_status=$?
15423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15424   test $ac_status = 0; }; then
15425   # Parse the compiler output and extract the necessary
15426   # objects, libraries and library flags.
15427
15428   # Sentinel used to keep track of whether or not we are before
15429   # the conftest object file.
15430   pre_test_object_deps_done=no
15431
15432   for p in `eval "$output_verbose_link_cmd"`; do
15433     case ${prev}${p} in
15434
15435     -L* | -R* | -l*)
15436        # Some compilers place space between "-{L,R}" and the path.
15437        # Remove the space.
15438        if test $p = "-L" ||
15439           test $p = "-R"; then
15440          prev=$p
15441          continue
15442        fi
15443
15444        # Expand the sysroot to ease extracting the directories later.
15445        if test -z "$prev"; then
15446          case $p in
15447          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15448          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15449          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15450          esac
15451        fi
15452        case $p in
15453        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15454        esac
15455        if test "$pre_test_object_deps_done" = no; then
15456          case ${prev} in
15457          -L | -R)
15458            # Internal compiler library paths should come after those
15459            # provided the user.  The postdeps already come after the
15460            # user supplied libs so there is no need to process them.
15461            if test -z "$compiler_lib_search_path_CXX"; then
15462              compiler_lib_search_path_CXX="${prev}${p}"
15463            else
15464              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15465            fi
15466            ;;
15467          # The "-l" case would never come before the object being
15468          # linked, so don't bother handling this case.
15469          esac
15470        else
15471          if test -z "$postdeps_CXX"; then
15472            postdeps_CXX="${prev}${p}"
15473          else
15474            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15475          fi
15476        fi
15477        prev=
15478        ;;
15479
15480     *.lto.$objext) ;; # Ignore GCC LTO objects
15481     *.$objext)
15482        # This assumes that the test object file only shows up
15483        # once in the compiler output.
15484        if test "$p" = "conftest.$objext"; then
15485          pre_test_object_deps_done=yes
15486          continue
15487        fi
15488
15489        if test "$pre_test_object_deps_done" = no; then
15490          if test -z "$predep_objects_CXX"; then
15491            predep_objects_CXX="$p"
15492          else
15493            predep_objects_CXX="$predep_objects_CXX $p"
15494          fi
15495        else
15496          if test -z "$postdep_objects_CXX"; then
15497            postdep_objects_CXX="$p"
15498          else
15499            postdep_objects_CXX="$postdep_objects_CXX $p"
15500          fi
15501        fi
15502        ;;
15503
15504     *) ;; # Ignore the rest.
15505
15506     esac
15507   done
15508
15509   # Clean up.
15510   rm -f a.out a.exe
15511 else
15512   echo "libtool.m4: error: problem compiling CXX test program"
15513 fi
15514
15515 $RM -f confest.$objext
15516 CFLAGS=$_lt_libdeps_save_CFLAGS
15517
15518 # PORTME: override above test on systems where it is broken
15519 case $host_os in
15520 interix[3-9]*)
15521   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15522   # hack all around it, let's just trust "g++" to DTRT.
15523   predep_objects_CXX=
15524   postdep_objects_CXX=
15525   postdeps_CXX=
15526   ;;
15527
15528 linux*)
15529   case `$CC -V 2>&1 | sed 5q` in
15530   *Sun\ C*)
15531     # Sun C++ 5.9
15532
15533     # The more standards-conforming stlport4 library is
15534     # incompatible with the Cstd library. Avoid specifying
15535     # it if it's in CXXFLAGS. Ignore libCrun as
15536     # -library=stlport4 depends on it.
15537     case " $CXX $CXXFLAGS " in
15538     *" -library=stlport4 "*)
15539       solaris_use_stlport4=yes
15540       ;;
15541     esac
15542
15543     if test "$solaris_use_stlport4" != yes; then
15544       postdeps_CXX='-library=Cstd -library=Crun'
15545     fi
15546     ;;
15547   esac
15548   ;;
15549
15550 solaris*)
15551   case $cc_basename in
15552   CC* | sunCC*)
15553     # The more standards-conforming stlport4 library is
15554     # incompatible with the Cstd library. Avoid specifying
15555     # it if it's in CXXFLAGS. Ignore libCrun as
15556     # -library=stlport4 depends on it.
15557     case " $CXX $CXXFLAGS " in
15558     *" -library=stlport4 "*)
15559       solaris_use_stlport4=yes
15560       ;;
15561     esac
15562
15563     # Adding this requires a known-good setup of shared libraries for
15564     # Sun compiler versions before 5.6, else PIC objects from an old
15565     # archive will be linked into the output, leading to subtle bugs.
15566     if test "$solaris_use_stlport4" != yes; then
15567       postdeps_CXX='-library=Cstd -library=Crun'
15568     fi
15569     ;;
15570   esac
15571   ;;
15572 esac
15573
15574
15575 case " $postdeps_CXX " in
15576 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15577 esac
15578  compiler_lib_search_dirs_CXX=
15579 if test -n "${compiler_lib_search_path_CXX}"; then
15580  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15581 fi
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613     lt_prog_compiler_wl_CXX=
15614 lt_prog_compiler_pic_CXX=
15615 lt_prog_compiler_static_CXX=
15616
15617
15618   # C++ specific cases for pic, static, wl, etc.
15619   if test "$GXX" = yes; then
15620     lt_prog_compiler_wl_CXX='-Wl,'
15621     lt_prog_compiler_static_CXX='-static'
15622
15623     case $host_os in
15624     aix*)
15625       # All AIX code is PIC.
15626       if test "$host_cpu" = ia64; then
15627         # AIX 5 now supports IA64 processor
15628         lt_prog_compiler_static_CXX='-Bstatic'
15629       fi
15630       ;;
15631
15632     amigaos*)
15633       case $host_cpu in
15634       powerpc)
15635             # see comment about AmigaOS4 .so support
15636             lt_prog_compiler_pic_CXX='-fPIC'
15637         ;;
15638       m68k)
15639             # FIXME: we need at least 68020 code to build shared libraries, but
15640             # adding the `-m68020' flag to GCC prevents building anything better,
15641             # like `-m68040'.
15642             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15643         ;;
15644       esac
15645       ;;
15646
15647     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15648       # PIC is the default for these OSes.
15649       ;;
15650     mingw* | cygwin* | os2* | pw32* | cegcc*)
15651       # This hack is so that the source file can tell whether it is being
15652       # built for inclusion in a dll (and should export symbols for example).
15653       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15654       # (--disable-auto-import) libraries
15655       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15656       ;;
15657     darwin* | rhapsody*)
15658       # PIC is the default on this platform
15659       # Common symbols not allowed in MH_DYLIB files
15660       lt_prog_compiler_pic_CXX='-fno-common'
15661       ;;
15662     *djgpp*)
15663       # DJGPP does not support shared libraries at all
15664       lt_prog_compiler_pic_CXX=
15665       ;;
15666     haiku*)
15667       # PIC is the default for Haiku.
15668       # The "-static" flag exists, but is broken.
15669       lt_prog_compiler_static_CXX=
15670       ;;
15671     interix[3-9]*)
15672       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15673       # Instead, we relocate shared libraries at runtime.
15674       ;;
15675     sysv4*MP*)
15676       if test -d /usr/nec; then
15677         lt_prog_compiler_pic_CXX=-Kconform_pic
15678       fi
15679       ;;
15680     hpux*)
15681       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15682       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15683       # sets the default TLS model and affects inlining.
15684       case $host_cpu in
15685       hppa*64*)
15686         ;;
15687       *)
15688         lt_prog_compiler_pic_CXX='-fPIC'
15689         ;;
15690       esac
15691       ;;
15692     *qnx* | *nto*)
15693       # QNX uses GNU C++, but need to define -shared option too, otherwise
15694       # it will coredump.
15695       lt_prog_compiler_pic_CXX='-fPIC -shared'
15696       ;;
15697     *)
15698       lt_prog_compiler_pic_CXX='-fPIC'
15699       ;;
15700     esac
15701   else
15702     case $host_os in
15703       aix[4-9]*)
15704         # All AIX code is PIC.
15705         if test "$host_cpu" = ia64; then
15706           # AIX 5 now supports IA64 processor
15707           lt_prog_compiler_static_CXX='-Bstatic'
15708         else
15709           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15710         fi
15711         ;;
15712       chorus*)
15713         case $cc_basename in
15714         cxch68*)
15715           # Green Hills C++ Compiler
15716           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15717           ;;
15718         esac
15719         ;;
15720       mingw* | cygwin* | os2* | pw32* | cegcc*)
15721         # This hack is so that the source file can tell whether it is being
15722         # built for inclusion in a dll (and should export symbols for example).
15723         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15724         ;;
15725       dgux*)
15726         case $cc_basename in
15727           ec++*)
15728             lt_prog_compiler_pic_CXX='-KPIC'
15729             ;;
15730           ghcx*)
15731             # Green Hills C++ Compiler
15732             lt_prog_compiler_pic_CXX='-pic'
15733             ;;
15734           *)
15735             ;;
15736         esac
15737         ;;
15738       freebsd* | dragonfly*)
15739         # FreeBSD uses GNU C++
15740         ;;
15741       hpux9* | hpux10* | hpux11*)
15742         case $cc_basename in
15743           CC*)
15744             lt_prog_compiler_wl_CXX='-Wl,'
15745             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15746             if test "$host_cpu" != ia64; then
15747               lt_prog_compiler_pic_CXX='+Z'
15748             fi
15749             ;;
15750           aCC*)
15751             lt_prog_compiler_wl_CXX='-Wl,'
15752             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15753             case $host_cpu in
15754             hppa*64*|ia64*)
15755               # +Z the default
15756               ;;
15757             *)
15758               lt_prog_compiler_pic_CXX='+Z'
15759               ;;
15760             esac
15761             ;;
15762           *)
15763             ;;
15764         esac
15765         ;;
15766       interix*)
15767         # This is c89, which is MS Visual C++ (no shared libs)
15768         # Anyone wants to do a port?
15769         ;;
15770       irix5* | irix6* | nonstopux*)
15771         case $cc_basename in
15772           CC*)
15773             lt_prog_compiler_wl_CXX='-Wl,'
15774             lt_prog_compiler_static_CXX='-non_shared'
15775             # CC pic flag -KPIC is the default.
15776             ;;
15777           *)
15778             ;;
15779         esac
15780         ;;
15781       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15782         case $cc_basename in
15783           KCC*)
15784             # KAI C++ Compiler
15785             lt_prog_compiler_wl_CXX='--backend -Wl,'
15786             lt_prog_compiler_pic_CXX='-fPIC'
15787             ;;
15788           ecpc* )
15789             # old Intel C++ for x86_64 which still supported -KPIC.
15790             lt_prog_compiler_wl_CXX='-Wl,'
15791             lt_prog_compiler_pic_CXX='-KPIC'
15792             lt_prog_compiler_static_CXX='-static'
15793             ;;
15794           icpc* )
15795             # Intel C++, used to be incompatible with GCC.
15796             # ICC 10 doesn't accept -KPIC any more.
15797             lt_prog_compiler_wl_CXX='-Wl,'
15798             lt_prog_compiler_pic_CXX='-fPIC'
15799             lt_prog_compiler_static_CXX='-static'
15800             ;;
15801           pgCC* | pgcpp*)
15802             # Portland Group C++ compiler
15803             lt_prog_compiler_wl_CXX='-Wl,'
15804             lt_prog_compiler_pic_CXX='-fpic'
15805             lt_prog_compiler_static_CXX='-Bstatic'
15806             ;;
15807           cxx*)
15808             # Compaq C++
15809             # Make sure the PIC flag is empty.  It appears that all Alpha
15810             # Linux and Compaq Tru64 Unix objects are PIC.
15811             lt_prog_compiler_pic_CXX=
15812             lt_prog_compiler_static_CXX='-non_shared'
15813             ;;
15814           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15815             # IBM XL 8.0, 9.0 on PPC and BlueGene
15816             lt_prog_compiler_wl_CXX='-Wl,'
15817             lt_prog_compiler_pic_CXX='-qpic'
15818             lt_prog_compiler_static_CXX='-qstaticlink'
15819             ;;
15820           *)
15821             case `$CC -V 2>&1 | sed 5q` in
15822             *Sun\ C*)
15823               # Sun C++ 5.9
15824               lt_prog_compiler_pic_CXX='-KPIC'
15825               lt_prog_compiler_static_CXX='-Bstatic'
15826               lt_prog_compiler_wl_CXX='-Qoption ld '
15827               ;;
15828             esac
15829             ;;
15830         esac
15831         ;;
15832       lynxos*)
15833         ;;
15834       m88k*)
15835         ;;
15836       mvs*)
15837         case $cc_basename in
15838           cxx*)
15839             lt_prog_compiler_pic_CXX='-W c,exportall'
15840             ;;
15841           *)
15842             ;;
15843         esac
15844         ;;
15845       netbsd* | netbsdelf*-gnu)
15846         ;;
15847       *qnx* | *nto*)
15848         # QNX uses GNU C++, but need to define -shared option too, otherwise
15849         # it will coredump.
15850         lt_prog_compiler_pic_CXX='-fPIC -shared'
15851         ;;
15852       osf3* | osf4* | osf5*)
15853         case $cc_basename in
15854           KCC*)
15855             lt_prog_compiler_wl_CXX='--backend -Wl,'
15856             ;;
15857           RCC*)
15858             # Rational C++ 2.4.1
15859             lt_prog_compiler_pic_CXX='-pic'
15860             ;;
15861           cxx*)
15862             # Digital/Compaq C++
15863             lt_prog_compiler_wl_CXX='-Wl,'
15864             # Make sure the PIC flag is empty.  It appears that all Alpha
15865             # Linux and Compaq Tru64 Unix objects are PIC.
15866             lt_prog_compiler_pic_CXX=
15867             lt_prog_compiler_static_CXX='-non_shared'
15868             ;;
15869           *)
15870             ;;
15871         esac
15872         ;;
15873       psos*)
15874         ;;
15875       solaris*)
15876         case $cc_basename in
15877           CC* | sunCC*)
15878             # Sun C++ 4.2, 5.x and Centerline C++
15879             lt_prog_compiler_pic_CXX='-KPIC'
15880             lt_prog_compiler_static_CXX='-Bstatic'
15881             lt_prog_compiler_wl_CXX='-Qoption ld '
15882             ;;
15883           gcx*)
15884             # Green Hills C++ Compiler
15885             lt_prog_compiler_pic_CXX='-PIC'
15886             ;;
15887           *)
15888             ;;
15889         esac
15890         ;;
15891       sunos4*)
15892         case $cc_basename in
15893           CC*)
15894             # Sun C++ 4.x
15895             lt_prog_compiler_pic_CXX='-pic'
15896             lt_prog_compiler_static_CXX='-Bstatic'
15897             ;;
15898           lcc*)
15899             # Lucid
15900             lt_prog_compiler_pic_CXX='-pic'
15901             ;;
15902           *)
15903             ;;
15904         esac
15905         ;;
15906       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15907         case $cc_basename in
15908           CC*)
15909             lt_prog_compiler_wl_CXX='-Wl,'
15910             lt_prog_compiler_pic_CXX='-KPIC'
15911             lt_prog_compiler_static_CXX='-Bstatic'
15912             ;;
15913         esac
15914         ;;
15915       tandem*)
15916         case $cc_basename in
15917           NCC*)
15918             # NonStop-UX NCC 3.20
15919             lt_prog_compiler_pic_CXX='-KPIC'
15920             ;;
15921           *)
15922             ;;
15923         esac
15924         ;;
15925       vxworks*)
15926         ;;
15927       *)
15928         lt_prog_compiler_can_build_shared_CXX=no
15929         ;;
15930     esac
15931   fi
15932
15933 case $host_os in
15934   # For platforms which do not support PIC, -DPIC is meaningless:
15935   *djgpp*)
15936     lt_prog_compiler_pic_CXX=
15937     ;;
15938   *)
15939     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15940     ;;
15941 esac
15942
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15944 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15945 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15946   $as_echo_n "(cached) " >&6
15947 else
15948   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15949 fi
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15951 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15952 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15953
15954 #
15955 # Check to make sure the PIC flag actually works.
15956 #
15957 if test -n "$lt_prog_compiler_pic_CXX"; then
15958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15959 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15960 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15961   $as_echo_n "(cached) " >&6
15962 else
15963   lt_cv_prog_compiler_pic_works_CXX=no
15964    ac_outfile=conftest.$ac_objext
15965    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15966    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15967    # Insert the option either (1) after the last *FLAGS variable, or
15968    # (2) before a word containing "conftest.", or (3) at the end.
15969    # Note that $ac_compile itself does not contain backslashes and begins
15970    # with a dollar sign (not a hyphen), so the echo should work correctly.
15971    # The option is referenced via a variable to avoid confusing sed.
15972    lt_compile=`echo "$ac_compile" | $SED \
15973    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15974    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15975    -e 's:$: $lt_compiler_flag:'`
15976    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15977    (eval "$lt_compile" 2>conftest.err)
15978    ac_status=$?
15979    cat conftest.err >&5
15980    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981    if (exit $ac_status) && test -s "$ac_outfile"; then
15982      # The compiler can only warn and ignore the option if not recognized
15983      # So say no if there are warnings other than the usual output.
15984      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15985      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15986      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15987        lt_cv_prog_compiler_pic_works_CXX=yes
15988      fi
15989    fi
15990    $RM conftest*
15991
15992 fi
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15994 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15995
15996 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15997     case $lt_prog_compiler_pic_CXX in
15998      "" | " "*) ;;
15999      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16000      esac
16001 else
16002     lt_prog_compiler_pic_CXX=
16003      lt_prog_compiler_can_build_shared_CXX=no
16004 fi
16005
16006 fi
16007
16008
16009
16010
16011
16012 #
16013 # Check to make sure the static flag actually works.
16014 #
16015 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16017 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16018 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16019   $as_echo_n "(cached) " >&6
16020 else
16021   lt_cv_prog_compiler_static_works_CXX=no
16022    save_LDFLAGS="$LDFLAGS"
16023    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16024    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16025    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16026      # The linker can only warn and ignore the option if not recognized
16027      # So say no if there are warnings
16028      if test -s conftest.err; then
16029        # Append any errors to the config.log.
16030        cat conftest.err 1>&5
16031        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16032        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16033        if diff conftest.exp conftest.er2 >/dev/null; then
16034          lt_cv_prog_compiler_static_works_CXX=yes
16035        fi
16036      else
16037        lt_cv_prog_compiler_static_works_CXX=yes
16038      fi
16039    fi
16040    $RM -r conftest*
16041    LDFLAGS="$save_LDFLAGS"
16042
16043 fi
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16045 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16046
16047 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16048     :
16049 else
16050     lt_prog_compiler_static_CXX=
16051 fi
16052
16053
16054
16055
16056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16057 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16058 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16059   $as_echo_n "(cached) " >&6
16060 else
16061   lt_cv_prog_compiler_c_o_CXX=no
16062    $RM -r conftest 2>/dev/null
16063    mkdir conftest
16064    cd conftest
16065    mkdir out
16066    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16067
16068    lt_compiler_flag="-o out/conftest2.$ac_objext"
16069    # Insert the option either (1) after the last *FLAGS variable, or
16070    # (2) before a word containing "conftest.", or (3) at the end.
16071    # Note that $ac_compile itself does not contain backslashes and begins
16072    # with a dollar sign (not a hyphen), so the echo should work correctly.
16073    lt_compile=`echo "$ac_compile" | $SED \
16074    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16075    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16076    -e 's:$: $lt_compiler_flag:'`
16077    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16078    (eval "$lt_compile" 2>out/conftest.err)
16079    ac_status=$?
16080    cat out/conftest.err >&5
16081    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16083    then
16084      # The compiler can only warn and ignore the option if not recognized
16085      # So say no if there are warnings
16086      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16087      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16088      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16089        lt_cv_prog_compiler_c_o_CXX=yes
16090      fi
16091    fi
16092    chmod u+w . 2>&5
16093    $RM conftest*
16094    # SGI C++ compiler will create directory out/ii_files/ for
16095    # template instantiation
16096    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16097    $RM out/* && rmdir out
16098    cd ..
16099    $RM -r conftest
16100    $RM conftest*
16101
16102 fi
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16104 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16105
16106
16107
16108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16109 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16110 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16111   $as_echo_n "(cached) " >&6
16112 else
16113   lt_cv_prog_compiler_c_o_CXX=no
16114    $RM -r conftest 2>/dev/null
16115    mkdir conftest
16116    cd conftest
16117    mkdir out
16118    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16119
16120    lt_compiler_flag="-o out/conftest2.$ac_objext"
16121    # Insert the option either (1) after the last *FLAGS variable, or
16122    # (2) before a word containing "conftest.", or (3) at the end.
16123    # Note that $ac_compile itself does not contain backslashes and begins
16124    # with a dollar sign (not a hyphen), so the echo should work correctly.
16125    lt_compile=`echo "$ac_compile" | $SED \
16126    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16127    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16128    -e 's:$: $lt_compiler_flag:'`
16129    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16130    (eval "$lt_compile" 2>out/conftest.err)
16131    ac_status=$?
16132    cat out/conftest.err >&5
16133    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16135    then
16136      # The compiler can only warn and ignore the option if not recognized
16137      # So say no if there are warnings
16138      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16139      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16140      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16141        lt_cv_prog_compiler_c_o_CXX=yes
16142      fi
16143    fi
16144    chmod u+w . 2>&5
16145    $RM conftest*
16146    # SGI C++ compiler will create directory out/ii_files/ for
16147    # template instantiation
16148    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16149    $RM out/* && rmdir out
16150    cd ..
16151    $RM -r conftest
16152    $RM conftest*
16153
16154 fi
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16156 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16157
16158
16159
16160
16161 hard_links="nottested"
16162 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16163   # do not overwrite the value of need_locks provided by the user
16164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16165 $as_echo_n "checking if we can lock with hard links... " >&6; }
16166   hard_links=yes
16167   $RM conftest*
16168   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16169   touch conftest.a
16170   ln conftest.a conftest.b 2>&5 || hard_links=no
16171   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16173 $as_echo "$hard_links" >&6; }
16174   if test "$hard_links" = no; then
16175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16176 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16177     need_locks=warn
16178   fi
16179 else
16180   need_locks=no
16181 fi
16182
16183
16184
16185     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16186 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16187
16188   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16189   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16190   case $host_os in
16191   aix[4-9]*)
16192     # If we're using GNU nm, then we don't want the "-C" option.
16193     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16194     # Also, AIX nm treats weak defined symbols like other global defined
16195     # symbols, whereas GNU nm marks them as "W".
16196     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16197       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16198     else
16199       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16200     fi
16201     ;;
16202   pw32*)
16203     export_symbols_cmds_CXX="$ltdll_cmds"
16204     ;;
16205   cygwin* | mingw* | cegcc*)
16206     case $cc_basename in
16207     cl*)
16208       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16209       ;;
16210     *)
16211       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16212       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16213       ;;
16214     esac
16215     ;;
16216   linux* | k*bsd*-gnu | gnu*)
16217     link_all_deplibs_CXX=no
16218     ;;
16219   *)
16220     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16221     ;;
16222   esac
16223
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16225 $as_echo "$ld_shlibs_CXX" >&6; }
16226 test "$ld_shlibs_CXX" = no && can_build_shared=no
16227
16228 with_gnu_ld_CXX=$with_gnu_ld
16229
16230
16231
16232
16233
16234
16235 #
16236 # Do we need to explicitly link libc?
16237 #
16238 case "x$archive_cmds_need_lc_CXX" in
16239 x|xyes)
16240   # Assume -lc should be added
16241   archive_cmds_need_lc_CXX=yes
16242
16243   if test "$enable_shared" = yes && test "$GCC" = yes; then
16244     case $archive_cmds_CXX in
16245     *'~'*)
16246       # FIXME: we may have to deal with multi-command sequences.
16247       ;;
16248     '$CC '*)
16249       # Test whether the compiler implicitly links with -lc since on some
16250       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16251       # to ld, don't add -lc before -lgcc.
16252       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16253 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16254 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16255   $as_echo_n "(cached) " >&6
16256 else
16257   $RM conftest*
16258         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16259
16260         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16261   (eval $ac_compile) 2>&5
16262   ac_status=$?
16263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16264   test $ac_status = 0; } 2>conftest.err; then
16265           soname=conftest
16266           lib=conftest
16267           libobjs=conftest.$ac_objext
16268           deplibs=
16269           wl=$lt_prog_compiler_wl_CXX
16270           pic_flag=$lt_prog_compiler_pic_CXX
16271           compiler_flags=-v
16272           linker_flags=-v
16273           verstring=
16274           output_objdir=.
16275           libname=conftest
16276           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16277           allow_undefined_flag_CXX=
16278           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16279   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16280   ac_status=$?
16281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16282   test $ac_status = 0; }
16283           then
16284             lt_cv_archive_cmds_need_lc_CXX=no
16285           else
16286             lt_cv_archive_cmds_need_lc_CXX=yes
16287           fi
16288           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16289         else
16290           cat conftest.err 1>&5
16291         fi
16292         $RM conftest*
16293
16294 fi
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16296 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16297       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16298       ;;
16299     esac
16300   fi
16301   ;;
16302 esac
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16366 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16367
16368 library_names_spec=
16369 libname_spec='lib$name'
16370 soname_spec=
16371 shrext_cmds=".so"
16372 postinstall_cmds=
16373 postuninstall_cmds=
16374 finish_cmds=
16375 finish_eval=
16376 shlibpath_var=
16377 shlibpath_overrides_runpath=unknown
16378 version_type=none
16379 dynamic_linker="$host_os ld.so"
16380 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16381 need_lib_prefix=unknown
16382 hardcode_into_libs=no
16383
16384 # when you set need_version to no, make sure it does not cause -set_version
16385 # flags to be left without arguments
16386 need_version=unknown
16387
16388 case $host_os in
16389 aix3*)
16390   version_type=linux # correct to gnu/linux during the next big refactor
16391   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16392   shlibpath_var=LIBPATH
16393
16394   # AIX 3 has no versioning support, so we append a major version to the name.
16395   soname_spec='${libname}${release}${shared_ext}$major'
16396   ;;
16397
16398 aix[4-9]*)
16399   version_type=linux # correct to gnu/linux during the next big refactor
16400   need_lib_prefix=no
16401   need_version=no
16402   hardcode_into_libs=yes
16403   if test "$host_cpu" = ia64; then
16404     # AIX 5 supports IA64
16405     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16406     shlibpath_var=LD_LIBRARY_PATH
16407   else
16408     # With GCC up to 2.95.x, collect2 would create an import file
16409     # for dependence libraries.  The import file would start with
16410     # the line `#! .'.  This would cause the generated library to
16411     # depend on `.', always an invalid library.  This was fixed in
16412     # development snapshots of GCC prior to 3.0.
16413     case $host_os in
16414       aix4 | aix4.[01] | aix4.[01].*)
16415       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16416            echo ' yes '
16417            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16418         :
16419       else
16420         can_build_shared=no
16421       fi
16422       ;;
16423     esac
16424     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16425     # soname into executable. Probably we can add versioning support to
16426     # collect2, so additional links can be useful in future.
16427     if test "$aix_use_runtimelinking" = yes; then
16428       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16429       # instead of lib<name>.a to let people know that these are not
16430       # typical AIX shared libraries.
16431       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16432     else
16433       # We preserve .a as extension for shared libraries through AIX4.2
16434       # and later when we are not doing run time linking.
16435       library_names_spec='${libname}${release}.a $libname.a'
16436       soname_spec='${libname}${release}${shared_ext}$major'
16437     fi
16438     shlibpath_var=LIBPATH
16439   fi
16440   ;;
16441
16442 amigaos*)
16443   case $host_cpu in
16444   powerpc)
16445     # Since July 2007 AmigaOS4 officially supports .so libraries.
16446     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16447     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16448     ;;
16449   m68k)
16450     library_names_spec='$libname.ixlibrary $libname.a'
16451     # Create ${libname}_ixlibrary.a entries in /sys/libs.
16452     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16453     ;;
16454   esac
16455   ;;
16456
16457 beos*)
16458   library_names_spec='${libname}${shared_ext}'
16459   dynamic_linker="$host_os ld.so"
16460   shlibpath_var=LIBRARY_PATH
16461   ;;
16462
16463 bsdi[45]*)
16464   version_type=linux # correct to gnu/linux during the next big refactor
16465   need_version=no
16466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16467   soname_spec='${libname}${release}${shared_ext}$major'
16468   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16469   shlibpath_var=LD_LIBRARY_PATH
16470   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16471   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16472   # the default ld.so.conf also contains /usr/contrib/lib and
16473   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16474   # libtool to hard-code these into programs
16475   ;;
16476
16477 cygwin* | mingw* | pw32* | cegcc*)
16478   version_type=windows
16479   shrext_cmds=".dll"
16480   need_version=no
16481   need_lib_prefix=no
16482
16483   case $GCC,$cc_basename in
16484   yes,*)
16485     # gcc
16486     library_names_spec='$libname.dll.a'
16487     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16488     postinstall_cmds='base_file=`basename \${file}`~
16489       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16490       dldir=$destdir/`dirname \$dlpath`~
16491       test -d \$dldir || mkdir -p \$dldir~
16492       $install_prog $dir/$dlname \$dldir/$dlname~
16493       chmod a+x \$dldir/$dlname~
16494       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16495         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16496       fi'
16497     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16498       dlpath=$dir/\$dldll~
16499        $RM \$dlpath'
16500     shlibpath_overrides_runpath=yes
16501
16502     case $host_os in
16503     cygwin*)
16504       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16505       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16506
16507       ;;
16508     mingw* | cegcc*)
16509       # MinGW DLLs use traditional 'lib' prefix
16510       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16511       ;;
16512     pw32*)
16513       # pw32 DLLs use 'pw' prefix rather than 'lib'
16514       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16515       ;;
16516     esac
16517     dynamic_linker='Win32 ld.exe'
16518     ;;
16519
16520   *,cl*)
16521     # Native MSVC
16522     libname_spec='$name'
16523     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16524     library_names_spec='${libname}.dll.lib'
16525
16526     case $build_os in
16527     mingw*)
16528       sys_lib_search_path_spec=
16529       lt_save_ifs=$IFS
16530       IFS=';'
16531       for lt_path in $LIB
16532       do
16533         IFS=$lt_save_ifs
16534         # Let DOS variable expansion print the short 8.3 style file name.
16535         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16536         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16537       done
16538       IFS=$lt_save_ifs
16539       # Convert to MSYS style.
16540       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16541       ;;
16542     cygwin*)
16543       # Convert to unix form, then to dos form, then back to unix form
16544       # but this time dos style (no spaces!) so that the unix form looks
16545       # like /cygdrive/c/PROGRA~1:/cygdr...
16546       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16547       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16548       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16549       ;;
16550     *)
16551       sys_lib_search_path_spec="$LIB"
16552       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16553         # It is most probably a Windows format PATH.
16554         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16555       else
16556         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16557       fi
16558       # FIXME: find the short name or the path components, as spaces are
16559       # common. (e.g. "Program Files" -> "PROGRA~1")
16560       ;;
16561     esac
16562
16563     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16564     postinstall_cmds='base_file=`basename \${file}`~
16565       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16566       dldir=$destdir/`dirname \$dlpath`~
16567       test -d \$dldir || mkdir -p \$dldir~
16568       $install_prog $dir/$dlname \$dldir/$dlname'
16569     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16570       dlpath=$dir/\$dldll~
16571        $RM \$dlpath'
16572     shlibpath_overrides_runpath=yes
16573     dynamic_linker='Win32 link.exe'
16574     ;;
16575
16576   *)
16577     # Assume MSVC wrapper
16578     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16579     dynamic_linker='Win32 ld.exe'
16580     ;;
16581   esac
16582   # FIXME: first we should search . and the directory the executable is in
16583   shlibpath_var=PATH
16584   ;;
16585
16586 darwin* | rhapsody*)
16587   dynamic_linker="$host_os dyld"
16588   version_type=darwin
16589   need_lib_prefix=no
16590   need_version=no
16591   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16592   soname_spec='${libname}${release}${major}$shared_ext'
16593   shlibpath_overrides_runpath=yes
16594   shlibpath_var=DYLD_LIBRARY_PATH
16595   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16596
16597   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16598   ;;
16599
16600 dgux*)
16601   version_type=linux # correct to gnu/linux during the next big refactor
16602   need_lib_prefix=no
16603   need_version=no
16604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16605   soname_spec='${libname}${release}${shared_ext}$major'
16606   shlibpath_var=LD_LIBRARY_PATH
16607   ;;
16608
16609 freebsd* | dragonfly*)
16610   # DragonFly does not have aout.  When/if they implement a new
16611   # versioning mechanism, adjust this.
16612   if test -x /usr/bin/objformat; then
16613     objformat=`/usr/bin/objformat`
16614   else
16615     case $host_os in
16616     freebsd[23].*) objformat=aout ;;
16617     *) objformat=elf ;;
16618     esac
16619   fi
16620   version_type=freebsd-$objformat
16621   case $version_type in
16622     freebsd-elf*)
16623       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16624       need_version=no
16625       need_lib_prefix=no
16626       ;;
16627     freebsd-*)
16628       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16629       need_version=yes
16630       ;;
16631   esac
16632   shlibpath_var=LD_LIBRARY_PATH
16633   case $host_os in
16634   freebsd2.*)
16635     shlibpath_overrides_runpath=yes
16636     ;;
16637   freebsd3.[01]* | freebsdelf3.[01]*)
16638     shlibpath_overrides_runpath=yes
16639     hardcode_into_libs=yes
16640     ;;
16641   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16642   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16643     shlibpath_overrides_runpath=no
16644     hardcode_into_libs=yes
16645     ;;
16646   *) # from 4.6 on, and DragonFly
16647     shlibpath_overrides_runpath=yes
16648     hardcode_into_libs=yes
16649     ;;
16650   esac
16651   ;;
16652
16653 haiku*)
16654   version_type=linux # correct to gnu/linux during the next big refactor
16655   need_lib_prefix=no
16656   need_version=no
16657   dynamic_linker="$host_os runtime_loader"
16658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16659   soname_spec='${libname}${release}${shared_ext}$major'
16660   shlibpath_var=LIBRARY_PATH
16661   shlibpath_overrides_runpath=yes
16662   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16663   hardcode_into_libs=yes
16664   ;;
16665
16666 hpux9* | hpux10* | hpux11*)
16667   # Give a soname corresponding to the major version so that dld.sl refuses to
16668   # link against other versions.
16669   version_type=sunos
16670   need_lib_prefix=no
16671   need_version=no
16672   case $host_cpu in
16673   ia64*)
16674     shrext_cmds='.so'
16675     hardcode_into_libs=yes
16676     dynamic_linker="$host_os dld.so"
16677     shlibpath_var=LD_LIBRARY_PATH
16678     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16679     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16680     soname_spec='${libname}${release}${shared_ext}$major'
16681     if test "X$HPUX_IA64_MODE" = X32; then
16682       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16683     else
16684       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16685     fi
16686     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16687     ;;
16688   hppa*64*)
16689     shrext_cmds='.sl'
16690     hardcode_into_libs=yes
16691     dynamic_linker="$host_os dld.sl"
16692     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16693     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16694     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16695     soname_spec='${libname}${release}${shared_ext}$major'
16696     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16697     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16698     ;;
16699   *)
16700     shrext_cmds='.sl'
16701     dynamic_linker="$host_os dld.sl"
16702     shlibpath_var=SHLIB_PATH
16703     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16704     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16705     soname_spec='${libname}${release}${shared_ext}$major'
16706     ;;
16707   esac
16708   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16709   postinstall_cmds='chmod 555 $lib'
16710   # or fails outright, so override atomically:
16711   install_override_mode=555
16712   ;;
16713
16714 interix[3-9]*)
16715   version_type=linux # correct to gnu/linux during the next big refactor
16716   need_lib_prefix=no
16717   need_version=no
16718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16719   soname_spec='${libname}${release}${shared_ext}$major'
16720   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16721   shlibpath_var=LD_LIBRARY_PATH
16722   shlibpath_overrides_runpath=no
16723   hardcode_into_libs=yes
16724   ;;
16725
16726 irix5* | irix6* | nonstopux*)
16727   case $host_os in
16728     nonstopux*) version_type=nonstopux ;;
16729     *)
16730         if test "$lt_cv_prog_gnu_ld" = yes; then
16731                 version_type=linux # correct to gnu/linux during the next big refactor
16732         else
16733                 version_type=irix
16734         fi ;;
16735   esac
16736   need_lib_prefix=no
16737   need_version=no
16738   soname_spec='${libname}${release}${shared_ext}$major'
16739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16740   case $host_os in
16741   irix5* | nonstopux*)
16742     libsuff= shlibsuff=
16743     ;;
16744   *)
16745     case $LD in # libtool.m4 will add one of these switches to LD
16746     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16747       libsuff= shlibsuff= libmagic=32-bit;;
16748     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16749       libsuff=32 shlibsuff=N32 libmagic=N32;;
16750     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16751       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16752     *) libsuff= shlibsuff= libmagic=never-match;;
16753     esac
16754     ;;
16755   esac
16756   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16757   shlibpath_overrides_runpath=no
16758   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16759   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16760   hardcode_into_libs=yes
16761   ;;
16762
16763 # No shared lib support for Linux oldld, aout, or coff.
16764 linux*oldld* | linux*aout* | linux*coff*)
16765   dynamic_linker=no
16766   ;;
16767
16768 # This must be glibc/ELF.
16769 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16770   version_type=linux # correct to gnu/linux during the next big refactor
16771   need_lib_prefix=no
16772   need_version=no
16773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16774   soname_spec='${libname}${release}${shared_ext}$major'
16775   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16776   shlibpath_var=LD_LIBRARY_PATH
16777   shlibpath_overrides_runpath=no
16778
16779   # Some binutils ld are patched to set DT_RUNPATH
16780   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16781   $as_echo_n "(cached) " >&6
16782 else
16783   lt_cv_shlibpath_overrides_runpath=no
16784     save_LDFLAGS=$LDFLAGS
16785     save_libdir=$libdir
16786     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16787          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16788     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h.  */
16790
16791 int
16792 main ()
16793 {
16794
16795   ;
16796   return 0;
16797 }
16798 _ACEOF
16799 if ac_fn_cxx_try_link "$LINENO"; then :
16800   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16801   lt_cv_shlibpath_overrides_runpath=yes
16802 fi
16803 fi
16804 rm -f core conftest.err conftest.$ac_objext \
16805     conftest$ac_exeext conftest.$ac_ext
16806     LDFLAGS=$save_LDFLAGS
16807     libdir=$save_libdir
16808
16809 fi
16810
16811   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16812
16813   # This implies no fast_install, which is unacceptable.
16814   # Some rework will be needed to allow for fast_install
16815   # before this can be enabled.
16816   hardcode_into_libs=yes
16817
16818   # Append ld.so.conf contents to the search path
16819   if test -f /etc/ld.so.conf; then
16820     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16821     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16822   fi
16823
16824   # We used to test for /lib/ld.so.1 and disable shared libraries on
16825   # powerpc, because MkLinux only supported shared libraries with the
16826   # GNU dynamic linker.  Since this was broken with cross compilers,
16827   # most powerpc-linux boxes support dynamic linking these days and
16828   # people can always --disable-shared, the test was removed, and we
16829   # assume the GNU/Linux dynamic linker is in use.
16830   dynamic_linker='GNU/Linux ld.so'
16831   ;;
16832
16833 netbsdelf*-gnu)
16834   version_type=linux
16835   need_lib_prefix=no
16836   need_version=no
16837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16838   soname_spec='${libname}${release}${shared_ext}$major'
16839   shlibpath_var=LD_LIBRARY_PATH
16840   shlibpath_overrides_runpath=no
16841   hardcode_into_libs=yes
16842   dynamic_linker='NetBSD ld.elf_so'
16843   ;;
16844
16845 netbsd*)
16846   version_type=sunos
16847   need_lib_prefix=no
16848   need_version=no
16849   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16850     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16851     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16852     dynamic_linker='NetBSD (a.out) ld.so'
16853   else
16854     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16855     soname_spec='${libname}${release}${shared_ext}$major'
16856     dynamic_linker='NetBSD ld.elf_so'
16857   fi
16858   shlibpath_var=LD_LIBRARY_PATH
16859   shlibpath_overrides_runpath=yes
16860   hardcode_into_libs=yes
16861   ;;
16862
16863 newsos6)
16864   version_type=linux # correct to gnu/linux during the next big refactor
16865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16866   shlibpath_var=LD_LIBRARY_PATH
16867   shlibpath_overrides_runpath=yes
16868   ;;
16869
16870 *nto* | *qnx*)
16871   version_type=qnx
16872   need_lib_prefix=no
16873   need_version=no
16874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16875   soname_spec='${libname}${release}${shared_ext}$major'
16876   shlibpath_var=LD_LIBRARY_PATH
16877   shlibpath_overrides_runpath=no
16878   hardcode_into_libs=yes
16879   dynamic_linker='ldqnx.so'
16880   ;;
16881
16882 openbsd*)
16883   version_type=sunos
16884   sys_lib_dlsearch_path_spec="/usr/lib"
16885   need_lib_prefix=no
16886   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16887   case $host_os in
16888     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
16889     *)                          need_version=no  ;;
16890   esac
16891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16892   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16893   shlibpath_var=LD_LIBRARY_PATH
16894   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16895     case $host_os in
16896       openbsd2.[89] | openbsd2.[89].*)
16897         shlibpath_overrides_runpath=no
16898         ;;
16899       *)
16900         shlibpath_overrides_runpath=yes
16901         ;;
16902       esac
16903   else
16904     shlibpath_overrides_runpath=yes
16905   fi
16906   ;;
16907
16908 os2*)
16909   libname_spec='$name'
16910   shrext_cmds=".dll"
16911   need_lib_prefix=no
16912   library_names_spec='$libname${shared_ext} $libname.a'
16913   dynamic_linker='OS/2 ld.exe'
16914   shlibpath_var=LIBPATH
16915   ;;
16916
16917 osf3* | osf4* | osf5*)
16918   version_type=osf
16919   need_lib_prefix=no
16920   need_version=no
16921   soname_spec='${libname}${release}${shared_ext}$major'
16922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16923   shlibpath_var=LD_LIBRARY_PATH
16924   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16925   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16926   ;;
16927
16928 rdos*)
16929   dynamic_linker=no
16930   ;;
16931
16932 solaris*)
16933   version_type=linux # correct to gnu/linux during the next big refactor
16934   need_lib_prefix=no
16935   need_version=no
16936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16937   soname_spec='${libname}${release}${shared_ext}$major'
16938   shlibpath_var=LD_LIBRARY_PATH
16939   shlibpath_overrides_runpath=yes
16940   hardcode_into_libs=yes
16941   # ldd complains unless libraries are executable
16942   postinstall_cmds='chmod +x $lib'
16943   ;;
16944
16945 sunos4*)
16946   version_type=sunos
16947   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16948   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16949   shlibpath_var=LD_LIBRARY_PATH
16950   shlibpath_overrides_runpath=yes
16951   if test "$with_gnu_ld" = yes; then
16952     need_lib_prefix=no
16953   fi
16954   need_version=yes
16955   ;;
16956
16957 sysv4 | sysv4.3*)
16958   version_type=linux # correct to gnu/linux during the next big refactor
16959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16960   soname_spec='${libname}${release}${shared_ext}$major'
16961   shlibpath_var=LD_LIBRARY_PATH
16962   case $host_vendor in
16963     sni)
16964       shlibpath_overrides_runpath=no
16965       need_lib_prefix=no
16966       runpath_var=LD_RUN_PATH
16967       ;;
16968     siemens)
16969       need_lib_prefix=no
16970       ;;
16971     motorola)
16972       need_lib_prefix=no
16973       need_version=no
16974       shlibpath_overrides_runpath=no
16975       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16976       ;;
16977   esac
16978   ;;
16979
16980 sysv4*MP*)
16981   if test -d /usr/nec ;then
16982     version_type=linux # correct to gnu/linux during the next big refactor
16983     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16984     soname_spec='$libname${shared_ext}.$major'
16985     shlibpath_var=LD_LIBRARY_PATH
16986   fi
16987   ;;
16988
16989 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16990   version_type=freebsd-elf
16991   need_lib_prefix=no
16992   need_version=no
16993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16994   soname_spec='${libname}${release}${shared_ext}$major'
16995   shlibpath_var=LD_LIBRARY_PATH
16996   shlibpath_overrides_runpath=yes
16997   hardcode_into_libs=yes
16998   if test "$with_gnu_ld" = yes; then
16999     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17000   else
17001     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17002     case $host_os in
17003       sco3.2v5*)
17004         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17005         ;;
17006     esac
17007   fi
17008   sys_lib_dlsearch_path_spec='/usr/lib'
17009   ;;
17010
17011 tpf*)
17012   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17013   version_type=linux # correct to gnu/linux during the next big refactor
17014   need_lib_prefix=no
17015   need_version=no
17016   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17017   shlibpath_var=LD_LIBRARY_PATH
17018   shlibpath_overrides_runpath=no
17019   hardcode_into_libs=yes
17020   ;;
17021
17022 uts4*)
17023   version_type=linux # correct to gnu/linux during the next big refactor
17024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17025   soname_spec='${libname}${release}${shared_ext}$major'
17026   shlibpath_var=LD_LIBRARY_PATH
17027   ;;
17028
17029 *)
17030   dynamic_linker=no
17031   ;;
17032 esac
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17034 $as_echo "$dynamic_linker" >&6; }
17035 test "$dynamic_linker" = no && can_build_shared=no
17036
17037 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17038 if test "$GCC" = yes; then
17039   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17040 fi
17041
17042 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17043   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17044 fi
17045 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17046   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17047 fi
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17087 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17088 hardcode_action_CXX=
17089 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17090    test -n "$runpath_var_CXX" ||
17091    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17092
17093   # We can hardcode non-existent directories.
17094   if test "$hardcode_direct_CXX" != no &&
17095      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17096      # have to relink, otherwise we might link with an installed library
17097      # when we should be linking with a yet-to-be-installed one
17098      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17099      test "$hardcode_minus_L_CXX" != no; then
17100     # Linking always hardcodes the temporary library directory.
17101     hardcode_action_CXX=relink
17102   else
17103     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17104     hardcode_action_CXX=immediate
17105   fi
17106 else
17107   # We cannot hardcode anything, or else we can only hardcode existing
17108   # directories.
17109   hardcode_action_CXX=unsupported
17110 fi
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17112 $as_echo "$hardcode_action_CXX" >&6; }
17113
17114 if test "$hardcode_action_CXX" = relink ||
17115    test "$inherit_rpath_CXX" = yes; then
17116   # Fast installation is not supported
17117   enable_fast_install=no
17118 elif test "$shlibpath_overrides_runpath" = yes ||
17119      test "$enable_shared" = no; then
17120   # Fast installation is not necessary
17121   enable_fast_install=needless
17122 fi
17123
17124
17125
17126
17127
17128
17129
17130   fi # test -n "$compiler"
17131
17132   CC=$lt_save_CC
17133   CFLAGS=$lt_save_CFLAGS
17134   LDCXX=$LD
17135   LD=$lt_save_LD
17136   GCC=$lt_save_GCC
17137   with_gnu_ld=$lt_save_with_gnu_ld
17138   lt_cv_path_LDCXX=$lt_cv_path_LD
17139   lt_cv_path_LD=$lt_save_path_LD
17140   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17141   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17142 fi # test "$_lt_caught_CXX_error" != yes
17143
17144 ac_ext=c
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17149
17150
17151 ac_ext=c
17152 ac_cpp='$CPP $CPPFLAGS'
17153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17156 if test -n "$ac_tool_prefix"; then
17157   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17160 $as_echo_n "checking for $ac_word... " >&6; }
17161 if ${ac_cv_prog_CC+:} false; then :
17162   $as_echo_n "(cached) " >&6
17163 else
17164   if test -n "$CC"; then
17165   ac_cv_prog_CC="$CC" # Let the user override the test.
17166 else
17167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17168 for as_dir in $PATH
17169 do
17170   IFS=$as_save_IFS
17171   test -z "$as_dir" && as_dir=.
17172     for ac_exec_ext in '' $ac_executable_extensions; do
17173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17174     ac_cv_prog_CC="${ac_tool_prefix}gcc"
17175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17176     break 2
17177   fi
17178 done
17179   done
17180 IFS=$as_save_IFS
17181
17182 fi
17183 fi
17184 CC=$ac_cv_prog_CC
17185 if test -n "$CC"; then
17186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17187 $as_echo "$CC" >&6; }
17188 else
17189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17190 $as_echo "no" >&6; }
17191 fi
17192
17193
17194 fi
17195 if test -z "$ac_cv_prog_CC"; then
17196   ac_ct_CC=$CC
17197   # Extract the first word of "gcc", so it can be a program name with args.
17198 set dummy gcc; ac_word=$2
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17200 $as_echo_n "checking for $ac_word... " >&6; }
17201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17202   $as_echo_n "(cached) " >&6
17203 else
17204   if test -n "$ac_ct_CC"; then
17205   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17206 else
17207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17208 for as_dir in $PATH
17209 do
17210   IFS=$as_save_IFS
17211   test -z "$as_dir" && as_dir=.
17212     for ac_exec_ext in '' $ac_executable_extensions; do
17213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17214     ac_cv_prog_ac_ct_CC="gcc"
17215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17216     break 2
17217   fi
17218 done
17219   done
17220 IFS=$as_save_IFS
17221
17222 fi
17223 fi
17224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17225 if test -n "$ac_ct_CC"; then
17226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17227 $as_echo "$ac_ct_CC" >&6; }
17228 else
17229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17230 $as_echo "no" >&6; }
17231 fi
17232
17233   if test "x$ac_ct_CC" = x; then
17234     CC=""
17235   else
17236     case $cross_compiling:$ac_tool_warned in
17237 yes:)
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17240 ac_tool_warned=yes ;;
17241 esac
17242     CC=$ac_ct_CC
17243   fi
17244 else
17245   CC="$ac_cv_prog_CC"
17246 fi
17247
17248 if test -z "$CC"; then
17249           if test -n "$ac_tool_prefix"; then
17250     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17251 set dummy ${ac_tool_prefix}cc; ac_word=$2
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17253 $as_echo_n "checking for $ac_word... " >&6; }
17254 if ${ac_cv_prog_CC+:} false; then :
17255   $as_echo_n "(cached) " >&6
17256 else
17257   if test -n "$CC"; then
17258   ac_cv_prog_CC="$CC" # Let the user override the test.
17259 else
17260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17261 for as_dir in $PATH
17262 do
17263   IFS=$as_save_IFS
17264   test -z "$as_dir" && as_dir=.
17265     for ac_exec_ext in '' $ac_executable_extensions; do
17266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17267     ac_cv_prog_CC="${ac_tool_prefix}cc"
17268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17269     break 2
17270   fi
17271 done
17272   done
17273 IFS=$as_save_IFS
17274
17275 fi
17276 fi
17277 CC=$ac_cv_prog_CC
17278 if test -n "$CC"; then
17279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17280 $as_echo "$CC" >&6; }
17281 else
17282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17283 $as_echo "no" >&6; }
17284 fi
17285
17286
17287   fi
17288 fi
17289 if test -z "$CC"; then
17290   # Extract the first word of "cc", so it can be a program name with args.
17291 set dummy cc; ac_word=$2
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17293 $as_echo_n "checking for $ac_word... " >&6; }
17294 if ${ac_cv_prog_CC+:} false; then :
17295   $as_echo_n "(cached) " >&6
17296 else
17297   if test -n "$CC"; then
17298   ac_cv_prog_CC="$CC" # Let the user override the test.
17299 else
17300   ac_prog_rejected=no
17301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17302 for as_dir in $PATH
17303 do
17304   IFS=$as_save_IFS
17305   test -z "$as_dir" && as_dir=.
17306     for ac_exec_ext in '' $ac_executable_extensions; do
17307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17308     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17309        ac_prog_rejected=yes
17310        continue
17311      fi
17312     ac_cv_prog_CC="cc"
17313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17314     break 2
17315   fi
17316 done
17317   done
17318 IFS=$as_save_IFS
17319
17320 if test $ac_prog_rejected = yes; then
17321   # We found a bogon in the path, so make sure we never use it.
17322   set dummy $ac_cv_prog_CC
17323   shift
17324   if test $# != 0; then
17325     # We chose a different compiler from the bogus one.
17326     # However, it has the same basename, so the bogon will be chosen
17327     # first if we set CC to just the basename; use the full file name.
17328     shift
17329     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17330   fi
17331 fi
17332 fi
17333 fi
17334 CC=$ac_cv_prog_CC
17335 if test -n "$CC"; then
17336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17337 $as_echo "$CC" >&6; }
17338 else
17339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17340 $as_echo "no" >&6; }
17341 fi
17342
17343
17344 fi
17345 if test -z "$CC"; then
17346   if test -n "$ac_tool_prefix"; then
17347   for ac_prog in cl.exe
17348   do
17349     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17352 $as_echo_n "checking for $ac_word... " >&6; }
17353 if ${ac_cv_prog_CC+:} false; then :
17354   $as_echo_n "(cached) " >&6
17355 else
17356   if test -n "$CC"; then
17357   ac_cv_prog_CC="$CC" # Let the user override the test.
17358 else
17359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17360 for as_dir in $PATH
17361 do
17362   IFS=$as_save_IFS
17363   test -z "$as_dir" && as_dir=.
17364     for ac_exec_ext in '' $ac_executable_extensions; do
17365   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17366     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17368     break 2
17369   fi
17370 done
17371   done
17372 IFS=$as_save_IFS
17373
17374 fi
17375 fi
17376 CC=$ac_cv_prog_CC
17377 if test -n "$CC"; then
17378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17379 $as_echo "$CC" >&6; }
17380 else
17381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17382 $as_echo "no" >&6; }
17383 fi
17384
17385
17386     test -n "$CC" && break
17387   done
17388 fi
17389 if test -z "$CC"; then
17390   ac_ct_CC=$CC
17391   for ac_prog in cl.exe
17392 do
17393   # Extract the first word of "$ac_prog", so it can be a program name with args.
17394 set dummy $ac_prog; ac_word=$2
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17396 $as_echo_n "checking for $ac_word... " >&6; }
17397 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17398   $as_echo_n "(cached) " >&6
17399 else
17400   if test -n "$ac_ct_CC"; then
17401   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17402 else
17403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17404 for as_dir in $PATH
17405 do
17406   IFS=$as_save_IFS
17407   test -z "$as_dir" && as_dir=.
17408     for ac_exec_ext in '' $ac_executable_extensions; do
17409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17410     ac_cv_prog_ac_ct_CC="$ac_prog"
17411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17412     break 2
17413   fi
17414 done
17415   done
17416 IFS=$as_save_IFS
17417
17418 fi
17419 fi
17420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17421 if test -n "$ac_ct_CC"; then
17422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17423 $as_echo "$ac_ct_CC" >&6; }
17424 else
17425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17426 $as_echo "no" >&6; }
17427 fi
17428
17429
17430   test -n "$ac_ct_CC" && break
17431 done
17432
17433   if test "x$ac_ct_CC" = x; then
17434     CC=""
17435   else
17436     case $cross_compiling:$ac_tool_warned in
17437 yes:)
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17440 ac_tool_warned=yes ;;
17441 esac
17442     CC=$ac_ct_CC
17443   fi
17444 fi
17445
17446 fi
17447
17448
17449 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17451 as_fn_error $? "no acceptable C compiler found in \$PATH
17452 See \`config.log' for more details" "$LINENO" 5; }
17453
17454 # Provide some information about the compiler.
17455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17456 set X $ac_compile
17457 ac_compiler=$2
17458 for ac_option in --version -v -V -qversion; do
17459   { { ac_try="$ac_compiler $ac_option >&5"
17460 case "(($ac_try" in
17461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462   *) ac_try_echo=$ac_try;;
17463 esac
17464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17465 $as_echo "$ac_try_echo"; } >&5
17466   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17467   ac_status=$?
17468   if test -s conftest.err; then
17469     sed '10a\
17470 ... rest of stderr output deleted ...
17471          10q' conftest.err >conftest.er1
17472     cat conftest.er1 >&5
17473   fi
17474   rm -f conftest.er1 conftest.err
17475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17476   test $ac_status = 0; }
17477 done
17478
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17481 if ${ac_cv_c_compiler_gnu+:} false; then :
17482   $as_echo_n "(cached) " >&6
17483 else
17484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h.  */
17486
17487 int
17488 main ()
17489 {
17490 #ifndef __GNUC__
17491        choke me
17492 #endif
17493
17494   ;
17495   return 0;
17496 }
17497 _ACEOF
17498 if ac_fn_c_try_compile "$LINENO"; then :
17499   ac_compiler_gnu=yes
17500 else
17501   ac_compiler_gnu=no
17502 fi
17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17505
17506 fi
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17508 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17509 if test $ac_compiler_gnu = yes; then
17510   GCC=yes
17511 else
17512   GCC=
17513 fi
17514 ac_test_CFLAGS=${CFLAGS+set}
17515 ac_save_CFLAGS=$CFLAGS
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17517 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17518 if ${ac_cv_prog_cc_g+:} false; then :
17519   $as_echo_n "(cached) " >&6
17520 else
17521   ac_save_c_werror_flag=$ac_c_werror_flag
17522    ac_c_werror_flag=yes
17523    ac_cv_prog_cc_g=no
17524    CFLAGS="-g"
17525    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h.  */
17527
17528 int
17529 main ()
17530 {
17531
17532   ;
17533   return 0;
17534 }
17535 _ACEOF
17536 if ac_fn_c_try_compile "$LINENO"; then :
17537   ac_cv_prog_cc_g=yes
17538 else
17539   CFLAGS=""
17540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h.  */
17542
17543 int
17544 main ()
17545 {
17546
17547   ;
17548   return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552
17553 else
17554   ac_c_werror_flag=$ac_save_c_werror_flag
17555          CFLAGS="-g"
17556          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h.  */
17558
17559 int
17560 main ()
17561 {
17562
17563   ;
17564   return 0;
17565 }
17566 _ACEOF
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568   ac_cv_prog_cc_g=yes
17569 fi
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571 fi
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573 fi
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575    ac_c_werror_flag=$ac_save_c_werror_flag
17576 fi
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17578 $as_echo "$ac_cv_prog_cc_g" >&6; }
17579 if test "$ac_test_CFLAGS" = set; then
17580   CFLAGS=$ac_save_CFLAGS
17581 elif test $ac_cv_prog_cc_g = yes; then
17582   if test "$GCC" = yes; then
17583     CFLAGS="-g -O2"
17584   else
17585     CFLAGS="-g"
17586   fi
17587 else
17588   if test "$GCC" = yes; then
17589     CFLAGS="-O2"
17590   else
17591     CFLAGS=
17592   fi
17593 fi
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17596 if ${ac_cv_prog_cc_c89+:} false; then :
17597   $as_echo_n "(cached) " >&6
17598 else
17599   ac_cv_prog_cc_c89=no
17600 ac_save_CC=$CC
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h.  */
17603 #include <stdarg.h>
17604 #include <stdio.h>
17605 struct stat;
17606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17607 struct buf { int x; };
17608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17609 static char *e (p, i)
17610      char **p;
17611      int i;
17612 {
17613   return p[i];
17614 }
17615 static char *f (char * (*g) (char **, int), char **p, ...)
17616 {
17617   char *s;
17618   va_list v;
17619   va_start (v,p);
17620   s = g (p, va_arg (v,int));
17621   va_end (v);
17622   return s;
17623 }
17624
17625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17626    function prototypes and stuff, but not '\xHH' hex character constants.
17627    These don't provoke an error unfortunately, instead are silently treated
17628    as 'x'.  The following induces an error, until -std is added to get
17629    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17630    array size at least.  It's necessary to write '\x00'==0 to get something
17631    that's true only with -std.  */
17632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17633
17634 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17635    inside strings and character constants.  */
17636 #define FOO(x) 'x'
17637 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17638
17639 int test (int i, double x);
17640 struct s1 {int (*f) (int a);};
17641 struct s2 {int (*f) (double a);};
17642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17643 int argc;
17644 char **argv;
17645 int
17646 main ()
17647 {
17648 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17649   ;
17650   return 0;
17651 }
17652 _ACEOF
17653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17654         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17655 do
17656   CC="$ac_save_CC $ac_arg"
17657   if ac_fn_c_try_compile "$LINENO"; then :
17658   ac_cv_prog_cc_c89=$ac_arg
17659 fi
17660 rm -f core conftest.err conftest.$ac_objext
17661   test "x$ac_cv_prog_cc_c89" != "xno" && break
17662 done
17663 rm -f conftest.$ac_ext
17664 CC=$ac_save_CC
17665
17666 fi
17667 # AC_CACHE_VAL
17668 case "x$ac_cv_prog_cc_c89" in
17669   x)
17670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17671 $as_echo "none needed" >&6; } ;;
17672   xno)
17673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17674 $as_echo "unsupported" >&6; } ;;
17675   *)
17676     CC="$CC $ac_cv_prog_cc_c89"
17677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17678 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17679 esac
17680 if test "x$ac_cv_prog_cc_c89" != xno; then :
17681
17682 fi
17683
17684 ac_ext=c
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17689
17690 ac_ext=c
17691 ac_cpp='$CPP $CPPFLAGS'
17692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
17696 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
17697 if ${am_cv_prog_cc_c_o+:} false; then :
17698   $as_echo_n "(cached) " >&6
17699 else
17700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h.  */
17702
17703 int
17704 main ()
17705 {
17706
17707   ;
17708   return 0;
17709 }
17710 _ACEOF
17711   # Make sure it works both with $CC and with simple cc.
17712   # Following AC_PROG_CC_C_O, we do the test twice because some
17713   # compilers refuse to overwrite an existing .o file with -o,
17714   # though they will create one.
17715   am_cv_prog_cc_c_o=yes
17716   for am_i in 1 2; do
17717     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
17718    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
17719    ac_status=$?
17720    echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721    (exit $ac_status); } \
17722          && test -f conftest2.$ac_objext; then
17723       : OK
17724     else
17725       am_cv_prog_cc_c_o=no
17726       break
17727     fi
17728   done
17729   rm -f core conftest*
17730   unset am_i
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
17733 $as_echo "$am_cv_prog_cc_c_o" >&6; }
17734 if test "$am_cv_prog_cc_c_o" != yes; then
17735    # Losing compiler, so override with the script.
17736    # FIXME: It is wrong to rewrite CC.
17737    # But if we don't then we get into trouble of one sort or another.
17738    # A longer-term fix would be to have automake use am__CC in this case,
17739    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
17740    CC="$am_aux_dir/compile $CC"
17741 fi
17742 ac_ext=c
17743 ac_cpp='$CPP $CPPFLAGS'
17744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17747
17748
17749 depcc="$CC"   am_compiler_list=
17750
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17752 $as_echo_n "checking dependency style of $depcc... " >&6; }
17753 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17754   $as_echo_n "(cached) " >&6
17755 else
17756   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17757   # We make a subdir and do the tests there.  Otherwise we can end up
17758   # making bogus files that we don't know about and never remove.  For
17759   # instance it was reported that on HP-UX the gcc test will end up
17760   # making a dummy file named 'D' -- because '-MD' means "put the output
17761   # in D".
17762   rm -rf conftest.dir
17763   mkdir conftest.dir
17764   # Copy depcomp to subdir because otherwise we won't find it if we're
17765   # using a relative directory.
17766   cp "$am_depcomp" conftest.dir
17767   cd conftest.dir
17768   # We will build objects and dependencies in a subdirectory because
17769   # it helps to detect inapplicable dependency modes.  For instance
17770   # both Tru64's cc and ICC support -MD to output dependencies as a
17771   # side effect of compilation, but ICC will put the dependencies in
17772   # the current directory while Tru64 will put them in the object
17773   # directory.
17774   mkdir sub
17775
17776   am_cv_CC_dependencies_compiler_type=none
17777   if test "$am_compiler_list" = ""; then
17778      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17779   fi
17780   am__universal=false
17781   case " $depcc " in #(
17782      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17783      esac
17784
17785   for depmode in $am_compiler_list; do
17786     # Setup a source with many dependencies, because some compilers
17787     # like to wrap large dependency lists on column 80 (with \), and
17788     # we should not choose a depcomp mode which is confused by this.
17789     #
17790     # We need to recreate these files for each test, as the compiler may
17791     # overwrite some of them when testing with obscure command lines.
17792     # This happens at least with the AIX C compiler.
17793     : > sub/conftest.c
17794     for i in 1 2 3 4 5 6; do
17795       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17796       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
17797       # Solaris 10 /bin/sh.
17798       echo '/* dummy */' > sub/conftst$i.h
17799     done
17800     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17801
17802     # We check with '-c' and '-o' for the sake of the "dashmstdout"
17803     # mode.  It turns out that the SunPro C++ compiler does not properly
17804     # handle '-M -o', and we need to detect this.  Also, some Intel
17805     # versions had trouble with output in subdirs.
17806     am__obj=sub/conftest.${OBJEXT-o}
17807     am__minus_obj="-o $am__obj"
17808     case $depmode in
17809     gcc)
17810       # This depmode causes a compiler race in universal mode.
17811       test "$am__universal" = false || continue
17812       ;;
17813     nosideeffect)
17814       # After this tag, mechanisms are not by side-effect, so they'll
17815       # only be used when explicitly requested.
17816       if test "x$enable_dependency_tracking" = xyes; then
17817         continue
17818       else
17819         break
17820       fi
17821       ;;
17822     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17823       # This compiler won't grok '-c -o', but also, the minuso test has
17824       # not run yet.  These depmodes are late enough in the game, and
17825       # so weak that their functioning should not be impacted.
17826       am__obj=conftest.${OBJEXT-o}
17827       am__minus_obj=
17828       ;;
17829     none) break ;;
17830     esac
17831     if depmode=$depmode \
17832        source=sub/conftest.c object=$am__obj \
17833        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17834        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17835          >/dev/null 2>conftest.err &&
17836        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17837        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17838        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17839        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17840       # icc doesn't choke on unknown options, it will just issue warnings
17841       # or remarks (even with -Werror).  So we grep stderr for any message
17842       # that says an option was ignored or not supported.
17843       # When given -MP, icc 7.0 and 7.1 complain thusly:
17844       #   icc: Command line warning: ignoring option '-M'; no argument required
17845       # The diagnosis changed in icc 8.0:
17846       #   icc: Command line remark: option '-MP' not supported
17847       if (grep 'ignoring option' conftest.err ||
17848           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17849         am_cv_CC_dependencies_compiler_type=$depmode
17850         break
17851       fi
17852     fi
17853   done
17854
17855   cd ..
17856   rm -rf conftest.dir
17857 else
17858   am_cv_CC_dependencies_compiler_type=none
17859 fi
17860
17861 fi
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17863 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17864 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17865
17866  if
17867   test "x$enable_dependency_tracking" != xno \
17868   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17869   am__fastdepCC_TRUE=
17870   am__fastdepCC_FALSE='#'
17871 else
17872   am__fastdepCC_TRUE='#'
17873   am__fastdepCC_FALSE=
17874 fi
17875
17876
17877 ac_ext=c
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17883 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17884 # On Suns, sometimes $CPP names a directory.
17885 if test -n "$CPP" && test -d "$CPP"; then
17886   CPP=
17887 fi
17888 if test -z "$CPP"; then
17889   if ${ac_cv_prog_CPP+:} false; then :
17890   $as_echo_n "(cached) " >&6
17891 else
17892       # Double quotes because CPP needs to be expanded
17893     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17894     do
17895       ac_preproc_ok=false
17896 for ac_c_preproc_warn_flag in '' yes
17897 do
17898   # Use a header file that comes with gcc, so configuring glibc
17899   # with a fresh cross-compiler works.
17900   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17901   # <limits.h> exists even on freestanding compilers.
17902   # On the NeXT, cc -E runs the code through the compiler's parser,
17903   # not just through cpp. "Syntax error" is here to catch this case.
17904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h.  */
17906 #ifdef __STDC__
17907 # include <limits.h>
17908 #else
17909 # include <assert.h>
17910 #endif
17911                      Syntax error
17912 _ACEOF
17913 if ac_fn_c_try_cpp "$LINENO"; then :
17914
17915 else
17916   # Broken: fails on valid input.
17917 continue
17918 fi
17919 rm -f conftest.err conftest.i conftest.$ac_ext
17920
17921   # OK, works on sane cases.  Now check whether nonexistent headers
17922   # can be detected and how.
17923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h.  */
17925 #include <ac_nonexistent.h>
17926 _ACEOF
17927 if ac_fn_c_try_cpp "$LINENO"; then :
17928   # Broken: success on invalid input.
17929 continue
17930 else
17931   # Passes both tests.
17932 ac_preproc_ok=:
17933 break
17934 fi
17935 rm -f conftest.err conftest.i conftest.$ac_ext
17936
17937 done
17938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17939 rm -f conftest.i conftest.err conftest.$ac_ext
17940 if $ac_preproc_ok; then :
17941   break
17942 fi
17943
17944     done
17945     ac_cv_prog_CPP=$CPP
17946
17947 fi
17948   CPP=$ac_cv_prog_CPP
17949 else
17950   ac_cv_prog_CPP=$CPP
17951 fi
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17953 $as_echo "$CPP" >&6; }
17954 ac_preproc_ok=false
17955 for ac_c_preproc_warn_flag in '' yes
17956 do
17957   # Use a header file that comes with gcc, so configuring glibc
17958   # with a fresh cross-compiler works.
17959   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17960   # <limits.h> exists even on freestanding compilers.
17961   # On the NeXT, cc -E runs the code through the compiler's parser,
17962   # not just through cpp. "Syntax error" is here to catch this case.
17963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h.  */
17965 #ifdef __STDC__
17966 # include <limits.h>
17967 #else
17968 # include <assert.h>
17969 #endif
17970                      Syntax error
17971 _ACEOF
17972 if ac_fn_c_try_cpp "$LINENO"; then :
17973
17974 else
17975   # Broken: fails on valid input.
17976 continue
17977 fi
17978 rm -f conftest.err conftest.i conftest.$ac_ext
17979
17980   # OK, works on sane cases.  Now check whether nonexistent headers
17981   # can be detected and how.
17982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h.  */
17984 #include <ac_nonexistent.h>
17985 _ACEOF
17986 if ac_fn_c_try_cpp "$LINENO"; then :
17987   # Broken: success on invalid input.
17988 continue
17989 else
17990   # Passes both tests.
17991 ac_preproc_ok=:
17992 break
17993 fi
17994 rm -f conftest.err conftest.i conftest.$ac_ext
17995
17996 done
17997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17998 rm -f conftest.i conftest.err conftest.$ac_ext
17999 if $ac_preproc_ok; then :
18000
18001 else
18002   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18004 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18005 See \`config.log' for more details" "$LINENO" 5; }
18006 fi
18007
18008 ac_ext=c
18009 ac_cpp='$CPP $CPPFLAGS'
18010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18013
18014
18015 # Checks for libraries.
18016 ac_config_files="$ac_config_files src/Makefile include/Makefile Makefile"
18017
18018
18019
18020 # Checks for header files.
18021
18022 # Checks for typedefs, structures, and compiler characteristics.
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18024 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18025 if ${ac_cv_header_stdbool_h+:} false; then :
18026   $as_echo_n "(cached) " >&6
18027 else
18028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h.  */
18030
18031              #include <stdbool.h>
18032              #ifndef bool
18033               "error: bool is not defined"
18034              #endif
18035              #ifndef false
18036               "error: false is not defined"
18037              #endif
18038              #if false
18039               "error: false is not 0"
18040              #endif
18041              #ifndef true
18042               "error: true is not defined"
18043              #endif
18044              #if true != 1
18045               "error: true is not 1"
18046              #endif
18047              #ifndef __bool_true_false_are_defined
18048               "error: __bool_true_false_are_defined is not defined"
18049              #endif
18050
18051              struct s { _Bool s: 1; _Bool t; } s;
18052
18053              char a[true == 1 ? 1 : -1];
18054              char b[false == 0 ? 1 : -1];
18055              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18056              char d[(bool) 0.5 == true ? 1 : -1];
18057              /* See body of main program for 'e'.  */
18058              char f[(_Bool) 0.0 == false ? 1 : -1];
18059              char g[true];
18060              char h[sizeof (_Bool)];
18061              char i[sizeof s.t];
18062              enum { j = false, k = true, l = false * true, m = true * 256 };
18063              /* The following fails for
18064                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18065              _Bool n[m];
18066              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18067              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18068              /* Catch a bug in an HP-UX C compiler.  See
18069                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18070                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18071               */
18072              _Bool q = true;
18073              _Bool *pq = &q;
18074
18075 int
18076 main ()
18077 {
18078
18079              bool e = &s;
18080              *pq |= q;
18081              *pq |= ! q;
18082              /* Refer to every declared value, to avoid compiler optimizations.  */
18083              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18084                      + !m + !n + !o + !p + !q + !pq);
18085
18086   ;
18087   return 0;
18088 }
18089 _ACEOF
18090 if ac_fn_c_try_compile "$LINENO"; then :
18091   ac_cv_header_stdbool_h=yes
18092 else
18093   ac_cv_header_stdbool_h=no
18094 fi
18095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18096 fi
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
18098 $as_echo "$ac_cv_header_stdbool_h" >&6; }
18099    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
18100 if test "x$ac_cv_type__Bool" = xyes; then :
18101
18102 cat >>confdefs.h <<_ACEOF
18103 #define HAVE__BOOL 1
18104 _ACEOF
18105
18106
18107 fi
18108
18109
18110 if test $ac_cv_header_stdbool_h = yes; then
18111
18112 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
18113
18114 fi
18115
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18117 $as_echo_n "checking for inline... " >&6; }
18118 if ${ac_cv_c_inline+:} false; then :
18119   $as_echo_n "(cached) " >&6
18120 else
18121   ac_cv_c_inline=no
18122 for ac_kw in inline __inline__ __inline; do
18123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h.  */
18125 #ifndef __cplusplus
18126 typedef int foo_t;
18127 static $ac_kw foo_t static_foo () {return 0; }
18128 $ac_kw foo_t foo () {return 0; }
18129 #endif
18130
18131 _ACEOF
18132 if ac_fn_c_try_compile "$LINENO"; then :
18133   ac_cv_c_inline=$ac_kw
18134 fi
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136   test "$ac_cv_c_inline" != no && break
18137 done
18138
18139 fi
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18141 $as_echo "$ac_cv_c_inline" >&6; }
18142
18143 case $ac_cv_c_inline in
18144   inline | yes) ;;
18145   *)
18146     case $ac_cv_c_inline in
18147       no) ac_val=;;
18148       *) ac_val=$ac_cv_c_inline;;
18149     esac
18150     cat >>confdefs.h <<_ACEOF
18151 #ifndef __cplusplus
18152 #define inline $ac_val
18153 #endif
18154 _ACEOF
18155     ;;
18156 esac
18157
18158
18159 # Checks for library functions.
18160
18161 cat >confcache <<\_ACEOF
18162 # This file is a shell script that caches the results of configure
18163 # tests run on this system so they can be shared between configure
18164 # scripts and configure runs, see configure's option --config-cache.
18165 # It is not useful on other systems.  If it contains results you don't
18166 # want to keep, you may remove or edit it.
18167 #
18168 # config.status only pays attention to the cache file if you give it
18169 # the --recheck option to rerun configure.
18170 #
18171 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18172 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18173 # following values.
18174
18175 _ACEOF
18176
18177 # The following way of writing the cache mishandles newlines in values,
18178 # but we know of no workaround that is simple, portable, and efficient.
18179 # So, we kill variables containing newlines.
18180 # Ultrix sh set writes to stderr and can't be redirected directly,
18181 # and sets the high bit in the cache file unless we assign to the vars.
18182 (
18183   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18184     eval ac_val=\$$ac_var
18185     case $ac_val in #(
18186     *${as_nl}*)
18187       case $ac_var in #(
18188       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18190       esac
18191       case $ac_var in #(
18192       _ | IFS | as_nl) ;; #(
18193       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18194       *) { eval $ac_var=; unset $ac_var;} ;;
18195       esac ;;
18196     esac
18197   done
18198
18199   (set) 2>&1 |
18200     case $as_nl`(ac_space=' '; set) 2>&1` in #(
18201     *${as_nl}ac_space=\ *)
18202       # `set' does not quote correctly, so add quotes: double-quote
18203       # substitution turns \\\\ into \\, and sed turns \\ into \.
18204       sed -n \
18205         "s/'/'\\\\''/g;
18206           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18207       ;; #(
18208     *)
18209       # `set' quotes correctly as required by POSIX, so do not add quotes.
18210       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18211       ;;
18212     esac |
18213     sort
18214 ) |
18215   sed '
18216      /^ac_cv_env_/b end
18217      t clear
18218      :clear
18219      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18220      t end
18221      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18222      :end' >>confcache
18223 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18224   if test -w "$cache_file"; then
18225     if test "x$cache_file" != "x/dev/null"; then
18226       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18227 $as_echo "$as_me: updating cache $cache_file" >&6;}
18228       if test ! -f "$cache_file" || test -h "$cache_file"; then
18229         cat confcache >"$cache_file"
18230       else
18231         case $cache_file in #(
18232         */* | ?:*)
18233           mv -f confcache "$cache_file"$$ &&
18234           mv -f "$cache_file"$$ "$cache_file" ;; #(
18235         *)
18236           mv -f confcache "$cache_file" ;;
18237         esac
18238       fi
18239     fi
18240   else
18241     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18242 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18243   fi
18244 fi
18245 rm -f confcache
18246
18247 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18248 # Let make expand exec_prefix.
18249 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18250
18251 DEFS=-DHAVE_CONFIG_H
18252
18253 ac_libobjs=
18254 ac_ltlibobjs=
18255 U=
18256 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18257   # 1. Remove the extension, and $U if already installed.
18258   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18259   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18260   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18261   #    will be set to the directory where LIBOBJS objects are built.
18262   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18263   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18264 done
18265 LIBOBJS=$ac_libobjs
18266
18267 LTLIBOBJS=$ac_ltlibobjs
18268
18269
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18271 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18272    if test -n "$am_sleep_pid"; then
18273      # Hide warnings about reused PIDs.
18274      wait $am_sleep_pid 2>/dev/null
18275    fi
18276    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18277 $as_echo "done" >&6; }
18278  if test -n "$EXEEXT"; then
18279   am__EXEEXT_TRUE=
18280   am__EXEEXT_FALSE='#'
18281 else
18282   am__EXEEXT_TRUE='#'
18283   am__EXEEXT_FALSE=
18284 fi
18285
18286 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18287   as_fn_error $? "conditional \"AMDEP\" was never defined.
18288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18289 fi
18290 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18291   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18293 fi
18294 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
18295   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
18296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18297 fi
18298 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
18299   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
18300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18301 fi
18302 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
18303   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
18304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18305 fi
18306 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
18307   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
18308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18309 fi
18310 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
18311   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
18312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18313 fi
18314 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
18315   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
18316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18317 fi
18318 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
18319   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
18320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18321 fi
18322 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
18323   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
18324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18325 fi
18326 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
18327   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
18328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18329 fi
18330 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
18331   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
18332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18333 fi
18334 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
18335   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
18336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18337 fi
18338 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
18339   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
18340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18341 fi
18342 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
18343   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
18344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18345 fi
18346 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
18347   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
18348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18349 fi
18350 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
18351   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
18352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18353 fi
18354 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
18355   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
18356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18357 fi
18358 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
18359   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
18360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18361 fi
18362 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
18363   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
18364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18365 fi
18366 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
18367   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
18368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18369 fi
18370 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
18371   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
18372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18373 fi
18374 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
18375   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
18376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18377 fi
18378 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
18379   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
18380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18381 fi
18382 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18383   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18385 fi
18386 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18387   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18389 fi
18390
18391 : "${CONFIG_STATUS=./config.status}"
18392 ac_write_fail=0
18393 ac_clean_files_save=$ac_clean_files
18394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18396 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18397 as_write_fail=0
18398 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18399 #! $SHELL
18400 # Generated by $as_me.
18401 # Run this file to recreate the current configuration.
18402 # Compiler output produced by configure, useful for debugging
18403 # configure, is in config.log if it exists.
18404
18405 debug=false
18406 ac_cs_recheck=false
18407 ac_cs_silent=false
18408
18409 SHELL=\${CONFIG_SHELL-$SHELL}
18410 export SHELL
18411 _ASEOF
18412 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18413 ## -------------------- ##
18414 ## M4sh Initialization. ##
18415 ## -------------------- ##
18416
18417 # Be more Bourne compatible
18418 DUALCASE=1; export DUALCASE # for MKS sh
18419 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18420   emulate sh
18421   NULLCMD=:
18422   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18423   # is contrary to our usage.  Disable this feature.
18424   alias -g '${1+"$@"}'='"$@"'
18425   setopt NO_GLOB_SUBST
18426 else
18427   case `(set -o) 2>/dev/null` in #(
18428   *posix*) :
18429     set -o posix ;; #(
18430   *) :
18431      ;;
18432 esac
18433 fi
18434
18435
18436 as_nl='
18437 '
18438 export as_nl
18439 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18440 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18442 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18443 # Prefer a ksh shell builtin over an external printf program on Solaris,
18444 # but without wasting forks for bash or zsh.
18445 if test -z "$BASH_VERSION$ZSH_VERSION" \
18446     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18447   as_echo='print -r --'
18448   as_echo_n='print -rn --'
18449 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18450   as_echo='printf %s\n'
18451   as_echo_n='printf %s'
18452 else
18453   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18454     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18455     as_echo_n='/usr/ucb/echo -n'
18456   else
18457     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18458     as_echo_n_body='eval
18459       arg=$1;
18460       case $arg in #(
18461       *"$as_nl"*)
18462         expr "X$arg" : "X\\(.*\\)$as_nl";
18463         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18464       esac;
18465       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18466     '
18467     export as_echo_n_body
18468     as_echo_n='sh -c $as_echo_n_body as_echo'
18469   fi
18470   export as_echo_body
18471   as_echo='sh -c $as_echo_body as_echo'
18472 fi
18473
18474 # The user is always right.
18475 if test "${PATH_SEPARATOR+set}" != set; then
18476   PATH_SEPARATOR=:
18477   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18478     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18479       PATH_SEPARATOR=';'
18480   }
18481 fi
18482
18483
18484 # IFS
18485 # We need space, tab and new line, in precisely that order.  Quoting is
18486 # there to prevent editors from complaining about space-tab.
18487 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18488 # splitting by setting IFS to empty value.)
18489 IFS=" ""        $as_nl"
18490
18491 # Find who we are.  Look in the path if we contain no directory separator.
18492 as_myself=
18493 case $0 in #((
18494   *[\\/]* ) as_myself=$0 ;;
18495   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18496 for as_dir in $PATH
18497 do
18498   IFS=$as_save_IFS
18499   test -z "$as_dir" && as_dir=.
18500     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18501   done
18502 IFS=$as_save_IFS
18503
18504      ;;
18505 esac
18506 # We did not find ourselves, most probably we were run as `sh COMMAND'
18507 # in which case we are not to be found in the path.
18508 if test "x$as_myself" = x; then
18509   as_myself=$0
18510 fi
18511 if test ! -f "$as_myself"; then
18512   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18513   exit 1
18514 fi
18515
18516 # Unset variables that we do not need and which cause bugs (e.g. in
18517 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18518 # suppresses any "Segmentation fault" message there.  '((' could
18519 # trigger a bug in pdksh 5.2.14.
18520 for as_var in BASH_ENV ENV MAIL MAILPATH
18521 do eval test x\${$as_var+set} = xset \
18522   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18523 done
18524 PS1='$ '
18525 PS2='> '
18526 PS4='+ '
18527
18528 # NLS nuisances.
18529 LC_ALL=C
18530 export LC_ALL
18531 LANGUAGE=C
18532 export LANGUAGE
18533
18534 # CDPATH.
18535 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18536
18537
18538 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18539 # ----------------------------------------
18540 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18541 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18542 # script with STATUS, using 1 if that was 0.
18543 as_fn_error ()
18544 {
18545   as_status=$1; test $as_status -eq 0 && as_status=1
18546   if test "$4"; then
18547     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18548     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18549   fi
18550   $as_echo "$as_me: error: $2" >&2
18551   as_fn_exit $as_status
18552 } # as_fn_error
18553
18554
18555 # as_fn_set_status STATUS
18556 # -----------------------
18557 # Set $? to STATUS, without forking.
18558 as_fn_set_status ()
18559 {
18560   return $1
18561 } # as_fn_set_status
18562
18563 # as_fn_exit STATUS
18564 # -----------------
18565 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18566 as_fn_exit ()
18567 {
18568   set +e
18569   as_fn_set_status $1
18570   exit $1
18571 } # as_fn_exit
18572
18573 # as_fn_unset VAR
18574 # ---------------
18575 # Portably unset VAR.
18576 as_fn_unset ()
18577 {
18578   { eval $1=; unset $1;}
18579 }
18580 as_unset=as_fn_unset
18581 # as_fn_append VAR VALUE
18582 # ----------------------
18583 # Append the text in VALUE to the end of the definition contained in VAR. Take
18584 # advantage of any shell optimizations that allow amortized linear growth over
18585 # repeated appends, instead of the typical quadratic growth present in naive
18586 # implementations.
18587 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18588   eval 'as_fn_append ()
18589   {
18590     eval $1+=\$2
18591   }'
18592 else
18593   as_fn_append ()
18594   {
18595     eval $1=\$$1\$2
18596   }
18597 fi # as_fn_append
18598
18599 # as_fn_arith ARG...
18600 # ------------------
18601 # Perform arithmetic evaluation on the ARGs, and store the result in the
18602 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18603 # must be portable across $(()) and expr.
18604 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18605   eval 'as_fn_arith ()
18606   {
18607     as_val=$(( $* ))
18608   }'
18609 else
18610   as_fn_arith ()
18611   {
18612     as_val=`expr "$@" || test $? -eq 1`
18613   }
18614 fi # as_fn_arith
18615
18616
18617 if expr a : '\(a\)' >/dev/null 2>&1 &&
18618    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18619   as_expr=expr
18620 else
18621   as_expr=false
18622 fi
18623
18624 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18625   as_basename=basename
18626 else
18627   as_basename=false
18628 fi
18629
18630 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18631   as_dirname=dirname
18632 else
18633   as_dirname=false
18634 fi
18635
18636 as_me=`$as_basename -- "$0" ||
18637 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18638          X"$0" : 'X\(//\)$' \| \
18639          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18640 $as_echo X/"$0" |
18641     sed '/^.*\/\([^/][^/]*\)\/*$/{
18642             s//\1/
18643             q
18644           }
18645           /^X\/\(\/\/\)$/{
18646             s//\1/
18647             q
18648           }
18649           /^X\/\(\/\).*/{
18650             s//\1/
18651             q
18652           }
18653           s/.*/./; q'`
18654
18655 # Avoid depending upon Character Ranges.
18656 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18657 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18658 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18659 as_cr_digits='0123456789'
18660 as_cr_alnum=$as_cr_Letters$as_cr_digits
18661
18662 ECHO_C= ECHO_N= ECHO_T=
18663 case `echo -n x` in #(((((
18664 -n*)
18665   case `echo 'xy\c'` in
18666   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18667   xy)  ECHO_C='\c';;
18668   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18669        ECHO_T=' ';;
18670   esac;;
18671 *)
18672   ECHO_N='-n';;
18673 esac
18674
18675 rm -f conf$$ conf$$.exe conf$$.file
18676 if test -d conf$$.dir; then
18677   rm -f conf$$.dir/conf$$.file
18678 else
18679   rm -f conf$$.dir
18680   mkdir conf$$.dir 2>/dev/null
18681 fi
18682 if (echo >conf$$.file) 2>/dev/null; then
18683   if ln -s conf$$.file conf$$ 2>/dev/null; then
18684     as_ln_s='ln -s'
18685     # ... but there are two gotchas:
18686     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18687     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18688     # In both cases, we have to default to `cp -pR'.
18689     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18690       as_ln_s='cp -pR'
18691   elif ln conf$$.file conf$$ 2>/dev/null; then
18692     as_ln_s=ln
18693   else
18694     as_ln_s='cp -pR'
18695   fi
18696 else
18697   as_ln_s='cp -pR'
18698 fi
18699 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18700 rmdir conf$$.dir 2>/dev/null
18701
18702
18703 # as_fn_mkdir_p
18704 # -------------
18705 # Create "$as_dir" as a directory, including parents if necessary.
18706 as_fn_mkdir_p ()
18707 {
18708
18709   case $as_dir in #(
18710   -*) as_dir=./$as_dir;;
18711   esac
18712   test -d "$as_dir" || eval $as_mkdir_p || {
18713     as_dirs=
18714     while :; do
18715       case $as_dir in #(
18716       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18717       *) as_qdir=$as_dir;;
18718       esac
18719       as_dirs="'$as_qdir' $as_dirs"
18720       as_dir=`$as_dirname -- "$as_dir" ||
18721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18722          X"$as_dir" : 'X\(//\)[^/]' \| \
18723          X"$as_dir" : 'X\(//\)$' \| \
18724          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18725 $as_echo X"$as_dir" |
18726     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18727             s//\1/
18728             q
18729           }
18730           /^X\(\/\/\)[^/].*/{
18731             s//\1/
18732             q
18733           }
18734           /^X\(\/\/\)$/{
18735             s//\1/
18736             q
18737           }
18738           /^X\(\/\).*/{
18739             s//\1/
18740             q
18741           }
18742           s/.*/./; q'`
18743       test -d "$as_dir" && break
18744     done
18745     test -z "$as_dirs" || eval "mkdir $as_dirs"
18746   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18747
18748
18749 } # as_fn_mkdir_p
18750 if mkdir -p . 2>/dev/null; then
18751   as_mkdir_p='mkdir -p "$as_dir"'
18752 else
18753   test -d ./-p && rmdir ./-p
18754   as_mkdir_p=false
18755 fi
18756
18757
18758 # as_fn_executable_p FILE
18759 # -----------------------
18760 # Test if FILE is an executable regular file.
18761 as_fn_executable_p ()
18762 {
18763   test -f "$1" && test -x "$1"
18764 } # as_fn_executable_p
18765 as_test_x='test -x'
18766 as_executable_p=as_fn_executable_p
18767
18768 # Sed expression to map a string onto a valid CPP name.
18769 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18770
18771 # Sed expression to map a string onto a valid variable name.
18772 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18773
18774
18775 exec 6>&1
18776 ## ----------------------------------- ##
18777 ## Main body of $CONFIG_STATUS script. ##
18778 ## ----------------------------------- ##
18779 _ASEOF
18780 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18781
18782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18783 # Save the log message, to keep $0 and so on meaningful, and to
18784 # report actual input values of CONFIG_FILES etc. instead of their
18785 # values after options handling.
18786 ac_log="
18787 This file was extended by xplus-gno $as_me 1.0, which was
18788 generated by GNU Autoconf 2.69.  Invocation command line was
18789
18790   CONFIG_FILES    = $CONFIG_FILES
18791   CONFIG_HEADERS  = $CONFIG_HEADERS
18792   CONFIG_LINKS    = $CONFIG_LINKS
18793   CONFIG_COMMANDS = $CONFIG_COMMANDS
18794   $ $0 $@
18795
18796 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18797 "
18798
18799 _ACEOF
18800
18801 case $ac_config_files in *"
18802 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18803 esac
18804
18805 case $ac_config_headers in *"
18806 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18807 esac
18808
18809
18810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18811 # Files that config.status was made for.
18812 config_files="$ac_config_files"
18813 config_headers="$ac_config_headers"
18814 config_commands="$ac_config_commands"
18815
18816 _ACEOF
18817
18818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18819 ac_cs_usage="\
18820 \`$as_me' instantiates files and other configuration actions
18821 from templates according to the current configuration.  Unless the files
18822 and actions are specified as TAGs, all are instantiated by default.
18823
18824 Usage: $0 [OPTION]... [TAG]...
18825
18826   -h, --help       print this help, then exit
18827   -V, --version    print version number and configuration settings, then exit
18828       --config     print configuration, then exit
18829   -q, --quiet, --silent
18830                    do not print progress messages
18831   -d, --debug      don't remove temporary files
18832       --recheck    update $as_me by reconfiguring in the same conditions
18833       --file=FILE[:TEMPLATE]
18834                    instantiate the configuration file FILE
18835       --header=FILE[:TEMPLATE]
18836                    instantiate the configuration header FILE
18837
18838 Configuration files:
18839 $config_files
18840
18841 Configuration headers:
18842 $config_headers
18843
18844 Configuration commands:
18845 $config_commands
18846
18847 Report bugs to <BUG-REPORT-ADDRESS>."
18848
18849 _ACEOF
18850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18851 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18852 ac_cs_version="\\
18853 xplus-gno config.status 1.0
18854 configured by $0, generated by GNU Autoconf 2.69,
18855   with options \\"\$ac_cs_config\\"
18856
18857 Copyright (C) 2012 Free Software Foundation, Inc.
18858 This config.status script is free software; the Free Software Foundation
18859 gives unlimited permission to copy, distribute and modify it."
18860
18861 ac_pwd='$ac_pwd'
18862 srcdir='$srcdir'
18863 INSTALL='$INSTALL'
18864 MKDIR_P='$MKDIR_P'
18865 AWK='$AWK'
18866 test -n "\$AWK" || AWK=awk
18867 _ACEOF
18868
18869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18870 # The default lists apply if the user does not specify any file.
18871 ac_need_defaults=:
18872 while test $# != 0
18873 do
18874   case $1 in
18875   --*=?*)
18876     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18877     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18878     ac_shift=:
18879     ;;
18880   --*=)
18881     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18882     ac_optarg=
18883     ac_shift=:
18884     ;;
18885   *)
18886     ac_option=$1
18887     ac_optarg=$2
18888     ac_shift=shift
18889     ;;
18890   esac
18891
18892   case $ac_option in
18893   # Handling of the options.
18894   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18895     ac_cs_recheck=: ;;
18896   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18897     $as_echo "$ac_cs_version"; exit ;;
18898   --config | --confi | --conf | --con | --co | --c )
18899     $as_echo "$ac_cs_config"; exit ;;
18900   --debug | --debu | --deb | --de | --d | -d )
18901     debug=: ;;
18902   --file | --fil | --fi | --f )
18903     $ac_shift
18904     case $ac_optarg in
18905     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18906     '') as_fn_error $? "missing file argument" ;;
18907     esac
18908     as_fn_append CONFIG_FILES " '$ac_optarg'"
18909     ac_need_defaults=false;;
18910   --header | --heade | --head | --hea )
18911     $ac_shift
18912     case $ac_optarg in
18913     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18914     esac
18915     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18916     ac_need_defaults=false;;
18917   --he | --h)
18918     # Conflict between --help and --header
18919     as_fn_error $? "ambiguous option: \`$1'
18920 Try \`$0 --help' for more information.";;
18921   --help | --hel | -h )
18922     $as_echo "$ac_cs_usage"; exit ;;
18923   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18924   | -silent | --silent | --silen | --sile | --sil | --si | --s)
18925     ac_cs_silent=: ;;
18926
18927   # This is an error.
18928   -*) as_fn_error $? "unrecognized option: \`$1'
18929 Try \`$0 --help' for more information." ;;
18930
18931   *) as_fn_append ac_config_targets " $1"
18932      ac_need_defaults=false ;;
18933
18934   esac
18935   shift
18936 done
18937
18938 ac_configure_extra_args=
18939
18940 if $ac_cs_silent; then
18941   exec 6>/dev/null
18942   ac_configure_extra_args="$ac_configure_extra_args --silent"
18943 fi
18944
18945 _ACEOF
18946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18947 if \$ac_cs_recheck; then
18948   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18949   shift
18950   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18951   CONFIG_SHELL='$SHELL'
18952   export CONFIG_SHELL
18953   exec "\$@"
18954 fi
18955
18956 _ACEOF
18957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18958 exec 5>>config.log
18959 {
18960   echo
18961   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18962 ## Running $as_me. ##
18963 _ASBOX
18964   $as_echo "$ac_log"
18965 } >&5
18966
18967 _ACEOF
18968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18969 #
18970 # INIT-COMMANDS
18971 #
18972 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18973
18974
18975 # The HP-UX ksh and POSIX shell print the target directory to stdout
18976 # if CDPATH is set.
18977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18978
18979 sed_quote_subst='$sed_quote_subst'
18980 double_quote_subst='$double_quote_subst'
18981 delay_variable_subst='$delay_variable_subst'
18982 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18983 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18984 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18985 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18986 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18987 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18988 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18989 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18990 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18991 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18992 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18993 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18994 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18995 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18996 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18997 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18998 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18999 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19000 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19001 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19002 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19003 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19004 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19005 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19006 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19007 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19008 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19009 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19010 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19011 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19012 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19013 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19014 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19015 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19016 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19017 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19018 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19019 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19020 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19021 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19022 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19023 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19024 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19025 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19026 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19027 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19028 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19029 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19030 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19031 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19032 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19033 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19034 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19035 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19036 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19037 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19038 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
19039 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19040 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19041 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19042 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19043 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19044 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19046 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19047 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19048 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19049 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19105 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19112 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19113 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19114 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19115 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19116 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19117 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19118 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19119 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19120 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19121 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19122 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19123 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19124 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19125 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19126 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19127 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19128 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19129 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19130 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19131 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19132 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19133 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19134 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19135 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19136 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19137 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19138 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19139 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19140 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19141 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19142 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19143 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19144 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19145 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19146 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19147 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19148 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19149 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19150 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19151 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19152 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19153 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19154 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19155 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19156 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19157 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19158 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19159 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19160 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19161 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19162 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19163 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19164 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19165 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19166
19167 LTCC='$LTCC'
19168 LTCFLAGS='$LTCFLAGS'
19169 compiler='$compiler_DEFAULT'
19170
19171 # A function that is used when there is no print builtin or printf.
19172 func_fallback_echo ()
19173 {
19174   eval 'cat <<_LTECHO_EOF
19175 \$1
19176 _LTECHO_EOF'
19177 }
19178
19179 # Quote evaled strings.
19180 for var in SHELL \
19181 ECHO \
19182 PATH_SEPARATOR \
19183 SED \
19184 GREP \
19185 EGREP \
19186 FGREP \
19187 LD \
19188 NM \
19189 LN_S \
19190 lt_SP2NL \
19191 lt_NL2SP \
19192 reload_flag \
19193 OBJDUMP \
19194 deplibs_check_method \
19195 file_magic_cmd \
19196 file_magic_glob \
19197 want_nocaseglob \
19198 DLLTOOL \
19199 sharedlib_from_linklib_cmd \
19200 AR \
19201 AR_FLAGS \
19202 archiver_list_spec \
19203 STRIP \
19204 RANLIB \
19205 CC \
19206 CFLAGS \
19207 compiler \
19208 lt_cv_sys_global_symbol_pipe \
19209 lt_cv_sys_global_symbol_to_cdecl \
19210 lt_cv_sys_global_symbol_to_c_name_address \
19211 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19212 nm_file_list_spec \
19213 lt_prog_compiler_no_builtin_flag \
19214 lt_prog_compiler_pic \
19215 lt_prog_compiler_wl \
19216 lt_prog_compiler_static \
19217 lt_cv_prog_compiler_c_o \
19218 need_locks \
19219 MANIFEST_TOOL \
19220 DSYMUTIL \
19221 NMEDIT \
19222 LIPO \
19223 OTOOL \
19224 OTOOL64 \
19225 shrext_cmds \
19226 export_dynamic_flag_spec \
19227 whole_archive_flag_spec \
19228 compiler_needs_object \
19229 with_gnu_ld \
19230 allow_undefined_flag \
19231 no_undefined_flag \
19232 hardcode_libdir_flag_spec \
19233 hardcode_libdir_separator \
19234 exclude_expsyms \
19235 include_expsyms \
19236 file_list_spec \
19237 variables_saved_for_relink \
19238 libname_spec \
19239 library_names_spec \
19240 soname_spec \
19241 install_override_mode \
19242 finish_eval \
19243 old_striplib \
19244 striplib \
19245 compiler_lib_search_dirs \
19246 predep_objects \
19247 postdep_objects \
19248 predeps \
19249 postdeps \
19250 compiler_lib_search_path \
19251 LD_CXX \
19252 reload_flag_CXX \
19253 compiler_CXX \
19254 lt_prog_compiler_no_builtin_flag_CXX \
19255 lt_prog_compiler_pic_CXX \
19256 lt_prog_compiler_wl_CXX \
19257 lt_prog_compiler_static_CXX \
19258 lt_cv_prog_compiler_c_o_CXX \
19259 export_dynamic_flag_spec_CXX \
19260 whole_archive_flag_spec_CXX \
19261 compiler_needs_object_CXX \
19262 with_gnu_ld_CXX \
19263 allow_undefined_flag_CXX \
19264 no_undefined_flag_CXX \
19265 hardcode_libdir_flag_spec_CXX \
19266 hardcode_libdir_separator_CXX \
19267 exclude_expsyms_CXX \
19268 include_expsyms_CXX \
19269 file_list_spec_CXX \
19270 compiler_lib_search_dirs_CXX \
19271 predep_objects_CXX \
19272 postdep_objects_CXX \
19273 predeps_CXX \
19274 postdeps_CXX \
19275 compiler_lib_search_path_CXX; do
19276     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19277     *[\\\\\\\`\\"\\\$]*)
19278       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19279       ;;
19280     *)
19281       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19282       ;;
19283     esac
19284 done
19285
19286 # Double-quote double-evaled strings.
19287 for var in reload_cmds \
19288 old_postinstall_cmds \
19289 old_postuninstall_cmds \
19290 old_archive_cmds \
19291 extract_expsyms_cmds \
19292 old_archive_from_new_cmds \
19293 old_archive_from_expsyms_cmds \
19294 archive_cmds \
19295 archive_expsym_cmds \
19296 module_cmds \
19297 module_expsym_cmds \
19298 export_symbols_cmds \
19299 prelink_cmds \
19300 postlink_cmds \
19301 postinstall_cmds \
19302 postuninstall_cmds \
19303 finish_cmds \
19304 sys_lib_search_path_spec \
19305 sys_lib_dlsearch_path_spec \
19306 reload_cmds_CXX \
19307 old_archive_cmds_CXX \
19308 old_archive_from_new_cmds_CXX \
19309 old_archive_from_expsyms_cmds_CXX \
19310 archive_cmds_CXX \
19311 archive_expsym_cmds_CXX \
19312 module_cmds_CXX \
19313 module_expsym_cmds_CXX \
19314 export_symbols_cmds_CXX \
19315 prelink_cmds_CXX \
19316 postlink_cmds_CXX; do
19317     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19318     *[\\\\\\\`\\"\\\$]*)
19319       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19320       ;;
19321     *)
19322       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19323       ;;
19324     esac
19325 done
19326
19327 ac_aux_dir='$ac_aux_dir'
19328 xsi_shell='$xsi_shell'
19329 lt_shell_append='$lt_shell_append'
19330
19331 # See if we are running on zsh, and set the options which allow our
19332 # commands through without removal of \ escapes INIT.
19333 if test -n "\${ZSH_VERSION+set}" ; then
19334    setopt NO_GLOB_SUBST
19335 fi
19336
19337
19338     PACKAGE='$PACKAGE'
19339     VERSION='$VERSION'
19340     TIMESTAMP='$TIMESTAMP'
19341     RM='$RM'
19342     ofile='$ofile'
19343
19344
19345
19346
19347
19348
19349 _ACEOF
19350
19351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19352
19353 # Handling of arguments.
19354 for ac_config_target in $ac_config_targets
19355 do
19356   case $ac_config_target in
19357     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19358     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19359     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19360     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19361     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
19362     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19363
19364   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19365   esac
19366 done
19367
19368
19369 # If the user did not use the arguments to specify the items to instantiate,
19370 # then the envvar interface is used.  Set only those that are not.
19371 # We use the long form for the default assignment because of an extremely
19372 # bizarre bug on SunOS 4.1.3.
19373 if $ac_need_defaults; then
19374   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19375   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19376   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19377 fi
19378
19379 # Have a temporary directory for convenience.  Make it in the build tree
19380 # simply because there is no reason against having it here, and in addition,
19381 # creating and moving files from /tmp can sometimes cause problems.
19382 # Hook for its removal unless debugging.
19383 # Note that there is a small window in which the directory will not be cleaned:
19384 # after its creation but before its name has been assigned to `$tmp'.
19385 $debug ||
19386 {
19387   tmp= ac_tmp=
19388   trap 'exit_status=$?
19389   : "${ac_tmp:=$tmp}"
19390   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19391 ' 0
19392   trap 'as_fn_exit 1' 1 2 13 15
19393 }
19394 # Create a (secure) tmp directory for tmp files.
19395
19396 {
19397   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19398   test -d "$tmp"
19399 }  ||
19400 {
19401   tmp=./conf$$-$RANDOM
19402   (umask 077 && mkdir "$tmp")
19403 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19404 ac_tmp=$tmp
19405
19406 # Set up the scripts for CONFIG_FILES section.
19407 # No need to generate them if there are no CONFIG_FILES.
19408 # This happens for instance with `./config.status config.h'.
19409 if test -n "$CONFIG_FILES"; then
19410
19411
19412 ac_cr=`echo X | tr X '\015'`
19413 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19414 # But we know of no other shell where ac_cr would be empty at this
19415 # point, so we can use a bashism as a fallback.
19416 if test "x$ac_cr" = x; then
19417   eval ac_cr=\$\'\\r\'
19418 fi
19419 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19420 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19421   ac_cs_awk_cr='\\r'
19422 else
19423   ac_cs_awk_cr=$ac_cr
19424 fi
19425
19426 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19427 _ACEOF
19428
19429
19430 {
19431   echo "cat >conf$$subs.awk <<_ACEOF" &&
19432   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19433   echo "_ACEOF"
19434 } >conf$$subs.sh ||
19435   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19436 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19437 ac_delim='%!_!# '
19438 for ac_last_try in false false false false false :; do
19439   . ./conf$$subs.sh ||
19440     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19441
19442   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19443   if test $ac_delim_n = $ac_delim_num; then
19444     break
19445   elif $ac_last_try; then
19446     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19447   else
19448     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19449   fi
19450 done
19451 rm -f conf$$subs.sh
19452
19453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19454 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19455 _ACEOF
19456 sed -n '
19457 h
19458 s/^/S["/; s/!.*/"]=/
19459 p
19460 g
19461 s/^[^!]*!//
19462 :repl
19463 t repl
19464 s/'"$ac_delim"'$//
19465 t delim
19466 :nl
19467 h
19468 s/\(.\{148\}\)..*/\1/
19469 t more1
19470 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19471 p
19472 n
19473 b repl
19474 :more1
19475 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19476 p
19477 g
19478 s/.\{148\}//
19479 t nl
19480 :delim
19481 h
19482 s/\(.\{148\}\)..*/\1/
19483 t more2
19484 s/["\\]/\\&/g; s/^/"/; s/$/"/
19485 p
19486 b
19487 :more2
19488 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19489 p
19490 g
19491 s/.\{148\}//
19492 t delim
19493 ' <conf$$subs.awk | sed '
19494 /^[^""]/{
19495   N
19496   s/\n//
19497 }
19498 ' >>$CONFIG_STATUS || ac_write_fail=1
19499 rm -f conf$$subs.awk
19500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19501 _ACAWK
19502 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19503   for (key in S) S_is_set[key] = 1
19504   FS = "\a"
19505
19506 }
19507 {
19508   line = $ 0
19509   nfields = split(line, field, "@")
19510   substed = 0
19511   len = length(field[1])
19512   for (i = 2; i < nfields; i++) {
19513     key = field[i]
19514     keylen = length(key)
19515     if (S_is_set[key]) {
19516       value = S[key]
19517       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19518       len += length(value) + length(field[++i])
19519       substed = 1
19520     } else
19521       len += 1 + keylen
19522   }
19523
19524   print line
19525 }
19526
19527 _ACAWK
19528 _ACEOF
19529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19530 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19531   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19532 else
19533   cat
19534 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19535   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19536 _ACEOF
19537
19538 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19539 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19540 # trailing colons and then remove the whole line if VPATH becomes empty
19541 # (actually we leave an empty line to preserve line numbers).
19542 if test "x$srcdir" = x.; then
19543   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
19544 h
19545 s///
19546 s/^/:/
19547 s/[      ]*$/:/
19548 s/:\$(srcdir):/:/g
19549 s/:\${srcdir}:/:/g
19550 s/:@srcdir@:/:/g
19551 s/^:*//
19552 s/:*$//
19553 x
19554 s/\(=[   ]*\).*/\1/
19555 G
19556 s/\n//
19557 s/^[^=]*=[       ]*$//
19558 }'
19559 fi
19560
19561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19562 fi # test -n "$CONFIG_FILES"
19563
19564 # Set up the scripts for CONFIG_HEADERS section.
19565 # No need to generate them if there are no CONFIG_HEADERS.
19566 # This happens for instance with `./config.status Makefile'.
19567 if test -n "$CONFIG_HEADERS"; then
19568 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19569 BEGIN {
19570 _ACEOF
19571
19572 # Transform confdefs.h into an awk script `defines.awk', embedded as
19573 # here-document in config.status, that substitutes the proper values into
19574 # config.h.in to produce config.h.
19575
19576 # Create a delimiter string that does not exist in confdefs.h, to ease
19577 # handling of long lines.
19578 ac_delim='%!_!# '
19579 for ac_last_try in false false :; do
19580   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19581   if test -z "$ac_tt"; then
19582     break
19583   elif $ac_last_try; then
19584     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19585   else
19586     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19587   fi
19588 done
19589
19590 # For the awk script, D is an array of macro values keyed by name,
19591 # likewise P contains macro parameters if any.  Preserve backslash
19592 # newline sequences.
19593
19594 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19595 sed -n '
19596 s/.\{148\}/&'"$ac_delim"'/g
19597 t rset
19598 :rset
19599 s/^[     ]*#[    ]*define[       ][      ]*/ /
19600 t def
19601 d
19602 :def
19603 s/\\$//
19604 t bsnl
19605 s/["\\]/\\&/g
19606 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19607 D["\1"]=" \3"/p
19608 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19609 d
19610 :bsnl
19611 s/["\\]/\\&/g
19612 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19613 D["\1"]=" \3\\\\\\n"\\/p
19614 t cont
19615 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19616 t cont
19617 d
19618 :cont
19619 n
19620 s/.\{148\}/&'"$ac_delim"'/g
19621 t clear
19622 :clear
19623 s/\\$//
19624 t bsnlc
19625 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19626 d
19627 :bsnlc
19628 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19629 b cont
19630 ' <confdefs.h | sed '
19631 s/'"$ac_delim"'/"\\\
19632 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19633
19634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19635   for (key in D) D_is_set[key] = 1
19636   FS = "\a"
19637 }
19638 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19639   line = \$ 0
19640   split(line, arg, " ")
19641   if (arg[1] == "#") {
19642     defundef = arg[2]
19643     mac1 = arg[3]
19644   } else {
19645     defundef = substr(arg[1], 2)
19646     mac1 = arg[2]
19647   }
19648   split(mac1, mac2, "(") #)
19649   macro = mac2[1]
19650   prefix = substr(line, 1, index(line, defundef) - 1)
19651   if (D_is_set[macro]) {
19652     # Preserve the white space surrounding the "#".
19653     print prefix "define", macro P[macro] D[macro]
19654     next
19655   } else {
19656     # Replace #undef with comments.  This is necessary, for example,
19657     # in the case of _POSIX_SOURCE, which is predefined and required
19658     # on some systems where configure will not decide to define it.
19659     if (defundef == "undef") {
19660       print "/*", prefix defundef, macro, "*/"
19661       next
19662     }
19663   }
19664 }
19665 { print }
19666 _ACAWK
19667 _ACEOF
19668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19669   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19670 fi # test -n "$CONFIG_HEADERS"
19671
19672
19673 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19674 shift
19675 for ac_tag
19676 do
19677   case $ac_tag in
19678   :[FHLC]) ac_mode=$ac_tag; continue;;
19679   esac
19680   case $ac_mode$ac_tag in
19681   :[FHL]*:*);;
19682   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19683   :[FH]-) ac_tag=-:-;;
19684   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19685   esac
19686   ac_save_IFS=$IFS
19687   IFS=:
19688   set x $ac_tag
19689   IFS=$ac_save_IFS
19690   shift
19691   ac_file=$1
19692   shift
19693
19694   case $ac_mode in
19695   :L) ac_source=$1;;
19696   :[FH])
19697     ac_file_inputs=
19698     for ac_f
19699     do
19700       case $ac_f in
19701       -) ac_f="$ac_tmp/stdin";;
19702       *) # Look for the file first in the build tree, then in the source tree
19703          # (if the path is not absolute).  The absolute path cannot be DOS-style,
19704          # because $ac_f cannot contain `:'.
19705          test -f "$ac_f" ||
19706            case $ac_f in
19707            [\\/$]*) false;;
19708            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19709            esac ||
19710            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19711       esac
19712       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19713       as_fn_append ac_file_inputs " '$ac_f'"
19714     done
19715
19716     # Let's still pretend it is `configure' which instantiates (i.e., don't
19717     # use $as_me), people would be surprised to read:
19718     #    /* config.h.  Generated by config.status.  */
19719     configure_input='Generated from '`
19720           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19721         `' by configure.'
19722     if test x"$ac_file" != x-; then
19723       configure_input="$ac_file.  $configure_input"
19724       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19725 $as_echo "$as_me: creating $ac_file" >&6;}
19726     fi
19727     # Neutralize special characters interpreted by sed in replacement strings.
19728     case $configure_input in #(
19729     *\&* | *\|* | *\\* )
19730        ac_sed_conf_input=`$as_echo "$configure_input" |
19731        sed 's/[\\\\&|]/\\\\&/g'`;; #(
19732     *) ac_sed_conf_input=$configure_input;;
19733     esac
19734
19735     case $ac_tag in
19736     *:-:* | *:-) cat >"$ac_tmp/stdin" \
19737       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19738     esac
19739     ;;
19740   esac
19741
19742   ac_dir=`$as_dirname -- "$ac_file" ||
19743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19744          X"$ac_file" : 'X\(//\)[^/]' \| \
19745          X"$ac_file" : 'X\(//\)$' \| \
19746          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19747 $as_echo X"$ac_file" |
19748     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19749             s//\1/
19750             q
19751           }
19752           /^X\(\/\/\)[^/].*/{
19753             s//\1/
19754             q
19755           }
19756           /^X\(\/\/\)$/{
19757             s//\1/
19758             q
19759           }
19760           /^X\(\/\).*/{
19761             s//\1/
19762             q
19763           }
19764           s/.*/./; q'`
19765   as_dir="$ac_dir"; as_fn_mkdir_p
19766   ac_builddir=.
19767
19768 case "$ac_dir" in
19769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19770 *)
19771   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19772   # A ".." for each directory in $ac_dir_suffix.
19773   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19774   case $ac_top_builddir_sub in
19775   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19776   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19777   esac ;;
19778 esac
19779 ac_abs_top_builddir=$ac_pwd
19780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19781 # for backward compatibility:
19782 ac_top_builddir=$ac_top_build_prefix
19783
19784 case $srcdir in
19785   .)  # We are building in place.
19786     ac_srcdir=.
19787     ac_top_srcdir=$ac_top_builddir_sub
19788     ac_abs_top_srcdir=$ac_pwd ;;
19789   [\\/]* | ?:[\\/]* )  # Absolute name.
19790     ac_srcdir=$srcdir$ac_dir_suffix;
19791     ac_top_srcdir=$srcdir
19792     ac_abs_top_srcdir=$srcdir ;;
19793   *) # Relative name.
19794     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19795     ac_top_srcdir=$ac_top_build_prefix$srcdir
19796     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19797 esac
19798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19799
19800
19801   case $ac_mode in
19802   :F)
19803   #
19804   # CONFIG_FILE
19805   #
19806
19807   case $INSTALL in
19808   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19809   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19810   esac
19811   ac_MKDIR_P=$MKDIR_P
19812   case $MKDIR_P in
19813   [\\/$]* | ?:[\\/]* ) ;;
19814   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19815   esac
19816 _ACEOF
19817
19818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19819 # If the template does not know about datarootdir, expand it.
19820 # FIXME: This hack should be removed a few years after 2.60.
19821 ac_datarootdir_hack=; ac_datarootdir_seen=
19822 ac_sed_dataroot='
19823 /datarootdir/ {
19824   p
19825   q
19826 }
19827 /@datadir@/p
19828 /@docdir@/p
19829 /@infodir@/p
19830 /@localedir@/p
19831 /@mandir@/p'
19832 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19833 *datarootdir*) ac_datarootdir_seen=yes;;
19834 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19835   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19836 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19837 _ACEOF
19838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19839   ac_datarootdir_hack='
19840   s&@datadir@&$datadir&g
19841   s&@docdir@&$docdir&g
19842   s&@infodir@&$infodir&g
19843   s&@localedir@&$localedir&g
19844   s&@mandir@&$mandir&g
19845   s&\\\${datarootdir}&$datarootdir&g' ;;
19846 esac
19847 _ACEOF
19848
19849 # Neutralize VPATH when `$srcdir' = `.'.
19850 # Shell code in configure.ac might set extrasub.
19851 # FIXME: do we really want to maintain this feature?
19852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19853 ac_sed_extra="$ac_vpsub
19854 $extrasub
19855 _ACEOF
19856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19857 :t
19858 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19859 s|@configure_input@|$ac_sed_conf_input|;t t
19860 s&@top_builddir@&$ac_top_builddir_sub&;t t
19861 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19862 s&@srcdir@&$ac_srcdir&;t t
19863 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19864 s&@top_srcdir@&$ac_top_srcdir&;t t
19865 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19866 s&@builddir@&$ac_builddir&;t t
19867 s&@abs_builddir@&$ac_abs_builddir&;t t
19868 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19869 s&@INSTALL@&$ac_INSTALL&;t t
19870 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19871 $ac_datarootdir_hack
19872 "
19873 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19874   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19875
19876 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19877   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19878   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
19879       "$ac_tmp/out"`; test -z "$ac_out"; } &&
19880   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19881 which seems to be undefined.  Please make sure it is defined" >&5
19882 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19883 which seems to be undefined.  Please make sure it is defined" >&2;}
19884
19885   rm -f "$ac_tmp/stdin"
19886   case $ac_file in
19887   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19888   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19889   esac \
19890   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19891  ;;
19892   :H)
19893   #
19894   # CONFIG_HEADER
19895   #
19896   if test x"$ac_file" != x-; then
19897     {
19898       $as_echo "/* $configure_input  */" \
19899       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19900     } >"$ac_tmp/config.h" \
19901       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19902     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19903       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19904 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19905     else
19906       rm -f "$ac_file"
19907       mv "$ac_tmp/config.h" "$ac_file" \
19908         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19909     fi
19910   else
19911     $as_echo "/* $configure_input  */" \
19912       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19913       || as_fn_error $? "could not create -" "$LINENO" 5
19914   fi
19915 # Compute "$ac_file"'s index in $config_headers.
19916 _am_arg="$ac_file"
19917 _am_stamp_count=1
19918 for _am_header in $config_headers :; do
19919   case $_am_header in
19920     $_am_arg | $_am_arg:* )
19921       break ;;
19922     * )
19923       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19924   esac
19925 done
19926 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19927 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19928          X"$_am_arg" : 'X\(//\)[^/]' \| \
19929          X"$_am_arg" : 'X\(//\)$' \| \
19930          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19931 $as_echo X"$_am_arg" |
19932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19933             s//\1/
19934             q
19935           }
19936           /^X\(\/\/\)[^/].*/{
19937             s//\1/
19938             q
19939           }
19940           /^X\(\/\/\)$/{
19941             s//\1/
19942             q
19943           }
19944           /^X\(\/\).*/{
19945             s//\1/
19946             q
19947           }
19948           s/.*/./; q'`/stamp-h$_am_stamp_count
19949  ;;
19950
19951   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19952 $as_echo "$as_me: executing $ac_file commands" >&6;}
19953  ;;
19954   esac
19955
19956
19957   case $ac_file$ac_mode in
19958     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19959   # Older Autoconf quotes --file arguments for eval, but not when files
19960   # are listed without --file.  Let's play safe and only enable the eval
19961   # if we detect the quoting.
19962   case $CONFIG_FILES in
19963   *\'*) eval set x "$CONFIG_FILES" ;;
19964   *)   set x $CONFIG_FILES ;;
19965   esac
19966   shift
19967   for mf
19968   do
19969     # Strip MF so we end up with the name of the file.
19970     mf=`echo "$mf" | sed -e 's/:.*$//'`
19971     # Check whether this is an Automake generated Makefile or not.
19972     # We used to match only the files named 'Makefile.in', but
19973     # some people rename them; so instead we look at the file content.
19974     # Grep'ing the first line is not enough: some people post-process
19975     # each Makefile.in and add a new line on top of each file to say so.
19976     # Grep'ing the whole file is not good either: AIX grep has a line
19977     # limit of 2048, but all sed's we know have understand at least 4000.
19978     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19979       dirpart=`$as_dirname -- "$mf" ||
19980 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19981          X"$mf" : 'X\(//\)[^/]' \| \
19982          X"$mf" : 'X\(//\)$' \| \
19983          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19984 $as_echo X"$mf" |
19985     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19986             s//\1/
19987             q
19988           }
19989           /^X\(\/\/\)[^/].*/{
19990             s//\1/
19991             q
19992           }
19993           /^X\(\/\/\)$/{
19994             s//\1/
19995             q
19996           }
19997           /^X\(\/\).*/{
19998             s//\1/
19999             q
20000           }
20001           s/.*/./; q'`
20002     else
20003       continue
20004     fi
20005     # Extract the definition of DEPDIR, am__include, and am__quote
20006     # from the Makefile without running 'make'.
20007     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20008     test -z "$DEPDIR" && continue
20009     am__include=`sed -n 's/^am__include = //p' < "$mf"`
20010     test -z "$am__include" && continue
20011     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20012     # Find all dependency output files, they are included files with
20013     # $(DEPDIR) in their names.  We invoke sed twice because it is the
20014     # simplest approach to changing $(DEPDIR) to its actual value in the
20015     # expansion.
20016     for file in `sed -n "
20017       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20018          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20019       # Make sure the directory exists.
20020       test -f "$dirpart/$file" && continue
20021       fdir=`$as_dirname -- "$file" ||
20022 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20023          X"$file" : 'X\(//\)[^/]' \| \
20024          X"$file" : 'X\(//\)$' \| \
20025          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20026 $as_echo X"$file" |
20027     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20028             s//\1/
20029             q
20030           }
20031           /^X\(\/\/\)[^/].*/{
20032             s//\1/
20033             q
20034           }
20035           /^X\(\/\/\)$/{
20036             s//\1/
20037             q
20038           }
20039           /^X\(\/\).*/{
20040             s//\1/
20041             q
20042           }
20043           s/.*/./; q'`
20044       as_dir=$dirpart/$fdir; as_fn_mkdir_p
20045       # echo "creating $dirpart/$file"
20046       echo '# dummy' > "$dirpart/$file"
20047     done
20048   done
20049 }
20050  ;;
20051     "libtool":C)
20052
20053     # See if we are running on zsh, and set the options which allow our
20054     # commands through without removal of \ escapes.
20055     if test -n "${ZSH_VERSION+set}" ; then
20056       setopt NO_GLOB_SUBST
20057     fi
20058
20059     cfgfile="${ofile}T"
20060     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20061     $RM "$cfgfile"
20062
20063     cat <<_LT_EOF >> "$cfgfile"
20064 #! $SHELL
20065
20066 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20067 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20068 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20069 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20070 #
20071 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20072 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20073 #                 Foundation, Inc.
20074 #   Written by Gordon Matzigkeit, 1996
20075 #
20076 #   This file is part of GNU Libtool.
20077 #
20078 # GNU Libtool is free software; you can redistribute it and/or
20079 # modify it under the terms of the GNU General Public License as
20080 # published by the Free Software Foundation; either version 2 of
20081 # the License, or (at your option) any later version.
20082 #
20083 # As a special exception to the GNU General Public License,
20084 # if you distribute this file as part of a program or library that
20085 # is built using GNU Libtool, you may include this file under the
20086 # same distribution terms that you use for the rest of that program.
20087 #
20088 # GNU Libtool is distributed in the hope that it will be useful,
20089 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20090 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20091 # GNU General Public License for more details.
20092 #
20093 # You should have received a copy of the GNU General Public License
20094 # along with GNU Libtool; see the file COPYING.  If not, a copy
20095 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20096 # obtained by writing to the Free Software Foundation, Inc.,
20097 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20098
20099
20100 # The names of the tagged configurations supported by this script.
20101 available_tags="CXX "
20102
20103 # ### BEGIN LIBTOOL CONFIG
20104
20105 # Which release of libtool.m4 was used?
20106 macro_version=$macro_version
20107 macro_revision=$macro_revision
20108
20109 # Whether or not to build shared libraries.
20110 build_libtool_libs=$enable_shared
20111
20112 # Whether or not to build static libraries.
20113 build_old_libs=$enable_static
20114
20115 # What type of objects to build.
20116 pic_mode=$pic_mode
20117
20118 # Whether or not to optimize for fast installation.
20119 fast_install=$enable_fast_install
20120
20121 # Shell to use when invoking shell scripts.
20122 SHELL=$lt_SHELL
20123
20124 # An echo program that protects backslashes.
20125 ECHO=$lt_ECHO
20126
20127 # The PATH separator for the build system.
20128 PATH_SEPARATOR=$lt_PATH_SEPARATOR
20129
20130 # The host system.
20131 host_alias=$host_alias
20132 host=$host
20133 host_os=$host_os
20134
20135 # The build system.
20136 build_alias=$build_alias
20137 build=$build
20138 build_os=$build_os
20139
20140 # A sed program that does not truncate output.
20141 SED=$lt_SED
20142
20143 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20144 Xsed="\$SED -e 1s/^X//"
20145
20146 # A grep program that handles long lines.
20147 GREP=$lt_GREP
20148
20149 # An ERE matcher.
20150 EGREP=$lt_EGREP
20151
20152 # A literal string matcher.
20153 FGREP=$lt_FGREP
20154
20155 # A BSD- or MS-compatible name lister.
20156 NM=$lt_NM
20157
20158 # Whether we need soft or hard links.
20159 LN_S=$lt_LN_S
20160
20161 # What is the maximum length of a command?
20162 max_cmd_len=$max_cmd_len
20163
20164 # Object file suffix (normally "o").
20165 objext=$ac_objext
20166
20167 # Executable file suffix (normally "").
20168 exeext=$exeext
20169
20170 # whether the shell understands "unset".
20171 lt_unset=$lt_unset
20172
20173 # turn spaces into newlines.
20174 SP2NL=$lt_lt_SP2NL
20175
20176 # turn newlines into spaces.
20177 NL2SP=$lt_lt_NL2SP
20178
20179 # convert \$build file names to \$host format.
20180 to_host_file_cmd=$lt_cv_to_host_file_cmd
20181
20182 # convert \$build files to toolchain format.
20183 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20184
20185 # An object symbol dumper.
20186 OBJDUMP=$lt_OBJDUMP
20187
20188 # Method to check whether dependent libraries are shared objects.
20189 deplibs_check_method=$lt_deplibs_check_method
20190
20191 # Command to use when deplibs_check_method = "file_magic".
20192 file_magic_cmd=$lt_file_magic_cmd
20193
20194 # How to find potential files when deplibs_check_method = "file_magic".
20195 file_magic_glob=$lt_file_magic_glob
20196
20197 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20198 want_nocaseglob=$lt_want_nocaseglob
20199
20200 # DLL creation program.
20201 DLLTOOL=$lt_DLLTOOL
20202
20203 # Command to associate shared and link libraries.
20204 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20205
20206 # The archiver.
20207 AR=$lt_AR
20208
20209 # Flags to create an archive.
20210 AR_FLAGS=$lt_AR_FLAGS
20211
20212 # How to feed a file listing to the archiver.
20213 archiver_list_spec=$lt_archiver_list_spec
20214
20215 # A symbol stripping program.
20216 STRIP=$lt_STRIP
20217
20218 # Commands used to install an old-style archive.
20219 RANLIB=$lt_RANLIB
20220 old_postinstall_cmds=$lt_old_postinstall_cmds
20221 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20222
20223 # Whether to use a lock for old archive extraction.
20224 lock_old_archive_extraction=$lock_old_archive_extraction
20225
20226 # A C compiler.
20227 LTCC=$lt_CC
20228
20229 # LTCC compiler flags.
20230 LTCFLAGS=$lt_CFLAGS
20231
20232 # Take the output of nm and produce a listing of raw symbols and C names.
20233 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20234
20235 # Transform the output of nm in a proper C declaration.
20236 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20237
20238 # Transform the output of nm in a C name address pair.
20239 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20240
20241 # Transform the output of nm in a C name address pair when lib prefix is needed.
20242 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20243
20244 # Specify filename containing input files for \$NM.
20245 nm_file_list_spec=$lt_nm_file_list_spec
20246
20247 # The root where to search for dependent libraries,and in which our libraries should be installed.
20248 lt_sysroot=$lt_sysroot
20249
20250 # The name of the directory that contains temporary libtool files.
20251 objdir=$objdir
20252
20253 # Used to examine libraries when file_magic_cmd begins with "file".
20254 MAGIC_CMD=$MAGIC_CMD
20255
20256 # Must we lock files when doing compilation?
20257 need_locks=$lt_need_locks
20258
20259 # Manifest tool.
20260 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20261
20262 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20263 DSYMUTIL=$lt_DSYMUTIL
20264
20265 # Tool to change global to local symbols on Mac OS X.
20266 NMEDIT=$lt_NMEDIT
20267
20268 # Tool to manipulate fat objects and archives on Mac OS X.
20269 LIPO=$lt_LIPO
20270
20271 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20272 OTOOL=$lt_OTOOL
20273
20274 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20275 OTOOL64=$lt_OTOOL64
20276
20277 # Old archive suffix (normally "a").
20278 libext=$libext
20279
20280 # Shared library suffix (normally ".so").
20281 shrext_cmds=$lt_shrext_cmds
20282
20283 # The commands to extract the exported symbol list from a shared archive.
20284 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20285
20286 # Variables whose values should be saved in libtool wrapper scripts and
20287 # restored at link time.
20288 variables_saved_for_relink=$lt_variables_saved_for_relink
20289
20290 # Do we need the "lib" prefix for modules?
20291 need_lib_prefix=$need_lib_prefix
20292
20293 # Do we need a version for libraries?
20294 need_version=$need_version
20295
20296 # Library versioning type.
20297 version_type=$version_type
20298
20299 # Shared library runtime path variable.
20300 runpath_var=$runpath_var
20301
20302 # Shared library path variable.
20303 shlibpath_var=$shlibpath_var
20304
20305 # Is shlibpath searched before the hard-coded library search path?
20306 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20307
20308 # Format of library name prefix.
20309 libname_spec=$lt_libname_spec
20310
20311 # List of archive names.  First name is the real one, the rest are links.
20312 # The last name is the one that the linker finds with -lNAME
20313 library_names_spec=$lt_library_names_spec
20314
20315 # The coded name of the library, if different from the real name.
20316 soname_spec=$lt_soname_spec
20317
20318 # Permission mode override for installation of shared libraries.
20319 install_override_mode=$lt_install_override_mode
20320
20321 # Command to use after installation of a shared archive.
20322 postinstall_cmds=$lt_postinstall_cmds
20323
20324 # Command to use after uninstallation of a shared archive.
20325 postuninstall_cmds=$lt_postuninstall_cmds
20326
20327 # Commands used to finish a libtool library installation in a directory.
20328 finish_cmds=$lt_finish_cmds
20329
20330 # As "finish_cmds", except a single script fragment to be evaled but
20331 # not shown.
20332 finish_eval=$lt_finish_eval
20333
20334 # Whether we should hardcode library paths into libraries.
20335 hardcode_into_libs=$hardcode_into_libs
20336
20337 # Compile-time system search path for libraries.
20338 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20339
20340 # Run-time system search path for libraries.
20341 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20342
20343 # Whether dlopen is supported.
20344 dlopen_support=$enable_dlopen
20345
20346 # Whether dlopen of programs is supported.
20347 dlopen_self=$enable_dlopen_self
20348
20349 # Whether dlopen of statically linked programs is supported.
20350 dlopen_self_static=$enable_dlopen_self_static
20351
20352 # Commands to strip libraries.
20353 old_striplib=$lt_old_striplib
20354 striplib=$lt_striplib
20355
20356
20357 # The linker used to build libraries.
20358 LD=$lt_LD
20359
20360 # How to create reloadable object files.
20361 reload_flag=$lt_reload_flag
20362 reload_cmds=$lt_reload_cmds
20363
20364 # Commands used to build an old-style archive.
20365 old_archive_cmds=$lt_old_archive_cmds
20366
20367 # A language specific compiler.
20368 CC=$lt_compiler
20369
20370 # Is the compiler the GNU compiler?
20371 with_gcc=$GCC
20372
20373 # Compiler flag to turn off builtin functions.
20374 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20375
20376 # Additional compiler flags for building library objects.
20377 pic_flag=$lt_lt_prog_compiler_pic
20378
20379 # How to pass a linker flag through the compiler.
20380 wl=$lt_lt_prog_compiler_wl
20381
20382 # Compiler flag to prevent dynamic linking.
20383 link_static_flag=$lt_lt_prog_compiler_static
20384
20385 # Does compiler simultaneously support -c and -o options?
20386 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20387
20388 # Whether or not to add -lc for building shared libraries.
20389 build_libtool_need_lc=$archive_cmds_need_lc
20390
20391 # Whether or not to disallow shared libs when runtime libs are static.
20392 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20393
20394 # Compiler flag to allow reflexive dlopens.
20395 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20396
20397 # Compiler flag to generate shared objects directly from archives.
20398 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20399
20400 # Whether the compiler copes with passing no objects directly.
20401 compiler_needs_object=$lt_compiler_needs_object
20402
20403 # Create an old-style archive from a shared archive.
20404 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20405
20406 # Create a temporary old-style archive to link instead of a shared archive.
20407 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20408
20409 # Commands used to build a shared archive.
20410 archive_cmds=$lt_archive_cmds
20411 archive_expsym_cmds=$lt_archive_expsym_cmds
20412
20413 # Commands used to build a loadable module if different from building
20414 # a shared archive.
20415 module_cmds=$lt_module_cmds
20416 module_expsym_cmds=$lt_module_expsym_cmds
20417
20418 # Whether we are building with GNU ld or not.
20419 with_gnu_ld=$lt_with_gnu_ld
20420
20421 # Flag that allows shared libraries with undefined symbols to be built.
20422 allow_undefined_flag=$lt_allow_undefined_flag
20423
20424 # Flag that enforces no undefined symbols.
20425 no_undefined_flag=$lt_no_undefined_flag
20426
20427 # Flag to hardcode \$libdir into a binary during linking.
20428 # This must work even if \$libdir does not exist
20429 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20430
20431 # Whether we need a single "-rpath" flag with a separated argument.
20432 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20433
20434 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20435 # DIR into the resulting binary.
20436 hardcode_direct=$hardcode_direct
20437
20438 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20439 # DIR into the resulting binary and the resulting library dependency is
20440 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20441 # library is relocated.
20442 hardcode_direct_absolute=$hardcode_direct_absolute
20443
20444 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20445 # into the resulting binary.
20446 hardcode_minus_L=$hardcode_minus_L
20447
20448 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20449 # into the resulting binary.
20450 hardcode_shlibpath_var=$hardcode_shlibpath_var
20451
20452 # Set to "yes" if building a shared library automatically hardcodes DIR
20453 # into the library and all subsequent libraries and executables linked
20454 # against it.
20455 hardcode_automatic=$hardcode_automatic
20456
20457 # Set to yes if linker adds runtime paths of dependent libraries
20458 # to runtime path list.
20459 inherit_rpath=$inherit_rpath
20460
20461 # Whether libtool must link a program against all its dependency libraries.
20462 link_all_deplibs=$link_all_deplibs
20463
20464 # Set to "yes" if exported symbols are required.
20465 always_export_symbols=$always_export_symbols
20466
20467 # The commands to list exported symbols.
20468 export_symbols_cmds=$lt_export_symbols_cmds
20469
20470 # Symbols that should not be listed in the preloaded symbols.
20471 exclude_expsyms=$lt_exclude_expsyms
20472
20473 # Symbols that must always be exported.
20474 include_expsyms=$lt_include_expsyms
20475
20476 # Commands necessary for linking programs (against libraries) with templates.
20477 prelink_cmds=$lt_prelink_cmds
20478
20479 # Commands necessary for finishing linking programs.
20480 postlink_cmds=$lt_postlink_cmds
20481
20482 # Specify filename containing input files.
20483 file_list_spec=$lt_file_list_spec
20484
20485 # How to hardcode a shared library path into an executable.
20486 hardcode_action=$hardcode_action
20487
20488 # The directories searched by this compiler when creating a shared library.
20489 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20490
20491 # Dependencies to place before and after the objects being linked to
20492 # create a shared library.
20493 predep_objects=$lt_predep_objects
20494 postdep_objects=$lt_postdep_objects
20495 predeps=$lt_predeps
20496 postdeps=$lt_postdeps
20497
20498 # The library search path used internally by the compiler when linking
20499 # a shared library.
20500 compiler_lib_search_path=$lt_compiler_lib_search_path
20501
20502 # ### END LIBTOOL CONFIG
20503
20504 _LT_EOF
20505
20506   case $host_os in
20507   aix3*)
20508     cat <<\_LT_EOF >> "$cfgfile"
20509 # AIX sometimes has problems with the GCC collect2 program.  For some
20510 # reason, if we set the COLLECT_NAMES environment variable, the problems
20511 # vanish in a puff of smoke.
20512 if test "X${COLLECT_NAMES+set}" != Xset; then
20513   COLLECT_NAMES=
20514   export COLLECT_NAMES
20515 fi
20516 _LT_EOF
20517     ;;
20518   esac
20519
20520
20521 ltmain="$ac_aux_dir/ltmain.sh"
20522
20523
20524   # We use sed instead of cat because bash on DJGPP gets confused if
20525   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20526   # text mode, it properly converts lines to CR/LF.  This bash problem
20527   # is reportedly fixed, but why not run on old versions too?
20528   sed '$q' "$ltmain" >> "$cfgfile" \
20529      || (rm -f "$cfgfile"; exit 1)
20530
20531   if test x"$xsi_shell" = xyes; then
20532   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20533 func_dirname ()\
20534 {\
20535 \    case ${1} in\
20536 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20537 \      *  ) func_dirname_result="${3}" ;;\
20538 \    esac\
20539 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20540   && mv -f "$cfgfile.tmp" "$cfgfile" \
20541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20542 test 0 -eq $? || _lt_function_replace_fail=:
20543
20544
20545   sed -e '/^func_basename ()$/,/^} # func_basename /c\
20546 func_basename ()\
20547 {\
20548 \    func_basename_result="${1##*/}"\
20549 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20550   && mv -f "$cfgfile.tmp" "$cfgfile" \
20551     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20552 test 0 -eq $? || _lt_function_replace_fail=:
20553
20554
20555   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20556 func_dirname_and_basename ()\
20557 {\
20558 \    case ${1} in\
20559 \      */*) func_dirname_result="${1%/*}${2}" ;;\
20560 \      *  ) func_dirname_result="${3}" ;;\
20561 \    esac\
20562 \    func_basename_result="${1##*/}"\
20563 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20564   && mv -f "$cfgfile.tmp" "$cfgfile" \
20565     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20566 test 0 -eq $? || _lt_function_replace_fail=:
20567
20568
20569   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20570 func_stripname ()\
20571 {\
20572 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20573 \    # positional parameters, so assign one to ordinary parameter first.\
20574 \    func_stripname_result=${3}\
20575 \    func_stripname_result=${func_stripname_result#"${1}"}\
20576 \    func_stripname_result=${func_stripname_result%"${2}"}\
20577 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20578   && mv -f "$cfgfile.tmp" "$cfgfile" \
20579     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20580 test 0 -eq $? || _lt_function_replace_fail=:
20581
20582
20583   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20584 func_split_long_opt ()\
20585 {\
20586 \    func_split_long_opt_name=${1%%=*}\
20587 \    func_split_long_opt_arg=${1#*=}\
20588 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20589   && mv -f "$cfgfile.tmp" "$cfgfile" \
20590     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20591 test 0 -eq $? || _lt_function_replace_fail=:
20592
20593
20594   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20595 func_split_short_opt ()\
20596 {\
20597 \    func_split_short_opt_arg=${1#??}\
20598 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20599 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20600   && mv -f "$cfgfile.tmp" "$cfgfile" \
20601     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20602 test 0 -eq $? || _lt_function_replace_fail=:
20603
20604
20605   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20606 func_lo2o ()\
20607 {\
20608 \    case ${1} in\
20609 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20610 \      *)    func_lo2o_result=${1} ;;\
20611 \    esac\
20612 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20613   && mv -f "$cfgfile.tmp" "$cfgfile" \
20614     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20615 test 0 -eq $? || _lt_function_replace_fail=:
20616
20617
20618   sed -e '/^func_xform ()$/,/^} # func_xform /c\
20619 func_xform ()\
20620 {\
20621     func_xform_result=${1%.*}.lo\
20622 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20623   && mv -f "$cfgfile.tmp" "$cfgfile" \
20624     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20625 test 0 -eq $? || _lt_function_replace_fail=:
20626
20627
20628   sed -e '/^func_arith ()$/,/^} # func_arith /c\
20629 func_arith ()\
20630 {\
20631     func_arith_result=$(( $* ))\
20632 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20633   && mv -f "$cfgfile.tmp" "$cfgfile" \
20634     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20635 test 0 -eq $? || _lt_function_replace_fail=:
20636
20637
20638   sed -e '/^func_len ()$/,/^} # func_len /c\
20639 func_len ()\
20640 {\
20641     func_len_result=${#1}\
20642 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20643   && mv -f "$cfgfile.tmp" "$cfgfile" \
20644     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20645 test 0 -eq $? || _lt_function_replace_fail=:
20646
20647 fi
20648
20649 if test x"$lt_shell_append" = xyes; then
20650   sed -e '/^func_append ()$/,/^} # func_append /c\
20651 func_append ()\
20652 {\
20653     eval "${1}+=\\${2}"\
20654 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20655   && mv -f "$cfgfile.tmp" "$cfgfile" \
20656     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20657 test 0 -eq $? || _lt_function_replace_fail=:
20658
20659
20660   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20661 func_append_quoted ()\
20662 {\
20663 \    func_quote_for_eval "${2}"\
20664 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20665 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20666   && mv -f "$cfgfile.tmp" "$cfgfile" \
20667     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20668 test 0 -eq $? || _lt_function_replace_fail=:
20669
20670
20671   # Save a `func_append' function call where possible by direct use of '+='
20672   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20673     && mv -f "$cfgfile.tmp" "$cfgfile" \
20674       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20675   test 0 -eq $? || _lt_function_replace_fail=:
20676 else
20677   # Save a `func_append' function call even when '+=' is not available
20678   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20679     && mv -f "$cfgfile.tmp" "$cfgfile" \
20680       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20681   test 0 -eq $? || _lt_function_replace_fail=:
20682 fi
20683
20684 if test x"$_lt_function_replace_fail" = x":"; then
20685   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20686 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20687 fi
20688
20689
20690    mv -f "$cfgfile" "$ofile" ||
20691     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20692   chmod +x "$ofile"
20693
20694
20695     cat <<_LT_EOF >> "$ofile"
20696
20697 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20698
20699 # The linker used to build libraries.
20700 LD=$lt_LD_CXX
20701
20702 # How to create reloadable object files.
20703 reload_flag=$lt_reload_flag_CXX
20704 reload_cmds=$lt_reload_cmds_CXX
20705
20706 # Commands used to build an old-style archive.
20707 old_archive_cmds=$lt_old_archive_cmds_CXX
20708
20709 # A language specific compiler.
20710 CC=$lt_compiler_CXX
20711
20712 # Is the compiler the GNU compiler?
20713 with_gcc=$GCC_CXX
20714
20715 # Compiler flag to turn off builtin functions.
20716 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20717
20718 # Additional compiler flags for building library objects.
20719 pic_flag=$lt_lt_prog_compiler_pic_CXX
20720
20721 # How to pass a linker flag through the compiler.
20722 wl=$lt_lt_prog_compiler_wl_CXX
20723
20724 # Compiler flag to prevent dynamic linking.
20725 link_static_flag=$lt_lt_prog_compiler_static_CXX
20726
20727 # Does compiler simultaneously support -c and -o options?
20728 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20729
20730 # Whether or not to add -lc for building shared libraries.
20731 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20732
20733 # Whether or not to disallow shared libs when runtime libs are static.
20734 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20735
20736 # Compiler flag to allow reflexive dlopens.
20737 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20738
20739 # Compiler flag to generate shared objects directly from archives.
20740 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20741
20742 # Whether the compiler copes with passing no objects directly.
20743 compiler_needs_object=$lt_compiler_needs_object_CXX
20744
20745 # Create an old-style archive from a shared archive.
20746 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20747
20748 # Create a temporary old-style archive to link instead of a shared archive.
20749 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20750
20751 # Commands used to build a shared archive.
20752 archive_cmds=$lt_archive_cmds_CXX
20753 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20754
20755 # Commands used to build a loadable module if different from building
20756 # a shared archive.
20757 module_cmds=$lt_module_cmds_CXX
20758 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20759
20760 # Whether we are building with GNU ld or not.
20761 with_gnu_ld=$lt_with_gnu_ld_CXX
20762
20763 # Flag that allows shared libraries with undefined symbols to be built.
20764 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20765
20766 # Flag that enforces no undefined symbols.
20767 no_undefined_flag=$lt_no_undefined_flag_CXX
20768
20769 # Flag to hardcode \$libdir into a binary during linking.
20770 # This must work even if \$libdir does not exist
20771 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20772
20773 # Whether we need a single "-rpath" flag with a separated argument.
20774 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20775
20776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20777 # DIR into the resulting binary.
20778 hardcode_direct=$hardcode_direct_CXX
20779
20780 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20781 # DIR into the resulting binary and the resulting library dependency is
20782 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20783 # library is relocated.
20784 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20785
20786 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20787 # into the resulting binary.
20788 hardcode_minus_L=$hardcode_minus_L_CXX
20789
20790 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20791 # into the resulting binary.
20792 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20793
20794 # Set to "yes" if building a shared library automatically hardcodes DIR
20795 # into the library and all subsequent libraries and executables linked
20796 # against it.
20797 hardcode_automatic=$hardcode_automatic_CXX
20798
20799 # Set to yes if linker adds runtime paths of dependent libraries
20800 # to runtime path list.
20801 inherit_rpath=$inherit_rpath_CXX
20802
20803 # Whether libtool must link a program against all its dependency libraries.
20804 link_all_deplibs=$link_all_deplibs_CXX
20805
20806 # Set to "yes" if exported symbols are required.
20807 always_export_symbols=$always_export_symbols_CXX
20808
20809 # The commands to list exported symbols.
20810 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20811
20812 # Symbols that should not be listed in the preloaded symbols.
20813 exclude_expsyms=$lt_exclude_expsyms_CXX
20814
20815 # Symbols that must always be exported.
20816 include_expsyms=$lt_include_expsyms_CXX
20817
20818 # Commands necessary for linking programs (against libraries) with templates.
20819 prelink_cmds=$lt_prelink_cmds_CXX
20820
20821 # Commands necessary for finishing linking programs.
20822 postlink_cmds=$lt_postlink_cmds_CXX
20823
20824 # Specify filename containing input files.
20825 file_list_spec=$lt_file_list_spec_CXX
20826
20827 # How to hardcode a shared library path into an executable.
20828 hardcode_action=$hardcode_action_CXX
20829
20830 # The directories searched by this compiler when creating a shared library.
20831 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20832
20833 # Dependencies to place before and after the objects being linked to
20834 # create a shared library.
20835 predep_objects=$lt_predep_objects_CXX
20836 postdep_objects=$lt_postdep_objects_CXX
20837 predeps=$lt_predeps_CXX
20838 postdeps=$lt_postdeps_CXX
20839
20840 # The library search path used internally by the compiler when linking
20841 # a shared library.
20842 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20843
20844 # ### END LIBTOOL TAG CONFIG: CXX
20845 _LT_EOF
20846
20847  ;;
20848
20849   esac
20850 done # for ac_tag
20851
20852
20853 as_fn_exit 0
20854 _ACEOF
20855 ac_clean_files=$ac_clean_files_save
20856
20857 test $ac_write_fail = 0 ||
20858   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20859
20860
20861 # configure is writing to config.log, and then calls config.status.
20862 # config.status does its own redirection, appending to config.log.
20863 # Unfortunately, on DOS this fails, as config.log is still kept open
20864 # by configure, so config.status won't be able to write to it; its
20865 # output is simply discarded.  So we exec the FD to /dev/null,
20866 # effectively closing config.log, so it can be properly (re)opened and
20867 # appended to by config.status.  When coming back to configure, we
20868 # need to make the FD available again.
20869 if test "$no_create" != yes; then
20870   ac_cs_success=:
20871   ac_config_status_args=
20872   test "$silent" = yes &&
20873     ac_config_status_args="$ac_config_status_args --quiet"
20874   exec 5>/dev/null
20875   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20876   exec 5>>config.log
20877   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20878   # would make configure fail if this is the last instruction.
20879   $ac_cs_success || as_fn_exit 1
20880 fi
20881 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20882   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20883 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20884 fi
20885